backlog-js 0.14.0 → 0.14.2
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.
- package/CHANGELOG.md +8 -0
- package/dist/backlog.js +111 -285
- package/dist/backlog.min.js +1 -1
- package/dist/types/backlog.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.14.2](https://github.com/nulab/backlog-js/compare/0.14.1...0.14.2) (2025-10-23)
|
|
4
|
+
|
|
5
|
+
* Ensure custom-field query parameters use explicit indices [#121](https://github.com/nulab/backlog-js/pull/121) ([trknhr](https://github.com/trknhr))
|
|
6
|
+
|
|
7
|
+
## [0.14.1](https://github.com/nulab/backlog-js/compare/0.14.0...0.14.1) (2025-09-18)
|
|
8
|
+
|
|
9
|
+
* Add `Remove star` [#119](https://github.com/nulab/backlog-js/pull/119) ([katayama8000](https://github.com/katayama8000))
|
|
10
|
+
|
|
3
11
|
## [0.14.0](https://github.com/nulab/backlog-js/compare/0.13.7...0.14.0) (2025-09-12)
|
|
4
12
|
|
|
5
13
|
* Remove deprected methods [#117](https://github.com/nulab/backlog-js/pull/117) ([mmktomato](https://github.com/mmktomato))
|
package/dist/backlog.js
CHANGED
|
@@ -676,6 +676,13 @@ var Backlog = /** @class */ (function (_super) {
|
|
|
676
676
|
Backlog.prototype.postStar = function (params) {
|
|
677
677
|
return this.post('stars', params);
|
|
678
678
|
};
|
|
679
|
+
/**
|
|
680
|
+
* https://developer.nulab.com/docs/backlog/api/2/remove-star/
|
|
681
|
+
*/
|
|
682
|
+
Backlog.prototype.removeStar = function (starId) {
|
|
683
|
+
var endpoint = "stars/".concat(starId);
|
|
684
|
+
return this.delete(endpoint);
|
|
685
|
+
};
|
|
679
686
|
/**
|
|
680
687
|
* https://developer.nulab.com/docs/backlog/api/2/get-notification/
|
|
681
688
|
*/
|
|
@@ -1178,7 +1185,21 @@ var Request = /** @class */ (function () {
|
|
|
1178
1185
|
return response.json();
|
|
1179
1186
|
};
|
|
1180
1187
|
Request.prototype.toQueryString = function (params) {
|
|
1181
|
-
|
|
1188
|
+
var formatted = {};
|
|
1189
|
+
Object.keys(params).forEach(function (key) {
|
|
1190
|
+
var value = params[key];
|
|
1191
|
+
if (key.startsWith('customField_') && Array.isArray(value)) {
|
|
1192
|
+
// Backlog API doesn't apply bracket-array syntax for customField_* params,
|
|
1193
|
+
// so we generate explicit indices: key[0], key[1], ...
|
|
1194
|
+
value.forEach(function (v, i) {
|
|
1195
|
+
formatted["".concat(key, "[").concat(i, "]")] = v;
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
else {
|
|
1199
|
+
formatted[key] = value;
|
|
1200
|
+
}
|
|
1201
|
+
});
|
|
1202
|
+
return qs.stringify(formatted, { arrayFormat: 'brackets' });
|
|
1182
1203
|
};
|
|
1183
1204
|
Object.defineProperty(Request.prototype, "webAppBaseURL", {
|
|
1184
1205
|
get: function () {
|
|
@@ -1198,7 +1219,7 @@ var Request = /** @class */ (function () {
|
|
|
1198
1219
|
}());
|
|
1199
1220
|
exports.default = Request;
|
|
1200
1221
|
|
|
1201
|
-
},{"./error":3,"qs":
|
|
1222
|
+
},{"./error":3,"qs":32}],8:[function(require,module,exports){
|
|
1202
1223
|
"use strict";
|
|
1203
1224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1204
1225
|
exports.CustomFieldType = exports.ActivityType = exports.NormalRoleType = exports.ClassicRoleType = void 0;
|
|
@@ -1265,65 +1286,6 @@ var CustomFieldType;
|
|
|
1265
1286
|
},{}],10:[function(require,module,exports){
|
|
1266
1287
|
'use strict';
|
|
1267
1288
|
|
|
1268
|
-
var bind = require('function-bind');
|
|
1269
|
-
|
|
1270
|
-
var $apply = require('./functionApply');
|
|
1271
|
-
var $call = require('./functionCall');
|
|
1272
|
-
var $reflectApply = require('./reflectApply');
|
|
1273
|
-
|
|
1274
|
-
/** @type {import('./actualApply')} */
|
|
1275
|
-
module.exports = $reflectApply || bind.call($call, $apply);
|
|
1276
|
-
|
|
1277
|
-
},{"./functionApply":12,"./functionCall":13,"./reflectApply":15,"function-bind":30}],11:[function(require,module,exports){
|
|
1278
|
-
'use strict';
|
|
1279
|
-
|
|
1280
|
-
var bind = require('function-bind');
|
|
1281
|
-
var $apply = require('./functionApply');
|
|
1282
|
-
var actualApply = require('./actualApply');
|
|
1283
|
-
|
|
1284
|
-
/** @type {import('./applyBind')} */
|
|
1285
|
-
module.exports = function applyBind() {
|
|
1286
|
-
return actualApply(bind, $apply, arguments);
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
|
-
},{"./actualApply":10,"./functionApply":12,"function-bind":30}],12:[function(require,module,exports){
|
|
1290
|
-
'use strict';
|
|
1291
|
-
|
|
1292
|
-
/** @type {import('./functionApply')} */
|
|
1293
|
-
module.exports = Function.prototype.apply;
|
|
1294
|
-
|
|
1295
|
-
},{}],13:[function(require,module,exports){
|
|
1296
|
-
'use strict';
|
|
1297
|
-
|
|
1298
|
-
/** @type {import('./functionCall')} */
|
|
1299
|
-
module.exports = Function.prototype.call;
|
|
1300
|
-
|
|
1301
|
-
},{}],14:[function(require,module,exports){
|
|
1302
|
-
'use strict';
|
|
1303
|
-
|
|
1304
|
-
var bind = require('function-bind');
|
|
1305
|
-
var $TypeError = require('es-errors/type');
|
|
1306
|
-
|
|
1307
|
-
var $call = require('./functionCall');
|
|
1308
|
-
var $actualApply = require('./actualApply');
|
|
1309
|
-
|
|
1310
|
-
/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
|
|
1311
|
-
module.exports = function callBindBasic(args) {
|
|
1312
|
-
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
1313
|
-
throw new $TypeError('a function is required');
|
|
1314
|
-
}
|
|
1315
|
-
return $actualApply(bind, $call, args);
|
|
1316
|
-
};
|
|
1317
|
-
|
|
1318
|
-
},{"./actualApply":10,"./functionCall":13,"es-errors/type":26,"function-bind":30}],15:[function(require,module,exports){
|
|
1319
|
-
'use strict';
|
|
1320
|
-
|
|
1321
|
-
/** @type {import('./reflectApply')} */
|
|
1322
|
-
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
1323
|
-
|
|
1324
|
-
},{}],16:[function(require,module,exports){
|
|
1325
|
-
'use strict';
|
|
1326
|
-
|
|
1327
1289
|
var GetIntrinsic = require('get-intrinsic');
|
|
1328
1290
|
|
|
1329
1291
|
var callBind = require('./');
|
|
@@ -1338,33 +1300,44 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
1338
1300
|
return intrinsic;
|
|
1339
1301
|
};
|
|
1340
1302
|
|
|
1341
|
-
},{"./":
|
|
1303
|
+
},{"./":11,"get-intrinsic":23}],11:[function(require,module,exports){
|
|
1342
1304
|
'use strict';
|
|
1343
1305
|
|
|
1306
|
+
var bind = require('function-bind');
|
|
1307
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
1344
1308
|
var setFunctionLength = require('set-function-length');
|
|
1345
1309
|
|
|
1346
|
-
var $
|
|
1310
|
+
var $TypeError = require('es-errors/type');
|
|
1311
|
+
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
1312
|
+
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
1313
|
+
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
1347
1314
|
|
|
1348
|
-
var
|
|
1349
|
-
var
|
|
1315
|
+
var $defineProperty = require('es-define-property');
|
|
1316
|
+
var $max = GetIntrinsic('%Math.max%');
|
|
1350
1317
|
|
|
1351
1318
|
module.exports = function callBind(originalFunction) {
|
|
1352
|
-
|
|
1353
|
-
|
|
1319
|
+
if (typeof originalFunction !== 'function') {
|
|
1320
|
+
throw new $TypeError('a function is required');
|
|
1321
|
+
}
|
|
1322
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
1354
1323
|
return setFunctionLength(
|
|
1355
1324
|
func,
|
|
1356
|
-
1 + (
|
|
1325
|
+
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
1357
1326
|
true
|
|
1358
1327
|
);
|
|
1359
1328
|
};
|
|
1360
1329
|
|
|
1330
|
+
var applyBind = function applyBind() {
|
|
1331
|
+
return $reflectApply(bind, $apply, arguments);
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1361
1334
|
if ($defineProperty) {
|
|
1362
1335
|
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
1363
1336
|
} else {
|
|
1364
1337
|
module.exports.apply = applyBind;
|
|
1365
1338
|
}
|
|
1366
1339
|
|
|
1367
|
-
},{"
|
|
1340
|
+
},{"es-define-property":13,"es-errors/type":19,"function-bind":22,"get-intrinsic":23,"set-function-length":36}],12:[function(require,module,exports){
|
|
1368
1341
|
'use strict';
|
|
1369
1342
|
|
|
1370
1343
|
var $defineProperty = require('es-define-property');
|
|
@@ -1422,43 +1395,13 @@ module.exports = function defineDataProperty(
|
|
|
1422
1395
|
}
|
|
1423
1396
|
};
|
|
1424
1397
|
|
|
1425
|
-
},{"es-define-property":
|
|
1398
|
+
},{"es-define-property":13,"es-errors/syntax":18,"es-errors/type":19,"gopd":24}],13:[function(require,module,exports){
|
|
1426
1399
|
'use strict';
|
|
1427
1400
|
|
|
1428
|
-
var
|
|
1429
|
-
var gOPD = require('gopd');
|
|
1430
|
-
|
|
1431
|
-
var hasProtoAccessor;
|
|
1432
|
-
try {
|
|
1433
|
-
// eslint-disable-next-line no-extra-parens, no-proto
|
|
1434
|
-
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
1435
|
-
} catch (e) {
|
|
1436
|
-
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
1437
|
-
throw e;
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
// eslint-disable-next-line no-extra-parens
|
|
1442
|
-
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
1443
|
-
|
|
1444
|
-
var $Object = Object;
|
|
1445
|
-
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
1446
|
-
|
|
1447
|
-
/** @type {import('./get')} */
|
|
1448
|
-
module.exports = desc && typeof desc.get === 'function'
|
|
1449
|
-
? callBind([desc.get])
|
|
1450
|
-
: typeof $getPrototypeOf === 'function'
|
|
1451
|
-
? /** @type {import('./get')} */ function getDunder(value) {
|
|
1452
|
-
// eslint-disable-next-line eqeqeq
|
|
1453
|
-
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
1454
|
-
}
|
|
1455
|
-
: false;
|
|
1456
|
-
|
|
1457
|
-
},{"call-bind-apply-helpers":14,"gopd":36}],20:[function(require,module,exports){
|
|
1458
|
-
'use strict';
|
|
1401
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
1459
1402
|
|
|
1460
1403
|
/** @type {import('.')} */
|
|
1461
|
-
var $defineProperty = Object.defineProperty || false;
|
|
1404
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
1462
1405
|
if ($defineProperty) {
|
|
1463
1406
|
try {
|
|
1464
1407
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -1470,55 +1413,49 @@ if ($defineProperty) {
|
|
|
1470
1413
|
|
|
1471
1414
|
module.exports = $defineProperty;
|
|
1472
1415
|
|
|
1473
|
-
},{}],
|
|
1416
|
+
},{"get-intrinsic":23}],14:[function(require,module,exports){
|
|
1474
1417
|
'use strict';
|
|
1475
1418
|
|
|
1476
1419
|
/** @type {import('./eval')} */
|
|
1477
1420
|
module.exports = EvalError;
|
|
1478
1421
|
|
|
1479
|
-
},{}],
|
|
1422
|
+
},{}],15:[function(require,module,exports){
|
|
1480
1423
|
'use strict';
|
|
1481
1424
|
|
|
1482
1425
|
/** @type {import('.')} */
|
|
1483
1426
|
module.exports = Error;
|
|
1484
1427
|
|
|
1485
|
-
},{}],
|
|
1428
|
+
},{}],16:[function(require,module,exports){
|
|
1486
1429
|
'use strict';
|
|
1487
1430
|
|
|
1488
1431
|
/** @type {import('./range')} */
|
|
1489
1432
|
module.exports = RangeError;
|
|
1490
1433
|
|
|
1491
|
-
},{}],
|
|
1434
|
+
},{}],17:[function(require,module,exports){
|
|
1492
1435
|
'use strict';
|
|
1493
1436
|
|
|
1494
1437
|
/** @type {import('./ref')} */
|
|
1495
1438
|
module.exports = ReferenceError;
|
|
1496
1439
|
|
|
1497
|
-
},{}],
|
|
1440
|
+
},{}],18:[function(require,module,exports){
|
|
1498
1441
|
'use strict';
|
|
1499
1442
|
|
|
1500
1443
|
/** @type {import('./syntax')} */
|
|
1501
1444
|
module.exports = SyntaxError;
|
|
1502
1445
|
|
|
1503
|
-
},{}],
|
|
1446
|
+
},{}],19:[function(require,module,exports){
|
|
1504
1447
|
'use strict';
|
|
1505
1448
|
|
|
1506
1449
|
/** @type {import('./type')} */
|
|
1507
1450
|
module.exports = TypeError;
|
|
1508
1451
|
|
|
1509
|
-
},{}],
|
|
1452
|
+
},{}],20:[function(require,module,exports){
|
|
1510
1453
|
'use strict';
|
|
1511
1454
|
|
|
1512
1455
|
/** @type {import('./uri')} */
|
|
1513
1456
|
module.exports = URIError;
|
|
1514
1457
|
|
|
1515
|
-
},{}],
|
|
1516
|
-
'use strict';
|
|
1517
|
-
|
|
1518
|
-
/** @type {import('.')} */
|
|
1519
|
-
module.exports = Object;
|
|
1520
|
-
|
|
1521
|
-
},{}],29:[function(require,module,exports){
|
|
1458
|
+
},{}],21:[function(require,module,exports){
|
|
1522
1459
|
'use strict';
|
|
1523
1460
|
|
|
1524
1461
|
/* eslint no-invalid-this: 1 */
|
|
@@ -1604,20 +1541,18 @@ module.exports = function bind(that) {
|
|
|
1604
1541
|
return bound;
|
|
1605
1542
|
};
|
|
1606
1543
|
|
|
1607
|
-
},{}],
|
|
1544
|
+
},{}],22:[function(require,module,exports){
|
|
1608
1545
|
'use strict';
|
|
1609
1546
|
|
|
1610
1547
|
var implementation = require('./implementation');
|
|
1611
1548
|
|
|
1612
1549
|
module.exports = Function.prototype.bind || implementation;
|
|
1613
1550
|
|
|
1614
|
-
},{"./implementation":
|
|
1551
|
+
},{"./implementation":21}],23:[function(require,module,exports){
|
|
1615
1552
|
'use strict';
|
|
1616
1553
|
|
|
1617
1554
|
var undefined;
|
|
1618
1555
|
|
|
1619
|
-
var $Object = require('es-object-atoms');
|
|
1620
|
-
|
|
1621
1556
|
var $Error = require('es-errors');
|
|
1622
1557
|
var $EvalError = require('es-errors/eval');
|
|
1623
1558
|
var $RangeError = require('es-errors/range');
|
|
@@ -1626,14 +1561,6 @@ var $SyntaxError = require('es-errors/syntax');
|
|
|
1626
1561
|
var $TypeError = require('es-errors/type');
|
|
1627
1562
|
var $URIError = require('es-errors/uri');
|
|
1628
1563
|
|
|
1629
|
-
var abs = require('math-intrinsics/abs');
|
|
1630
|
-
var floor = require('math-intrinsics/floor');
|
|
1631
|
-
var max = require('math-intrinsics/max');
|
|
1632
|
-
var min = require('math-intrinsics/min');
|
|
1633
|
-
var pow = require('math-intrinsics/pow');
|
|
1634
|
-
var round = require('math-intrinsics/round');
|
|
1635
|
-
var sign = require('math-intrinsics/sign');
|
|
1636
|
-
|
|
1637
1564
|
var $Function = Function;
|
|
1638
1565
|
|
|
1639
1566
|
// eslint-disable-next-line consistent-return
|
|
@@ -1643,8 +1570,14 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
1643
1570
|
} catch (e) {}
|
|
1644
1571
|
};
|
|
1645
1572
|
|
|
1646
|
-
var $gOPD =
|
|
1647
|
-
|
|
1573
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
1574
|
+
if ($gOPD) {
|
|
1575
|
+
try {
|
|
1576
|
+
$gOPD({}, '');
|
|
1577
|
+
} catch (e) {
|
|
1578
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1648
1581
|
|
|
1649
1582
|
var throwTypeError = function () {
|
|
1650
1583
|
throw new $TypeError();
|
|
@@ -1667,13 +1600,13 @@ var ThrowTypeError = $gOPD
|
|
|
1667
1600
|
: throwTypeError;
|
|
1668
1601
|
|
|
1669
1602
|
var hasSymbols = require('has-symbols')();
|
|
1603
|
+
var hasProto = require('has-proto')();
|
|
1670
1604
|
|
|
1671
|
-
var getProto =
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
var $call = require('call-bind-apply-helpers/functionCall');
|
|
1605
|
+
var getProto = Object.getPrototypeOf || (
|
|
1606
|
+
hasProto
|
|
1607
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
1608
|
+
: null
|
|
1609
|
+
);
|
|
1677
1610
|
|
|
1678
1611
|
var needsEval = {};
|
|
1679
1612
|
|
|
@@ -1704,7 +1637,6 @@ var INTRINSICS = {
|
|
|
1704
1637
|
'%Error%': $Error,
|
|
1705
1638
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
1706
1639
|
'%EvalError%': $EvalError,
|
|
1707
|
-
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
|
|
1708
1640
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
1709
1641
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
1710
1642
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -1721,8 +1653,7 @@ var INTRINSICS = {
|
|
|
1721
1653
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
1722
1654
|
'%Math%': Math,
|
|
1723
1655
|
'%Number%': Number,
|
|
1724
|
-
'%Object%':
|
|
1725
|
-
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
1656
|
+
'%Object%': Object,
|
|
1726
1657
|
'%parseFloat%': parseFloat,
|
|
1727
1658
|
'%parseInt%': parseInt,
|
|
1728
1659
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -1748,20 +1679,7 @@ var INTRINSICS = {
|
|
|
1748
1679
|
'%URIError%': $URIError,
|
|
1749
1680
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
1750
1681
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
1751
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
1752
|
-
|
|
1753
|
-
'%Function.prototype.call%': $call,
|
|
1754
|
-
'%Function.prototype.apply%': $apply,
|
|
1755
|
-
'%Object.defineProperty%': $defineProperty,
|
|
1756
|
-
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
1757
|
-
'%Math.abs%': abs,
|
|
1758
|
-
'%Math.floor%': floor,
|
|
1759
|
-
'%Math.max%': max,
|
|
1760
|
-
'%Math.min%': min,
|
|
1761
|
-
'%Math.pow%': pow,
|
|
1762
|
-
'%Math.round%': round,
|
|
1763
|
-
'%Math.sign%': sign,
|
|
1764
|
-
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
1682
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
1765
1683
|
};
|
|
1766
1684
|
|
|
1767
1685
|
if (getProto) {
|
|
@@ -1856,11 +1774,11 @@ var LEGACY_ALIASES = {
|
|
|
1856
1774
|
|
|
1857
1775
|
var bind = require('function-bind');
|
|
1858
1776
|
var hasOwn = require('hasown');
|
|
1859
|
-
var $concat = bind.call(
|
|
1860
|
-
var $spliceApply = bind.call(
|
|
1861
|
-
var $replace = bind.call(
|
|
1862
|
-
var $strSlice = bind.call(
|
|
1863
|
-
var $exec = bind.call(
|
|
1777
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
1778
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
1779
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
1780
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
1781
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
1864
1782
|
|
|
1865
1783
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
1866
1784
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -1991,60 +1909,12 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
1991
1909
|
return value;
|
|
1992
1910
|
};
|
|
1993
1911
|
|
|
1994
|
-
},{"
|
|
1995
|
-
'use strict';
|
|
1996
|
-
|
|
1997
|
-
var $Object = require('es-object-atoms');
|
|
1998
|
-
|
|
1999
|
-
/** @type {import('./Object.getPrototypeOf')} */
|
|
2000
|
-
module.exports = $Object.getPrototypeOf || null;
|
|
2001
|
-
|
|
2002
|
-
},{"es-object-atoms":28}],33:[function(require,module,exports){
|
|
2003
|
-
'use strict';
|
|
2004
|
-
|
|
2005
|
-
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
2006
|
-
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
2007
|
-
|
|
2008
|
-
},{}],34:[function(require,module,exports){
|
|
2009
|
-
'use strict';
|
|
2010
|
-
|
|
2011
|
-
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
2012
|
-
var originalGetProto = require('./Object.getPrototypeOf');
|
|
2013
|
-
|
|
2014
|
-
var getDunderProto = require('dunder-proto/get');
|
|
2015
|
-
|
|
2016
|
-
/** @type {import('.')} */
|
|
2017
|
-
module.exports = reflectGetProto
|
|
2018
|
-
? function getProto(O) {
|
|
2019
|
-
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
2020
|
-
return reflectGetProto(O);
|
|
2021
|
-
}
|
|
2022
|
-
: originalGetProto
|
|
2023
|
-
? function getProto(O) {
|
|
2024
|
-
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
|
2025
|
-
throw new TypeError('getProto: not an object');
|
|
2026
|
-
}
|
|
2027
|
-
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
2028
|
-
return originalGetProto(O);
|
|
2029
|
-
}
|
|
2030
|
-
: getDunderProto
|
|
2031
|
-
? function getProto(O) {
|
|
2032
|
-
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
2033
|
-
return getDunderProto(O);
|
|
2034
|
-
}
|
|
2035
|
-
: null;
|
|
2036
|
-
|
|
2037
|
-
},{"./Object.getPrototypeOf":32,"./Reflect.getPrototypeOf":33,"dunder-proto/get":19}],35:[function(require,module,exports){
|
|
1912
|
+
},{"es-errors":15,"es-errors/eval":14,"es-errors/range":16,"es-errors/ref":17,"es-errors/syntax":18,"es-errors/type":19,"es-errors/uri":20,"function-bind":22,"has-proto":26,"has-symbols":27,"hasown":29}],24:[function(require,module,exports){
|
|
2038
1913
|
'use strict';
|
|
2039
1914
|
|
|
2040
|
-
|
|
2041
|
-
module.exports = Object.getOwnPropertyDescriptor;
|
|
2042
|
-
|
|
2043
|
-
},{}],36:[function(require,module,exports){
|
|
2044
|
-
'use strict';
|
|
1915
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
2045
1916
|
|
|
2046
|
-
|
|
2047
|
-
var $gOPD = require('./gOPD');
|
|
1917
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
2048
1918
|
|
|
2049
1919
|
if ($gOPD) {
|
|
2050
1920
|
try {
|
|
@@ -2057,7 +1927,7 @@ if ($gOPD) {
|
|
|
2057
1927
|
|
|
2058
1928
|
module.exports = $gOPD;
|
|
2059
1929
|
|
|
2060
|
-
},{"
|
|
1930
|
+
},{"get-intrinsic":23}],25:[function(require,module,exports){
|
|
2061
1931
|
'use strict';
|
|
2062
1932
|
|
|
2063
1933
|
var $defineProperty = require('es-define-property');
|
|
@@ -2081,13 +1951,29 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
2081
1951
|
|
|
2082
1952
|
module.exports = hasPropertyDescriptors;
|
|
2083
1953
|
|
|
2084
|
-
},{"es-define-property":
|
|
1954
|
+
},{"es-define-property":13}],26:[function(require,module,exports){
|
|
1955
|
+
'use strict';
|
|
1956
|
+
|
|
1957
|
+
var test = {
|
|
1958
|
+
__proto__: null,
|
|
1959
|
+
foo: {}
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
var $Object = Object;
|
|
1963
|
+
|
|
1964
|
+
/** @type {import('.')} */
|
|
1965
|
+
module.exports = function hasProto() {
|
|
1966
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
1967
|
+
return { __proto__: test }.foo === test.foo
|
|
1968
|
+
&& !(test instanceof $Object);
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
},{}],27:[function(require,module,exports){
|
|
2085
1972
|
'use strict';
|
|
2086
1973
|
|
|
2087
1974
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
2088
1975
|
var hasSymbolSham = require('./shams');
|
|
2089
1976
|
|
|
2090
|
-
/** @type {import('.')} */
|
|
2091
1977
|
module.exports = function hasNativeSymbols() {
|
|
2092
1978
|
if (typeof origSymbol !== 'function') { return false; }
|
|
2093
1979
|
if (typeof Symbol !== 'function') { return false; }
|
|
@@ -2097,16 +1983,14 @@ module.exports = function hasNativeSymbols() {
|
|
|
2097
1983
|
return hasSymbolSham();
|
|
2098
1984
|
};
|
|
2099
1985
|
|
|
2100
|
-
},{"./shams":
|
|
1986
|
+
},{"./shams":28}],28:[function(require,module,exports){
|
|
2101
1987
|
'use strict';
|
|
2102
1988
|
|
|
2103
|
-
/** @type {import('./shams')} */
|
|
2104
1989
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2105
1990
|
module.exports = function hasSymbols() {
|
|
2106
1991
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
2107
1992
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
2108
1993
|
|
|
2109
|
-
/** @type {{ [k in symbol]?: unknown }} */
|
|
2110
1994
|
var obj = {};
|
|
2111
1995
|
var sym = Symbol('test');
|
|
2112
1996
|
var symObj = Object(sym);
|
|
@@ -2125,7 +2009,7 @@ module.exports = function hasSymbols() {
|
|
|
2125
2009
|
|
|
2126
2010
|
var symVal = 42;
|
|
2127
2011
|
obj[sym] = symVal;
|
|
2128
|
-
for (
|
|
2012
|
+
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
2129
2013
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
2130
2014
|
|
|
2131
2015
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -2136,15 +2020,14 @@ module.exports = function hasSymbols() {
|
|
|
2136
2020
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
2137
2021
|
|
|
2138
2022
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
2139
|
-
|
|
2140
|
-
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
2023
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
2141
2024
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
2142
2025
|
}
|
|
2143
2026
|
|
|
2144
2027
|
return true;
|
|
2145
2028
|
};
|
|
2146
2029
|
|
|
2147
|
-
},{}],
|
|
2030
|
+
},{}],29:[function(require,module,exports){
|
|
2148
2031
|
'use strict';
|
|
2149
2032
|
|
|
2150
2033
|
var call = Function.prototype.call;
|
|
@@ -2154,64 +2037,7 @@ var bind = require('function-bind');
|
|
|
2154
2037
|
/** @type {import('.')} */
|
|
2155
2038
|
module.exports = bind.call(call, $hasOwn);
|
|
2156
2039
|
|
|
2157
|
-
},{"function-bind":
|
|
2158
|
-
'use strict';
|
|
2159
|
-
|
|
2160
|
-
/** @type {import('./abs')} */
|
|
2161
|
-
module.exports = Math.abs;
|
|
2162
|
-
|
|
2163
|
-
},{}],42:[function(require,module,exports){
|
|
2164
|
-
'use strict';
|
|
2165
|
-
|
|
2166
|
-
/** @type {import('./floor')} */
|
|
2167
|
-
module.exports = Math.floor;
|
|
2168
|
-
|
|
2169
|
-
},{}],43:[function(require,module,exports){
|
|
2170
|
-
'use strict';
|
|
2171
|
-
|
|
2172
|
-
/** @type {import('./isNaN')} */
|
|
2173
|
-
module.exports = Number.isNaN || function isNaN(a) {
|
|
2174
|
-
return a !== a;
|
|
2175
|
-
};
|
|
2176
|
-
|
|
2177
|
-
},{}],44:[function(require,module,exports){
|
|
2178
|
-
'use strict';
|
|
2179
|
-
|
|
2180
|
-
/** @type {import('./max')} */
|
|
2181
|
-
module.exports = Math.max;
|
|
2182
|
-
|
|
2183
|
-
},{}],45:[function(require,module,exports){
|
|
2184
|
-
'use strict';
|
|
2185
|
-
|
|
2186
|
-
/** @type {import('./min')} */
|
|
2187
|
-
module.exports = Math.min;
|
|
2188
|
-
|
|
2189
|
-
},{}],46:[function(require,module,exports){
|
|
2190
|
-
'use strict';
|
|
2191
|
-
|
|
2192
|
-
/** @type {import('./pow')} */
|
|
2193
|
-
module.exports = Math.pow;
|
|
2194
|
-
|
|
2195
|
-
},{}],47:[function(require,module,exports){
|
|
2196
|
-
'use strict';
|
|
2197
|
-
|
|
2198
|
-
/** @type {import('./round')} */
|
|
2199
|
-
module.exports = Math.round;
|
|
2200
|
-
|
|
2201
|
-
},{}],48:[function(require,module,exports){
|
|
2202
|
-
'use strict';
|
|
2203
|
-
|
|
2204
|
-
var $isNaN = require('./isNaN');
|
|
2205
|
-
|
|
2206
|
-
/** @type {import('./sign')} */
|
|
2207
|
-
module.exports = function sign(number) {
|
|
2208
|
-
if ($isNaN(number) || number === 0) {
|
|
2209
|
-
return number;
|
|
2210
|
-
}
|
|
2211
|
-
return number < 0 ? -1 : +1;
|
|
2212
|
-
};
|
|
2213
|
-
|
|
2214
|
-
},{"./isNaN":43}],49:[function(require,module,exports){
|
|
2040
|
+
},{"function-bind":22}],30:[function(require,module,exports){
|
|
2215
2041
|
(function (global){(function (){
|
|
2216
2042
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
2217
2043
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -2742,7 +2568,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
2742
2568
|
}
|
|
2743
2569
|
|
|
2744
2570
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
2745
|
-
},{"./util.inspect":9}],
|
|
2571
|
+
},{"./util.inspect":9}],31:[function(require,module,exports){
|
|
2746
2572
|
'use strict';
|
|
2747
2573
|
|
|
2748
2574
|
var replace = String.prototype.replace;
|
|
@@ -2767,7 +2593,7 @@ module.exports = {
|
|
|
2767
2593
|
RFC3986: Format.RFC3986
|
|
2768
2594
|
};
|
|
2769
2595
|
|
|
2770
|
-
},{}],
|
|
2596
|
+
},{}],32:[function(require,module,exports){
|
|
2771
2597
|
'use strict';
|
|
2772
2598
|
|
|
2773
2599
|
var stringify = require('./stringify');
|
|
@@ -2780,7 +2606,7 @@ module.exports = {
|
|
|
2780
2606
|
stringify: stringify
|
|
2781
2607
|
};
|
|
2782
2608
|
|
|
2783
|
-
},{"./formats":
|
|
2609
|
+
},{"./formats":31,"./parse":33,"./stringify":34}],33:[function(require,module,exports){
|
|
2784
2610
|
'use strict';
|
|
2785
2611
|
|
|
2786
2612
|
var utils = require('./utils');
|
|
@@ -3070,7 +2896,7 @@ module.exports = function (str, opts) {
|
|
|
3070
2896
|
return utils.compact(obj);
|
|
3071
2897
|
};
|
|
3072
2898
|
|
|
3073
|
-
},{"./utils":
|
|
2899
|
+
},{"./utils":35}],34:[function(require,module,exports){
|
|
3074
2900
|
'use strict';
|
|
3075
2901
|
|
|
3076
2902
|
var getSideChannel = require('side-channel');
|
|
@@ -3423,7 +3249,7 @@ module.exports = function (object, opts) {
|
|
|
3423
3249
|
return joined.length > 0 ? prefix + joined : '';
|
|
3424
3250
|
};
|
|
3425
3251
|
|
|
3426
|
-
},{"./formats":
|
|
3252
|
+
},{"./formats":31,"./utils":35,"side-channel":37}],35:[function(require,module,exports){
|
|
3427
3253
|
'use strict';
|
|
3428
3254
|
|
|
3429
3255
|
var formats = require('./formats');
|
|
@@ -3690,7 +3516,7 @@ module.exports = {
|
|
|
3690
3516
|
merge: merge
|
|
3691
3517
|
};
|
|
3692
3518
|
|
|
3693
|
-
},{"./formats":
|
|
3519
|
+
},{"./formats":31}],36:[function(require,module,exports){
|
|
3694
3520
|
'use strict';
|
|
3695
3521
|
|
|
3696
3522
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3734,7 +3560,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
3734
3560
|
return fn;
|
|
3735
3561
|
};
|
|
3736
3562
|
|
|
3737
|
-
},{"define-data-property":
|
|
3563
|
+
},{"define-data-property":12,"es-errors/type":19,"get-intrinsic":23,"gopd":24,"has-property-descriptors":25}],37:[function(require,module,exports){
|
|
3738
3564
|
'use strict';
|
|
3739
3565
|
|
|
3740
3566
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3865,5 +3691,5 @@ module.exports = function getSideChannel() {
|
|
|
3865
3691
|
return channel;
|
|
3866
3692
|
};
|
|
3867
3693
|
|
|
3868
|
-
},{"call-bind/callBound":
|
|
3694
|
+
},{"call-bind/callBound":10,"es-errors/type":19,"get-intrinsic":23,"object-inspect":30}]},{},[4])(4)
|
|
3869
3695
|
});
|
package/dist/backlog.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Backlog=f()}})(function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r}()({1:[function(require,module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p]};return extendStatics(d,b)};return function(d,b){if(typeof b!=="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:true});var request_1=require("./request");var Backlog=function(_super){__extends(Backlog,_super);function Backlog(configure){return _super.call(this,configure)||this}Backlog.prototype.getSpace=function(){return this.get("space")};Backlog.prototype.getSpaceActivities=function(params){return this.get("space/activities",params)};Backlog.prototype.getSpaceIcon=function(){return this.download("space/image")};Backlog.prototype.getSpaceNotification=function(){return this.get("space/notification")};Backlog.prototype.putSpaceNotification=function(params){return this.put("space/notification",params)};Backlog.prototype.getSpaceDiskUsage=function(){return this.get("space/diskUsage")};Backlog.prototype.postSpaceAttachment=function(form){return this.upload("space/attachment",form)};Backlog.prototype.getUsers=function(){return this.get("users")};Backlog.prototype.getUser=function(userId){return this.get("users/".concat(userId))};Backlog.prototype.postUser=function(params){return this.post("users",params)};Backlog.prototype.patchUser=function(userId,params){return this.patch("users/".concat(userId),params)};Backlog.prototype.deleteUser=function(userId){return this.delete("users/".concat(userId))};Backlog.prototype.getMyself=function(){return this.get("users/myself")};Backlog.prototype.getUserIcon=function(userId){return this.download("users/".concat(userId,"/icon"))};Backlog.prototype.getUserActivities=function(userId,params){return this.get("users/".concat(userId,"/activities"),params)};Backlog.prototype.getUserStars=function(userId,params){return this.get("users/".concat(userId,"/stars"),params)};Backlog.prototype.getUserStarsCount=function(userId,params){return this.get("users/".concat(userId,"/stars/count"),params)};Backlog.prototype.getRecentlyViewedIssues=function(params){return this.get("users/myself/recentlyViewedIssues",params)};Backlog.prototype.getRecentlyViewedProjects=function(params){return this.get("users/myself/recentlyViewedProjects",params)};Backlog.prototype.getRecentlyViewedWikis=function(params){return this.get("users/myself/recentlyViewedWikis",params)};Backlog.prototype.getProjectStatuses=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/statuses"))};Backlog.prototype.getResolutions=function(){return this.get("resolutions")};Backlog.prototype.getPriorities=function(){return this.get("priorities")};Backlog.prototype.getProjects=function(params){return this.get("projects",params)};Backlog.prototype.postProject=function(params){return this.post("projects",params)};Backlog.prototype.getProject=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey))};Backlog.prototype.patchProject=function(projectIdOrKey,params){return this.patch("projects/".concat(projectIdOrKey),params)};Backlog.prototype.deleteProject=function(projectIdOrKey){return this.delete("projects/".concat(projectIdOrKey))};Backlog.prototype.getProjectIcon=function(projectIdOrKey){return this.download("projects/".concat(projectIdOrKey,"/image"))};Backlog.prototype.getProjectActivities=function(projectIdOrKey,params){return this.get("projects/".concat(projectIdOrKey,"/activities"),params)};Backlog.prototype.postProjectUser=function(projectIdOrKey,userId){return this.post("projects/".concat(projectIdOrKey,"/users"),{userId:userId})};Backlog.prototype.getProjectUsers=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/users"))};Backlog.prototype.deleteProjectUsers=function(projectIdOrKey,params){return this.delete("projects/".concat(projectIdOrKey,"/users"),params)};Backlog.prototype.postProjectAdministrators=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/administrators"),params)};Backlog.prototype.getProjectAdministrators=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/administrators"))};Backlog.prototype.deleteProjectAdministrators=function(projectIdOrKey,params){return this.delete("projects/".concat(projectIdOrKey,"/administrators"),params)};Backlog.prototype.postProjectStatus=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/statuses"),params)};Backlog.prototype.patchProjectStatus=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/statuses/").concat(id),params)};Backlog.prototype.deleteProjectStatus=function(projectIdOrKey,id,substituteStatusId){return this.delete("projects/".concat(projectIdOrKey,"/statuses/").concat(id),{substituteStatusId:substituteStatusId})};Backlog.prototype.patchProjectStatusOrder=function(projectIdOrKey,statusId){return this.patch("projects/".concat(projectIdOrKey,"/statuses/updateDisplayOrder"),{statusId:statusId})};Backlog.prototype.getIssueTypes=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/issueTypes"))};Backlog.prototype.postIssueType=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/issueTypes"),params)};Backlog.prototype.patchIssueType=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/issueTypes/").concat(id),params)};Backlog.prototype.deleteIssueType=function(projectIdOrKey,id,params){return this.delete("projects/".concat(projectIdOrKey,"/issueTypes/").concat(id),params)};Backlog.prototype.getCategories=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/categories"))};Backlog.prototype.postCategories=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/categories"),params)};Backlog.prototype.patchCategories=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/categories/").concat(id),params)};Backlog.prototype.deleteCategories=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/categories/").concat(id))};Backlog.prototype.getVersions=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/versions"))};Backlog.prototype.postVersions=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/versions"),params)};Backlog.prototype.patchVersions=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/versions/").concat(id),params)};Backlog.prototype.deleteVersions=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/versions/").concat(id))};Backlog.prototype.getCustomFields=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/customFields"))};Backlog.prototype.postCustomField=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/customFields"),params)};Backlog.prototype.patchCustomField=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/customFields/").concat(id),params)};Backlog.prototype.deleteCustomField=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/customFields/").concat(id))};Backlog.prototype.postCustomFieldItem=function(projectIdOrKey,id,params){return this.post("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items"),params)};Backlog.prototype.patchCustomFieldItem=function(projectIdOrKey,id,itemId,params){return this.patch("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items/").concat(itemId),params)};Backlog.prototype.deleteCustomFieldItem=function(projectIdOrKey,id,itemId){return this.delete("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items/").concat(itemId))};Backlog.prototype.getSharedFiles=function(projectIdOrKey,path,params){return this.get("projects/".concat(projectIdOrKey,"/files/metadata/").concat(path),params)};Backlog.prototype.getSharedFile=function(projectIdOrKey,sharedFileId){return this.download("projects/".concat(projectIdOrKey,"/files/").concat(sharedFileId))};Backlog.prototype.getProjectsDiskUsage=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/diskUsage"))};Backlog.prototype.getWebhooks=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/webhooks"))};Backlog.prototype.postWebhook=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/webhooks"),params)};Backlog.prototype.getWebhook=function(projectIdOrKey,webhookId){return this.get("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId))};Backlog.prototype.patchWebhook=function(projectIdOrKey,webhookId,params){return this.patch("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId),params)};Backlog.prototype.deleteWebhook=function(projectIdOrKey,webhookId){return this.delete("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId))};Backlog.prototype.getIssues=function(params){return this.get("issues",params)};Backlog.prototype.getIssuesCount=function(params){return this.get("issues/count",params)};Backlog.prototype.postIssue=function(params){return this.post("issues",params)};Backlog.prototype.patchIssue=function(issueIdOrKey,params){return this.patch("issues/".concat(issueIdOrKey),params)};Backlog.prototype.getIssue=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey))};Backlog.prototype.deleteIssue=function(issueIdOrKey){return this.delete("issues/".concat(issueIdOrKey))};Backlog.prototype.getIssueComments=function(issueIdOrKey,params){return this.get("issues/".concat(issueIdOrKey,"/comments"),params)};Backlog.prototype.postIssueComments=function(issueIdOrKey,params){return this.post("issues/".concat(issueIdOrKey,"/comments"),params)};Backlog.prototype.getIssueCommentsCount=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/comments/count"))};Backlog.prototype.getIssueComment=function(issueIdOrKey,commentId){return this.get("issues/".concat(issueIdOrKey,"/comments/").concat(commentId))};Backlog.prototype.deleteIssueComment=function(issueIdOrKey,commentId){return this.delete("issues/".concat(issueIdOrKey,"/comments/").concat(commentId))};Backlog.prototype.patchIssueComment=function(issueIdOrKey,commentId,params){return this.patch("issues/".concat(issueIdOrKey,"/comments/").concat(commentId),params)};Backlog.prototype.getIssueCommentNotifications=function(issueIdOrKey,commentId){return this.get("issues/".concat(issueIdOrKey,"/comments/").concat(commentId,"/notifications"))};Backlog.prototype.postIssueCommentNotifications=function(issueIdOrKey,commentId,prams){return this.post("issues/".concat(issueIdOrKey,"/comments/").concat(commentId,"/notifications"),prams)};Backlog.prototype.getIssueAttachments=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/attachments"))};Backlog.prototype.getIssueAttachment=function(issueIdOrKey,attachmentId){return this.download("issues/".concat(issueIdOrKey,"/attachments/").concat(attachmentId))};Backlog.prototype.deleteIssueAttachment=function(issueIdOrKey,attachmentId){return this.delete("issues/".concat(issueIdOrKey,"/attachments/").concat(attachmentId))};Backlog.prototype.getIssueParticipants=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/participants"))};Backlog.prototype.getIssueSharedFiles=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/sharedFiles"))};Backlog.prototype.linkIssueSharedFiles=function(issueIdOrKey,params){return this.post("issues/".concat(issueIdOrKey,"/sharedFiles"),params)};Backlog.prototype.unlinkIssueSharedFile=function(issueIdOrKey,id){return this.delete("issues/".concat(issueIdOrKey,"/sharedFiles/").concat(id))};Backlog.prototype.getWikis=function(params){return this.get("wikis",params)};Backlog.prototype.getWikisCount=function(projectIdOrKey){return this.get("wikis/count",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.getWikisTags=function(projectIdOrKey){return this.get("wikis/tags",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.postWiki=function(params){return this.post("wikis",params)};Backlog.prototype.getWiki=function(wikiId){return this.get("wikis/".concat(wikiId))};Backlog.prototype.patchWiki=function(wikiId,params){return this.patch("wikis/".concat(wikiId),params)};Backlog.prototype.deleteWiki=function(wikiId,mailNotify){return this.delete("wikis/".concat(wikiId),{mailNotify:mailNotify})};Backlog.prototype.getWikisAttachments=function(wikiId){return this.get("wikis/".concat(wikiId,"/attachments"))};Backlog.prototype.postWikisAttachments=function(wikiId,attachmentId){return this.post("wikis/".concat(wikiId,"/attachments"),{attachmentId:attachmentId})};Backlog.prototype.getWikiAttachment=function(wikiId,attachmentId){return this.download("wikis/".concat(wikiId,"/attachments/").concat(attachmentId))};Backlog.prototype.deleteWikisAttachments=function(wikiId,attachmentId){return this.delete("wikis/".concat(wikiId,"/attachments/").concat(attachmentId))};Backlog.prototype.getWikisSharedFiles=function(wikiId){return this.get("wikis/".concat(wikiId,"/sharedFiles"))};Backlog.prototype.linkWikisSharedFiles=function(wikiId,fileId){return this.post("wikis/".concat(wikiId,"/sharedFiles"),{fileId:fileId})};Backlog.prototype.unlinkWikisSharedFiles=function(wikiId,id){return this.delete("wikis/".concat(wikiId,"/sharedFiles/").concat(id))};Backlog.prototype.getDocuments=function(params){return this.get("documents",params)};Backlog.prototype.getDocumentTree=function(projectIdOrKey){return this.get("documents/tree",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.getDocument=function(documentId){return this.get("documents/".concat(documentId))};Backlog.prototype.downloadDocumentAttachment=function(documentId,attachmentId){return this.download("documents/".concat(documentId,"/attachments/").concat(attachmentId))};Backlog.prototype.getWikisHistory=function(wikiId,params){return this.get("wikis/".concat(wikiId,"/history"),params)};Backlog.prototype.getWikisStars=function(wikiId){return this.get("wikis/".concat(wikiId,"/stars"))};Backlog.prototype.postStar=function(params){return this.post("stars",params)};Backlog.prototype.getNotifications=function(params){return this.get("notifications",params)};Backlog.prototype.getNotificationsCount=function(params){return this.get("notifications/count",params)};Backlog.prototype.resetNotificationsMarkAsRead=function(){return this.post("notifications/markAsRead")};Backlog.prototype.markAsReadNotification=function(id){return this.post("notifications/".concat(id,"/markAsRead"))};Backlog.prototype.getGitRepositories=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/git/repositories"))};Backlog.prototype.getGitRepository=function(projectIdOrKey,repoIdOrName){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName))};Backlog.prototype.getPullRequests=function(projectIdOrKey,repoIdOrName,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests"),params)};Backlog.prototype.getPullRequestsCount=function(projectIdOrKey,repoIdOrName,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/count"),params)};Backlog.prototype.postPullRequest=function(projectIdOrKey,repoIdOrName,params){return this.post("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests"),params)};Backlog.prototype.getPullRequest=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number))};Backlog.prototype.patchPullRequest=function(projectIdOrKey,repoIdOrName,number,params){return this.patch("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number),params)};Backlog.prototype.getPullRequestComments=function(projectIdOrKey,repoIdOrName,number,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments"),params)};Backlog.prototype.postPullRequestComments=function(projectIdOrKey,repoIdOrName,number,params){return this.post("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments"),params)};Backlog.prototype.getPullRequestCommentsCount=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments/count"))};Backlog.prototype.patchPullRequestComments=function(projectIdOrKey,repoIdOrName,number,commentId,params){return this.patch("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments/").concat(commentId),params)};Backlog.prototype.getPullRequestAttachments=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments"))};Backlog.prototype.getPullRequestAttachment=function(projectIdOrKey,repoIdOrName,number,attachmentId){return this.download("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments/").concat(attachmentId))};Backlog.prototype.deletePullRequestAttachment=function(projectIdOrKey,repoIdOrName,number,attachmentId){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments/").concat(attachmentId))};Backlog.prototype.getWatchingListItems=function(userId,params){return this.get("users/".concat(userId,"/watchings"),params)};Backlog.prototype.getWatchingListCount=function(userId,params){return this.get("users/".concat(userId,"/watchings/count"),params)};Backlog.prototype.getWatchingListItem=function(watchId){return this.get("watchings/".concat(watchId))};Backlog.prototype.postWatchingListItem=function(params){return this.post("watchings",params)};Backlog.prototype.patchWatchingListItem=function(watchId,note){return this.patch("watchings/".concat(watchId),{note:note})};Backlog.prototype.deletehWatchingListItem=function(watchId){return this.delete("watchings/".concat(watchId))};Backlog.prototype.resetWatchingListItemAsRead=function(watchId){return this.post("watchings/".concat(watchId,"/markAsRead"))};Backlog.prototype.getLicence=function(){return this.get("space/licence")};Backlog.prototype.getTeams=function(params){return this.get("teams",params)};Backlog.prototype.postTeam=function(members){return this.post("teams",{members:members})};Backlog.prototype.getTeam=function(teamId){return this.get("teams/".concat(teamId))};Backlog.prototype.patchTeam=function(teamId,params){return this.patch("teams/".concat(teamId),params)};Backlog.prototype.deleteTeam=function(teamId){return this.delete("teams/".concat(teamId))};Backlog.prototype.getTeamIcon=function(teamId){return this.download("teams/".concat(teamId,"/icon"))};Backlog.prototype.getProjectTeams=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/teams"))};Backlog.prototype.postProjectTeam=function(projectIdOrKey,teamId){return this.post("projects/".concat(projectIdOrKey,"/teams"),{teamId:teamId})};Backlog.prototype.deleteProjectTeam=function(projectIdOrKey,teamId){return this.delete("projects/".concat(projectIdOrKey,"/teams"),{teamId:teamId})};Backlog.prototype.getRateLimit=function(){return this.get("rateLimit")};Backlog.prototype.download=function(path){return this.request({method:"GET",path:path}).then(this.parseFileData)};Backlog.prototype.upload=function(path,params){return this.request({method:"POST",path:path,params:params}).then(this.parseJSON)};Backlog.prototype.parseFileData=function(response){return new Promise(function(resolve,reject){if(typeof window!=="undefined"){resolve({body:response.body,url:response.url,blob:function(){return response.blob()}})}else{var disposition=response.headers.get("Content-Disposition");var filename=disposition?disposition.substring(disposition.indexOf("''")+2):"";resolve({body:response.body,url:response.url,filename:filename})}})};return Backlog}(request_1.default);exports.default=Backlog},{"./request":7}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true})},{}],3:[function(require,module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p]};return extendStatics(d,b)};return function(d,b){if(typeof b!=="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:true});exports.UnexpectedError=exports.BacklogAuthError=exports.BacklogApiError=exports.BacklogError=void 0;var BacklogError=function(_super){__extends(BacklogError,_super);function BacklogError(name,response,body){var _this=_super.call(this,response.statusText)||this;_this._name=name;_this._url=response.url;_this._status=response.status;_this._body=body;_this._response=response;return _this}Object.defineProperty(BacklogError.prototype,"name",{get:function(){return this._name},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"url",{get:function(){return this._url},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"status",{get:function(){return this._status},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"body",{get:function(){return this._body},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"response",{get:function(){return this._response},enumerable:false,configurable:true});return BacklogError}(Error);exports.BacklogError=BacklogError;var BacklogApiError=function(_super){__extends(BacklogApiError,_super);function BacklogApiError(response,body){return _super.call(this,"BacklogApiError",response,body)||this}return BacklogApiError}(BacklogError);exports.BacklogApiError=BacklogApiError;var BacklogAuthError=function(_super){__extends(BacklogAuthError,_super);function BacklogAuthError(response,body){return _super.call(this,"BacklogAuthError",response,body)||this}return BacklogAuthError}(BacklogError);exports.BacklogAuthError=BacklogAuthError;var UnexpectedError=function(_super){__extends(UnexpectedError,_super);function UnexpectedError(response){return _super.call(this,"UnexpectedError",response)||this}return UnexpectedError}(BacklogError);exports.UnexpectedError=UnexpectedError},{}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Error=exports.Types=exports.Entity=exports.Option=exports.OAuth2=exports.Backlog=void 0;var backlog_1=require("./backlog");exports.Backlog=backlog_1.default;var oauth2_1=require("./oauth2");exports.OAuth2=oauth2_1.default;var Option=require("./option");exports.Option=Option;var Entity=require("./entity");exports.Entity=Entity;var Types=require("./types");exports.Types=Types;var Error=require("./error");exports.Error=Error},{"./backlog":1,"./entity":2,"./error":3,"./oauth2":5,"./option":6,"./types":8}],5:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var request_1=require("./request");var OAuth2=function(){function OAuth2(credentials,timeout){this.credentials=credentials;this.timeout=timeout}OAuth2.prototype.getAuthorizationURL=function(options){var params={client_id:this.credentials.clientId,response_type:"code",redirect_uri:options.redirectUri,state:options.state};return"https://".concat(options.host,"/OAuth2AccessRequest.action?")+Object.keys(params).map(function(key){return params[key]?"".concat(key,"=").concat(params[key]):""}).filter(function(x){return x.length>0}).join("&")};OAuth2.prototype.getAccessToken=function(options){return new request_1.default({host:options.host,timeout:this.timeout}).post("oauth2/token",{grant_type:"authorization_code",code:options.code,client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,redirect_uri:options.redirectUri})};OAuth2.prototype.refreshAccessToken=function(options){return new request_1.default({host:options.host,timeout:this.timeout}).post("oauth2/token",{grant_type:"refresh_token",client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,refresh_token:options.refreshToken})};return OAuth2}();exports.default=OAuth2},{"./request":7}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Issue=void 0;var Issue;(function(Issue){var ParentChildType;(function(ParentChildType){ParentChildType[ParentChildType["All"]=0]="All";ParentChildType[ParentChildType["NotChild"]=1]="NotChild";ParentChildType[ParentChildType["Child"]=2]="Child";ParentChildType[ParentChildType["NotChildNotParent"]=3]="NotChildNotParent";ParentChildType[ParentChildType["Parent"]=4]="Parent"})(ParentChildType=Issue.ParentChildType||(Issue.ParentChildType={}))})(Issue||(exports.Issue=Issue={}))},{}],7:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Error=require("./error");var qs=require("qs");var Request=function(){function Request(configure){this.configure=configure}Request.prototype.get=function(path,params){return this.request({method:"GET",path:path,params:params}).then(this.parseJSON)};Request.prototype.post=function(path,params){return this.request({method:"POST",path:path,params:params}).then(this.parseJSON)};Request.prototype.put=function(path,params){return this.request({method:"PUT",path:path,params:params}).then(this.parseJSON)};Request.prototype.patch=function(path,params){return this.request({method:"PATCH",path:path,params:params}).then(this.parseJSON)};Request.prototype.delete=function(path,params){return this.request({method:"DELETE",path:path,params:params}).then(this.parseJSON)};Request.prototype.request=function(options){var method=options.method,path=options.path,_a=options.params,params=_a===void 0?{}:_a;var _b=this.configure,apiKey=_b.apiKey,accessToken=_b.accessToken,timeout=_b.timeout;var query=apiKey?{apiKey:apiKey}:{};var init={method:method,headers:{}};if(timeout){init["timeout"]=timeout}if(!apiKey&&accessToken){init.headers["Authorization"]="Bearer "+accessToken}if(typeof window!=="undefined"){init.mode="cors"}if(method!=="GET"){if(params instanceof FormData){init.body=params}else{init.headers["Content-type"]="application/x-www-form-urlencoded";init.body=this.toQueryString(params)}}else{Object.keys(params).forEach(function(key){return query[key]=params[key]})}var queryStr=this.toQueryString(query);var url="".concat(this.restBaseURL,"/").concat(path)+(queryStr.length>0?"?".concat(queryStr):"");return fetch(url,init).then(this.checkStatus)};Request.prototype.checkStatus=function(response){return new Promise(function(resolve,reject){if(200<=response.status&&response.status<300){resolve(response)}else{response.json().then(function(data){if(response.status===401){reject(new Error.BacklogAuthError(response,data))}else{reject(new Error.BacklogApiError(response,data))}}).catch(function(err){return reject(new Error.UnexpectedError(response))})}})};Request.prototype.parseJSON=function(response){if(response.status===204||response.headers.get("Content-Length")==="0"){return Promise.resolve(undefined)}return response.json()};Request.prototype.toQueryString=function(params){return qs.stringify(params,{arrayFormat:"brackets"})};Object.defineProperty(Request.prototype,"webAppBaseURL",{get:function(){return"https://".concat(this.configure.host)},enumerable:false,configurable:true});Object.defineProperty(Request.prototype,"restBaseURL",{get:function(){return"".concat(this.webAppBaseURL,"/api/v2")},enumerable:false,configurable:true});return Request}();exports.default=Request},{"./error":3,qs:51}],8:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CustomFieldType=exports.ActivityType=exports.NormalRoleType=exports.ClassicRoleType=void 0;var ClassicRoleType;(function(ClassicRoleType){ClassicRoleType[ClassicRoleType["Admin"]=1]="Admin";ClassicRoleType[ClassicRoleType["User"]=2]="User";ClassicRoleType[ClassicRoleType["Reporter"]=3]="Reporter";ClassicRoleType[ClassicRoleType["Viewer"]=4]="Viewer";ClassicRoleType[ClassicRoleType["GuestReporter"]=5]="GuestReporter";ClassicRoleType[ClassicRoleType["GuestViewer"]=6]="GuestViewer"})(ClassicRoleType||(exports.ClassicRoleType=ClassicRoleType={}));var NormalRoleType;(function(NormalRoleType){NormalRoleType[NormalRoleType["Admin"]=1]="Admin";NormalRoleType[NormalRoleType["MemberOrGuest"]=2]="MemberOrGuest";NormalRoleType[NormalRoleType["MemberOrGuestForAddIssues"]=3]="MemberOrGuestForAddIssues";NormalRoleType[NormalRoleType["MemberOrGuestForViewIssues"]=4]="MemberOrGuestForViewIssues"})(NormalRoleType||(exports.NormalRoleType=NormalRoleType={}));var ActivityType;(function(ActivityType){ActivityType[ActivityType["Undefined"]=-1]="Undefined";ActivityType[ActivityType["IssueCreated"]=1]="IssueCreated";ActivityType[ActivityType["IssueUpdated"]=2]="IssueUpdated";ActivityType[ActivityType["IssueCommented"]=3]="IssueCommented";ActivityType[ActivityType["IssueDeleted"]=4]="IssueDeleted";ActivityType[ActivityType["WikiCreated"]=5]="WikiCreated";ActivityType[ActivityType["WikiUpdated"]=6]="WikiUpdated";ActivityType[ActivityType["WikiDeleted"]=7]="WikiDeleted";ActivityType[ActivityType["FileAdded"]=8]="FileAdded";ActivityType[ActivityType["FileUpdated"]=9]="FileUpdated";ActivityType[ActivityType["FileDeleted"]=10]="FileDeleted";ActivityType[ActivityType["SvnCommitted"]=11]="SvnCommitted";ActivityType[ActivityType["GitPushed"]=12]="GitPushed";ActivityType[ActivityType["GitRepositoryCreated"]=13]="GitRepositoryCreated";ActivityType[ActivityType["IssueMultiUpdated"]=14]="IssueMultiUpdated";ActivityType[ActivityType["ProjectUserAdded"]=15]="ProjectUserAdded";ActivityType[ActivityType["ProjectUserRemoved"]=16]="ProjectUserRemoved";ActivityType[ActivityType["NotifyAdded"]=17]="NotifyAdded";ActivityType[ActivityType["PullRequestAdded"]=18]="PullRequestAdded";ActivityType[ActivityType["PullRequestUpdated"]=19]="PullRequestUpdated";ActivityType[ActivityType["PullRequestCommented"]=20]="PullRequestCommented";ActivityType[ActivityType["PullRequestMerged"]=21]="PullRequestMerged";ActivityType[ActivityType["MilestoneCreated"]=22]="MilestoneCreated";ActivityType[ActivityType["MilestoneUpdated"]=23]="MilestoneUpdated";ActivityType[ActivityType["MilestoneDeleted"]=24]="MilestoneDeleted";ActivityType[ActivityType["ProjectGroupAdded"]=25]="ProjectGroupAdded";ActivityType[ActivityType["ProjectGroupDeleted"]=26]="ProjectGroupDeleted"})(ActivityType||(exports.ActivityType=ActivityType={}));var CustomFieldType;(function(CustomFieldType){CustomFieldType[CustomFieldType["Text"]=1]="Text";CustomFieldType[CustomFieldType["TextArea"]=2]="TextArea";CustomFieldType[CustomFieldType["Numeric"]=3]="Numeric";CustomFieldType[CustomFieldType["Date"]=4]="Date";CustomFieldType[CustomFieldType["SingleList"]=5]="SingleList";CustomFieldType[CustomFieldType["MultipleList"]=6]="MultipleList";CustomFieldType[CustomFieldType["CheckBox"]=7]="CheckBox";CustomFieldType[CustomFieldType["Radio"]=8]="Radio"})(CustomFieldType||(exports.CustomFieldType=CustomFieldType={}))},{}],9:[function(require,module,exports){},{}],10:[function(require,module,exports){"use strict";var bind=require("function-bind");var $apply=require("./functionApply");var $call=require("./functionCall");var $reflectApply=require("./reflectApply");module.exports=$reflectApply||bind.call($call,$apply)},{"./functionApply":12,"./functionCall":13,"./reflectApply":15,"function-bind":30}],11:[function(require,module,exports){"use strict";var bind=require("function-bind");var $apply=require("./functionApply");var actualApply=require("./actualApply");module.exports=function applyBind(){return actualApply(bind,$apply,arguments)}},{"./actualApply":10,"./functionApply":12,"function-bind":30}],12:[function(require,module,exports){"use strict";module.exports=Function.prototype.apply},{}],13:[function(require,module,exports){"use strict";module.exports=Function.prototype.call},{}],14:[function(require,module,exports){"use strict";var bind=require("function-bind");var $TypeError=require("es-errors/type");var $call=require("./functionCall");var $actualApply=require("./actualApply");module.exports=function callBindBasic(args){if(args.length<1||typeof args[0]!=="function"){throw new $TypeError("a function is required")}return $actualApply(bind,$call,args)}},{"./actualApply":10,"./functionCall":13,"es-errors/type":26,"function-bind":30}],15:[function(require,module,exports){"use strict";module.exports=typeof Reflect!=="undefined"&&Reflect&&Reflect.apply},{}],16:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var callBind=require("./");var $indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);if(typeof intrinsic==="function"&&$indexOf(name,".prototype.")>-1){return callBind(intrinsic)}return intrinsic}},{"./":17,"get-intrinsic":31}],17:[function(require,module,exports){"use strict";var setFunctionLength=require("set-function-length");var $defineProperty=require("es-define-property");var callBindBasic=require("call-bind-apply-helpers");var applyBind=require("call-bind-apply-helpers/applyBind");module.exports=function callBind(originalFunction){var func=callBindBasic(arguments);var adjustedLength=originalFunction.length-(arguments.length-1);return setFunctionLength(func,1+(adjustedLength>0?adjustedLength:0),true)};if($defineProperty){$defineProperty(module.exports,"apply",{value:applyBind})}else{module.exports.apply=applyBind}},{"call-bind-apply-helpers":14,"call-bind-apply-helpers/applyBind":11,"es-define-property":20,"set-function-length":55}],18:[function(require,module,exports){"use strict";var $defineProperty=require("es-define-property");var $SyntaxError=require("es-errors/syntax");var $TypeError=require("es-errors/type");var gopd=require("gopd");module.exports=function defineDataProperty(obj,property,value){if(!obj||typeof obj!=="object"&&typeof obj!=="function"){throw new $TypeError("`obj` must be an object or a function`")}if(typeof property!=="string"&&typeof property!=="symbol"){throw new $TypeError("`property` must be a string or a symbol`")}if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null){throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null")}if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null){throw new $TypeError("`nonWritable`, if provided, must be a boolean or null")}if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null){throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null")}if(arguments.length>6&&typeof arguments[6]!=="boolean"){throw new $TypeError("`loose`, if provided, must be a boolean")}var nonEnumerable=arguments.length>3?arguments[3]:null;var nonWritable=arguments.length>4?arguments[4]:null;var nonConfigurable=arguments.length>5?arguments[5]:null;var loose=arguments.length>6?arguments[6]:false;var desc=!!gopd&&gopd(obj,property);if($defineProperty){$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value:value,writable:nonWritable===null&&desc?desc.writable:!nonWritable})}else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable){obj[property]=value}else{throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}},{"es-define-property":20,"es-errors/syntax":25,"es-errors/type":26,gopd:36}],19:[function(require,module,exports){"use strict";var callBind=require("call-bind-apply-helpers");var gOPD=require("gopd");var hasProtoAccessor;try{hasProtoAccessor=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS"){throw e}}var desc=!!hasProtoAccessor&&gOPD&&gOPD(Object.prototype,"__proto__");var $Object=Object;var $getPrototypeOf=$Object.getPrototypeOf;module.exports=desc&&typeof desc.get==="function"?callBind([desc.get]):typeof $getPrototypeOf==="function"?function getDunder(value){return $getPrototypeOf(value==null?value:$Object(value))}:false},{"call-bind-apply-helpers":14,gopd:36}],20:[function(require,module,exports){"use strict";var $defineProperty=Object.defineProperty||false;if($defineProperty){try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=false}}module.exports=$defineProperty},{}],21:[function(require,module,exports){"use strict";module.exports=EvalError},{}],22:[function(require,module,exports){"use strict";module.exports=Error},{}],23:[function(require,module,exports){"use strict";module.exports=RangeError},{}],24:[function(require,module,exports){"use strict";module.exports=ReferenceError},{}],25:[function(require,module,exports){"use strict";module.exports=SyntaxError},{}],26:[function(require,module,exports){"use strict";module.exports=TypeError},{}],27:[function(require,module,exports){"use strict";module.exports=URIError},{}],28:[function(require,module,exports){"use strict";module.exports=Object},{}],29:[function(require,module,exports){"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ";var toStr=Object.prototype.toString;var max=Math.max;var funcType="[object Function]";var concatty=function concatty(a,b){var arr=[];for(var i=0;i<a.length;i+=1){arr[i]=a[i]}for(var j=0;j<b.length;j+=1){arr[j+a.length]=b[j]}return arr};var slicy=function slicy(arrLike,offset){var arr=[];for(var i=offset||0,j=0;i<arrLike.length;i+=1,j+=1){arr[j]=arrLike[i]}return arr};var joiny=function(arr,joiner){var str="";for(var i=0;i<arr.length;i+=1){str+=arr[i];if(i+1<arr.length){str+=joiner}}return str};module.exports=function bind(that){var target=this;if(typeof target!=="function"||toStr.apply(target)!==funcType){throw new TypeError(ERROR_MESSAGE+target)}var args=slicy(arguments,1);var bound;var binder=function(){if(this instanceof bound){var result=target.apply(this,concatty(args,arguments));if(Object(result)===result){return result}return this}return target.apply(that,concatty(args,arguments))};var boundLength=max(0,target.length-args.length);var boundArgs=[];for(var i=0;i<boundLength;i++){boundArgs[i]="$"+i}bound=Function("binder","return function ("+joiny(boundArgs,",")+"){ return binder.apply(this,arguments); }")(binder);if(target.prototype){var Empty=function Empty(){};Empty.prototype=target.prototype;bound.prototype=new Empty;Empty.prototype=null}return bound}},{}],30:[function(require,module,exports){"use strict";var implementation=require("./implementation");module.exports=Function.prototype.bind||implementation},{"./implementation":29}],31:[function(require,module,exports){"use strict";var undefined;var $Object=require("es-object-atoms");var $Error=require("es-errors");var $EvalError=require("es-errors/eval");var $RangeError=require("es-errors/range");var $ReferenceError=require("es-errors/ref");var $SyntaxError=require("es-errors/syntax");var $TypeError=require("es-errors/type");var $URIError=require("es-errors/uri");var abs=require("math-intrinsics/abs");var floor=require("math-intrinsics/floor");var max=require("math-intrinsics/max");var min=require("math-intrinsics/min");var pow=require("math-intrinsics/pow");var round=require("math-intrinsics/round");var sign=require("math-intrinsics/sign");var $Function=Function;var getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}};var $gOPD=require("gopd");var $defineProperty=require("es-define-property");var throwTypeError=function(){throw new $TypeError};var ThrowTypeError=$gOPD?function(){try{arguments.callee;return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError;var hasSymbols=require("has-symbols")();var getProto=require("get-proto");var $ObjectGPO=require("get-proto/Object.getPrototypeOf");var $ReflectGPO=require("get-proto/Reflect.getPrototypeOf");var $apply=require("call-bind-apply-helpers/functionApply");var $call=require("call-bind-apply-helpers/functionCall");var needsEval={};var TypedArray=typeof Uint8Array==="undefined"||!getProto?undefined:getProto(Uint8Array);var INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError==="undefined"?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics==="undefined"?undefined:Atomics,"%BigInt%":typeof BigInt==="undefined"?undefined:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?undefined:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float16Array%":typeof Float16Array==="undefined"?undefined:Float16Array,"%Float32Array%":typeof Float32Array==="undefined"?undefined:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?undefined:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array==="undefined"?undefined:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?undefined:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":typeof JSON==="object"?JSON:undefined,"%Map%":typeof Map==="undefined"?undefined:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!hasSymbols||!getProto?undefined:getProto((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":$Object,"%Object.getOwnPropertyDescriptor%":$gOPD,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?undefined:Promise,"%Proxy%":typeof Proxy==="undefined"?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect==="undefined"?undefined:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?undefined:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!hasSymbols||!getProto?undefined:getProto((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array==="undefined"?undefined:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?undefined:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?undefined:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap==="undefined"?undefined:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?undefined:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?undefined:WeakSet,"%Function.prototype.call%":$call,"%Function.prototype.apply%":$apply,"%Object.defineProperty%":$defineProperty,"%Object.getPrototypeOf%":$ObjectGPO,"%Math.abs%":abs,"%Math.floor%":floor,"%Math.max%":max,"%Math.min%":min,"%Math.pow%":pow,"%Math.round%":round,"%Math.sign%":sign,"%Reflect.getPrototypeOf%":$ReflectGPO};if(getProto){try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}}var doEval=function doEval(name){var value;if(name==="%AsyncFunction%"){value=getEvalledConstructor("async function () {}")}else if(name==="%GeneratorFunction%"){value=getEvalledConstructor("function* () {}")}else if(name==="%AsyncGeneratorFunction%"){value=getEvalledConstructor("async function* () {}")}else if(name==="%AsyncGenerator%"){var fn=doEval("%AsyncGeneratorFunction%");if(fn){value=fn.prototype}}else if(name==="%AsyncIteratorPrototype%"){var gen=doEval("%AsyncGenerator%");if(gen&&getProto){value=getProto(gen.prototype)}}INTRINSICS[name]=value;return value};var LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var bind=require("function-bind");var hasOwn=require("hasown");var $concat=bind.call($call,Array.prototype.concat);var $spliceApply=bind.call($apply,Array.prototype.splice);var $replace=bind.call($call,String.prototype.replace);var $strSlice=bind.call($call,String.prototype.slice);var $exec=bind.call($call,RegExp.prototype.exec);var rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var reEscapeChar=/\\(\\)?/g;var stringToPath=function stringToPath(string){var first=$strSlice(string,0,1);var last=$strSlice(string,-1);if(first==="%"&&last!=="%"){throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`")}else if(last==="%"&&first!=="%"){throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`")}var result=[];$replace(string,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match});return result};var getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var intrinsicName=name;var alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)){alias=LEGACY_ALIASES[intrinsicName];intrinsicName="%"+alias[0]+"%"}if(hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval){value=doEval(intrinsicName)}if(typeof value==="undefined"&&!allowMissing){throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!")}return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if(typeof name!=="string"||name.length===0){throw new $TypeError("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof allowMissing!=="boolean"){throw new $TypeError('"allowMissing" argument must be a boolean')}if($exec(/^%?[^%]*%?$/,name)===null){throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var parts=stringToPath(name);var intrinsicBaseName=parts.length>0?parts[0]:"";var intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing);var intrinsicRealName=intrinsic.name;var value=intrinsic.value;var skipFurtherCaching=false;var alias=intrinsic.alias;if(alias){intrinsicBaseName=alias[0];$spliceApply(parts,$concat([0,1],alias))}for(var i=1,isOwn=true;i<parts.length;i+=1){var part=parts[i];var first=$strSlice(part,0,1);var last=$strSlice(part,-1);if((first==='"'||first==="'"||first==="`"||(last==='"'||last==="'"||last==="`"))&&first!==last){throw new $SyntaxError("property names with quotes must have matching quotes")}if(part==="constructor"||!isOwn){skipFurtherCaching=true}intrinsicBaseName+="."+part;intrinsicRealName="%"+intrinsicBaseName+"%";if(hasOwn(INTRINSICS,intrinsicRealName)){value=INTRINSICS[intrinsicRealName]}else if(value!=null){if(!(part in value)){if(!allowMissing){throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.")}return void undefined}if($gOPD&&i+1>=parts.length){var desc=$gOPD(value,part);isOwn=!!desc;if(isOwn&&"get"in desc&&!("originalValue"in desc.get)){value=desc.get}else{value=value[part]}}else{isOwn=hasOwn(value,part);value=value[part]}if(isOwn&&!skipFurtherCaching){INTRINSICS[intrinsicRealName]=value}}}return value}},{"call-bind-apply-helpers/functionApply":12,"call-bind-apply-helpers/functionCall":13,"es-define-property":20,"es-errors":22,"es-errors/eval":21,"es-errors/range":23,"es-errors/ref":24,"es-errors/syntax":25,"es-errors/type":26,"es-errors/uri":27,"es-object-atoms":28,"function-bind":30,"get-proto":34,"get-proto/Object.getPrototypeOf":32,"get-proto/Reflect.getPrototypeOf":33,gopd:36,"has-symbols":38,hasown:40,"math-intrinsics/abs":41,"math-intrinsics/floor":42,"math-intrinsics/max":44,"math-intrinsics/min":45,"math-intrinsics/pow":46,"math-intrinsics/round":47,"math-intrinsics/sign":48}],32:[function(require,module,exports){"use strict";var $Object=require("es-object-atoms");module.exports=$Object.getPrototypeOf||null},{"es-object-atoms":28}],33:[function(require,module,exports){"use strict";module.exports=typeof Reflect!=="undefined"&&Reflect.getPrototypeOf||null},{}],34:[function(require,module,exports){"use strict";var reflectGetProto=require("./Reflect.getPrototypeOf");var originalGetProto=require("./Object.getPrototypeOf");var getDunderProto=require("dunder-proto/get");module.exports=reflectGetProto?function getProto(O){return reflectGetProto(O)}:originalGetProto?function getProto(O){if(!O||typeof O!=="object"&&typeof O!=="function"){throw new TypeError("getProto: not an object")}return originalGetProto(O)}:getDunderProto?function getProto(O){return getDunderProto(O)}:null},{"./Object.getPrototypeOf":32,"./Reflect.getPrototypeOf":33,"dunder-proto/get":19}],35:[function(require,module,exports){"use strict";module.exports=Object.getOwnPropertyDescriptor},{}],36:[function(require,module,exports){"use strict";var $gOPD=require("./gOPD");if($gOPD){try{$gOPD([],"length")}catch(e){$gOPD=null}}module.exports=$gOPD},{"./gOPD":35}],37:[function(require,module,exports){"use strict";var $defineProperty=require("es-define-property");var hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty){return null}try{return $defineProperty([],"length",{value:1}).length!==1}catch(e){return true}};module.exports=hasPropertyDescriptors},{"es-define-property":20}],38:[function(require,module,exports){"use strict";var origSymbol=typeof Symbol!=="undefined"&&Symbol;var hasSymbolSham=require("./shams");module.exports=function hasNativeSymbols(){if(typeof origSymbol!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof origSymbol("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return hasSymbolSham()}},{"./shams":39}],39:[function(require,module,exports){"use strict";module.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var obj={};var sym=Symbol("test");var symObj=Object(sym);if(typeof sym==="string"){return false}if(Object.prototype.toString.call(sym)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(symObj)!=="[object Symbol]"){return false}var symVal=42;obj[sym]=symVal;for(var _ in obj){return false}if(typeof Object.keys==="function"&&Object.keys(obj).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(obj).length!==0){return false}var syms=Object.getOwnPropertySymbols(obj);if(syms.length!==1||syms[0]!==sym){return false}if(!Object.prototype.propertyIsEnumerable.call(obj,sym)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(descriptor.value!==symVal||descriptor.enumerable!==true){return false}}return true}},{}],40:[function(require,module,exports){"use strict";var call=Function.prototype.call;var $hasOwn=Object.prototype.hasOwnProperty;var bind=require("function-bind");module.exports=bind.call(call,$hasOwn)},{"function-bind":30}],41:[function(require,module,exports){"use strict";module.exports=Math.abs},{}],42:[function(require,module,exports){"use strict";module.exports=Math.floor},{}],43:[function(require,module,exports){"use strict";module.exports=Number.isNaN||function isNaN(a){return a!==a}},{}],44:[function(require,module,exports){"use strict";module.exports=Math.max},{}],45:[function(require,module,exports){"use strict";module.exports=Math.min},{}],46:[function(require,module,exports){"use strict";module.exports=Math.pow},{}],47:[function(require,module,exports){"use strict";module.exports=Math.round},{}],48:[function(require,module,exports){"use strict";var $isNaN=require("./isNaN");module.exports=function sign(number){if($isNaN(number)||number===0){return number}return number<0?-1:+1}},{"./isNaN":43}],49:[function(require,module,exports){(function(global){(function(){var hasMap=typeof Map==="function"&&Map.prototype;var mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==="function"?mapSizeDescriptor.get:null;var mapForEach=hasMap&&Map.prototype.forEach;var hasSet=typeof Set==="function"&&Set.prototype;var setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==="function"?setSizeDescriptor.get:null;var setForEach=hasSet&&Set.prototype.forEach;var hasWeakMap=typeof WeakMap==="function"&&WeakMap.prototype;var weakMapHas=hasWeakMap?WeakMap.prototype.has:null;var hasWeakSet=typeof WeakSet==="function"&&WeakSet.prototype;var weakSetHas=hasWeakSet?WeakSet.prototype.has:null;var hasWeakRef=typeof WeakRef==="function"&&WeakRef.prototype;var weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null;var booleanValueOf=Boolean.prototype.valueOf;var objectToString=Object.prototype.toString;var functionToString=Function.prototype.toString;var $match=String.prototype.match;var $slice=String.prototype.slice;var $replace=String.prototype.replace;var $toUpperCase=String.prototype.toUpperCase;var $toLowerCase=String.prototype.toLowerCase;var $test=RegExp.prototype.test;var $concat=Array.prototype.concat;var $join=Array.prototype.join;var $arrSlice=Array.prototype.slice;var $floor=Math.floor;var bigIntValueOf=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var gOPS=Object.getOwnPropertySymbols;var symToString=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var hasShammedSymbols=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var toStringTag=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols?"object":"symbol")?Symbol.toStringTag:null;var isEnumerable=Object.prototype.propertyIsEnumerable;var gPO=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===Infinity||num===-Infinity||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str)){return str}var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==="number"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int);var dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require("./util.inspect");var inspectCustom=utilInspect.custom;var inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&(opts.quoteStyle!=="single"&&opts.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(opts,"maxStringLength")&&(typeof opts.maxStringLength==="number"?opts.maxStringLength<0&&opts.maxStringLength!==Infinity:opts.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var customInspect=has(opts,"customInspect")?opts.customInspect:true;if(typeof customInspect!=="boolean"&&customInspect!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(opts,"indent")&&opts.indent!==null&&opts.indent!=="\t"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(opts,"numericSeparator")&&typeof opts.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var numericSeparator=opts.numericSeparator;if(typeof obj==="undefined"){return"undefined"}if(obj===null){return"null"}if(typeof obj==="boolean"){return obj?"true":"false"}if(typeof obj==="string"){return inspectString(obj,opts)}if(typeof obj==="number"){if(obj===0){return Infinity/obj>0?"0":"-0"}var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==="bigint"){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth==="undefined"?5:opts.depth;if(typeof depth==="undefined"){depth=0}if(depth>=maxDepth&&maxDepth>0&&typeof obj==="object"){return isArray(obj)?"[Array]":"[Object]"}var indent=getIndent(opts,depth);if(typeof seen==="undefined"){seen=[]}else if(indexOf(seen,obj)>=0){return"[Circular]"}function inspect(value,from,noIndent){if(from){seen=$arrSlice.call(seen);seen.push(from)}if(noIndent){var newOpts={depth:opts.depth};if(has(opts,"quoteStyle")){newOpts.quoteStyle=opts.quoteStyle}return inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==="function"&&!isRegExp(obj)){var name=nameOf(obj);var keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return typeof obj==="object"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement(obj)){var s="<"+$toLowerCase.call(String(obj.nodeName));var attrs=obj.attributes||[];for(var i=0;i<attrs.length;i++){s+=" "+attrs[i].name+"="+wrapQuotes(quote(attrs[i].value),"double",opts)}s+=">";if(obj.childNodes&&obj.childNodes.length){s+="..."}s+="</"+$toLowerCase.call(String(obj.nodeName))+">";return s}if(isArray(obj)){if(obj.length===0){return"[]"}var xs=arrObjKeys(obj,inspect);if(indent&&!singleLineValues(xs)){return"["+indentedJoin(xs,indent)+"]"}return"[ "+$join.call(xs,", ")+" ]"}if(isError(obj)){var parts=arrObjKeys(obj,inspect);if(!("cause"in Error.prototype)&&"cause"in obj&&!isEnumerable.call(obj,"cause")){return"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }"}if(parts.length===0){return"["+String(obj)+"]"}return"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if(typeof obj==="object"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==="function"&&utilInspect){return utilInspect(obj,{depth:maxDepth-depth})}else if(customInspect!=="symbol"&&typeof obj.inspect==="function"){return obj.inspect()}}if(isMap(obj)){var mapParts=[];if(mapForEach){mapForEach.call(obj,function(value,key){mapParts.push(inspect(key,obj,true)+" => "+inspect(value,obj))})}return collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];if(setForEach){setForEach.call(obj,function(value){setParts.push(inspect(value,obj))})}return collectionOf("Set",setSize.call(obj),setParts,indent)}if(isWeakMap(obj)){return weakCollectionOf("WeakMap")}if(isWeakSet(obj)){return weakCollectionOf("WeakSet")}if(isWeakRef(obj)){return weakCollectionOf("WeakRef")}if(isNumber(obj)){return markBoxed(inspect(Number(obj)))}if(isBigInt(obj)){return markBoxed(inspect(bigIntValueOf.call(obj)))}if(isBoolean(obj)){return markBoxed(booleanValueOf.call(obj))}if(isString(obj)){return markBoxed(inspect(String(obj)))}if(typeof window!=="undefined"&&obj===window){return"{ [object Window] }"}if(typeof globalThis!=="undefined"&&obj===globalThis||typeof global!=="undefined"&&obj===global){return"{ [object globalThis] }"}if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect);var isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object;var protoTag=obj instanceof Object?"":"null prototype";var stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"";var constructorTag=isPlainObject||typeof obj.constructor!=="function"?"":obj.constructor.name?obj.constructor.name+" ":"";var tag=constructorTag+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");if(ys.length===0){return tag+"{}"}if(indent){return tag+"{"+indentedJoin(ys,indent)+"}"}return tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)==="double"?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return toStr(obj)==="[object Array]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isDate(obj){return toStr(obj)==="[object Date]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isRegExp(obj){return toStr(obj)==="[object RegExp]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isError(obj){return toStr(obj)==="[object Error]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isString(obj){return toStr(obj)==="[object String]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isNumber(obj){return toStr(obj)==="[object Number]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isBoolean(obj){return toStr(obj)==="[object Boolean]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols){return obj&&typeof obj==="object"&&obj instanceof Symbol}if(typeof obj==="symbol"){return true}if(!obj||typeof obj!=="object"||!symToString){return false}try{symToString.call(obj);return true}catch(e){}return false}function isBigInt(obj){if(!obj||typeof obj!=="object"||!bigIntValueOf){return false}try{bigIntValueOf.call(obj);return true}catch(e){}return false}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function nameOf(f){if(f.name){return f.name}var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);if(m){return m[1]}return null}function indexOf(xs,x){if(xs.indexOf){return xs.indexOf(x)}for(var i=0,l=xs.length;i<l;i++){if(xs[i]===x){return i}}return-1}function isMap(x){if(!mapSize||!x||typeof x!=="object"){return false}try{mapSize.call(x);try{setSize.call(x)}catch(s){return true}return x instanceof Map}catch(e){}return false}function isWeakMap(x){if(!weakMapHas||!x||typeof x!=="object"){return false}try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch(s){return true}return x instanceof WeakMap}catch(e){}return false}function isWeakRef(x){if(!weakRefDeref||!x||typeof x!=="object"){return false}try{weakRefDeref.call(x);return true}catch(e){}return false}function isSet(x){if(!setSize||!x||typeof x!=="object"){return false}try{setSize.call(x);try{mapSize.call(x)}catch(m){return true}return x instanceof Set}catch(e){}return false}function isWeakSet(x){if(!weakSetHas||!x||typeof x!=="object"){return false}try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch(s){return true}return x instanceof WeakSet}catch(e){}return false}function isElement(x){if(!x||typeof x!=="object"){return false}if(typeof HTMLElement!=="undefined"&&x instanceof HTMLElement){return true}return typeof x.nodeName==="string"&&typeof x.getAttribute==="function"}function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength;var trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(s,"single",opts)}function lowbyte(c){var n=c.charCodeAt(0);var x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];if(x){return"\\"+x}return"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,", ");return type+" ("+size+") {"+joinedEntries+"}"}function singleLineValues(xs){for(var i=0;i<xs.length;i++){if(indexOf(xs[i],"\n")>=0){return false}}return true}function getIndent(opts,depth){var baseIndent;if(opts.indent==="\t"){baseIndent="\t"}else if(typeof opts.indent==="number"&&opts.indent>0){baseIndent=$join.call(Array(opts.indent+1)," ")}else{return null}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0){return""}var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray(obj);var xs=[];if(isArr){xs.length=obj.length;for(var i=0;i<obj.length;i++){xs[i]=has(obj,i)?inspect(obj[i],obj):""}}var syms=typeof gOPS==="function"?gOPS(obj):[];var symMap;if(hasShammedSymbols){symMap={};for(var k=0;k<syms.length;k++){symMap["$"+syms[k]]=syms[k]}}for(var key in obj){if(!has(obj,key)){continue}if(isArr&&String(Number(key))===key&&key<obj.length){continue}if(hasShammedSymbols&&symMap["$"+key]instanceof Symbol){continue}else if($test.call(/[^\w$]/,key)){xs.push(inspect(key,obj)+": "+inspect(obj[key],obj))}else{xs.push(key+": "+inspect(obj[key],obj))}}if(typeof gOPS==="function"){for(var j=0;j<syms.length;j++){if(isEnumerable.call(obj,syms[j])){xs.push("["+inspect(syms[j])+"]: "+inspect(obj[syms[j]],obj))}}}return xs}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./util.inspect":9}],50:[function(require,module,exports){"use strict";var replace=String.prototype.replace;var percentTwenties=/%20/g;var Format={RFC1738:"RFC1738",RFC3986:"RFC3986"};module.exports={default:Format.RFC3986,formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return String(value)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986}},{}],51:[function(require,module,exports){"use strict";var stringify=require("./stringify");var parse=require("./parse");var formats=require("./formats");module.exports={formats:formats,parse:parse,stringify:stringify}},{"./formats":50,"./parse":52,"./stringify":53}],52:[function(require,module,exports){"use strict";var utils=require("./utils");var has=Object.prototype.hasOwnProperty;var isArray=Array.isArray;var defaults={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:utils.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictNullHandling:false};var interpretNumericEntities=function(str){return str.replace(/&#(\d+);/g,function($0,numberStr){return String.fromCharCode(parseInt(numberStr,10))})};var parseArrayValue=function(val,options){if(val&&typeof val==="string"&&options.comma&&val.indexOf(",")>-1){return val.split(",")}return val};var isoSentinel="utf8=%26%2310003%3B";var charsetSentinel="utf8=%E2%9C%93";var parseValues=function parseQueryStringValues(str,options){var obj={__proto__:null};var cleanStr=options.ignoreQueryPrefix?str.replace(/^\?/,""):str;var limit=options.parameterLimit===Infinity?undefined:options.parameterLimit;var parts=cleanStr.split(options.delimiter,limit);var skipIndex=-1;var i;var charset=options.charset;if(options.charsetSentinel){for(i=0;i<parts.length;++i){if(parts[i].indexOf("utf8=")===0){if(parts[i]===charsetSentinel){charset="utf-8"}else if(parts[i]===isoSentinel){charset="iso-8859-1"}skipIndex=i;i=parts.length}}}for(i=0;i<parts.length;++i){if(i===skipIndex){continue}var part=parts[i];var bracketEqualsPos=part.indexOf("]=");var pos=bracketEqualsPos===-1?part.indexOf("="):bracketEqualsPos+1;var key,val;if(pos===-1){key=options.decoder(part,defaults.decoder,charset,"key");val=options.strictNullHandling?null:""}else{key=options.decoder(part.slice(0,pos),defaults.decoder,charset,"key");val=utils.maybeMap(parseArrayValue(part.slice(pos+1),options),function(encodedVal){return options.decoder(encodedVal,defaults.decoder,charset,"value")})}if(val&&options.interpretNumericEntities&&charset==="iso-8859-1"){val=interpretNumericEntities(val)}if(part.indexOf("[]=")>-1){val=isArray(val)?[val]:val}var existing=has.call(obj,key);if(existing&&options.duplicates==="combine"){obj[key]=utils.combine(obj[key],val)}else if(!existing||options.duplicates==="last"){obj[key]=val}}return obj};var parseObject=function(chain,val,options,valuesParsed){var leaf=valuesParsed?val:parseArrayValue(val,options);for(var i=chain.length-1;i>=0;--i){var obj;var root=chain[i];if(root==="[]"&&options.parseArrays){obj=options.allowEmptyArrays&&leaf===""?[]:[].concat(leaf)}else{obj=options.plainObjects?Object.create(null):{};var cleanRoot=root.charAt(0)==="["&&root.charAt(root.length-1)==="]"?root.slice(1,-1):root;var decodedRoot=options.decodeDotInKeys?cleanRoot.replace(/%2E/g,"."):cleanRoot;var index=parseInt(decodedRoot,10);if(!options.parseArrays&&decodedRoot===""){obj={0:leaf}}else if(!isNaN(index)&&root!==decodedRoot&&String(index)===decodedRoot&&index>=0&&(options.parseArrays&&index<=options.arrayLimit)){obj=[];obj[index]=leaf}else if(decodedRoot!=="__proto__"){obj[decodedRoot]=leaf}}leaf=obj}return leaf};var parseKeys=function parseQueryStringKeys(givenKey,val,options,valuesParsed){if(!givenKey){return}var key=options.allowDots?givenKey.replace(/\.([^.[]+)/g,"[$1]"):givenKey;var brackets=/(\[[^[\]]*])/;var child=/(\[[^[\]]*])/g;var segment=options.depth>0&&brackets.exec(key);var parent=segment?key.slice(0,segment.index):key;var keys=[];if(parent){if(!options.plainObjects&&has.call(Object.prototype,parent)){if(!options.allowPrototypes){return}}keys.push(parent)}var i=0;while(options.depth>0&&(segment=child.exec(key))!==null&&i<options.depth){i+=1;if(!options.plainObjects&&has.call(Object.prototype,segment[1].slice(1,-1))){if(!options.allowPrototypes){return}}keys.push(segment[1])}if(segment){keys.push("["+key.slice(segment.index)+"]")}return parseObject(keys,val,options,valuesParsed)};var normalizeParseOptions=function normalizeParseOptions(opts){if(!opts){return defaults}if(typeof opts.allowEmptyArrays!=="undefined"&&typeof opts.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof opts.decodeDotInKeys!=="undefined"&&typeof opts.decodeDotInKeys!=="boolean"){throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided")}if(opts.decoder!==null&&typeof opts.decoder!=="undefined"&&typeof opts.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof opts.charset!=="undefined"&&opts.charset!=="utf-8"&&opts.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var charset=typeof opts.charset==="undefined"?defaults.charset:opts.charset;var duplicates=typeof opts.duplicates==="undefined"?defaults.duplicates:opts.duplicates;if(duplicates!=="combine"&&duplicates!=="first"&&duplicates!=="last"){throw new TypeError("The duplicates option must be either combine, first, or last")}var allowDots=typeof opts.allowDots==="undefined"?opts.decodeDotInKeys===true?true:defaults.allowDots:!!opts.allowDots;return{allowDots:allowDots,allowEmptyArrays:typeof opts.allowEmptyArrays==="boolean"?!!opts.allowEmptyArrays:defaults.allowEmptyArrays,allowPrototypes:typeof opts.allowPrototypes==="boolean"?opts.allowPrototypes:defaults.allowPrototypes,allowSparse:typeof opts.allowSparse==="boolean"?opts.allowSparse:defaults.allowSparse,arrayLimit:typeof opts.arrayLimit==="number"?opts.arrayLimit:defaults.arrayLimit,charset:charset,charsetSentinel:typeof opts.charsetSentinel==="boolean"?opts.charsetSentinel:defaults.charsetSentinel,comma:typeof opts.comma==="boolean"?opts.comma:defaults.comma,decodeDotInKeys:typeof opts.decodeDotInKeys==="boolean"?opts.decodeDotInKeys:defaults.decodeDotInKeys,decoder:typeof opts.decoder==="function"?opts.decoder:defaults.decoder,delimiter:typeof opts.delimiter==="string"||utils.isRegExp(opts.delimiter)?opts.delimiter:defaults.delimiter,depth:typeof opts.depth==="number"||opts.depth===false?+opts.depth:defaults.depth,duplicates:duplicates,ignoreQueryPrefix:opts.ignoreQueryPrefix===true,interpretNumericEntities:typeof opts.interpretNumericEntities==="boolean"?opts.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:typeof opts.parameterLimit==="number"?opts.parameterLimit:defaults.parameterLimit,parseArrays:opts.parseArrays!==false,plainObjects:typeof opts.plainObjects==="boolean"?opts.plainObjects:defaults.plainObjects,strictNullHandling:typeof opts.strictNullHandling==="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(str,opts){var options=normalizeParseOptions(opts);if(str===""||str===null||typeof str==="undefined"){return options.plainObjects?Object.create(null):{}}var tempObj=typeof str==="string"?parseValues(str,options):str;var obj=options.plainObjects?Object.create(null):{};var keys=Object.keys(tempObj);for(var i=0;i<keys.length;++i){var key=keys[i];var newObj=parseKeys(key,tempObj[key],options,typeof str==="string");obj=utils.merge(obj,newObj,options)}if(options.allowSparse===true){return obj}return utils.compact(obj)}},{"./utils":54}],53:[function(require,module,exports){"use strict";var getSideChannel=require("side-channel");var utils=require("./utils");var formats=require("./formats");var has=Object.prototype.hasOwnProperty;var arrayPrefixGenerators={brackets:function brackets(prefix){return prefix+"[]"},comma:"comma",indices:function indices(prefix,key){return prefix+"["+key+"]"},repeat:function repeat(prefix){return prefix}};var isArray=Array.isArray;var push=Array.prototype.push;var pushToArray=function(arr,valueOrArray){push.apply(arr,isArray(valueOrArray)?valueOrArray:[valueOrArray])};var toISO=Date.prototype.toISOString;var defaultFormat=formats["default"];var defaults={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:utils.encode,encodeValuesOnly:false,format:defaultFormat,formatter:formats.formatters[defaultFormat],indices:false,serializeDate:function serializeDate(date){return toISO.call(date)},skipNulls:false,strictNullHandling:false};var isNonNullishPrimitive=function isNonNullishPrimitive(v){return typeof v==="string"||typeof v==="number"||typeof v==="boolean"||typeof v==="symbol"||typeof v==="bigint"};var sentinel={};var stringify=function stringify(object,prefix,generateArrayPrefix,commaRoundTrip,allowEmptyArrays,strictNullHandling,skipNulls,encodeDotInKeys,encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,sideChannel){var obj=object;var tmpSc=sideChannel;var step=0;var findFlag=false;while((tmpSc=tmpSc.get(sentinel))!==void undefined&&!findFlag){var pos=tmpSc.get(object);step+=1;if(typeof pos!=="undefined"){if(pos===step){throw new RangeError("Cyclic object value")}else{findFlag=true}}if(typeof tmpSc.get(sentinel)==="undefined"){step=0}}if(typeof filter==="function"){obj=filter(prefix,obj)}else if(obj instanceof Date){obj=serializeDate(obj)}else if(generateArrayPrefix==="comma"&&isArray(obj)){obj=utils.maybeMap(obj,function(value){if(value instanceof Date){return serializeDate(value)}return value})}if(obj===null){if(strictNullHandling){return encoder&&!encodeValuesOnly?encoder(prefix,defaults.encoder,charset,"key",format):prefix}obj=""}if(isNonNullishPrimitive(obj)||utils.isBuffer(obj)){if(encoder){var keyValue=encodeValuesOnly?prefix:encoder(prefix,defaults.encoder,charset,"key",format);return[formatter(keyValue)+"="+formatter(encoder(obj,defaults.encoder,charset,"value",format))]}return[formatter(prefix)+"="+formatter(String(obj))]}var values=[];if(typeof obj==="undefined"){return values}var objKeys;if(generateArrayPrefix==="comma"&&isArray(obj)){if(encodeValuesOnly&&encoder){obj=utils.maybeMap(obj,encoder)}objKeys=[{value:obj.length>0?obj.join(",")||null:void undefined}]}else if(isArray(filter)){objKeys=filter}else{var keys=Object.keys(obj);objKeys=sort?keys.sort(sort):keys}var encodedPrefix=encodeDotInKeys?prefix.replace(/\./g,"%2E"):prefix;var adjustedPrefix=commaRoundTrip&&isArray(obj)&&obj.length===1?encodedPrefix+"[]":encodedPrefix;if(allowEmptyArrays&&isArray(obj)&&obj.length===0){return adjustedPrefix+"[]"}for(var j=0;j<objKeys.length;++j){var key=objKeys[j];var value=typeof key==="object"&&typeof key.value!=="undefined"?key.value:obj[key];if(skipNulls&&value===null){continue}var encodedKey=allowDots&&encodeDotInKeys?key.replace(/\./g,"%2E"):key;var keyPrefix=isArray(obj)?typeof generateArrayPrefix==="function"?generateArrayPrefix(adjustedPrefix,encodedKey):adjustedPrefix:adjustedPrefix+(allowDots?"."+encodedKey:"["+encodedKey+"]");sideChannel.set(object,step);var valueSideChannel=getSideChannel();valueSideChannel.set(sentinel,sideChannel);pushToArray(values,stringify(value,keyPrefix,generateArrayPrefix,commaRoundTrip,allowEmptyArrays,strictNullHandling,skipNulls,encodeDotInKeys,generateArrayPrefix==="comma"&&encodeValuesOnly&&isArray(obj)?null:encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,valueSideChannel))}return values};var normalizeStringifyOptions=function normalizeStringifyOptions(opts){if(!opts){return defaults}if(typeof opts.allowEmptyArrays!=="undefined"&&typeof opts.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof opts.encodeDotInKeys!=="undefined"&&typeof opts.encodeDotInKeys!=="boolean"){throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided")}if(opts.encoder!==null&&typeof opts.encoder!=="undefined"&&typeof opts.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var charset=opts.charset||defaults.charset;if(typeof opts.charset!=="undefined"&&opts.charset!=="utf-8"&&opts.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var format=formats["default"];if(typeof opts.format!=="undefined"){if(!has.call(formats.formatters,opts.format)){throw new TypeError("Unknown format option provided.")}format=opts.format}var formatter=formats.formatters[format];var filter=defaults.filter;if(typeof opts.filter==="function"||isArray(opts.filter)){filter=opts.filter}var arrayFormat;if(opts.arrayFormat in arrayPrefixGenerators){arrayFormat=opts.arrayFormat}else if("indices"in opts){arrayFormat=opts.indices?"indices":"repeat"}else{arrayFormat=defaults.arrayFormat}if("commaRoundTrip"in opts&&typeof opts.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var allowDots=typeof opts.allowDots==="undefined"?opts.encodeDotInKeys===true?true:defaults.allowDots:!!opts.allowDots;return{addQueryPrefix:typeof opts.addQueryPrefix==="boolean"?opts.addQueryPrefix:defaults.addQueryPrefix,allowDots:allowDots,allowEmptyArrays:typeof opts.allowEmptyArrays==="boolean"?!!opts.allowEmptyArrays:defaults.allowEmptyArrays,arrayFormat:arrayFormat,charset:charset,charsetSentinel:typeof opts.charsetSentinel==="boolean"?opts.charsetSentinel:defaults.charsetSentinel,commaRoundTrip:opts.commaRoundTrip,delimiter:typeof opts.delimiter==="undefined"?defaults.delimiter:opts.delimiter,encode:typeof opts.encode==="boolean"?opts.encode:defaults.encode,encodeDotInKeys:typeof opts.encodeDotInKeys==="boolean"?opts.encodeDotInKeys:defaults.encodeDotInKeys,encoder:typeof opts.encoder==="function"?opts.encoder:defaults.encoder,encodeValuesOnly:typeof opts.encodeValuesOnly==="boolean"?opts.encodeValuesOnly:defaults.encodeValuesOnly,filter:filter,format:format,formatter:formatter,serializeDate:typeof opts.serializeDate==="function"?opts.serializeDate:defaults.serializeDate,skipNulls:typeof opts.skipNulls==="boolean"?opts.skipNulls:defaults.skipNulls,sort:typeof opts.sort==="function"?opts.sort:null,strictNullHandling:typeof opts.strictNullHandling==="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(object,opts){var obj=object;var options=normalizeStringifyOptions(opts);var objKeys;var filter;if(typeof options.filter==="function"){filter=options.filter;obj=filter("",obj)}else if(isArray(options.filter)){filter=options.filter;objKeys=filter}var keys=[];if(typeof obj!=="object"||obj===null){return""}var generateArrayPrefix=arrayPrefixGenerators[options.arrayFormat];var commaRoundTrip=generateArrayPrefix==="comma"&&options.commaRoundTrip;if(!objKeys){objKeys=Object.keys(obj)}if(options.sort){objKeys.sort(options.sort)}var sideChannel=getSideChannel();for(var i=0;i<objKeys.length;++i){var key=objKeys[i];if(options.skipNulls&&obj[key]===null){continue}pushToArray(keys,stringify(obj[key],key,generateArrayPrefix,commaRoundTrip,options.allowEmptyArrays,options.strictNullHandling,options.skipNulls,options.encodeDotInKeys,options.encode?options.encoder:null,options.filter,options.sort,options.allowDots,options.serializeDate,options.format,options.formatter,options.encodeValuesOnly,options.charset,sideChannel))}var joined=keys.join(options.delimiter);var prefix=options.addQueryPrefix===true?"?":"";if(options.charsetSentinel){if(options.charset==="iso-8859-1"){prefix+="utf8=%26%2310003%3B&"}else{prefix+="utf8=%E2%9C%93&"}}return joined.length>0?prefix+joined:""}},{"./formats":50,"./utils":54,"side-channel":56}],54:[function(require,module,exports){"use strict";var formats=require("./formats");var has=Object.prototype.hasOwnProperty;var isArray=Array.isArray;var hexTable=function(){var array=[];for(var i=0;i<256;++i){array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase())}return array}();var compactQueue=function compactQueue(queue){while(queue.length>1){var item=queue.pop();var obj=item.obj[item.prop];if(isArray(obj)){var compacted=[];for(var j=0;j<obj.length;++j){if(typeof obj[j]!=="undefined"){compacted.push(obj[j])}}item.obj[item.prop]=compacted}}};var arrayToObject=function arrayToObject(source,options){var obj=options&&options.plainObjects?Object.create(null):{};for(var i=0;i<source.length;++i){if(typeof source[i]!=="undefined"){obj[i]=source[i]}}return obj};var merge=function merge(target,source,options){if(!source){return target}if(typeof source!=="object"){if(isArray(target)){target.push(source)}else if(target&&typeof target==="object"){if(options&&(options.plainObjects||options.allowPrototypes)||!has.call(Object.prototype,source)){target[source]=true}}else{return[target,source]}return target}if(!target||typeof target!=="object"){return[target].concat(source)}var mergeTarget=target;if(isArray(target)&&!isArray(source)){mergeTarget=arrayToObject(target,options)}if(isArray(target)&&isArray(source)){source.forEach(function(item,i){if(has.call(target,i)){var targetItem=target[i];if(targetItem&&typeof targetItem==="object"&&item&&typeof item==="object"){target[i]=merge(targetItem,item,options)}else{target.push(item)}}else{target[i]=item}});return target}return Object.keys(source).reduce(function(acc,key){var value=source[key];if(has.call(acc,key)){acc[key]=merge(acc[key],value,options)}else{acc[key]=value}return acc},mergeTarget)};var assign=function assignSingleSource(target,source){return Object.keys(source).reduce(function(acc,key){acc[key]=source[key];return acc},target)};var decode=function(str,decoder,charset){var strWithoutPlus=str.replace(/\+/g," ");if(charset==="iso-8859-1"){return strWithoutPlus.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(strWithoutPlus)}catch(e){return strWithoutPlus}};var limit=1024;var encode=function encode(str,defaultEncoder,charset,kind,format){if(str.length===0){return str}var string=str;if(typeof str==="symbol"){string=Symbol.prototype.toString.call(str)}else if(typeof str!=="string"){string=String(str)}if(charset==="iso-8859-1"){return escape(string).replace(/%u[0-9a-f]{4}/gi,function($0){return"%26%23"+parseInt($0.slice(2),16)+"%3B"})}var out="";for(var j=0;j<string.length;j+=limit){var segment=string.length>=limit?string.slice(j,j+limit):string;var arr=[];for(var i=0;i<segment.length;++i){var c=segment.charCodeAt(i);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||format===formats.RFC1738&&(c===40||c===41)){arr[arr.length]=segment.charAt(i);continue}if(c<128){arr[arr.length]=hexTable[c];continue}if(c<2048){arr[arr.length]=hexTable[192|c>>6]+hexTable[128|c&63];continue}if(c<55296||c>=57344){arr[arr.length]=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|c&63];continue}i+=1;c=65536+((c&1023)<<10|segment.charCodeAt(i)&1023);arr[arr.length]=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|c&63]}out+=arr.join("")}return out};var compact=function compact(value){var queue=[{obj:{o:value},prop:"o"}];var refs=[];for(var i=0;i<queue.length;++i){var item=queue[i];var obj=item.obj[item.prop];var keys=Object.keys(obj);for(var j=0;j<keys.length;++j){var key=keys[j];var val=obj[key];if(typeof val==="object"&&val!==null&&refs.indexOf(val)===-1){queue.push({obj:obj,prop:key});refs.push(val)}}}compactQueue(queue);return value};var isRegExp=function isRegExp(obj){return Object.prototype.toString.call(obj)==="[object RegExp]"};var isBuffer=function isBuffer(obj){if(!obj||typeof obj!=="object"){return false}return!!(obj.constructor&&obj.constructor.isBuffer&&obj.constructor.isBuffer(obj))};var combine=function combine(a,b){return[].concat(a,b)};var maybeMap=function maybeMap(val,fn){if(isArray(val)){var mapped=[];for(var i=0;i<val.length;i+=1){mapped.push(fn(val[i]))}return mapped}return fn(val)};module.exports={arrayToObject:arrayToObject,assign:assign,combine:combine,compact:compact,decode:decode,encode:encode,isBuffer:isBuffer,isRegExp:isRegExp,maybeMap:maybeMap,merge:merge}},{"./formats":50}],55:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var define=require("define-data-property");var hasDescriptors=require("has-property-descriptors")();var gOPD=require("gopd");var $TypeError=require("es-errors/type");var $floor=GetIntrinsic("%Math.floor%");module.exports=function setFunctionLength(fn,length){if(typeof fn!=="function"){throw new $TypeError("`fn` is not a function")}if(typeof length!=="number"||length<0||length>4294967295||$floor(length)!==length){throw new $TypeError("`length` must be a positive 32-bit integer")}var loose=arguments.length>2&&!!arguments[2];var functionLengthIsConfigurable=true;var functionLengthIsWritable=true;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");if(desc&&!desc.configurable){functionLengthIsConfigurable=false}if(desc&&!desc.writable){functionLengthIsWritable=false}}if(functionLengthIsConfigurable||functionLengthIsWritable||!loose){if(hasDescriptors){define(fn,"length",length,true,true)}else{define(fn,"length",length)}}return fn}},{"define-data-property":18,"es-errors/type":26,"get-intrinsic":31,gopd:36,"has-property-descriptors":37}],56:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var callBound=require("call-bind/callBound");var inspect=require("object-inspect");var $TypeError=require("es-errors/type");var $WeakMap=GetIntrinsic("%WeakMap%",true);var $Map=GetIntrinsic("%Map%",true);var $weakMapGet=callBound("WeakMap.prototype.get",true);var $weakMapSet=callBound("WeakMap.prototype.set",true);var $weakMapHas=callBound("WeakMap.prototype.has",true);var $mapGet=callBound("Map.prototype.get",true);var $mapSet=callBound("Map.prototype.set",true);var $mapHas=callBound("Map.prototype.has",true);var listGetNode=function(list,key){var prev=list;var curr;for(;(curr=prev.next)!==null;prev=curr){if(curr.key===key){prev.next=curr.next;curr.next=list.next;list.next=curr;return curr}}};var listGet=function(objects,key){var node=listGetNode(objects,key);return node&&node.value};var listSet=function(objects,key,value){var node=listGetNode(objects,key);if(node){node.value=value}else{objects.next={key:key,next:objects.next,value:value}}};var listHas=function(objects,key){return!!listGetNode(objects,key)};module.exports=function getSideChannel(){var $wm;var $m;var $o;var channel={assert:function(key){if(!channel.has(key)){throw new $TypeError("Side channel does not contain "+inspect(key))}},get:function(key){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if($wm){return $weakMapGet($wm,key)}}else if($Map){if($m){return $mapGet($m,key)}}else{if($o){return listGet($o,key)}}},has:function(key){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if($wm){return $weakMapHas($wm,key)}}else if($Map){if($m){return $mapHas($m,key)}}else{if($o){return listHas($o,key)}}return false},set:function(key,value){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if(!$wm){$wm=new $WeakMap}$weakMapSet($wm,key,value)}else if($Map){if(!$m){$m=new $Map}$mapSet($m,key,value)}else{if(!$o){$o={key:{},next:null}}listSet($o,key,value)}}};return channel}},{"call-bind/callBound":16,"es-errors/type":26,"get-intrinsic":31,"object-inspect":49}]},{},[4])(4)});
|
|
1
|
+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Backlog=f()}})(function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r}()({1:[function(require,module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p]};return extendStatics(d,b)};return function(d,b){if(typeof b!=="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:true});var request_1=require("./request");var Backlog=function(_super){__extends(Backlog,_super);function Backlog(configure){return _super.call(this,configure)||this}Backlog.prototype.getSpace=function(){return this.get("space")};Backlog.prototype.getSpaceActivities=function(params){return this.get("space/activities",params)};Backlog.prototype.getSpaceIcon=function(){return this.download("space/image")};Backlog.prototype.getSpaceNotification=function(){return this.get("space/notification")};Backlog.prototype.putSpaceNotification=function(params){return this.put("space/notification",params)};Backlog.prototype.getSpaceDiskUsage=function(){return this.get("space/diskUsage")};Backlog.prototype.postSpaceAttachment=function(form){return this.upload("space/attachment",form)};Backlog.prototype.getUsers=function(){return this.get("users")};Backlog.prototype.getUser=function(userId){return this.get("users/".concat(userId))};Backlog.prototype.postUser=function(params){return this.post("users",params)};Backlog.prototype.patchUser=function(userId,params){return this.patch("users/".concat(userId),params)};Backlog.prototype.deleteUser=function(userId){return this.delete("users/".concat(userId))};Backlog.prototype.getMyself=function(){return this.get("users/myself")};Backlog.prototype.getUserIcon=function(userId){return this.download("users/".concat(userId,"/icon"))};Backlog.prototype.getUserActivities=function(userId,params){return this.get("users/".concat(userId,"/activities"),params)};Backlog.prototype.getUserStars=function(userId,params){return this.get("users/".concat(userId,"/stars"),params)};Backlog.prototype.getUserStarsCount=function(userId,params){return this.get("users/".concat(userId,"/stars/count"),params)};Backlog.prototype.getRecentlyViewedIssues=function(params){return this.get("users/myself/recentlyViewedIssues",params)};Backlog.prototype.getRecentlyViewedProjects=function(params){return this.get("users/myself/recentlyViewedProjects",params)};Backlog.prototype.getRecentlyViewedWikis=function(params){return this.get("users/myself/recentlyViewedWikis",params)};Backlog.prototype.getProjectStatuses=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/statuses"))};Backlog.prototype.getResolutions=function(){return this.get("resolutions")};Backlog.prototype.getPriorities=function(){return this.get("priorities")};Backlog.prototype.getProjects=function(params){return this.get("projects",params)};Backlog.prototype.postProject=function(params){return this.post("projects",params)};Backlog.prototype.getProject=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey))};Backlog.prototype.patchProject=function(projectIdOrKey,params){return this.patch("projects/".concat(projectIdOrKey),params)};Backlog.prototype.deleteProject=function(projectIdOrKey){return this.delete("projects/".concat(projectIdOrKey))};Backlog.prototype.getProjectIcon=function(projectIdOrKey){return this.download("projects/".concat(projectIdOrKey,"/image"))};Backlog.prototype.getProjectActivities=function(projectIdOrKey,params){return this.get("projects/".concat(projectIdOrKey,"/activities"),params)};Backlog.prototype.postProjectUser=function(projectIdOrKey,userId){return this.post("projects/".concat(projectIdOrKey,"/users"),{userId:userId})};Backlog.prototype.getProjectUsers=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/users"))};Backlog.prototype.deleteProjectUsers=function(projectIdOrKey,params){return this.delete("projects/".concat(projectIdOrKey,"/users"),params)};Backlog.prototype.postProjectAdministrators=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/administrators"),params)};Backlog.prototype.getProjectAdministrators=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/administrators"))};Backlog.prototype.deleteProjectAdministrators=function(projectIdOrKey,params){return this.delete("projects/".concat(projectIdOrKey,"/administrators"),params)};Backlog.prototype.postProjectStatus=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/statuses"),params)};Backlog.prototype.patchProjectStatus=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/statuses/").concat(id),params)};Backlog.prototype.deleteProjectStatus=function(projectIdOrKey,id,substituteStatusId){return this.delete("projects/".concat(projectIdOrKey,"/statuses/").concat(id),{substituteStatusId:substituteStatusId})};Backlog.prototype.patchProjectStatusOrder=function(projectIdOrKey,statusId){return this.patch("projects/".concat(projectIdOrKey,"/statuses/updateDisplayOrder"),{statusId:statusId})};Backlog.prototype.getIssueTypes=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/issueTypes"))};Backlog.prototype.postIssueType=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/issueTypes"),params)};Backlog.prototype.patchIssueType=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/issueTypes/").concat(id),params)};Backlog.prototype.deleteIssueType=function(projectIdOrKey,id,params){return this.delete("projects/".concat(projectIdOrKey,"/issueTypes/").concat(id),params)};Backlog.prototype.getCategories=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/categories"))};Backlog.prototype.postCategories=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/categories"),params)};Backlog.prototype.patchCategories=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/categories/").concat(id),params)};Backlog.prototype.deleteCategories=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/categories/").concat(id))};Backlog.prototype.getVersions=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/versions"))};Backlog.prototype.postVersions=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/versions"),params)};Backlog.prototype.patchVersions=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/versions/").concat(id),params)};Backlog.prototype.deleteVersions=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/versions/").concat(id))};Backlog.prototype.getCustomFields=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/customFields"))};Backlog.prototype.postCustomField=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/customFields"),params)};Backlog.prototype.patchCustomField=function(projectIdOrKey,id,params){return this.patch("projects/".concat(projectIdOrKey,"/customFields/").concat(id),params)};Backlog.prototype.deleteCustomField=function(projectIdOrKey,id){return this.delete("projects/".concat(projectIdOrKey,"/customFields/").concat(id))};Backlog.prototype.postCustomFieldItem=function(projectIdOrKey,id,params){return this.post("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items"),params)};Backlog.prototype.patchCustomFieldItem=function(projectIdOrKey,id,itemId,params){return this.patch("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items/").concat(itemId),params)};Backlog.prototype.deleteCustomFieldItem=function(projectIdOrKey,id,itemId){return this.delete("projects/".concat(projectIdOrKey,"/customFields/").concat(id,"/items/").concat(itemId))};Backlog.prototype.getSharedFiles=function(projectIdOrKey,path,params){return this.get("projects/".concat(projectIdOrKey,"/files/metadata/").concat(path),params)};Backlog.prototype.getSharedFile=function(projectIdOrKey,sharedFileId){return this.download("projects/".concat(projectIdOrKey,"/files/").concat(sharedFileId))};Backlog.prototype.getProjectsDiskUsage=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/diskUsage"))};Backlog.prototype.getWebhooks=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/webhooks"))};Backlog.prototype.postWebhook=function(projectIdOrKey,params){return this.post("projects/".concat(projectIdOrKey,"/webhooks"),params)};Backlog.prototype.getWebhook=function(projectIdOrKey,webhookId){return this.get("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId))};Backlog.prototype.patchWebhook=function(projectIdOrKey,webhookId,params){return this.patch("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId),params)};Backlog.prototype.deleteWebhook=function(projectIdOrKey,webhookId){return this.delete("projects/".concat(projectIdOrKey,"/webhooks/").concat(webhookId))};Backlog.prototype.getIssues=function(params){return this.get("issues",params)};Backlog.prototype.getIssuesCount=function(params){return this.get("issues/count",params)};Backlog.prototype.postIssue=function(params){return this.post("issues",params)};Backlog.prototype.patchIssue=function(issueIdOrKey,params){return this.patch("issues/".concat(issueIdOrKey),params)};Backlog.prototype.getIssue=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey))};Backlog.prototype.deleteIssue=function(issueIdOrKey){return this.delete("issues/".concat(issueIdOrKey))};Backlog.prototype.getIssueComments=function(issueIdOrKey,params){return this.get("issues/".concat(issueIdOrKey,"/comments"),params)};Backlog.prototype.postIssueComments=function(issueIdOrKey,params){return this.post("issues/".concat(issueIdOrKey,"/comments"),params)};Backlog.prototype.getIssueCommentsCount=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/comments/count"))};Backlog.prototype.getIssueComment=function(issueIdOrKey,commentId){return this.get("issues/".concat(issueIdOrKey,"/comments/").concat(commentId))};Backlog.prototype.deleteIssueComment=function(issueIdOrKey,commentId){return this.delete("issues/".concat(issueIdOrKey,"/comments/").concat(commentId))};Backlog.prototype.patchIssueComment=function(issueIdOrKey,commentId,params){return this.patch("issues/".concat(issueIdOrKey,"/comments/").concat(commentId),params)};Backlog.prototype.getIssueCommentNotifications=function(issueIdOrKey,commentId){return this.get("issues/".concat(issueIdOrKey,"/comments/").concat(commentId,"/notifications"))};Backlog.prototype.postIssueCommentNotifications=function(issueIdOrKey,commentId,prams){return this.post("issues/".concat(issueIdOrKey,"/comments/").concat(commentId,"/notifications"),prams)};Backlog.prototype.getIssueAttachments=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/attachments"))};Backlog.prototype.getIssueAttachment=function(issueIdOrKey,attachmentId){return this.download("issues/".concat(issueIdOrKey,"/attachments/").concat(attachmentId))};Backlog.prototype.deleteIssueAttachment=function(issueIdOrKey,attachmentId){return this.delete("issues/".concat(issueIdOrKey,"/attachments/").concat(attachmentId))};Backlog.prototype.getIssueParticipants=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/participants"))};Backlog.prototype.getIssueSharedFiles=function(issueIdOrKey){return this.get("issues/".concat(issueIdOrKey,"/sharedFiles"))};Backlog.prototype.linkIssueSharedFiles=function(issueIdOrKey,params){return this.post("issues/".concat(issueIdOrKey,"/sharedFiles"),params)};Backlog.prototype.unlinkIssueSharedFile=function(issueIdOrKey,id){return this.delete("issues/".concat(issueIdOrKey,"/sharedFiles/").concat(id))};Backlog.prototype.getWikis=function(params){return this.get("wikis",params)};Backlog.prototype.getWikisCount=function(projectIdOrKey){return this.get("wikis/count",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.getWikisTags=function(projectIdOrKey){return this.get("wikis/tags",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.postWiki=function(params){return this.post("wikis",params)};Backlog.prototype.getWiki=function(wikiId){return this.get("wikis/".concat(wikiId))};Backlog.prototype.patchWiki=function(wikiId,params){return this.patch("wikis/".concat(wikiId),params)};Backlog.prototype.deleteWiki=function(wikiId,mailNotify){return this.delete("wikis/".concat(wikiId),{mailNotify:mailNotify})};Backlog.prototype.getWikisAttachments=function(wikiId){return this.get("wikis/".concat(wikiId,"/attachments"))};Backlog.prototype.postWikisAttachments=function(wikiId,attachmentId){return this.post("wikis/".concat(wikiId,"/attachments"),{attachmentId:attachmentId})};Backlog.prototype.getWikiAttachment=function(wikiId,attachmentId){return this.download("wikis/".concat(wikiId,"/attachments/").concat(attachmentId))};Backlog.prototype.deleteWikisAttachments=function(wikiId,attachmentId){return this.delete("wikis/".concat(wikiId,"/attachments/").concat(attachmentId))};Backlog.prototype.getWikisSharedFiles=function(wikiId){return this.get("wikis/".concat(wikiId,"/sharedFiles"))};Backlog.prototype.linkWikisSharedFiles=function(wikiId,fileId){return this.post("wikis/".concat(wikiId,"/sharedFiles"),{fileId:fileId})};Backlog.prototype.unlinkWikisSharedFiles=function(wikiId,id){return this.delete("wikis/".concat(wikiId,"/sharedFiles/").concat(id))};Backlog.prototype.getDocuments=function(params){return this.get("documents",params)};Backlog.prototype.getDocumentTree=function(projectIdOrKey){return this.get("documents/tree",{projectIdOrKey:projectIdOrKey})};Backlog.prototype.getDocument=function(documentId){return this.get("documents/".concat(documentId))};Backlog.prototype.downloadDocumentAttachment=function(documentId,attachmentId){return this.download("documents/".concat(documentId,"/attachments/").concat(attachmentId))};Backlog.prototype.getWikisHistory=function(wikiId,params){return this.get("wikis/".concat(wikiId,"/history"),params)};Backlog.prototype.getWikisStars=function(wikiId){return this.get("wikis/".concat(wikiId,"/stars"))};Backlog.prototype.postStar=function(params){return this.post("stars",params)};Backlog.prototype.removeStar=function(starId){var endpoint="stars/".concat(starId);return this.delete(endpoint)};Backlog.prototype.getNotifications=function(params){return this.get("notifications",params)};Backlog.prototype.getNotificationsCount=function(params){return this.get("notifications/count",params)};Backlog.prototype.resetNotificationsMarkAsRead=function(){return this.post("notifications/markAsRead")};Backlog.prototype.markAsReadNotification=function(id){return this.post("notifications/".concat(id,"/markAsRead"))};Backlog.prototype.getGitRepositories=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/git/repositories"))};Backlog.prototype.getGitRepository=function(projectIdOrKey,repoIdOrName){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName))};Backlog.prototype.getPullRequests=function(projectIdOrKey,repoIdOrName,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests"),params)};Backlog.prototype.getPullRequestsCount=function(projectIdOrKey,repoIdOrName,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/count"),params)};Backlog.prototype.postPullRequest=function(projectIdOrKey,repoIdOrName,params){return this.post("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests"),params)};Backlog.prototype.getPullRequest=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number))};Backlog.prototype.patchPullRequest=function(projectIdOrKey,repoIdOrName,number,params){return this.patch("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number),params)};Backlog.prototype.getPullRequestComments=function(projectIdOrKey,repoIdOrName,number,params){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments"),params)};Backlog.prototype.postPullRequestComments=function(projectIdOrKey,repoIdOrName,number,params){return this.post("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments"),params)};Backlog.prototype.getPullRequestCommentsCount=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments/count"))};Backlog.prototype.patchPullRequestComments=function(projectIdOrKey,repoIdOrName,number,commentId,params){return this.patch("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/comments/").concat(commentId),params)};Backlog.prototype.getPullRequestAttachments=function(projectIdOrKey,repoIdOrName,number){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments"))};Backlog.prototype.getPullRequestAttachment=function(projectIdOrKey,repoIdOrName,number,attachmentId){return this.download("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments/").concat(attachmentId))};Backlog.prototype.deletePullRequestAttachment=function(projectIdOrKey,repoIdOrName,number,attachmentId){return this.get("projects/".concat(projectIdOrKey,"/git/repositories/").concat(repoIdOrName,"/pullRequests/").concat(number,"/attachments/").concat(attachmentId))};Backlog.prototype.getWatchingListItems=function(userId,params){return this.get("users/".concat(userId,"/watchings"),params)};Backlog.prototype.getWatchingListCount=function(userId,params){return this.get("users/".concat(userId,"/watchings/count"),params)};Backlog.prototype.getWatchingListItem=function(watchId){return this.get("watchings/".concat(watchId))};Backlog.prototype.postWatchingListItem=function(params){return this.post("watchings",params)};Backlog.prototype.patchWatchingListItem=function(watchId,note){return this.patch("watchings/".concat(watchId),{note:note})};Backlog.prototype.deletehWatchingListItem=function(watchId){return this.delete("watchings/".concat(watchId))};Backlog.prototype.resetWatchingListItemAsRead=function(watchId){return this.post("watchings/".concat(watchId,"/markAsRead"))};Backlog.prototype.getLicence=function(){return this.get("space/licence")};Backlog.prototype.getTeams=function(params){return this.get("teams",params)};Backlog.prototype.postTeam=function(members){return this.post("teams",{members:members})};Backlog.prototype.getTeam=function(teamId){return this.get("teams/".concat(teamId))};Backlog.prototype.patchTeam=function(teamId,params){return this.patch("teams/".concat(teamId),params)};Backlog.prototype.deleteTeam=function(teamId){return this.delete("teams/".concat(teamId))};Backlog.prototype.getTeamIcon=function(teamId){return this.download("teams/".concat(teamId,"/icon"))};Backlog.prototype.getProjectTeams=function(projectIdOrKey){return this.get("projects/".concat(projectIdOrKey,"/teams"))};Backlog.prototype.postProjectTeam=function(projectIdOrKey,teamId){return this.post("projects/".concat(projectIdOrKey,"/teams"),{teamId:teamId})};Backlog.prototype.deleteProjectTeam=function(projectIdOrKey,teamId){return this.delete("projects/".concat(projectIdOrKey,"/teams"),{teamId:teamId})};Backlog.prototype.getRateLimit=function(){return this.get("rateLimit")};Backlog.prototype.download=function(path){return this.request({method:"GET",path:path}).then(this.parseFileData)};Backlog.prototype.upload=function(path,params){return this.request({method:"POST",path:path,params:params}).then(this.parseJSON)};Backlog.prototype.parseFileData=function(response){return new Promise(function(resolve,reject){if(typeof window!=="undefined"){resolve({body:response.body,url:response.url,blob:function(){return response.blob()}})}else{var disposition=response.headers.get("Content-Disposition");var filename=disposition?disposition.substring(disposition.indexOf("''")+2):"";resolve({body:response.body,url:response.url,filename:filename})}})};return Backlog}(request_1.default);exports.default=Backlog},{"./request":7}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true})},{}],3:[function(require,module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p]};return extendStatics(d,b)};return function(d,b){if(typeof b!=="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:true});exports.UnexpectedError=exports.BacklogAuthError=exports.BacklogApiError=exports.BacklogError=void 0;var BacklogError=function(_super){__extends(BacklogError,_super);function BacklogError(name,response,body){var _this=_super.call(this,response.statusText)||this;_this._name=name;_this._url=response.url;_this._status=response.status;_this._body=body;_this._response=response;return _this}Object.defineProperty(BacklogError.prototype,"name",{get:function(){return this._name},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"url",{get:function(){return this._url},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"status",{get:function(){return this._status},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"body",{get:function(){return this._body},enumerable:false,configurable:true});Object.defineProperty(BacklogError.prototype,"response",{get:function(){return this._response},enumerable:false,configurable:true});return BacklogError}(Error);exports.BacklogError=BacklogError;var BacklogApiError=function(_super){__extends(BacklogApiError,_super);function BacklogApiError(response,body){return _super.call(this,"BacklogApiError",response,body)||this}return BacklogApiError}(BacklogError);exports.BacklogApiError=BacklogApiError;var BacklogAuthError=function(_super){__extends(BacklogAuthError,_super);function BacklogAuthError(response,body){return _super.call(this,"BacklogAuthError",response,body)||this}return BacklogAuthError}(BacklogError);exports.BacklogAuthError=BacklogAuthError;var UnexpectedError=function(_super){__extends(UnexpectedError,_super);function UnexpectedError(response){return _super.call(this,"UnexpectedError",response)||this}return UnexpectedError}(BacklogError);exports.UnexpectedError=UnexpectedError},{}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Error=exports.Types=exports.Entity=exports.Option=exports.OAuth2=exports.Backlog=void 0;var backlog_1=require("./backlog");exports.Backlog=backlog_1.default;var oauth2_1=require("./oauth2");exports.OAuth2=oauth2_1.default;var Option=require("./option");exports.Option=Option;var Entity=require("./entity");exports.Entity=Entity;var Types=require("./types");exports.Types=Types;var Error=require("./error");exports.Error=Error},{"./backlog":1,"./entity":2,"./error":3,"./oauth2":5,"./option":6,"./types":8}],5:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var request_1=require("./request");var OAuth2=function(){function OAuth2(credentials,timeout){this.credentials=credentials;this.timeout=timeout}OAuth2.prototype.getAuthorizationURL=function(options){var params={client_id:this.credentials.clientId,response_type:"code",redirect_uri:options.redirectUri,state:options.state};return"https://".concat(options.host,"/OAuth2AccessRequest.action?")+Object.keys(params).map(function(key){return params[key]?"".concat(key,"=").concat(params[key]):""}).filter(function(x){return x.length>0}).join("&")};OAuth2.prototype.getAccessToken=function(options){return new request_1.default({host:options.host,timeout:this.timeout}).post("oauth2/token",{grant_type:"authorization_code",code:options.code,client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,redirect_uri:options.redirectUri})};OAuth2.prototype.refreshAccessToken=function(options){return new request_1.default({host:options.host,timeout:this.timeout}).post("oauth2/token",{grant_type:"refresh_token",client_id:this.credentials.clientId,client_secret:this.credentials.clientSecret,refresh_token:options.refreshToken})};return OAuth2}();exports.default=OAuth2},{"./request":7}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Issue=void 0;var Issue;(function(Issue){var ParentChildType;(function(ParentChildType){ParentChildType[ParentChildType["All"]=0]="All";ParentChildType[ParentChildType["NotChild"]=1]="NotChild";ParentChildType[ParentChildType["Child"]=2]="Child";ParentChildType[ParentChildType["NotChildNotParent"]=3]="NotChildNotParent";ParentChildType[ParentChildType["Parent"]=4]="Parent"})(ParentChildType=Issue.ParentChildType||(Issue.ParentChildType={}))})(Issue||(exports.Issue=Issue={}))},{}],7:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Error=require("./error");var qs=require("qs");var Request=function(){function Request(configure){this.configure=configure}Request.prototype.get=function(path,params){return this.request({method:"GET",path:path,params:params}).then(this.parseJSON)};Request.prototype.post=function(path,params){return this.request({method:"POST",path:path,params:params}).then(this.parseJSON)};Request.prototype.put=function(path,params){return this.request({method:"PUT",path:path,params:params}).then(this.parseJSON)};Request.prototype.patch=function(path,params){return this.request({method:"PATCH",path:path,params:params}).then(this.parseJSON)};Request.prototype.delete=function(path,params){return this.request({method:"DELETE",path:path,params:params}).then(this.parseJSON)};Request.prototype.request=function(options){var method=options.method,path=options.path,_a=options.params,params=_a===void 0?{}:_a;var _b=this.configure,apiKey=_b.apiKey,accessToken=_b.accessToken,timeout=_b.timeout;var query=apiKey?{apiKey:apiKey}:{};var init={method:method,headers:{}};if(timeout){init["timeout"]=timeout}if(!apiKey&&accessToken){init.headers["Authorization"]="Bearer "+accessToken}if(typeof window!=="undefined"){init.mode="cors"}if(method!=="GET"){if(params instanceof FormData){init.body=params}else{init.headers["Content-type"]="application/x-www-form-urlencoded";init.body=this.toQueryString(params)}}else{Object.keys(params).forEach(function(key){return query[key]=params[key]})}var queryStr=this.toQueryString(query);var url="".concat(this.restBaseURL,"/").concat(path)+(queryStr.length>0?"?".concat(queryStr):"");return fetch(url,init).then(this.checkStatus)};Request.prototype.checkStatus=function(response){return new Promise(function(resolve,reject){if(200<=response.status&&response.status<300){resolve(response)}else{response.json().then(function(data){if(response.status===401){reject(new Error.BacklogAuthError(response,data))}else{reject(new Error.BacklogApiError(response,data))}}).catch(function(err){return reject(new Error.UnexpectedError(response))})}})};Request.prototype.parseJSON=function(response){if(response.status===204||response.headers.get("Content-Length")==="0"){return Promise.resolve(undefined)}return response.json()};Request.prototype.toQueryString=function(params){var formatted={};Object.keys(params).forEach(function(key){var value=params[key];if(key.startsWith("customField_")&&Array.isArray(value)){value.forEach(function(v,i){formatted["".concat(key,"[").concat(i,"]")]=v})}else{formatted[key]=value}});return qs.stringify(formatted,{arrayFormat:"brackets"})};Object.defineProperty(Request.prototype,"webAppBaseURL",{get:function(){return"https://".concat(this.configure.host)},enumerable:false,configurable:true});Object.defineProperty(Request.prototype,"restBaseURL",{get:function(){return"".concat(this.webAppBaseURL,"/api/v2")},enumerable:false,configurable:true});return Request}();exports.default=Request},{"./error":3,qs:32}],8:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CustomFieldType=exports.ActivityType=exports.NormalRoleType=exports.ClassicRoleType=void 0;var ClassicRoleType;(function(ClassicRoleType){ClassicRoleType[ClassicRoleType["Admin"]=1]="Admin";ClassicRoleType[ClassicRoleType["User"]=2]="User";ClassicRoleType[ClassicRoleType["Reporter"]=3]="Reporter";ClassicRoleType[ClassicRoleType["Viewer"]=4]="Viewer";ClassicRoleType[ClassicRoleType["GuestReporter"]=5]="GuestReporter";ClassicRoleType[ClassicRoleType["GuestViewer"]=6]="GuestViewer"})(ClassicRoleType||(exports.ClassicRoleType=ClassicRoleType={}));var NormalRoleType;(function(NormalRoleType){NormalRoleType[NormalRoleType["Admin"]=1]="Admin";NormalRoleType[NormalRoleType["MemberOrGuest"]=2]="MemberOrGuest";NormalRoleType[NormalRoleType["MemberOrGuestForAddIssues"]=3]="MemberOrGuestForAddIssues";NormalRoleType[NormalRoleType["MemberOrGuestForViewIssues"]=4]="MemberOrGuestForViewIssues"})(NormalRoleType||(exports.NormalRoleType=NormalRoleType={}));var ActivityType;(function(ActivityType){ActivityType[ActivityType["Undefined"]=-1]="Undefined";ActivityType[ActivityType["IssueCreated"]=1]="IssueCreated";ActivityType[ActivityType["IssueUpdated"]=2]="IssueUpdated";ActivityType[ActivityType["IssueCommented"]=3]="IssueCommented";ActivityType[ActivityType["IssueDeleted"]=4]="IssueDeleted";ActivityType[ActivityType["WikiCreated"]=5]="WikiCreated";ActivityType[ActivityType["WikiUpdated"]=6]="WikiUpdated";ActivityType[ActivityType["WikiDeleted"]=7]="WikiDeleted";ActivityType[ActivityType["FileAdded"]=8]="FileAdded";ActivityType[ActivityType["FileUpdated"]=9]="FileUpdated";ActivityType[ActivityType["FileDeleted"]=10]="FileDeleted";ActivityType[ActivityType["SvnCommitted"]=11]="SvnCommitted";ActivityType[ActivityType["GitPushed"]=12]="GitPushed";ActivityType[ActivityType["GitRepositoryCreated"]=13]="GitRepositoryCreated";ActivityType[ActivityType["IssueMultiUpdated"]=14]="IssueMultiUpdated";ActivityType[ActivityType["ProjectUserAdded"]=15]="ProjectUserAdded";ActivityType[ActivityType["ProjectUserRemoved"]=16]="ProjectUserRemoved";ActivityType[ActivityType["NotifyAdded"]=17]="NotifyAdded";ActivityType[ActivityType["PullRequestAdded"]=18]="PullRequestAdded";ActivityType[ActivityType["PullRequestUpdated"]=19]="PullRequestUpdated";ActivityType[ActivityType["PullRequestCommented"]=20]="PullRequestCommented";ActivityType[ActivityType["PullRequestMerged"]=21]="PullRequestMerged";ActivityType[ActivityType["MilestoneCreated"]=22]="MilestoneCreated";ActivityType[ActivityType["MilestoneUpdated"]=23]="MilestoneUpdated";ActivityType[ActivityType["MilestoneDeleted"]=24]="MilestoneDeleted";ActivityType[ActivityType["ProjectGroupAdded"]=25]="ProjectGroupAdded";ActivityType[ActivityType["ProjectGroupDeleted"]=26]="ProjectGroupDeleted"})(ActivityType||(exports.ActivityType=ActivityType={}));var CustomFieldType;(function(CustomFieldType){CustomFieldType[CustomFieldType["Text"]=1]="Text";CustomFieldType[CustomFieldType["TextArea"]=2]="TextArea";CustomFieldType[CustomFieldType["Numeric"]=3]="Numeric";CustomFieldType[CustomFieldType["Date"]=4]="Date";CustomFieldType[CustomFieldType["SingleList"]=5]="SingleList";CustomFieldType[CustomFieldType["MultipleList"]=6]="MultipleList";CustomFieldType[CustomFieldType["CheckBox"]=7]="CheckBox";CustomFieldType[CustomFieldType["Radio"]=8]="Radio"})(CustomFieldType||(exports.CustomFieldType=CustomFieldType={}))},{}],9:[function(require,module,exports){},{}],10:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var callBind=require("./");var $indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);if(typeof intrinsic==="function"&&$indexOf(name,".prototype.")>-1){return callBind(intrinsic)}return intrinsic}},{"./":11,"get-intrinsic":23}],11:[function(require,module,exports){"use strict";var bind=require("function-bind");var GetIntrinsic=require("get-intrinsic");var setFunctionLength=require("set-function-length");var $TypeError=require("es-errors/type");var $apply=GetIntrinsic("%Function.prototype.apply%");var $call=GetIntrinsic("%Function.prototype.call%");var $reflectApply=GetIntrinsic("%Reflect.apply%",true)||bind.call($call,$apply);var $defineProperty=require("es-define-property");var $max=GetIntrinsic("%Math.max%");module.exports=function callBind(originalFunction){if(typeof originalFunction!=="function"){throw new $TypeError("a function is required")}var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),true)};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};if($defineProperty){$defineProperty(module.exports,"apply",{value:applyBind})}else{module.exports.apply=applyBind}},{"es-define-property":13,"es-errors/type":19,"function-bind":22,"get-intrinsic":23,"set-function-length":36}],12:[function(require,module,exports){"use strict";var $defineProperty=require("es-define-property");var $SyntaxError=require("es-errors/syntax");var $TypeError=require("es-errors/type");var gopd=require("gopd");module.exports=function defineDataProperty(obj,property,value){if(!obj||typeof obj!=="object"&&typeof obj!=="function"){throw new $TypeError("`obj` must be an object or a function`")}if(typeof property!=="string"&&typeof property!=="symbol"){throw new $TypeError("`property` must be a string or a symbol`")}if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null){throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null")}if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null){throw new $TypeError("`nonWritable`, if provided, must be a boolean or null")}if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null){throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null")}if(arguments.length>6&&typeof arguments[6]!=="boolean"){throw new $TypeError("`loose`, if provided, must be a boolean")}var nonEnumerable=arguments.length>3?arguments[3]:null;var nonWritable=arguments.length>4?arguments[4]:null;var nonConfigurable=arguments.length>5?arguments[5]:null;var loose=arguments.length>6?arguments[6]:false;var desc=!!gopd&&gopd(obj,property);if($defineProperty){$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value:value,writable:nonWritable===null&&desc?desc.writable:!nonWritable})}else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable){obj[property]=value}else{throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}},{"es-define-property":13,"es-errors/syntax":18,"es-errors/type":19,gopd:24}],13:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var $defineProperty=GetIntrinsic("%Object.defineProperty%",true)||false;if($defineProperty){try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=false}}module.exports=$defineProperty},{"get-intrinsic":23}],14:[function(require,module,exports){"use strict";module.exports=EvalError},{}],15:[function(require,module,exports){"use strict";module.exports=Error},{}],16:[function(require,module,exports){"use strict";module.exports=RangeError},{}],17:[function(require,module,exports){"use strict";module.exports=ReferenceError},{}],18:[function(require,module,exports){"use strict";module.exports=SyntaxError},{}],19:[function(require,module,exports){"use strict";module.exports=TypeError},{}],20:[function(require,module,exports){"use strict";module.exports=URIError},{}],21:[function(require,module,exports){"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ";var toStr=Object.prototype.toString;var max=Math.max;var funcType="[object Function]";var concatty=function concatty(a,b){var arr=[];for(var i=0;i<a.length;i+=1){arr[i]=a[i]}for(var j=0;j<b.length;j+=1){arr[j+a.length]=b[j]}return arr};var slicy=function slicy(arrLike,offset){var arr=[];for(var i=offset||0,j=0;i<arrLike.length;i+=1,j+=1){arr[j]=arrLike[i]}return arr};var joiny=function(arr,joiner){var str="";for(var i=0;i<arr.length;i+=1){str+=arr[i];if(i+1<arr.length){str+=joiner}}return str};module.exports=function bind(that){var target=this;if(typeof target!=="function"||toStr.apply(target)!==funcType){throw new TypeError(ERROR_MESSAGE+target)}var args=slicy(arguments,1);var bound;var binder=function(){if(this instanceof bound){var result=target.apply(this,concatty(args,arguments));if(Object(result)===result){return result}return this}return target.apply(that,concatty(args,arguments))};var boundLength=max(0,target.length-args.length);var boundArgs=[];for(var i=0;i<boundLength;i++){boundArgs[i]="$"+i}bound=Function("binder","return function ("+joiny(boundArgs,",")+"){ return binder.apply(this,arguments); }")(binder);if(target.prototype){var Empty=function Empty(){};Empty.prototype=target.prototype;bound.prototype=new Empty;Empty.prototype=null}return bound}},{}],22:[function(require,module,exports){"use strict";var implementation=require("./implementation");module.exports=Function.prototype.bind||implementation},{"./implementation":21}],23:[function(require,module,exports){"use strict";var undefined;var $Error=require("es-errors");var $EvalError=require("es-errors/eval");var $RangeError=require("es-errors/range");var $ReferenceError=require("es-errors/ref");var $SyntaxError=require("es-errors/syntax");var $TypeError=require("es-errors/type");var $URIError=require("es-errors/uri");var $Function=Function;var getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}};var $gOPD=Object.getOwnPropertyDescriptor;if($gOPD){try{$gOPD({},"")}catch(e){$gOPD=null}}var throwTypeError=function(){throw new $TypeError};var ThrowTypeError=$gOPD?function(){try{arguments.callee;return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError;var hasSymbols=require("has-symbols")();var hasProto=require("has-proto")();var getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null);var needsEval={};var TypedArray=typeof Uint8Array==="undefined"||!getProto?undefined:getProto(Uint8Array);var INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError==="undefined"?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics==="undefined"?undefined:Atomics,"%BigInt%":typeof BigInt==="undefined"?undefined:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?undefined:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array==="undefined"?undefined:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?undefined:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array==="undefined"?undefined:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?undefined:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":typeof JSON==="object"?JSON:undefined,"%Map%":typeof Map==="undefined"?undefined:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!hasSymbols||!getProto?undefined:getProto((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?undefined:Promise,"%Proxy%":typeof Proxy==="undefined"?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect==="undefined"?undefined:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?undefined:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!hasSymbols||!getProto?undefined:getProto((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array==="undefined"?undefined:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?undefined:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?undefined:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap==="undefined"?undefined:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?undefined:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?undefined:WeakSet};if(getProto){try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}}var doEval=function doEval(name){var value;if(name==="%AsyncFunction%"){value=getEvalledConstructor("async function () {}")}else if(name==="%GeneratorFunction%"){value=getEvalledConstructor("function* () {}")}else if(name==="%AsyncGeneratorFunction%"){value=getEvalledConstructor("async function* () {}")}else if(name==="%AsyncGenerator%"){var fn=doEval("%AsyncGeneratorFunction%");if(fn){value=fn.prototype}}else if(name==="%AsyncIteratorPrototype%"){var gen=doEval("%AsyncGenerator%");if(gen&&getProto){value=getProto(gen.prototype)}}INTRINSICS[name]=value;return value};var LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var bind=require("function-bind");var hasOwn=require("hasown");var $concat=bind.call(Function.call,Array.prototype.concat);var $spliceApply=bind.call(Function.apply,Array.prototype.splice);var $replace=bind.call(Function.call,String.prototype.replace);var $strSlice=bind.call(Function.call,String.prototype.slice);var $exec=bind.call(Function.call,RegExp.prototype.exec);var rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var reEscapeChar=/\\(\\)?/g;var stringToPath=function stringToPath(string){var first=$strSlice(string,0,1);var last=$strSlice(string,-1);if(first==="%"&&last!=="%"){throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`")}else if(last==="%"&&first!=="%"){throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`")}var result=[];$replace(string,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match});return result};var getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var intrinsicName=name;var alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)){alias=LEGACY_ALIASES[intrinsicName];intrinsicName="%"+alias[0]+"%"}if(hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval){value=doEval(intrinsicName)}if(typeof value==="undefined"&&!allowMissing){throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!")}return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if(typeof name!=="string"||name.length===0){throw new $TypeError("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof allowMissing!=="boolean"){throw new $TypeError('"allowMissing" argument must be a boolean')}if($exec(/^%?[^%]*%?$/,name)===null){throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var parts=stringToPath(name);var intrinsicBaseName=parts.length>0?parts[0]:"";var intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing);var intrinsicRealName=intrinsic.name;var value=intrinsic.value;var skipFurtherCaching=false;var alias=intrinsic.alias;if(alias){intrinsicBaseName=alias[0];$spliceApply(parts,$concat([0,1],alias))}for(var i=1,isOwn=true;i<parts.length;i+=1){var part=parts[i];var first=$strSlice(part,0,1);var last=$strSlice(part,-1);if((first==='"'||first==="'"||first==="`"||(last==='"'||last==="'"||last==="`"))&&first!==last){throw new $SyntaxError("property names with quotes must have matching quotes")}if(part==="constructor"||!isOwn){skipFurtherCaching=true}intrinsicBaseName+="."+part;intrinsicRealName="%"+intrinsicBaseName+"%";if(hasOwn(INTRINSICS,intrinsicRealName)){value=INTRINSICS[intrinsicRealName]}else if(value!=null){if(!(part in value)){if(!allowMissing){throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.")}return void undefined}if($gOPD&&i+1>=parts.length){var desc=$gOPD(value,part);isOwn=!!desc;if(isOwn&&"get"in desc&&!("originalValue"in desc.get)){value=desc.get}else{value=value[part]}}else{isOwn=hasOwn(value,part);value=value[part]}if(isOwn&&!skipFurtherCaching){INTRINSICS[intrinsicRealName]=value}}}return value}},{"es-errors":15,"es-errors/eval":14,"es-errors/range":16,"es-errors/ref":17,"es-errors/syntax":18,"es-errors/type":19,"es-errors/uri":20,"function-bind":22,"has-proto":26,"has-symbols":27,hasown:29}],24:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var $gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",true);if($gOPD){try{$gOPD([],"length")}catch(e){$gOPD=null}}module.exports=$gOPD},{"get-intrinsic":23}],25:[function(require,module,exports){"use strict";var $defineProperty=require("es-define-property");var hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty){return null}try{return $defineProperty([],"length",{value:1}).length!==1}catch(e){return true}};module.exports=hasPropertyDescriptors},{"es-define-property":13}],26:[function(require,module,exports){"use strict";var test={__proto__:null,foo:{}};var $Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)}},{}],27:[function(require,module,exports){"use strict";var origSymbol=typeof Symbol!=="undefined"&&Symbol;var hasSymbolSham=require("./shams");module.exports=function hasNativeSymbols(){if(typeof origSymbol!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof origSymbol("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return hasSymbolSham()}},{"./shams":28}],28:[function(require,module,exports){"use strict";module.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var obj={};var sym=Symbol("test");var symObj=Object(sym);if(typeof sym==="string"){return false}if(Object.prototype.toString.call(sym)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(symObj)!=="[object Symbol]"){return false}var symVal=42;obj[sym]=symVal;for(sym in obj){return false}if(typeof Object.keys==="function"&&Object.keys(obj).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(obj).length!==0){return false}var syms=Object.getOwnPropertySymbols(obj);if(syms.length!==1||syms[0]!==sym){return false}if(!Object.prototype.propertyIsEnumerable.call(obj,sym)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(descriptor.value!==symVal||descriptor.enumerable!==true){return false}}return true}},{}],29:[function(require,module,exports){"use strict";var call=Function.prototype.call;var $hasOwn=Object.prototype.hasOwnProperty;var bind=require("function-bind");module.exports=bind.call(call,$hasOwn)},{"function-bind":22}],30:[function(require,module,exports){(function(global){(function(){var hasMap=typeof Map==="function"&&Map.prototype;var mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==="function"?mapSizeDescriptor.get:null;var mapForEach=hasMap&&Map.prototype.forEach;var hasSet=typeof Set==="function"&&Set.prototype;var setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==="function"?setSizeDescriptor.get:null;var setForEach=hasSet&&Set.prototype.forEach;var hasWeakMap=typeof WeakMap==="function"&&WeakMap.prototype;var weakMapHas=hasWeakMap?WeakMap.prototype.has:null;var hasWeakSet=typeof WeakSet==="function"&&WeakSet.prototype;var weakSetHas=hasWeakSet?WeakSet.prototype.has:null;var hasWeakRef=typeof WeakRef==="function"&&WeakRef.prototype;var weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null;var booleanValueOf=Boolean.prototype.valueOf;var objectToString=Object.prototype.toString;var functionToString=Function.prototype.toString;var $match=String.prototype.match;var $slice=String.prototype.slice;var $replace=String.prototype.replace;var $toUpperCase=String.prototype.toUpperCase;var $toLowerCase=String.prototype.toLowerCase;var $test=RegExp.prototype.test;var $concat=Array.prototype.concat;var $join=Array.prototype.join;var $arrSlice=Array.prototype.slice;var $floor=Math.floor;var bigIntValueOf=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var gOPS=Object.getOwnPropertySymbols;var symToString=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var hasShammedSymbols=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var toStringTag=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols?"object":"symbol")?Symbol.toStringTag:null;var isEnumerable=Object.prototype.propertyIsEnumerable;var gPO=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===Infinity||num===-Infinity||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str)){return str}var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==="number"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int);var dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require("./util.inspect");var inspectCustom=utilInspect.custom;var inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&(opts.quoteStyle!=="single"&&opts.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(opts,"maxStringLength")&&(typeof opts.maxStringLength==="number"?opts.maxStringLength<0&&opts.maxStringLength!==Infinity:opts.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var customInspect=has(opts,"customInspect")?opts.customInspect:true;if(typeof customInspect!=="boolean"&&customInspect!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(opts,"indent")&&opts.indent!==null&&opts.indent!=="\t"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(opts,"numericSeparator")&&typeof opts.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var numericSeparator=opts.numericSeparator;if(typeof obj==="undefined"){return"undefined"}if(obj===null){return"null"}if(typeof obj==="boolean"){return obj?"true":"false"}if(typeof obj==="string"){return inspectString(obj,opts)}if(typeof obj==="number"){if(obj===0){return Infinity/obj>0?"0":"-0"}var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==="bigint"){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth==="undefined"?5:opts.depth;if(typeof depth==="undefined"){depth=0}if(depth>=maxDepth&&maxDepth>0&&typeof obj==="object"){return isArray(obj)?"[Array]":"[Object]"}var indent=getIndent(opts,depth);if(typeof seen==="undefined"){seen=[]}else if(indexOf(seen,obj)>=0){return"[Circular]"}function inspect(value,from,noIndent){if(from){seen=$arrSlice.call(seen);seen.push(from)}if(noIndent){var newOpts={depth:opts.depth};if(has(opts,"quoteStyle")){newOpts.quoteStyle=opts.quoteStyle}return inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==="function"&&!isRegExp(obj)){var name=nameOf(obj);var keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return typeof obj==="object"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement(obj)){var s="<"+$toLowerCase.call(String(obj.nodeName));var attrs=obj.attributes||[];for(var i=0;i<attrs.length;i++){s+=" "+attrs[i].name+"="+wrapQuotes(quote(attrs[i].value),"double",opts)}s+=">";if(obj.childNodes&&obj.childNodes.length){s+="..."}s+="</"+$toLowerCase.call(String(obj.nodeName))+">";return s}if(isArray(obj)){if(obj.length===0){return"[]"}var xs=arrObjKeys(obj,inspect);if(indent&&!singleLineValues(xs)){return"["+indentedJoin(xs,indent)+"]"}return"[ "+$join.call(xs,", ")+" ]"}if(isError(obj)){var parts=arrObjKeys(obj,inspect);if(!("cause"in Error.prototype)&&"cause"in obj&&!isEnumerable.call(obj,"cause")){return"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }"}if(parts.length===0){return"["+String(obj)+"]"}return"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if(typeof obj==="object"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==="function"&&utilInspect){return utilInspect(obj,{depth:maxDepth-depth})}else if(customInspect!=="symbol"&&typeof obj.inspect==="function"){return obj.inspect()}}if(isMap(obj)){var mapParts=[];if(mapForEach){mapForEach.call(obj,function(value,key){mapParts.push(inspect(key,obj,true)+" => "+inspect(value,obj))})}return collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];if(setForEach){setForEach.call(obj,function(value){setParts.push(inspect(value,obj))})}return collectionOf("Set",setSize.call(obj),setParts,indent)}if(isWeakMap(obj)){return weakCollectionOf("WeakMap")}if(isWeakSet(obj)){return weakCollectionOf("WeakSet")}if(isWeakRef(obj)){return weakCollectionOf("WeakRef")}if(isNumber(obj)){return markBoxed(inspect(Number(obj)))}if(isBigInt(obj)){return markBoxed(inspect(bigIntValueOf.call(obj)))}if(isBoolean(obj)){return markBoxed(booleanValueOf.call(obj))}if(isString(obj)){return markBoxed(inspect(String(obj)))}if(typeof window!=="undefined"&&obj===window){return"{ [object Window] }"}if(typeof globalThis!=="undefined"&&obj===globalThis||typeof global!=="undefined"&&obj===global){return"{ [object globalThis] }"}if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect);var isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object;var protoTag=obj instanceof Object?"":"null prototype";var stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"";var constructorTag=isPlainObject||typeof obj.constructor!=="function"?"":obj.constructor.name?obj.constructor.name+" ":"";var tag=constructorTag+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");if(ys.length===0){return tag+"{}"}if(indent){return tag+"{"+indentedJoin(ys,indent)+"}"}return tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)==="double"?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return toStr(obj)==="[object Array]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isDate(obj){return toStr(obj)==="[object Date]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isRegExp(obj){return toStr(obj)==="[object RegExp]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isError(obj){return toStr(obj)==="[object Error]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isString(obj){return toStr(obj)==="[object String]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isNumber(obj){return toStr(obj)==="[object Number]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isBoolean(obj){return toStr(obj)==="[object Boolean]"&&(!toStringTag||!(typeof obj==="object"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols){return obj&&typeof obj==="object"&&obj instanceof Symbol}if(typeof obj==="symbol"){return true}if(!obj||typeof obj!=="object"||!symToString){return false}try{symToString.call(obj);return true}catch(e){}return false}function isBigInt(obj){if(!obj||typeof obj!=="object"||!bigIntValueOf){return false}try{bigIntValueOf.call(obj);return true}catch(e){}return false}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function nameOf(f){if(f.name){return f.name}var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);if(m){return m[1]}return null}function indexOf(xs,x){if(xs.indexOf){return xs.indexOf(x)}for(var i=0,l=xs.length;i<l;i++){if(xs[i]===x){return i}}return-1}function isMap(x){if(!mapSize||!x||typeof x!=="object"){return false}try{mapSize.call(x);try{setSize.call(x)}catch(s){return true}return x instanceof Map}catch(e){}return false}function isWeakMap(x){if(!weakMapHas||!x||typeof x!=="object"){return false}try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch(s){return true}return x instanceof WeakMap}catch(e){}return false}function isWeakRef(x){if(!weakRefDeref||!x||typeof x!=="object"){return false}try{weakRefDeref.call(x);return true}catch(e){}return false}function isSet(x){if(!setSize||!x||typeof x!=="object"){return false}try{setSize.call(x);try{mapSize.call(x)}catch(m){return true}return x instanceof Set}catch(e){}return false}function isWeakSet(x){if(!weakSetHas||!x||typeof x!=="object"){return false}try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch(s){return true}return x instanceof WeakSet}catch(e){}return false}function isElement(x){if(!x||typeof x!=="object"){return false}if(typeof HTMLElement!=="undefined"&&x instanceof HTMLElement){return true}return typeof x.nodeName==="string"&&typeof x.getAttribute==="function"}function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength;var trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(s,"single",opts)}function lowbyte(c){var n=c.charCodeAt(0);var x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];if(x){return"\\"+x}return"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,", ");return type+" ("+size+") {"+joinedEntries+"}"}function singleLineValues(xs){for(var i=0;i<xs.length;i++){if(indexOf(xs[i],"\n")>=0){return false}}return true}function getIndent(opts,depth){var baseIndent;if(opts.indent==="\t"){baseIndent="\t"}else if(typeof opts.indent==="number"&&opts.indent>0){baseIndent=$join.call(Array(opts.indent+1)," ")}else{return null}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0){return""}var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray(obj);var xs=[];if(isArr){xs.length=obj.length;for(var i=0;i<obj.length;i++){xs[i]=has(obj,i)?inspect(obj[i],obj):""}}var syms=typeof gOPS==="function"?gOPS(obj):[];var symMap;if(hasShammedSymbols){symMap={};for(var k=0;k<syms.length;k++){symMap["$"+syms[k]]=syms[k]}}for(var key in obj){if(!has(obj,key)){continue}if(isArr&&String(Number(key))===key&&key<obj.length){continue}if(hasShammedSymbols&&symMap["$"+key]instanceof Symbol){continue}else if($test.call(/[^\w$]/,key)){xs.push(inspect(key,obj)+": "+inspect(obj[key],obj))}else{xs.push(key+": "+inspect(obj[key],obj))}}if(typeof gOPS==="function"){for(var j=0;j<syms.length;j++){if(isEnumerable.call(obj,syms[j])){xs.push("["+inspect(syms[j])+"]: "+inspect(obj[syms[j]],obj))}}}return xs}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./util.inspect":9}],31:[function(require,module,exports){"use strict";var replace=String.prototype.replace;var percentTwenties=/%20/g;var Format={RFC1738:"RFC1738",RFC3986:"RFC3986"};module.exports={default:Format.RFC3986,formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return String(value)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986}},{}],32:[function(require,module,exports){"use strict";var stringify=require("./stringify");var parse=require("./parse");var formats=require("./formats");module.exports={formats:formats,parse:parse,stringify:stringify}},{"./formats":31,"./parse":33,"./stringify":34}],33:[function(require,module,exports){"use strict";var utils=require("./utils");var has=Object.prototype.hasOwnProperty;var isArray=Array.isArray;var defaults={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:utils.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictNullHandling:false};var interpretNumericEntities=function(str){return str.replace(/&#(\d+);/g,function($0,numberStr){return String.fromCharCode(parseInt(numberStr,10))})};var parseArrayValue=function(val,options){if(val&&typeof val==="string"&&options.comma&&val.indexOf(",")>-1){return val.split(",")}return val};var isoSentinel="utf8=%26%2310003%3B";var charsetSentinel="utf8=%E2%9C%93";var parseValues=function parseQueryStringValues(str,options){var obj={__proto__:null};var cleanStr=options.ignoreQueryPrefix?str.replace(/^\?/,""):str;var limit=options.parameterLimit===Infinity?undefined:options.parameterLimit;var parts=cleanStr.split(options.delimiter,limit);var skipIndex=-1;var i;var charset=options.charset;if(options.charsetSentinel){for(i=0;i<parts.length;++i){if(parts[i].indexOf("utf8=")===0){if(parts[i]===charsetSentinel){charset="utf-8"}else if(parts[i]===isoSentinel){charset="iso-8859-1"}skipIndex=i;i=parts.length}}}for(i=0;i<parts.length;++i){if(i===skipIndex){continue}var part=parts[i];var bracketEqualsPos=part.indexOf("]=");var pos=bracketEqualsPos===-1?part.indexOf("="):bracketEqualsPos+1;var key,val;if(pos===-1){key=options.decoder(part,defaults.decoder,charset,"key");val=options.strictNullHandling?null:""}else{key=options.decoder(part.slice(0,pos),defaults.decoder,charset,"key");val=utils.maybeMap(parseArrayValue(part.slice(pos+1),options),function(encodedVal){return options.decoder(encodedVal,defaults.decoder,charset,"value")})}if(val&&options.interpretNumericEntities&&charset==="iso-8859-1"){val=interpretNumericEntities(val)}if(part.indexOf("[]=")>-1){val=isArray(val)?[val]:val}var existing=has.call(obj,key);if(existing&&options.duplicates==="combine"){obj[key]=utils.combine(obj[key],val)}else if(!existing||options.duplicates==="last"){obj[key]=val}}return obj};var parseObject=function(chain,val,options,valuesParsed){var leaf=valuesParsed?val:parseArrayValue(val,options);for(var i=chain.length-1;i>=0;--i){var obj;var root=chain[i];if(root==="[]"&&options.parseArrays){obj=options.allowEmptyArrays&&leaf===""?[]:[].concat(leaf)}else{obj=options.plainObjects?Object.create(null):{};var cleanRoot=root.charAt(0)==="["&&root.charAt(root.length-1)==="]"?root.slice(1,-1):root;var decodedRoot=options.decodeDotInKeys?cleanRoot.replace(/%2E/g,"."):cleanRoot;var index=parseInt(decodedRoot,10);if(!options.parseArrays&&decodedRoot===""){obj={0:leaf}}else if(!isNaN(index)&&root!==decodedRoot&&String(index)===decodedRoot&&index>=0&&(options.parseArrays&&index<=options.arrayLimit)){obj=[];obj[index]=leaf}else if(decodedRoot!=="__proto__"){obj[decodedRoot]=leaf}}leaf=obj}return leaf};var parseKeys=function parseQueryStringKeys(givenKey,val,options,valuesParsed){if(!givenKey){return}var key=options.allowDots?givenKey.replace(/\.([^.[]+)/g,"[$1]"):givenKey;var brackets=/(\[[^[\]]*])/;var child=/(\[[^[\]]*])/g;var segment=options.depth>0&&brackets.exec(key);var parent=segment?key.slice(0,segment.index):key;var keys=[];if(parent){if(!options.plainObjects&&has.call(Object.prototype,parent)){if(!options.allowPrototypes){return}}keys.push(parent)}var i=0;while(options.depth>0&&(segment=child.exec(key))!==null&&i<options.depth){i+=1;if(!options.plainObjects&&has.call(Object.prototype,segment[1].slice(1,-1))){if(!options.allowPrototypes){return}}keys.push(segment[1])}if(segment){keys.push("["+key.slice(segment.index)+"]")}return parseObject(keys,val,options,valuesParsed)};var normalizeParseOptions=function normalizeParseOptions(opts){if(!opts){return defaults}if(typeof opts.allowEmptyArrays!=="undefined"&&typeof opts.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof opts.decodeDotInKeys!=="undefined"&&typeof opts.decodeDotInKeys!=="boolean"){throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided")}if(opts.decoder!==null&&typeof opts.decoder!=="undefined"&&typeof opts.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof opts.charset!=="undefined"&&opts.charset!=="utf-8"&&opts.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var charset=typeof opts.charset==="undefined"?defaults.charset:opts.charset;var duplicates=typeof opts.duplicates==="undefined"?defaults.duplicates:opts.duplicates;if(duplicates!=="combine"&&duplicates!=="first"&&duplicates!=="last"){throw new TypeError("The duplicates option must be either combine, first, or last")}var allowDots=typeof opts.allowDots==="undefined"?opts.decodeDotInKeys===true?true:defaults.allowDots:!!opts.allowDots;return{allowDots:allowDots,allowEmptyArrays:typeof opts.allowEmptyArrays==="boolean"?!!opts.allowEmptyArrays:defaults.allowEmptyArrays,allowPrototypes:typeof opts.allowPrototypes==="boolean"?opts.allowPrototypes:defaults.allowPrototypes,allowSparse:typeof opts.allowSparse==="boolean"?opts.allowSparse:defaults.allowSparse,arrayLimit:typeof opts.arrayLimit==="number"?opts.arrayLimit:defaults.arrayLimit,charset:charset,charsetSentinel:typeof opts.charsetSentinel==="boolean"?opts.charsetSentinel:defaults.charsetSentinel,comma:typeof opts.comma==="boolean"?opts.comma:defaults.comma,decodeDotInKeys:typeof opts.decodeDotInKeys==="boolean"?opts.decodeDotInKeys:defaults.decodeDotInKeys,decoder:typeof opts.decoder==="function"?opts.decoder:defaults.decoder,delimiter:typeof opts.delimiter==="string"||utils.isRegExp(opts.delimiter)?opts.delimiter:defaults.delimiter,depth:typeof opts.depth==="number"||opts.depth===false?+opts.depth:defaults.depth,duplicates:duplicates,ignoreQueryPrefix:opts.ignoreQueryPrefix===true,interpretNumericEntities:typeof opts.interpretNumericEntities==="boolean"?opts.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:typeof opts.parameterLimit==="number"?opts.parameterLimit:defaults.parameterLimit,parseArrays:opts.parseArrays!==false,plainObjects:typeof opts.plainObjects==="boolean"?opts.plainObjects:defaults.plainObjects,strictNullHandling:typeof opts.strictNullHandling==="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(str,opts){var options=normalizeParseOptions(opts);if(str===""||str===null||typeof str==="undefined"){return options.plainObjects?Object.create(null):{}}var tempObj=typeof str==="string"?parseValues(str,options):str;var obj=options.plainObjects?Object.create(null):{};var keys=Object.keys(tempObj);for(var i=0;i<keys.length;++i){var key=keys[i];var newObj=parseKeys(key,tempObj[key],options,typeof str==="string");obj=utils.merge(obj,newObj,options)}if(options.allowSparse===true){return obj}return utils.compact(obj)}},{"./utils":35}],34:[function(require,module,exports){"use strict";var getSideChannel=require("side-channel");var utils=require("./utils");var formats=require("./formats");var has=Object.prototype.hasOwnProperty;var arrayPrefixGenerators={brackets:function brackets(prefix){return prefix+"[]"},comma:"comma",indices:function indices(prefix,key){return prefix+"["+key+"]"},repeat:function repeat(prefix){return prefix}};var isArray=Array.isArray;var push=Array.prototype.push;var pushToArray=function(arr,valueOrArray){push.apply(arr,isArray(valueOrArray)?valueOrArray:[valueOrArray])};var toISO=Date.prototype.toISOString;var defaultFormat=formats["default"];var defaults={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,delimiter:"&",encode:true,encodeDotInKeys:false,encoder:utils.encode,encodeValuesOnly:false,format:defaultFormat,formatter:formats.formatters[defaultFormat],indices:false,serializeDate:function serializeDate(date){return toISO.call(date)},skipNulls:false,strictNullHandling:false};var isNonNullishPrimitive=function isNonNullishPrimitive(v){return typeof v==="string"||typeof v==="number"||typeof v==="boolean"||typeof v==="symbol"||typeof v==="bigint"};var sentinel={};var stringify=function stringify(object,prefix,generateArrayPrefix,commaRoundTrip,allowEmptyArrays,strictNullHandling,skipNulls,encodeDotInKeys,encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,sideChannel){var obj=object;var tmpSc=sideChannel;var step=0;var findFlag=false;while((tmpSc=tmpSc.get(sentinel))!==void undefined&&!findFlag){var pos=tmpSc.get(object);step+=1;if(typeof pos!=="undefined"){if(pos===step){throw new RangeError("Cyclic object value")}else{findFlag=true}}if(typeof tmpSc.get(sentinel)==="undefined"){step=0}}if(typeof filter==="function"){obj=filter(prefix,obj)}else if(obj instanceof Date){obj=serializeDate(obj)}else if(generateArrayPrefix==="comma"&&isArray(obj)){obj=utils.maybeMap(obj,function(value){if(value instanceof Date){return serializeDate(value)}return value})}if(obj===null){if(strictNullHandling){return encoder&&!encodeValuesOnly?encoder(prefix,defaults.encoder,charset,"key",format):prefix}obj=""}if(isNonNullishPrimitive(obj)||utils.isBuffer(obj)){if(encoder){var keyValue=encodeValuesOnly?prefix:encoder(prefix,defaults.encoder,charset,"key",format);return[formatter(keyValue)+"="+formatter(encoder(obj,defaults.encoder,charset,"value",format))]}return[formatter(prefix)+"="+formatter(String(obj))]}var values=[];if(typeof obj==="undefined"){return values}var objKeys;if(generateArrayPrefix==="comma"&&isArray(obj)){if(encodeValuesOnly&&encoder){obj=utils.maybeMap(obj,encoder)}objKeys=[{value:obj.length>0?obj.join(",")||null:void undefined}]}else if(isArray(filter)){objKeys=filter}else{var keys=Object.keys(obj);objKeys=sort?keys.sort(sort):keys}var encodedPrefix=encodeDotInKeys?prefix.replace(/\./g,"%2E"):prefix;var adjustedPrefix=commaRoundTrip&&isArray(obj)&&obj.length===1?encodedPrefix+"[]":encodedPrefix;if(allowEmptyArrays&&isArray(obj)&&obj.length===0){return adjustedPrefix+"[]"}for(var j=0;j<objKeys.length;++j){var key=objKeys[j];var value=typeof key==="object"&&typeof key.value!=="undefined"?key.value:obj[key];if(skipNulls&&value===null){continue}var encodedKey=allowDots&&encodeDotInKeys?key.replace(/\./g,"%2E"):key;var keyPrefix=isArray(obj)?typeof generateArrayPrefix==="function"?generateArrayPrefix(adjustedPrefix,encodedKey):adjustedPrefix:adjustedPrefix+(allowDots?"."+encodedKey:"["+encodedKey+"]");sideChannel.set(object,step);var valueSideChannel=getSideChannel();valueSideChannel.set(sentinel,sideChannel);pushToArray(values,stringify(value,keyPrefix,generateArrayPrefix,commaRoundTrip,allowEmptyArrays,strictNullHandling,skipNulls,encodeDotInKeys,generateArrayPrefix==="comma"&&encodeValuesOnly&&isArray(obj)?null:encoder,filter,sort,allowDots,serializeDate,format,formatter,encodeValuesOnly,charset,valueSideChannel))}return values};var normalizeStringifyOptions=function normalizeStringifyOptions(opts){if(!opts){return defaults}if(typeof opts.allowEmptyArrays!=="undefined"&&typeof opts.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof opts.encodeDotInKeys!=="undefined"&&typeof opts.encodeDotInKeys!=="boolean"){throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided")}if(opts.encoder!==null&&typeof opts.encoder!=="undefined"&&typeof opts.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var charset=opts.charset||defaults.charset;if(typeof opts.charset!=="undefined"&&opts.charset!=="utf-8"&&opts.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var format=formats["default"];if(typeof opts.format!=="undefined"){if(!has.call(formats.formatters,opts.format)){throw new TypeError("Unknown format option provided.")}format=opts.format}var formatter=formats.formatters[format];var filter=defaults.filter;if(typeof opts.filter==="function"||isArray(opts.filter)){filter=opts.filter}var arrayFormat;if(opts.arrayFormat in arrayPrefixGenerators){arrayFormat=opts.arrayFormat}else if("indices"in opts){arrayFormat=opts.indices?"indices":"repeat"}else{arrayFormat=defaults.arrayFormat}if("commaRoundTrip"in opts&&typeof opts.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var allowDots=typeof opts.allowDots==="undefined"?opts.encodeDotInKeys===true?true:defaults.allowDots:!!opts.allowDots;return{addQueryPrefix:typeof opts.addQueryPrefix==="boolean"?opts.addQueryPrefix:defaults.addQueryPrefix,allowDots:allowDots,allowEmptyArrays:typeof opts.allowEmptyArrays==="boolean"?!!opts.allowEmptyArrays:defaults.allowEmptyArrays,arrayFormat:arrayFormat,charset:charset,charsetSentinel:typeof opts.charsetSentinel==="boolean"?opts.charsetSentinel:defaults.charsetSentinel,commaRoundTrip:opts.commaRoundTrip,delimiter:typeof opts.delimiter==="undefined"?defaults.delimiter:opts.delimiter,encode:typeof opts.encode==="boolean"?opts.encode:defaults.encode,encodeDotInKeys:typeof opts.encodeDotInKeys==="boolean"?opts.encodeDotInKeys:defaults.encodeDotInKeys,encoder:typeof opts.encoder==="function"?opts.encoder:defaults.encoder,encodeValuesOnly:typeof opts.encodeValuesOnly==="boolean"?opts.encodeValuesOnly:defaults.encodeValuesOnly,filter:filter,format:format,formatter:formatter,serializeDate:typeof opts.serializeDate==="function"?opts.serializeDate:defaults.serializeDate,skipNulls:typeof opts.skipNulls==="boolean"?opts.skipNulls:defaults.skipNulls,sort:typeof opts.sort==="function"?opts.sort:null,strictNullHandling:typeof opts.strictNullHandling==="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(object,opts){var obj=object;var options=normalizeStringifyOptions(opts);var objKeys;var filter;if(typeof options.filter==="function"){filter=options.filter;obj=filter("",obj)}else if(isArray(options.filter)){filter=options.filter;objKeys=filter}var keys=[];if(typeof obj!=="object"||obj===null){return""}var generateArrayPrefix=arrayPrefixGenerators[options.arrayFormat];var commaRoundTrip=generateArrayPrefix==="comma"&&options.commaRoundTrip;if(!objKeys){objKeys=Object.keys(obj)}if(options.sort){objKeys.sort(options.sort)}var sideChannel=getSideChannel();for(var i=0;i<objKeys.length;++i){var key=objKeys[i];if(options.skipNulls&&obj[key]===null){continue}pushToArray(keys,stringify(obj[key],key,generateArrayPrefix,commaRoundTrip,options.allowEmptyArrays,options.strictNullHandling,options.skipNulls,options.encodeDotInKeys,options.encode?options.encoder:null,options.filter,options.sort,options.allowDots,options.serializeDate,options.format,options.formatter,options.encodeValuesOnly,options.charset,sideChannel))}var joined=keys.join(options.delimiter);var prefix=options.addQueryPrefix===true?"?":"";if(options.charsetSentinel){if(options.charset==="iso-8859-1"){prefix+="utf8=%26%2310003%3B&"}else{prefix+="utf8=%E2%9C%93&"}}return joined.length>0?prefix+joined:""}},{"./formats":31,"./utils":35,"side-channel":37}],35:[function(require,module,exports){"use strict";var formats=require("./formats");var has=Object.prototype.hasOwnProperty;var isArray=Array.isArray;var hexTable=function(){var array=[];for(var i=0;i<256;++i){array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase())}return array}();var compactQueue=function compactQueue(queue){while(queue.length>1){var item=queue.pop();var obj=item.obj[item.prop];if(isArray(obj)){var compacted=[];for(var j=0;j<obj.length;++j){if(typeof obj[j]!=="undefined"){compacted.push(obj[j])}}item.obj[item.prop]=compacted}}};var arrayToObject=function arrayToObject(source,options){var obj=options&&options.plainObjects?Object.create(null):{};for(var i=0;i<source.length;++i){if(typeof source[i]!=="undefined"){obj[i]=source[i]}}return obj};var merge=function merge(target,source,options){if(!source){return target}if(typeof source!=="object"){if(isArray(target)){target.push(source)}else if(target&&typeof target==="object"){if(options&&(options.plainObjects||options.allowPrototypes)||!has.call(Object.prototype,source)){target[source]=true}}else{return[target,source]}return target}if(!target||typeof target!=="object"){return[target].concat(source)}var mergeTarget=target;if(isArray(target)&&!isArray(source)){mergeTarget=arrayToObject(target,options)}if(isArray(target)&&isArray(source)){source.forEach(function(item,i){if(has.call(target,i)){var targetItem=target[i];if(targetItem&&typeof targetItem==="object"&&item&&typeof item==="object"){target[i]=merge(targetItem,item,options)}else{target.push(item)}}else{target[i]=item}});return target}return Object.keys(source).reduce(function(acc,key){var value=source[key];if(has.call(acc,key)){acc[key]=merge(acc[key],value,options)}else{acc[key]=value}return acc},mergeTarget)};var assign=function assignSingleSource(target,source){return Object.keys(source).reduce(function(acc,key){acc[key]=source[key];return acc},target)};var decode=function(str,decoder,charset){var strWithoutPlus=str.replace(/\+/g," ");if(charset==="iso-8859-1"){return strWithoutPlus.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(strWithoutPlus)}catch(e){return strWithoutPlus}};var limit=1024;var encode=function encode(str,defaultEncoder,charset,kind,format){if(str.length===0){return str}var string=str;if(typeof str==="symbol"){string=Symbol.prototype.toString.call(str)}else if(typeof str!=="string"){string=String(str)}if(charset==="iso-8859-1"){return escape(string).replace(/%u[0-9a-f]{4}/gi,function($0){return"%26%23"+parseInt($0.slice(2),16)+"%3B"})}var out="";for(var j=0;j<string.length;j+=limit){var segment=string.length>=limit?string.slice(j,j+limit):string;var arr=[];for(var i=0;i<segment.length;++i){var c=segment.charCodeAt(i);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||format===formats.RFC1738&&(c===40||c===41)){arr[arr.length]=segment.charAt(i);continue}if(c<128){arr[arr.length]=hexTable[c];continue}if(c<2048){arr[arr.length]=hexTable[192|c>>6]+hexTable[128|c&63];continue}if(c<55296||c>=57344){arr[arr.length]=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|c&63];continue}i+=1;c=65536+((c&1023)<<10|segment.charCodeAt(i)&1023);arr[arr.length]=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|c&63]}out+=arr.join("")}return out};var compact=function compact(value){var queue=[{obj:{o:value},prop:"o"}];var refs=[];for(var i=0;i<queue.length;++i){var item=queue[i];var obj=item.obj[item.prop];var keys=Object.keys(obj);for(var j=0;j<keys.length;++j){var key=keys[j];var val=obj[key];if(typeof val==="object"&&val!==null&&refs.indexOf(val)===-1){queue.push({obj:obj,prop:key});refs.push(val)}}}compactQueue(queue);return value};var isRegExp=function isRegExp(obj){return Object.prototype.toString.call(obj)==="[object RegExp]"};var isBuffer=function isBuffer(obj){if(!obj||typeof obj!=="object"){return false}return!!(obj.constructor&&obj.constructor.isBuffer&&obj.constructor.isBuffer(obj))};var combine=function combine(a,b){return[].concat(a,b)};var maybeMap=function maybeMap(val,fn){if(isArray(val)){var mapped=[];for(var i=0;i<val.length;i+=1){mapped.push(fn(val[i]))}return mapped}return fn(val)};module.exports={arrayToObject:arrayToObject,assign:assign,combine:combine,compact:compact,decode:decode,encode:encode,isBuffer:isBuffer,isRegExp:isRegExp,maybeMap:maybeMap,merge:merge}},{"./formats":31}],36:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var define=require("define-data-property");var hasDescriptors=require("has-property-descriptors")();var gOPD=require("gopd");var $TypeError=require("es-errors/type");var $floor=GetIntrinsic("%Math.floor%");module.exports=function setFunctionLength(fn,length){if(typeof fn!=="function"){throw new $TypeError("`fn` is not a function")}if(typeof length!=="number"||length<0||length>4294967295||$floor(length)!==length){throw new $TypeError("`length` must be a positive 32-bit integer")}var loose=arguments.length>2&&!!arguments[2];var functionLengthIsConfigurable=true;var functionLengthIsWritable=true;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");if(desc&&!desc.configurable){functionLengthIsConfigurable=false}if(desc&&!desc.writable){functionLengthIsWritable=false}}if(functionLengthIsConfigurable||functionLengthIsWritable||!loose){if(hasDescriptors){define(fn,"length",length,true,true)}else{define(fn,"length",length)}}return fn}},{"define-data-property":12,"es-errors/type":19,"get-intrinsic":23,gopd:24,"has-property-descriptors":25}],37:[function(require,module,exports){"use strict";var GetIntrinsic=require("get-intrinsic");var callBound=require("call-bind/callBound");var inspect=require("object-inspect");var $TypeError=require("es-errors/type");var $WeakMap=GetIntrinsic("%WeakMap%",true);var $Map=GetIntrinsic("%Map%",true);var $weakMapGet=callBound("WeakMap.prototype.get",true);var $weakMapSet=callBound("WeakMap.prototype.set",true);var $weakMapHas=callBound("WeakMap.prototype.has",true);var $mapGet=callBound("Map.prototype.get",true);var $mapSet=callBound("Map.prototype.set",true);var $mapHas=callBound("Map.prototype.has",true);var listGetNode=function(list,key){var prev=list;var curr;for(;(curr=prev.next)!==null;prev=curr){if(curr.key===key){prev.next=curr.next;curr.next=list.next;list.next=curr;return curr}}};var listGet=function(objects,key){var node=listGetNode(objects,key);return node&&node.value};var listSet=function(objects,key,value){var node=listGetNode(objects,key);if(node){node.value=value}else{objects.next={key:key,next:objects.next,value:value}}};var listHas=function(objects,key){return!!listGetNode(objects,key)};module.exports=function getSideChannel(){var $wm;var $m;var $o;var channel={assert:function(key){if(!channel.has(key)){throw new $TypeError("Side channel does not contain "+inspect(key))}},get:function(key){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if($wm){return $weakMapGet($wm,key)}}else if($Map){if($m){return $mapGet($m,key)}}else{if($o){return listGet($o,key)}}},has:function(key){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if($wm){return $weakMapHas($wm,key)}}else if($Map){if($m){return $mapHas($m,key)}}else{if($o){return listHas($o,key)}}return false},set:function(key,value){if($WeakMap&&key&&(typeof key==="object"||typeof key==="function")){if(!$wm){$wm=new $WeakMap}$weakMapSet($wm,key,value)}else if($Map){if(!$m){$m=new $Map}$mapSet($m,key,value)}else{if(!$o){$o={key:{},next:null}}listSet($o,key,value)}}};return channel}},{"call-bind/callBound":10,"es-errors/type":19,"get-intrinsic":23,"object-inspect":30}]},{},[4])(4)});
|
package/dist/types/backlog.d.ts
CHANGED
|
@@ -444,6 +444,10 @@ export default class Backlog extends Request {
|
|
|
444
444
|
* https://developer.nulab.com/docs/backlog/api/2/add-star/
|
|
445
445
|
*/
|
|
446
446
|
postStar(params: Option.Project.PostStarParams): Promise<void>;
|
|
447
|
+
/**
|
|
448
|
+
* https://developer.nulab.com/docs/backlog/api/2/remove-star/
|
|
449
|
+
*/
|
|
450
|
+
removeStar(starId: number): Promise<void>;
|
|
447
451
|
/**
|
|
448
452
|
* https://developer.nulab.com/docs/backlog/api/2/get-notification/
|
|
449
453
|
*/
|