@cinerino/sdk 3.104.0-alpha.4 → 3.104.0-alpha.7

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.
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  */
19
19
  __exportStar(require("@cinerino/api-abstract-client"), exports);
20
20
 
21
- },{"@cinerino/api-abstract-client":206}],3:[function(require,module,exports){
21
+ },{"@cinerino/api-abstract-client":208}],3:[function(require,module,exports){
22
22
  "use strict";
23
23
  // tslint:disable-next-line:no-single-line-block-comment
24
24
  /* istanbul ignore file */
@@ -375,7 +375,7 @@ var ImplicitGrantClient = /** @class */ (function (_super) {
375
375
  }(oAuth2client_1.default));
376
376
  exports.ImplicitGrantClient = ImplicitGrantClient;
377
377
 
378
- },{"./implicitGrantClient/error":4,"./implicitGrantClient/popupAuthenticationHandler":6,"./implicitGrantClient/silentAuthenticationHandler":8,"./implicitGrantClient/silentLogoutHandler":9,"./oAuth2client":11,"debug":267,"idtoken-verifier":276,"qs":282}],4:[function(require,module,exports){
378
+ },{"./implicitGrantClient/error":4,"./implicitGrantClient/popupAuthenticationHandler":6,"./implicitGrantClient/silentAuthenticationHandler":8,"./implicitGrantClient/silentLogoutHandler":9,"./oAuth2client":11,"debug":268,"idtoken-verifier":277,"qs":283}],4:[function(require,module,exports){
379
379
  "use strict";
380
380
  // tslint:disable-next-line:no-single-line-block-comment
381
381
  /* istanbul ignore file */
@@ -494,7 +494,7 @@ var IframeHandler = /** @class */ (function () {
494
494
  }());
495
495
  exports.default = IframeHandler;
496
496
 
497
- },{"debug":267}],6:[function(require,module,exports){
497
+ },{"debug":268}],6:[function(require,module,exports){
498
498
  "use strict";
499
499
  // tslint:disable-next-line:no-single-line-block-comment
500
500
  /* istanbul ignore file */
@@ -690,7 +690,7 @@ var PopupHandler = /** @class */ (function () {
690
690
  }());
691
691
  exports.default = PopupHandler;
692
692
 
693
- },{"debug":267}],8:[function(require,module,exports){
693
+ },{"debug":268}],8:[function(require,module,exports){
694
694
  "use strict";
695
695
  // tslint:disable-next-line:no-single-line-block-comment
696
696
  /* istanbul ignore file */
@@ -1446,7 +1446,7 @@ var OAuth2client = /** @class */ (function () {
1446
1446
  exports.default = OAuth2client;
1447
1447
 
1448
1448
  }).call(this,require("buffer").Buffer)
1449
- },{"../abstract":2,"./loginTicket":10,"buffer":263,"crypto":262,"debug":267,"http-status":275,"isomorphic-fetch":278,"querystring":288}],12:[function(require,module,exports){
1449
+ },{"../abstract":2,"./loginTicket":10,"buffer":264,"crypto":263,"debug":268,"http-status":276,"isomorphic-fetch":279,"querystring":289}],12:[function(require,module,exports){
1450
1450
  "use strict";
1451
1451
  Object.defineProperty(exports, "__esModule", { value: true });
1452
1452
  exports.createAuthInstance = exports.transporters = exports.service = exports.factory = void 0;
@@ -1890,7 +1890,7 @@ exports.transactionTasksExportationStatus = transactionTasksExportationStatus_1.
1890
1890
  exports.assetTransactionType = assetTransactionType_1.AssetTransactionType;
1891
1891
  exports.unitCode = unitCode_1.UnitCode;
1892
1892
 
1893
- },{"./cognito":14,"./factory/account":15,"./factory/accountTitle":16,"./factory/accountType":17,"./factory/action/authorize/award/point":25,"./factory/action/authorize/offer/moneyTransfer":26,"./factory/action/authorize/offer/product":27,"./factory/action/authorize/offer/seatReservation":28,"./factory/action/authorize/paymentMethod/any":29,"./factory/action/cancel/reservation":30,"./factory/action/check/paymentMethod/movieTicket":31,"./factory/action/check/token":32,"./factory/action/consume/use/reservation":33,"./factory/action/interact/confirm/moneyTransfer":34,"./factory/action/interact/confirm/pay":35,"./factory/action/interact/confirm/registerService":36,"./factory/action/interact/confirm/reservation":37,"./factory/action/interact/inform":38,"./factory/action/interact/register/service":39,"./factory/action/reserve":40,"./factory/action/trade/order":41,"./factory/action/trade/pay":42,"./factory/action/trade/refund":43,"./factory/action/transfer/give/pointAward":44,"./factory/action/transfer/moneyTransfer":45,"./factory/action/transfer/return/moneyTransfer":46,"./factory/action/transfer/return/order":47,"./factory/action/transfer/return/paymentMethod":48,"./factory/action/transfer/return/pointAward":49,"./factory/action/transfer/return/reserveTransaction":50,"./factory/action/transfer/send/message/email":51,"./factory/action/transfer/send/order":52,"./factory/action/update/delete/member":53,"./factory/actionStatusType":23,"./factory/actionType":24,"./factory/assetTransaction/cancelReservation":55,"./factory/assetTransaction/moneyTransfer":56,"./factory/assetTransaction/pay":57,"./factory/assetTransaction/refund":58,"./factory/assetTransaction/registerService":59,"./factory/assetTransaction/reserve":60,"./factory/assetTransactionType":54,"./factory/authorization":61,"./factory/categoryCode":62,"./factory/clientUser":63,"./factory/creativeWork/message/email":65,"./factory/creativeWork/movie":66,"./factory/creativeWork/softwareApplication/webApplication":67,"./factory/creativeWorkType":64,"./factory/customer":68,"./factory/encodingFormat":69,"./factory/errorCode":70,"./factory/errors":82,"./factory/event/screeningEvent":85,"./factory/event/screeningEventSeries":86,"./factory/eventStatusType":83,"./factory/eventType":84,"./factory/iam":87,"./factory/invoice":88,"./factory/itemAvailability":89,"./factory/language":90,"./factory/merchantReturnPolicy":91,"./factory/monetaryAmount":92,"./factory/offer":93,"./factory/offerCatalog":94,"./factory/offerType":95,"./factory/order":96,"./factory/orderStatus":97,"./factory/organization":98,"./factory/organizationType":99,"./factory/ownershipInfo":100,"./factory/paymentMethod/paymentCard/creditCard":101,"./factory/paymentMethod/paymentCard/movieTicket":102,"./factory/paymentStatusType":103,"./factory/permit":104,"./factory/person":105,"./factory/personType":106,"./factory/place/movieTheater":108,"./factory/place/screeningRoom":109,"./factory/place/screeningRoomSection":110,"./factory/place/seat":111,"./factory/placeType":107,"./factory/priceCurrency":112,"./factory/priceSpecificationType":113,"./factory/product":114,"./factory/programMembership":115,"./factory/project":116,"./factory/propertyValue":117,"./factory/qualitativeValue":118,"./factory/quantitativeValue":119,"./factory/report/accountingReport":120,"./factory/reservation/event":123,"./factory/reservationStatusType":121,"./factory/reservationType":122,"./factory/seller":124,"./factory/service/paymentService":126,"./factory/service/webAPI":127,"./factory/serviceType":125,"./factory/sortType":128,"./factory/task/accountMoneyTransfer":131,"./factory/task/aggregateScreeningEvent":132,"./factory/task/aggregateUseActionsOnEvent":133,"./factory/task/cancelAccountMoneyTransfer":134,"./factory/task/cancelMoneyTransfer":135,"./factory/task/cancelPendingReservation":136,"./factory/task/cancelReservation":137,"./factory/task/confirmCancelReserve":138,"./factory/task/deleteAssetTransaction":139,"./factory/task/importEventCapacitiesFromCOA":140,"./factory/task/importEventsFromCOA":141,"./factory/task/importOffersFromCOA":142,"./factory/task/moneyTransfer":143,"./factory/task/orderProgramMembership":144,"./factory/task/pay":145,"./factory/task/refund":146,"./factory/task/registerService":147,"./factory/task/reserve":148,"./factory/task/sendEmailMessage":149,"./factory/task/triggerWebhook":150,"./factory/task/voidPayment":151,"./factory/taskName":129,"./factory/taskStatus":130,"./factory/thing":152,"./factory/transaction/moneyTransfer":156,"./factory/transaction/placeOrder":157,"./factory/transaction/returnOrder":158,"./factory/transactionStatusType":153,"./factory/transactionTasksExportationStatus":154,"./factory/transactionType":155,"./factory/unitCode":159,"@waiter/factory":260}],14:[function(require,module,exports){
1893
+ },{"./cognito":14,"./factory/account":15,"./factory/accountTitle":16,"./factory/accountType":17,"./factory/action/authorize/award/point":25,"./factory/action/authorize/offer/moneyTransfer":26,"./factory/action/authorize/offer/product":27,"./factory/action/authorize/offer/seatReservation":28,"./factory/action/authorize/paymentMethod/any":29,"./factory/action/cancel/reservation":30,"./factory/action/check/paymentMethod/movieTicket":31,"./factory/action/check/token":32,"./factory/action/consume/use/reservation":33,"./factory/action/interact/confirm/moneyTransfer":34,"./factory/action/interact/confirm/pay":35,"./factory/action/interact/confirm/registerService":36,"./factory/action/interact/confirm/reservation":37,"./factory/action/interact/inform":38,"./factory/action/interact/register/service":39,"./factory/action/reserve":40,"./factory/action/trade/order":41,"./factory/action/trade/pay":42,"./factory/action/trade/refund":43,"./factory/action/transfer/give/pointAward":44,"./factory/action/transfer/moneyTransfer":45,"./factory/action/transfer/return/moneyTransfer":46,"./factory/action/transfer/return/order":47,"./factory/action/transfer/return/paymentMethod":48,"./factory/action/transfer/return/pointAward":49,"./factory/action/transfer/return/reserveTransaction":50,"./factory/action/transfer/send/message/email":51,"./factory/action/transfer/send/order":52,"./factory/action/update/delete/member":53,"./factory/actionStatusType":23,"./factory/actionType":24,"./factory/assetTransaction/cancelReservation":55,"./factory/assetTransaction/moneyTransfer":56,"./factory/assetTransaction/pay":57,"./factory/assetTransaction/refund":58,"./factory/assetTransaction/registerService":59,"./factory/assetTransaction/reserve":60,"./factory/assetTransactionType":54,"./factory/authorization":61,"./factory/categoryCode":62,"./factory/clientUser":63,"./factory/creativeWork/message/email":65,"./factory/creativeWork/movie":66,"./factory/creativeWork/softwareApplication/webApplication":67,"./factory/creativeWorkType":64,"./factory/customer":68,"./factory/encodingFormat":69,"./factory/errorCode":70,"./factory/errors":82,"./factory/event/screeningEvent":85,"./factory/event/screeningEventSeries":86,"./factory/eventStatusType":83,"./factory/eventType":84,"./factory/iam":87,"./factory/invoice":88,"./factory/itemAvailability":89,"./factory/language":90,"./factory/merchantReturnPolicy":91,"./factory/monetaryAmount":92,"./factory/offer":93,"./factory/offerCatalog":94,"./factory/offerType":95,"./factory/order":96,"./factory/orderStatus":97,"./factory/organization":98,"./factory/organizationType":99,"./factory/ownershipInfo":100,"./factory/paymentMethod/paymentCard/creditCard":101,"./factory/paymentMethod/paymentCard/movieTicket":102,"./factory/paymentStatusType":103,"./factory/permit":104,"./factory/person":105,"./factory/personType":106,"./factory/place/movieTheater":108,"./factory/place/screeningRoom":109,"./factory/place/screeningRoomSection":110,"./factory/place/seat":111,"./factory/placeType":107,"./factory/priceCurrency":112,"./factory/priceSpecificationType":113,"./factory/product":114,"./factory/programMembership":115,"./factory/project":116,"./factory/propertyValue":117,"./factory/qualitativeValue":118,"./factory/quantitativeValue":119,"./factory/report/accountingReport":120,"./factory/reservation/event":123,"./factory/reservationStatusType":121,"./factory/reservationType":122,"./factory/seller":124,"./factory/service/paymentService":126,"./factory/service/webAPI":127,"./factory/serviceType":125,"./factory/sortType":128,"./factory/task/accountMoneyTransfer":131,"./factory/task/aggregateScreeningEvent":132,"./factory/task/aggregateUseActionsOnEvent":133,"./factory/task/cancelAccountMoneyTransfer":134,"./factory/task/cancelMoneyTransfer":135,"./factory/task/cancelPendingReservation":136,"./factory/task/cancelReservation":137,"./factory/task/confirmCancelReserve":138,"./factory/task/deleteAssetTransaction":139,"./factory/task/importEventCapacitiesFromCOA":140,"./factory/task/importEventsFromCOA":141,"./factory/task/importOffersFromCOA":142,"./factory/task/moneyTransfer":143,"./factory/task/orderProgramMembership":144,"./factory/task/pay":145,"./factory/task/refund":146,"./factory/task/registerService":147,"./factory/task/reserve":148,"./factory/task/sendEmailMessage":149,"./factory/task/triggerWebhook":150,"./factory/task/voidPayment":151,"./factory/taskName":129,"./factory/taskStatus":130,"./factory/thing":152,"./factory/transaction/moneyTransfer":156,"./factory/transaction/placeOrder":157,"./factory/transaction/returnOrder":158,"./factory/transactionStatusType":153,"./factory/transactionTasksExportationStatus":154,"./factory/transactionType":155,"./factory/unitCode":159,"@waiter/factory":261}],14:[function(require,module,exports){
1894
1894
  "use strict";
1895
1895
  Object.defineProperty(exports, "__esModule", { value: true });
1896
1896
 
@@ -2372,7 +2372,7 @@ var AlreadyInUseError = /** @class */ (function (_super) {
2372
2372
  }(chevre_1.ChevreError));
2373
2373
  exports.AlreadyInUseError = AlreadyInUseError;
2374
2374
 
2375
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],72:[function(require,module,exports){
2375
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],72:[function(require,module,exports){
2376
2376
  "use strict";
2377
2377
  var __extends = (this && this.__extends) || (function () {
2378
2378
  var extendStatics = function (d, b) {
@@ -2416,7 +2416,7 @@ var ArgumentError = /** @class */ (function (_super) {
2416
2416
  }(chevre_1.ChevreError));
2417
2417
  exports.ArgumentError = ArgumentError;
2418
2418
 
2419
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],73:[function(require,module,exports){
2419
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],73:[function(require,module,exports){
2420
2420
  "use strict";
2421
2421
  var __extends = (this && this.__extends) || (function () {
2422
2422
  var extendStatics = function (d, b) {
@@ -2460,7 +2460,7 @@ var ArgumentNullError = /** @class */ (function (_super) {
2460
2460
  }(chevre_1.ChevreError));
2461
2461
  exports.ArgumentNullError = ArgumentNullError;
2462
2462
 
2463
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],74:[function(require,module,exports){
2463
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],74:[function(require,module,exports){
2464
2464
  "use strict";
2465
2465
  var __extends = (this && this.__extends) || (function () {
2466
2466
  var extendStatics = function (d, b) {
@@ -2499,7 +2499,7 @@ var ChevreError = /** @class */ (function (_super) {
2499
2499
  }(Error));
2500
2500
  exports.ChevreError = ChevreError;
2501
2501
 
2502
- },{"setprototypeof":289}],75:[function(require,module,exports){
2502
+ },{"setprototypeof":290}],75:[function(require,module,exports){
2503
2503
  "use strict";
2504
2504
  var __extends = (this && this.__extends) || (function () {
2505
2505
  var extendStatics = function (d, b) {
@@ -2542,7 +2542,7 @@ var ForbiddenError = /** @class */ (function (_super) {
2542
2542
  }(chevre_1.ChevreError));
2543
2543
  exports.ForbiddenError = ForbiddenError;
2544
2544
 
2545
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],76:[function(require,module,exports){
2545
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],76:[function(require,module,exports){
2546
2546
  "use strict";
2547
2547
  var __extends = (this && this.__extends) || (function () {
2548
2548
  var extendStatics = function (d, b) {
@@ -2585,7 +2585,7 @@ var GatewayTimeoutError = /** @class */ (function (_super) {
2585
2585
  }(chevre_1.ChevreError));
2586
2586
  exports.GatewayTimeoutError = GatewayTimeoutError;
2587
2587
 
2588
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],77:[function(require,module,exports){
2588
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],77:[function(require,module,exports){
2589
2589
  "use strict";
2590
2590
  var __extends = (this && this.__extends) || (function () {
2591
2591
  var extendStatics = function (d, b) {
@@ -2629,7 +2629,7 @@ var NotFoundError = /** @class */ (function (_super) {
2629
2629
  }(chevre_1.ChevreError));
2630
2630
  exports.NotFoundError = NotFoundError;
2631
2631
 
2632
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],78:[function(require,module,exports){
2632
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],78:[function(require,module,exports){
2633
2633
  "use strict";
2634
2634
  var __extends = (this && this.__extends) || (function () {
2635
2635
  var extendStatics = function (d, b) {
@@ -2672,7 +2672,7 @@ var NotImplementedError = /** @class */ (function (_super) {
2672
2672
  }(chevre_1.ChevreError));
2673
2673
  exports.NotImplementedError = NotImplementedError;
2674
2674
 
2675
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],79:[function(require,module,exports){
2675
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],79:[function(require,module,exports){
2676
2676
  "use strict";
2677
2677
  var __extends = (this && this.__extends) || (function () {
2678
2678
  var extendStatics = function (d, b) {
@@ -2715,7 +2715,7 @@ var RateLimitExceededError = /** @class */ (function (_super) {
2715
2715
  }(chevre_1.ChevreError));
2716
2716
  exports.RateLimitExceededError = RateLimitExceededError;
2717
2717
 
2718
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],80:[function(require,module,exports){
2718
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],80:[function(require,module,exports){
2719
2719
  "use strict";
2720
2720
  var __extends = (this && this.__extends) || (function () {
2721
2721
  var extendStatics = function (d, b) {
@@ -2758,7 +2758,7 @@ var ServiceUnavailableError = /** @class */ (function (_super) {
2758
2758
  }(chevre_1.ChevreError));
2759
2759
  exports.ServiceUnavailableError = ServiceUnavailableError;
2760
2760
 
2761
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],81:[function(require,module,exports){
2761
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],81:[function(require,module,exports){
2762
2762
  "use strict";
2763
2763
  var __extends = (this && this.__extends) || (function () {
2764
2764
  var extendStatics = function (d, b) {
@@ -2801,7 +2801,7 @@ var UnauthorizedError = /** @class */ (function (_super) {
2801
2801
  }(chevre_1.ChevreError));
2802
2802
  exports.UnauthorizedError = UnauthorizedError;
2803
2803
 
2804
- },{"../errorCode":70,"./chevre":74,"setprototypeof":289}],82:[function(require,module,exports){
2804
+ },{"../errorCode":70,"./chevre":74,"setprototypeof":290}],82:[function(require,module,exports){
2805
2805
  "use strict";
2806
2806
  Object.defineProperty(exports, "__esModule", { value: true });
2807
2807
  exports.Unauthorized = exports.ServiceUnavailable = exports.RateLimitExceeded = exports.NotImplemented = exports.NotFound = exports.GatewayTimeout = exports.Forbidden = exports.Chevre = exports.ArgumentNull = exports.Argument = exports.AlreadyInUse = void 0;
@@ -3368,11 +3368,11 @@ var TaskName;
3368
3368
  /**
3369
3369
  * 決済
3370
3370
  */
3371
- TaskName["ConfirmPay"] = "confirmPay";
3371
+ // ConfirmPay = 'confirmPay',
3372
3372
  /**
3373
3373
  * 返金
3374
3374
  */
3375
- TaskName["ConfirmRefund"] = "confirmRefund";
3375
+ // ConfirmRefund = 'confirmRefund',
3376
3376
  /**
3377
3377
  * サービス登録
3378
3378
  */
@@ -3736,7 +3736,7 @@ var StubAuthClient = /** @class */ (function () {
3736
3736
  }());
3737
3737
  exports.StubAuthClient = StubAuthClient;
3738
3738
 
3739
- },{"../transporters":241}],162:[function(require,module,exports){
3739
+ },{"../transporters":242}],162:[function(require,module,exports){
3740
3740
  "use strict";
3741
3741
  var __extends = (this && this.__extends) || (function () {
3742
3742
  var extendStatics = function (d, b) {
@@ -3785,6 +3785,7 @@ var offerCatalog_1 = require("./chevre/offerCatalog");
3785
3785
  var order_1 = require("./chevre/order");
3786
3786
  var orderNumber_1 = require("./chevre/orderNumber");
3787
3787
  var ownershipInfo_1 = require("./chevre/ownershipInfo");
3788
+ var payment_1 = require("./chevre/payment");
3788
3789
  var permit_1 = require("./chevre/permit");
3789
3790
  var person_1 = require("./chevre/person");
3790
3791
  var ownershipInfo_2 = require("./chevre/person/ownershipInfo");
@@ -3980,6 +3981,17 @@ var service;
3980
3981
  return OwnershipInfo;
3981
3982
  }(ownershipInfo_1.OwnershipInfoService));
3982
3983
  service.OwnershipInfo = OwnershipInfo;
3984
+ /**
3985
+ * 決済サービス
3986
+ */
3987
+ var Payment = /** @class */ (function (_super) {
3988
+ __extends(Payment, _super);
3989
+ function Payment() {
3990
+ return _super !== null && _super.apply(this, arguments) || this;
3991
+ }
3992
+ return Payment;
3993
+ }(payment_1.PaymentService));
3994
+ service.Payment = Payment;
3983
3995
  /**
3984
3996
  * 許可証サービス
3985
3997
  */
@@ -4270,7 +4282,7 @@ var service;
4270
4282
  service.UserPool = UserPool;
4271
4283
  })(service = exports.service || (exports.service = {}));
4272
4284
 
4273
- },{"./chevre/account":163,"./chevre/accountAction":164,"./chevre/accountTitle":165,"./chevre/accountingReport":166,"./chevre/action":167,"./chevre/assetTransaction":168,"./chevre/assetTransaction/cancelReservation":169,"./chevre/assetTransaction/moneyTransfer":170,"./chevre/assetTransaction/pay":171,"./chevre/assetTransaction/refund":172,"./chevre/assetTransaction/registerService":173,"./chevre/assetTransaction/reserve":174,"./chevre/authorization":175,"./chevre/categoryCode":176,"./chevre/creativeWork":177,"./chevre/customer":178,"./chevre/emailMessage":179,"./chevre/event":180,"./chevre/iam":181,"./chevre/me":182,"./chevre/offer":183,"./chevre/offerCatalog":184,"./chevre/order":185,"./chevre/orderNumber":186,"./chevre/ownershipInfo":187,"./chevre/permit":188,"./chevre/person":189,"./chevre/person/ownershipInfo":190,"./chevre/place":191,"./chevre/priceSpecification":192,"./chevre/product":193,"./chevre/project":194,"./chevre/reservation":195,"./chevre/seller":196,"./chevre/task":197,"./chevre/token":198,"./chevre/transaction/moneyTransfer":200,"./chevre/transaction/placeOrder":201,"./chevre/transaction/returnOrder":203,"./chevre/transactionNumber":199,"./chevre/userPool":204,"./factory":205}],163:[function(require,module,exports){
4285
+ },{"./chevre/account":163,"./chevre/accountAction":164,"./chevre/accountTitle":165,"./chevre/accountingReport":166,"./chevre/action":167,"./chevre/assetTransaction":168,"./chevre/assetTransaction/cancelReservation":169,"./chevre/assetTransaction/moneyTransfer":170,"./chevre/assetTransaction/pay":171,"./chevre/assetTransaction/refund":172,"./chevre/assetTransaction/registerService":173,"./chevre/assetTransaction/reserve":174,"./chevre/authorization":175,"./chevre/categoryCode":176,"./chevre/creativeWork":177,"./chevre/customer":178,"./chevre/emailMessage":179,"./chevre/event":180,"./chevre/iam":181,"./chevre/me":182,"./chevre/offer":183,"./chevre/offerCatalog":184,"./chevre/order":185,"./chevre/orderNumber":186,"./chevre/ownershipInfo":187,"./chevre/payment":188,"./chevre/permit":190,"./chevre/person":191,"./chevre/person/ownershipInfo":192,"./chevre/place":193,"./chevre/priceSpecification":194,"./chevre/product":195,"./chevre/project":196,"./chevre/reservation":197,"./chevre/seller":198,"./chevre/task":199,"./chevre/token":200,"./chevre/transaction/moneyTransfer":202,"./chevre/transaction/placeOrder":203,"./chevre/transaction/returnOrder":205,"./chevre/transactionNumber":201,"./chevre/userPool":206,"./factory":207}],163:[function(require,module,exports){
4274
4286
  "use strict";
4275
4287
  var __extends = (this && this.__extends) || (function () {
4276
4288
  var extendStatics = function (d, b) {
@@ -4514,7 +4526,7 @@ var AccountService = /** @class */ (function (_super) {
4514
4526
  }(service_1.Service));
4515
4527
  exports.AccountService = AccountService;
4516
4528
 
4517
- },{"../service":212,"http-status":275}],164:[function(require,module,exports){
4529
+ },{"../service":214,"http-status":276}],164:[function(require,module,exports){
4518
4530
  "use strict";
4519
4531
  var __extends = (this && this.__extends) || (function () {
4520
4532
  var extendStatics = function (d, b) {
@@ -4611,7 +4623,7 @@ var AccountActionService = /** @class */ (function (_super) {
4611
4623
  }(service_1.Service));
4612
4624
  exports.AccountActionService = AccountActionService;
4613
4625
 
4614
- },{"../service":212,"http-status":275}],165:[function(require,module,exports){
4626
+ },{"../service":214,"http-status":276}],165:[function(require,module,exports){
4615
4627
  "use strict";
4616
4628
  var __extends = (this && this.__extends) || (function () {
4617
4629
  var extendStatics = function (d, b) {
@@ -4948,7 +4960,7 @@ var AccountTitleService = /** @class */ (function (_super) {
4948
4960
  }(service_1.Service));
4949
4961
  exports.AccountTitleService = AccountTitleService;
4950
4962
 
4951
- },{"../factory":205,"../service":212,"http-status":275}],166:[function(require,module,exports){
4963
+ },{"../factory":207,"../service":214,"http-status":276}],166:[function(require,module,exports){
4952
4964
  "use strict";
4953
4965
  var __extends = (this && this.__extends) || (function () {
4954
4966
  var extendStatics = function (d, b) {
@@ -5045,7 +5057,7 @@ var AccountingReportService = /** @class */ (function (_super) {
5045
5057
  }(service_1.Service));
5046
5058
  exports.AccountingReportService = AccountingReportService;
5047
5059
 
5048
- },{"../service":212,"http-status":275}],167:[function(require,module,exports){
5060
+ },{"../service":214,"http-status":276}],167:[function(require,module,exports){
5049
5061
  "use strict";
5050
5062
  var __extends = (this && this.__extends) || (function () {
5051
5063
  var extendStatics = function (d, b) {
@@ -5142,7 +5154,7 @@ var ActionService = /** @class */ (function (_super) {
5142
5154
  }(service_1.Service));
5143
5155
  exports.ActionService = ActionService;
5144
5156
 
5145
- },{"../service":212,"http-status":275}],168:[function(require,module,exports){
5157
+ },{"../service":214,"http-status":276}],168:[function(require,module,exports){
5146
5158
  "use strict";
5147
5159
  var __extends = (this && this.__extends) || (function () {
5148
5160
  var extendStatics = function (d, b) {
@@ -5239,7 +5251,7 @@ var AssetTransactionService = /** @class */ (function (_super) {
5239
5251
  }(service_1.Service));
5240
5252
  exports.AssetTransactionService = AssetTransactionService;
5241
5253
 
5242
- },{"../service":212,"http-status":275}],169:[function(require,module,exports){
5254
+ },{"../service":214,"http-status":276}],169:[function(require,module,exports){
5243
5255
  "use strict";
5244
5256
  var __extends = (this && this.__extends) || (function () {
5245
5257
  var extendStatics = function (d, b) {
@@ -5387,7 +5399,7 @@ var CancelReservationAssetTransactionService = /** @class */ (function (_super)
5387
5399
  }(service_1.Service));
5388
5400
  exports.CancelReservationAssetTransactionService = CancelReservationAssetTransactionService;
5389
5401
 
5390
- },{"../../service":212,"http-status":275}],170:[function(require,module,exports){
5402
+ },{"../../service":214,"http-status":276}],170:[function(require,module,exports){
5391
5403
  "use strict";
5392
5404
  var __extends = (this && this.__extends) || (function () {
5393
5405
  var extendStatics = function (d, b) {
@@ -5520,7 +5532,7 @@ var MoneyTransferAssetTransactionService = /** @class */ (function (_super) {
5520
5532
  }(service_1.Service));
5521
5533
  exports.MoneyTransferAssetTransactionService = MoneyTransferAssetTransactionService;
5522
5534
 
5523
- },{"../../factory":205,"../../service":212,"http-status":275}],171:[function(require,module,exports){
5535
+ },{"../../factory":207,"../../service":214,"http-status":276}],171:[function(require,module,exports){
5524
5536
  "use strict";
5525
5537
  var __extends = (this && this.__extends) || (function () {
5526
5538
  var extendStatics = function (d, b) {
@@ -5733,7 +5745,7 @@ var PayAssetTransactionService = /** @class */ (function (_super) {
5733
5745
  }(service_1.Service));
5734
5746
  exports.PayAssetTransactionService = PayAssetTransactionService;
5735
5747
 
5736
- },{"../../factory":205,"../../service":212,"http-status":275}],172:[function(require,module,exports){
5748
+ },{"../../factory":207,"../../service":214,"http-status":276}],172:[function(require,module,exports){
5737
5749
  "use strict";
5738
5750
  var __extends = (this && this.__extends) || (function () {
5739
5751
  var extendStatics = function (d, b) {
@@ -5866,7 +5878,7 @@ var RefundAssetTransactionService = /** @class */ (function (_super) {
5866
5878
  }(service_1.Service));
5867
5879
  exports.RefundAssetTransactionService = RefundAssetTransactionService;
5868
5880
 
5869
- },{"../../factory":205,"../../service":212,"http-status":275}],173:[function(require,module,exports){
5881
+ },{"../../factory":207,"../../service":214,"http-status":276}],173:[function(require,module,exports){
5870
5882
  "use strict";
5871
5883
  var __extends = (this && this.__extends) || (function () {
5872
5884
  var extendStatics = function (d, b) {
@@ -5999,7 +6011,7 @@ var RegisterServiceAssetTransactionService = /** @class */ (function (_super) {
5999
6011
  }(service_1.Service));
6000
6012
  exports.RegisterServiceAssetTransactionService = RegisterServiceAssetTransactionService;
6001
6013
 
6002
- },{"../../factory":205,"../../service":212,"http-status":275}],174:[function(require,module,exports){
6014
+ },{"../../factory":207,"../../service":214,"http-status":276}],174:[function(require,module,exports){
6003
6015
  "use strict";
6004
6016
  var __extends = (this && this.__extends) || (function () {
6005
6017
  var extendStatics = function (d, b) {
@@ -6149,7 +6161,7 @@ var ReserveAssetTransactionService = /** @class */ (function (_super) {
6149
6161
  }(service_1.Service));
6150
6162
  exports.ReserveAssetTransactionService = ReserveAssetTransactionService;
6151
6163
 
6152
- },{"../../service":212,"http-status":275}],175:[function(require,module,exports){
6164
+ },{"../../service":214,"http-status":276}],175:[function(require,module,exports){
6153
6165
  "use strict";
6154
6166
  var __extends = (this && this.__extends) || (function () {
6155
6167
  var extendStatics = function (d, b) {
@@ -6265,7 +6277,7 @@ var AuthorizationService = /** @class */ (function (_super) {
6265
6277
  }(service_1.Service));
6266
6278
  exports.AuthorizationService = AuthorizationService;
6267
6279
 
6268
- },{"../service":212,"http-status":275}],176:[function(require,module,exports){
6280
+ },{"../service":214,"http-status":276}],176:[function(require,module,exports){
6269
6281
  "use strict";
6270
6282
  var __extends = (this && this.__extends) || (function () {
6271
6283
  var extendStatics = function (d, b) {
@@ -6429,7 +6441,7 @@ var CategoryCodeService = /** @class */ (function (_super) {
6429
6441
  }(service_1.Service));
6430
6442
  exports.CategoryCodeService = CategoryCodeService;
6431
6443
 
6432
- },{"../service":212,"http-status":275}],177:[function(require,module,exports){
6444
+ },{"../service":214,"http-status":276}],177:[function(require,module,exports){
6433
6445
  "use strict";
6434
6446
  var __extends = (this && this.__extends) || (function () {
6435
6447
  var extendStatics = function (d, b) {
@@ -6587,7 +6599,7 @@ var CreativeWorkService = /** @class */ (function (_super) {
6587
6599
  }(service_1.Service));
6588
6600
  exports.CreativeWorkService = CreativeWorkService;
6589
6601
 
6590
- },{"../service":212,"http-status":275}],178:[function(require,module,exports){
6602
+ },{"../service":214,"http-status":276}],178:[function(require,module,exports){
6591
6603
  "use strict";
6592
6604
  var __extends = (this && this.__extends) || (function () {
6593
6605
  var extendStatics = function (d, b) {
@@ -6761,7 +6773,7 @@ var CustomerService = /** @class */ (function (_super) {
6761
6773
  }(service_1.Service));
6762
6774
  exports.CustomerService = CustomerService;
6763
6775
 
6764
- },{"../service":212,"http-status":275}],179:[function(require,module,exports){
6776
+ },{"../service":214,"http-status":276}],179:[function(require,module,exports){
6765
6777
  "use strict";
6766
6778
  var __extends = (this && this.__extends) || (function () {
6767
6779
  var extendStatics = function (d, b) {
@@ -6935,7 +6947,7 @@ var EmailMessageService = /** @class */ (function (_super) {
6935
6947
  }(service_1.Service));
6936
6948
  exports.EmailMessageService = EmailMessageService;
6937
6949
 
6938
- },{"../service":212,"http-status":275}],180:[function(require,module,exports){
6950
+ },{"../service":214,"http-status":276}],180:[function(require,module,exports){
6939
6951
  "use strict";
6940
6952
  var __extends = (this && this.__extends) || (function () {
6941
6953
  var extendStatics = function (d, b) {
@@ -7177,7 +7189,7 @@ var EventService = /** @class */ (function (_super) {
7177
7189
  }(service_1.Service));
7178
7190
  exports.EventService = EventService;
7179
7191
 
7180
- },{"../service":212,"http-status":275}],181:[function(require,module,exports){
7192
+ },{"../service":214,"http-status":276}],181:[function(require,module,exports){
7181
7193
  "use strict";
7182
7194
  var __extends = (this && this.__extends) || (function () {
7183
7195
  var extendStatics = function (d, b) {
@@ -7500,7 +7512,7 @@ var IAMService = /** @class */ (function (_super) {
7500
7512
  }(service_1.Service));
7501
7513
  exports.IAMService = IAMService;
7502
7514
 
7503
- },{"../service":212,"http-status":275}],182:[function(require,module,exports){
7515
+ },{"../service":214,"http-status":276}],182:[function(require,module,exports){
7504
7516
  "use strict";
7505
7517
  var __extends = (this && this.__extends) || (function () {
7506
7518
  var extendStatics = function (d, b) {
@@ -7597,7 +7609,7 @@ var MeService = /** @class */ (function (_super) {
7597
7609
  }(service_1.Service));
7598
7610
  exports.MeService = MeService;
7599
7611
 
7600
- },{"../service":212,"http-status":275}],183:[function(require,module,exports){
7612
+ },{"../service":214,"http-status":276}],183:[function(require,module,exports){
7601
7613
  "use strict";
7602
7614
  var __extends = (this && this.__extends) || (function () {
7603
7615
  var extendStatics = function (d, b) {
@@ -7653,6 +7665,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
7653
7665
  Object.defineProperty(exports, "__esModule", { value: true });
7654
7666
  exports.OfferService = void 0;
7655
7667
  var http_status_1 = require("http-status");
7668
+ var factory = require("../factory");
7656
7669
  var service_1 = require("../service");
7657
7670
  /**
7658
7671
  * オファーサービス
@@ -7763,11 +7776,50 @@ var OfferService = /** @class */ (function (_super) {
7763
7776
  });
7764
7777
  });
7765
7778
  };
7779
+ /**
7780
+ * プロダクトオファー承認
7781
+ */
7782
+ OfferService.prototype.authorizeProduct = function (params) {
7783
+ return __awaiter(this, void 0, void 0, function () {
7784
+ var _this = this;
7785
+ return __generator(this, function (_a) {
7786
+ return [2 /*return*/, this.fetch({
7787
+ uri: "/offers/" + factory.product.ProductType.Product + "/authorize",
7788
+ method: 'POST',
7789
+ expectedStatusCodes: [http_status_1.CREATED],
7790
+ body: params
7791
+ })
7792
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
7793
+ return [2 /*return*/, response.json()];
7794
+ }); }); })];
7795
+ });
7796
+ });
7797
+ };
7798
+ /**
7799
+ * オファー承認取消
7800
+ */
7801
+ OfferService.prototype.voidAuthorization = function (params) {
7802
+ return __awaiter(this, void 0, void 0, function () {
7803
+ return __generator(this, function (_a) {
7804
+ switch (_a.label) {
7805
+ case 0: return [4 /*yield*/, this.fetch({
7806
+ uri: "/offers/" + params.object.itemOffered.typeOf + "/authorize/" + params.id + "/void",
7807
+ method: 'PUT',
7808
+ expectedStatusCodes: [http_status_1.NO_CONTENT],
7809
+ body: params
7810
+ })];
7811
+ case 1:
7812
+ _a.sent();
7813
+ return [2 /*return*/];
7814
+ }
7815
+ });
7816
+ });
7817
+ };
7766
7818
  return OfferService;
7767
7819
  }(service_1.Service));
7768
7820
  exports.OfferService = OfferService;
7769
7821
 
7770
- },{"../service":212,"http-status":275}],184:[function(require,module,exports){
7822
+ },{"../factory":207,"../service":214,"http-status":276}],184:[function(require,module,exports){
7771
7823
  "use strict";
7772
7824
  var __extends = (this && this.__extends) || (function () {
7773
7825
  var extendStatics = function (d, b) {
@@ -7937,7 +7989,7 @@ var OfferCatalogService = /** @class */ (function (_super) {
7937
7989
  }(service_1.Service));
7938
7990
  exports.OfferCatalogService = OfferCatalogService;
7939
7991
 
7940
- },{"../service":212,"http-status":275}],185:[function(require,module,exports){
7992
+ },{"../service":214,"http-status":276}],185:[function(require,module,exports){
7941
7993
  "use strict";
7942
7994
  var __extends = (this && this.__extends) || (function () {
7943
7995
  var extendStatics = function (d, b) {
@@ -8273,7 +8325,7 @@ var OrderService = /** @class */ (function (_super) {
8273
8325
  }(service_1.Service));
8274
8326
  exports.OrderService = OrderService;
8275
8327
 
8276
- },{"../factory":205,"../service":212,"http-status":275}],186:[function(require,module,exports){
8328
+ },{"../factory":207,"../service":214,"http-status":276}],186:[function(require,module,exports){
8277
8329
  "use strict";
8278
8330
  var __extends = (this && this.__extends) || (function () {
8279
8331
  var extendStatics = function (d, b) {
@@ -8361,7 +8413,7 @@ var OrderNumberService = /** @class */ (function (_super) {
8361
8413
  }(service_1.Service));
8362
8414
  exports.OrderNumberService = OrderNumberService;
8363
8415
 
8364
- },{"../service":212,"http-status":275}],187:[function(require,module,exports){
8416
+ },{"../service":214,"http-status":276}],187:[function(require,module,exports){
8365
8417
  "use strict";
8366
8418
  var __extends = (this && this.__extends) || (function () {
8367
8419
  var extendStatics = function (d, b) {
@@ -8474,7 +8526,268 @@ var OwnershipInfoService = /** @class */ (function (_super) {
8474
8526
  }(service_1.Service));
8475
8527
  exports.OwnershipInfoService = OwnershipInfoService;
8476
8528
 
8477
- },{"../service":212,"http-status":275}],188:[function(require,module,exports){
8529
+ },{"../service":214,"http-status":276}],188:[function(require,module,exports){
8530
+ "use strict";
8531
+ var __extends = (this && this.__extends) || (function () {
8532
+ var extendStatics = function (d, b) {
8533
+ extendStatics = Object.setPrototypeOf ||
8534
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8535
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8536
+ return extendStatics(d, b);
8537
+ };
8538
+ return function (d, b) {
8539
+ if (typeof b !== "function" && b !== null)
8540
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
8541
+ extendStatics(d, b);
8542
+ function __() { this.constructor = d; }
8543
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8544
+ };
8545
+ })();
8546
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8547
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
8548
+ return new (P || (P = Promise))(function (resolve, reject) {
8549
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8550
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8551
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8552
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8553
+ });
8554
+ };
8555
+ var __generator = (this && this.__generator) || function (thisArg, body) {
8556
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
8557
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
8558
+ function verb(n) { return function (v) { return step([n, v]); }; }
8559
+ function step(op) {
8560
+ if (f) throw new TypeError("Generator is already executing.");
8561
+ while (_) try {
8562
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
8563
+ if (y = 0, t) op = [op[0] & 2, t.value];
8564
+ switch (op[0]) {
8565
+ case 0: case 1: t = op; break;
8566
+ case 4: _.label++; return { value: op[1], done: false };
8567
+ case 5: _.label++; y = op[1]; op = [0]; continue;
8568
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
8569
+ default:
8570
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
8571
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
8572
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
8573
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
8574
+ if (t[2]) _.ops.pop();
8575
+ _.trys.pop(); continue;
8576
+ }
8577
+ op = body.call(thisArg, _);
8578
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
8579
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
8580
+ }
8581
+ };
8582
+ Object.defineProperty(exports, "__esModule", { value: true });
8583
+ exports.PaymentService = void 0;
8584
+ var http_status_1 = require("http-status");
8585
+ var factory = require("../factory");
8586
+ var service_1 = require("../service");
8587
+ /**
8588
+ * 決済サービス
8589
+ */
8590
+ var PaymentService = /** @class */ (function (_super) {
8591
+ __extends(PaymentService, _super);
8592
+ function PaymentService() {
8593
+ return _super !== null && _super.apply(this, arguments) || this;
8594
+ }
8595
+ /**
8596
+ * 対面決済承認
8597
+ */
8598
+ PaymentService.prototype.authorizeAnyPayment = function (params) {
8599
+ return __awaiter(this, void 0, void 0, function () {
8600
+ var _this = this;
8601
+ return __generator(this, function (_a) {
8602
+ return [2 /*return*/, this.fetch({
8603
+ uri: "/payment/" + factory.service.paymentService.PaymentServiceType.FaceToFace + "/authorize",
8604
+ method: 'POST',
8605
+ expectedStatusCodes: [http_status_1.CREATED],
8606
+ body: params
8607
+ })
8608
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8609
+ return [2 /*return*/, response.json()];
8610
+ }); }); })];
8611
+ });
8612
+ });
8613
+ };
8614
+ /**
8615
+ * クレジットカード決済承認
8616
+ */
8617
+ PaymentService.prototype.authorizeCreditCard = function (params) {
8618
+ return __awaiter(this, void 0, void 0, function () {
8619
+ var _this = this;
8620
+ return __generator(this, function (_a) {
8621
+ return [2 /*return*/, this.fetch({
8622
+ uri: "/payment/" + factory.service.paymentService.PaymentServiceType.CreditCard + "/authorize",
8623
+ method: 'POST',
8624
+ expectedStatusCodes: [http_status_1.CREATED],
8625
+ body: params
8626
+ })
8627
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8628
+ return [2 /*return*/, response.json()];
8629
+ }); }); })];
8630
+ });
8631
+ });
8632
+ };
8633
+ /**
8634
+ * MovieTicket決済承認
8635
+ */
8636
+ PaymentService.prototype.authorizeMovieTicket = function (params) {
8637
+ return __awaiter(this, void 0, void 0, function () {
8638
+ var _this = this;
8639
+ return __generator(this, function (_a) {
8640
+ return [2 /*return*/, this.fetch({
8641
+ uri: "/payment/" + factory.service.paymentService.PaymentServiceType.MovieTicket + "/authorize",
8642
+ method: 'POST',
8643
+ expectedStatusCodes: [http_status_1.CREATED],
8644
+ body: params
8645
+ })
8646
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8647
+ return [2 /*return*/, response.json()];
8648
+ }); }); })];
8649
+ });
8650
+ });
8651
+ };
8652
+ /**
8653
+ * ペイメントカード決済承認
8654
+ */
8655
+ PaymentService.prototype.authorizePaymentCard = function (params) {
8656
+ return __awaiter(this, void 0, void 0, function () {
8657
+ var _this = this;
8658
+ return __generator(this, function (_a) {
8659
+ return [2 /*return*/, this.fetch({
8660
+ uri: "/payment/" + factory.product.ProductType.PaymentCard + "/authorize",
8661
+ method: 'POST',
8662
+ expectedStatusCodes: [http_status_1.CREATED],
8663
+ body: params
8664
+ })
8665
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8666
+ return [2 /*return*/, response.json()];
8667
+ }); }); })];
8668
+ });
8669
+ });
8670
+ };
8671
+ /**
8672
+ * 決済ロケーション発行
8673
+ */
8674
+ PaymentService.prototype.publishCreditCardPaymentUrl = function (params) {
8675
+ return __awaiter(this, void 0, void 0, function () {
8676
+ var _this = this;
8677
+ return __generator(this, function (_a) {
8678
+ return [2 /*return*/, this.fetch({
8679
+ uri: "/payment/" + factory.service.paymentService.PaymentServiceType.CreditCard + "/publishPaymentUrl",
8680
+ method: 'POST',
8681
+ expectedStatusCodes: [http_status_1.OK],
8682
+ body: params
8683
+ })
8684
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8685
+ return [2 /*return*/, response.json()];
8686
+ }); }); })];
8687
+ });
8688
+ });
8689
+ };
8690
+ /**
8691
+ * MovieTicket認証
8692
+ */
8693
+ // public async checkMovieTicket(
8694
+ // params: {
8695
+ // object: {
8696
+ // /**
8697
+ // * 決済サービスID
8698
+ // */
8699
+ // id: string;
8700
+ // paymentMethod: {
8701
+ // /**
8702
+ // * 決済方法区分
8703
+ // */
8704
+ // typeOf: string;
8705
+ // };
8706
+ // movieTickets: factory.action.check.paymentMethod.movieTicket.IMovieTicketResult[];
8707
+ // /**
8708
+ // * 販売者
8709
+ // */
8710
+ // seller: { id: string };
8711
+ // };
8712
+ // }
8713
+ // ): Promise<ICheckMovieTicketResult> {
8714
+ // return this.fetch({
8715
+ // uri: `/payment/${factory.service.paymentService.PaymentServiceType.MovieTicket}/check`,
8716
+ // method: 'POST',
8717
+ // expectedStatusCodes: [OK],
8718
+ // body: params
8719
+ // })
8720
+ // .then(async (response) => response.json());
8721
+ // }
8722
+ /**
8723
+ * ペイメントカード認証
8724
+ */
8725
+ // public async checkPaymentCard(params: {
8726
+ // object: {
8727
+ // typeOf: factory.permit.PermitType.Permit;
8728
+ // identifier: string;
8729
+ // accessCode: string;
8730
+ // /**
8731
+ // * 許可証発行元のプロダクト
8732
+ // */
8733
+ // issuedThrough: { id: string };
8734
+ // };
8735
+ // }): Promise<factory.paymentMethod.paymentCard.IPaymentCard> {
8736
+ // return this.fetch({
8737
+ // uri: `/payment/${factory.product.ProductType.PaymentCard}/check`,
8738
+ // method: 'POST',
8739
+ // expectedStatusCodes: [OK],
8740
+ // body: params
8741
+ // })
8742
+ // .then(async (response) => response.json());
8743
+ // }
8744
+ /**
8745
+ * 対面決済承認取消
8746
+ */
8747
+ PaymentService.prototype.voidAnyPayment = function (params) {
8748
+ return __awaiter(this, void 0, void 0, function () {
8749
+ return __generator(this, function (_a) {
8750
+ switch (_a.label) {
8751
+ case 0: return [4 /*yield*/, this.fetch({
8752
+ uri: "/payment/" + factory.service.paymentService.PaymentServiceType.FaceToFace + "/authorize/" + params.id + "/void",
8753
+ method: 'PUT',
8754
+ expectedStatusCodes: [http_status_1.NO_CONTENT],
8755
+ body: params
8756
+ })];
8757
+ case 1:
8758
+ _a.sent();
8759
+ return [2 /*return*/];
8760
+ }
8761
+ });
8762
+ });
8763
+ };
8764
+ /**
8765
+ * 決済承認取消
8766
+ */
8767
+ PaymentService.prototype.voidTransaction = function (params) {
8768
+ return __awaiter(this, void 0, void 0, function () {
8769
+ return __generator(this, function (_a) {
8770
+ switch (_a.label) {
8771
+ case 0: return [4 /*yield*/, this.fetch({
8772
+ uri: "/payment/" + params.object.typeOf + "/authorize/" + params.id + "/void",
8773
+ method: 'PUT',
8774
+ expectedStatusCodes: [http_status_1.NO_CONTENT],
8775
+ body: params
8776
+ })];
8777
+ case 1:
8778
+ _a.sent();
8779
+ return [2 /*return*/];
8780
+ }
8781
+ });
8782
+ });
8783
+ };
8784
+ return PaymentService;
8785
+ }(service_1.Service));
8786
+ exports.PaymentService = PaymentService;
8787
+
8788
+ },{"../factory":207,"../service":214,"http-status":276}],189:[function(require,module,exports){
8789
+ arguments[4][14][0].apply(exports,arguments)
8790
+ },{"dup":14}],190:[function(require,module,exports){
8478
8791
  "use strict";
8479
8792
  var __extends = (this && this.__extends) || (function () {
8480
8793
  var extendStatics = function (d, b) {
@@ -8630,7 +8943,7 @@ var PermitService = /** @class */ (function (_super) {
8630
8943
  }(service_1.Service));
8631
8944
  exports.PermitService = PermitService;
8632
8945
 
8633
- },{"../service":212,"http-status":275}],189:[function(require,module,exports){
8946
+ },{"../service":214,"http-status":276}],191:[function(require,module,exports){
8634
8947
  "use strict";
8635
8948
  var __extends = (this && this.__extends) || (function () {
8636
8949
  var extendStatics = function (d, b) {
@@ -8866,7 +9179,7 @@ var PersonService = /** @class */ (function (_super) {
8866
9179
  }(service_1.Service));
8867
9180
  exports.PersonService = PersonService;
8868
9181
 
8869
- },{"../service":212,"http-status":275}],190:[function(require,module,exports){
9182
+ },{"../service":214,"http-status":276}],192:[function(require,module,exports){
8870
9183
  "use strict";
8871
9184
  var __extends = (this && this.__extends) || (function () {
8872
9185
  var extendStatics = function (d, b) {
@@ -9105,7 +9418,7 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
9105
9418
  }(service_1.Service));
9106
9419
  exports.PersonOwnershipInfoService = PersonOwnershipInfoService;
9107
9420
 
9108
- },{"../../service":212,"http-status":275}],191:[function(require,module,exports){
9421
+ },{"../../service":214,"http-status":276}],193:[function(require,module,exports){
9109
9422
  "use strict";
9110
9423
  var __extends = (this && this.__extends) || (function () {
9111
9424
  var extendStatics = function (d, b) {
@@ -9540,7 +9853,7 @@ var PlaceService = /** @class */ (function (_super) {
9540
9853
  }(service_1.Service));
9541
9854
  exports.PlaceService = PlaceService;
9542
9855
 
9543
- },{"../factory":205,"../service":212,"http-status":275}],192:[function(require,module,exports){
9856
+ },{"../factory":207,"../service":214,"http-status":276}],194:[function(require,module,exports){
9544
9857
  "use strict";
9545
9858
  var __extends = (this && this.__extends) || (function () {
9546
9859
  var extendStatics = function (d, b) {
@@ -9704,7 +10017,7 @@ var PriceSpecificationService = /** @class */ (function (_super) {
9704
10017
  }(service_1.Service));
9705
10018
  exports.PriceSpecificationService = PriceSpecificationService;
9706
10019
 
9707
- },{"../service":212,"http-status":275}],193:[function(require,module,exports){
10020
+ },{"../service":214,"http-status":276}],195:[function(require,module,exports){
9708
10021
  "use strict";
9709
10022
  var __extends = (this && this.__extends) || (function () {
9710
10023
  var extendStatics = function (d, b) {
@@ -9906,7 +10219,7 @@ var ProductService = /** @class */ (function (_super) {
9906
10219
  }(service_1.Service));
9907
10220
  exports.ProductService = ProductService;
9908
10221
 
9909
- },{"../service":212,"http-status":275}],194:[function(require,module,exports){
10222
+ },{"../service":214,"http-status":276}],196:[function(require,module,exports){
9910
10223
  "use strict";
9911
10224
  var __extends = (this && this.__extends) || (function () {
9912
10225
  var extendStatics = function (d, b) {
@@ -10111,7 +10424,7 @@ var ProjectService = /** @class */ (function (_super) {
10111
10424
  }(service_1.Service));
10112
10425
  exports.ProjectService = ProjectService;
10113
10426
 
10114
- },{"../service":212,"http-status":275}],195:[function(require,module,exports){
10427
+ },{"../service":214,"http-status":276}],197:[function(require,module,exports){
10115
10428
  "use strict";
10116
10429
  var __extends = (this && this.__extends) || (function () {
10117
10430
  var extendStatics = function (d, b) {
@@ -10307,7 +10620,7 @@ var ReservationService = /** @class */ (function (_super) {
10307
10620
  }(service_1.Service));
10308
10621
  exports.ReservationService = ReservationService;
10309
10622
 
10310
- },{"../service":212,"http-status":275}],196:[function(require,module,exports){
10623
+ },{"../service":214,"http-status":276}],198:[function(require,module,exports){
10311
10624
  "use strict";
10312
10625
  var __extends = (this && this.__extends) || (function () {
10313
10626
  var extendStatics = function (d, b) {
@@ -10485,7 +10798,7 @@ var SellerService = /** @class */ (function (_super) {
10485
10798
  }(service_1.Service));
10486
10799
  exports.SellerService = SellerService;
10487
10800
 
10488
- },{"../service":212,"http-status":275}],197:[function(require,module,exports){
10801
+ },{"../service":214,"http-status":276}],199:[function(require,module,exports){
10489
10802
  "use strict";
10490
10803
  var __extends = (this && this.__extends) || (function () {
10491
10804
  var extendStatics = function (d, b) {
@@ -10619,7 +10932,7 @@ var TaskService = /** @class */ (function (_super) {
10619
10932
  }(service_1.Service));
10620
10933
  exports.TaskService = TaskService;
10621
10934
 
10622
- },{"../service":212,"http-status":275}],198:[function(require,module,exports){
10935
+ },{"../service":214,"http-status":276}],200:[function(require,module,exports){
10623
10936
  "use strict";
10624
10937
  var __extends = (this && this.__extends) || (function () {
10625
10938
  var extendStatics = function (d, b) {
@@ -10707,7 +11020,7 @@ var TokenService = /** @class */ (function (_super) {
10707
11020
  }(service_1.Service));
10708
11021
  exports.TokenService = TokenService;
10709
11022
 
10710
- },{"../service":212,"http-status":275}],199:[function(require,module,exports){
11023
+ },{"../service":214,"http-status":276}],201:[function(require,module,exports){
10711
11024
  "use strict";
10712
11025
  var __extends = (this && this.__extends) || (function () {
10713
11026
  var extendStatics = function (d, b) {
@@ -10795,7 +11108,7 @@ var TransactionNumberService = /** @class */ (function (_super) {
10795
11108
  }(service_1.Service));
10796
11109
  exports.TransactionNumberService = TransactionNumberService;
10797
11110
 
10798
- },{"../service":212,"http-status":275}],200:[function(require,module,exports){
11111
+ },{"../service":214,"http-status":276}],202:[function(require,module,exports){
10799
11112
  "use strict";
10800
11113
  var __extends = (this && this.__extends) || (function () {
10801
11114
  var extendStatics = function (d, b) {
@@ -10914,7 +11227,7 @@ var MoneyTransferTransactionService = /** @class */ (function (_super) {
10914
11227
  }(service_1.Service));
10915
11228
  exports.MoneyTransferTransactionService = MoneyTransferTransactionService;
10916
11229
 
10917
- },{"../../factory":205,"../../service":212,"http-status":275}],201:[function(require,module,exports){
11230
+ },{"../../factory":207,"../../service":214,"http-status":276}],203:[function(require,module,exports){
10918
11231
  "use strict";
10919
11232
  var __extends = (this && this.__extends) || (function () {
10920
11233
  var extendStatics = function (d, b) {
@@ -11168,9 +11481,9 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
11168
11481
  }(service_1.Service));
11169
11482
  exports.PlaceOrderTransactionService = PlaceOrderTransactionService;
11170
11483
 
11171
- },{"../../factory":205,"../../service":212,"http-status":275}],202:[function(require,module,exports){
11484
+ },{"../../factory":207,"../../service":214,"http-status":276}],204:[function(require,module,exports){
11172
11485
  arguments[4][14][0].apply(exports,arguments)
11173
- },{"dup":14}],203:[function(require,module,exports){
11486
+ },{"dup":14}],205:[function(require,module,exports){
11174
11487
  "use strict";
11175
11488
  var __extends = (this && this.__extends) || (function () {
11176
11489
  var extendStatics = function (d, b) {
@@ -11329,7 +11642,7 @@ var ReturnOrderTransactionService = /** @class */ (function (_super) {
11329
11642
  }(service_1.Service));
11330
11643
  exports.ReturnOrderTransactionService = ReturnOrderTransactionService;
11331
11644
 
11332
- },{"../../factory":205,"../../service":212,"http-status":275}],204:[function(require,module,exports){
11645
+ },{"../../factory":207,"../../service":214,"http-status":276}],206:[function(require,module,exports){
11333
11646
  "use strict";
11334
11647
  var __extends = (this && this.__extends) || (function () {
11335
11648
  var extendStatics = function (d, b) {
@@ -11462,7 +11775,7 @@ var UserPoolService = /** @class */ (function (_super) {
11462
11775
  }(service_1.Service));
11463
11776
  exports.UserPoolService = UserPoolService;
11464
11777
 
11465
- },{"../service":212,"http-status":275}],205:[function(require,module,exports){
11778
+ },{"../service":214,"http-status":276}],207:[function(require,module,exports){
11466
11779
  "use strict";
11467
11780
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11468
11781
  if (k2 === undefined) k2 = k;
@@ -11480,7 +11793,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
11480
11793
  */
11481
11794
  __exportStar(require("@chevre/factory"), exports);
11482
11795
 
11483
- },{"@chevre/factory":160}],206:[function(require,module,exports){
11796
+ },{"@chevre/factory":160}],208:[function(require,module,exports){
11484
11797
  "use strict";
11485
11798
  var __extends = (this && this.__extends) || (function () {
11486
11799
  var extendStatics = function (d, b) {
@@ -11508,8 +11821,8 @@ var factory = require("./factory");
11508
11821
  var pecorino = require("./pecorino");
11509
11822
  var ServiceFactory = require("./service");
11510
11823
  var authClient_1 = require("./auth/authClient");
11824
+ var PaymentServiceFactory = require("./chevre/payment/factory");
11511
11825
  var OrderServiceFactory = require("./service/order/factory");
11512
- var PaymentServiceFactory = require("./service/payment/factory");
11513
11826
  var ReservationServiceFactory = require("./service/reservation/factory");
11514
11827
  var PlaceOrderTransactionServiceFactory = require("./chevre/transaction/placeOrder/factory");
11515
11828
  var account_1 = require("./service/account");
@@ -11919,7 +12232,7 @@ var service;
11919
12232
  service.txn = transaction;
11920
12233
  })(service = exports.service || (exports.service = {}));
11921
12234
 
11922
- },{"./auth/authClient":161,"./chevre":162,"./chevre/transaction/placeOrder/factory":202,"./factory":205,"./pecorino":207,"./service":212,"./service/account":213,"./service/categoryCode":214,"./service/creativeWork":215,"./service/customer":216,"./service/delivery":217,"./service/emailMessage":218,"./service/event":219,"./service/iam":220,"./service/offer":221,"./service/order":222,"./service/order/factory":223,"./service/ownershipInfo":224,"./service/payment":225,"./service/payment/factory":226,"./service/permit":227,"./service/person":228,"./service/person/ownershipInfo":229,"./service/place":230,"./service/product":231,"./service/project":232,"./service/reservation":233,"./service/reservation/factory":234,"./service/seller":235,"./service/token":236,"./service/transaction/moneyTransfer":237,"./service/transaction/placeOrder":238,"./service/transaction/placeOrder4sskts":239,"./service/transaction/returnOrder":240,"./transporters":241}],207:[function(require,module,exports){
12235
+ },{"./auth/authClient":161,"./chevre":162,"./chevre/payment/factory":189,"./chevre/transaction/placeOrder/factory":204,"./factory":207,"./pecorino":209,"./service":214,"./service/account":215,"./service/categoryCode":216,"./service/creativeWork":217,"./service/customer":218,"./service/delivery":219,"./service/emailMessage":220,"./service/event":221,"./service/iam":222,"./service/offer":223,"./service/order":224,"./service/order/factory":225,"./service/ownershipInfo":226,"./service/payment":227,"./service/permit":228,"./service/person":229,"./service/person/ownershipInfo":230,"./service/place":231,"./service/product":232,"./service/project":233,"./service/reservation":234,"./service/reservation/factory":235,"./service/seller":236,"./service/token":237,"./service/transaction/moneyTransfer":238,"./service/transaction/placeOrder":239,"./service/transaction/placeOrder4sskts":240,"./service/transaction/returnOrder":241,"./transporters":242}],209:[function(require,module,exports){
11923
12236
  "use strict";
11924
12237
  var __extends = (this && this.__extends) || (function () {
11925
12238
  var extendStatics = function (d, b) {
@@ -11999,7 +12312,7 @@ var service;
11999
12312
  })(transaction = service.transaction || (service.transaction = {}));
12000
12313
  })(service = exports.service || (exports.service = {}));
12001
12314
 
12002
- },{"./factory":205,"./pecorino/permit":208,"./pecorino/transaction/deposit":209,"./pecorino/transaction/transfer":210,"./pecorino/transaction/withdraw":211}],208:[function(require,module,exports){
12315
+ },{"./factory":207,"./pecorino/permit":210,"./pecorino/transaction/deposit":211,"./pecorino/transaction/transfer":212,"./pecorino/transaction/withdraw":213}],210:[function(require,module,exports){
12003
12316
  "use strict";
12004
12317
  var __extends = (this && this.__extends) || (function () {
12005
12318
  var extendStatics = function (d, b) {
@@ -12108,7 +12421,7 @@ var PermitService = /** @class */ (function (_super) {
12108
12421
  }(service_1.Service));
12109
12422
  exports.PermitService = PermitService;
12110
12423
 
12111
- },{"../service":212,"http-status":275}],209:[function(require,module,exports){
12424
+ },{"../service":214,"http-status":276}],211:[function(require,module,exports){
12112
12425
  "use strict";
12113
12426
  var __extends = (this && this.__extends) || (function () {
12114
12427
  var extendStatics = function (d, b) {
@@ -12241,7 +12554,7 @@ var DepositTransactionService = /** @class */ (function (_super) {
12241
12554
  }(service_1.Service));
12242
12555
  exports.DepositTransactionService = DepositTransactionService;
12243
12556
 
12244
- },{"../../service":212,"@chevre/factory":160,"http-status":275}],210:[function(require,module,exports){
12557
+ },{"../../service":214,"@chevre/factory":160,"http-status":276}],212:[function(require,module,exports){
12245
12558
  "use strict";
12246
12559
  var __extends = (this && this.__extends) || (function () {
12247
12560
  var extendStatics = function (d, b) {
@@ -12374,7 +12687,7 @@ var TransferTransactionService = /** @class */ (function (_super) {
12374
12687
  }(service_1.Service));
12375
12688
  exports.TransferTransactionService = TransferTransactionService;
12376
12689
 
12377
- },{"../../service":212,"@chevre/factory":160,"http-status":275}],211:[function(require,module,exports){
12690
+ },{"../../service":214,"@chevre/factory":160,"http-status":276}],213:[function(require,module,exports){
12378
12691
  "use strict";
12379
12692
  var __extends = (this && this.__extends) || (function () {
12380
12693
  var extendStatics = function (d, b) {
@@ -12507,7 +12820,7 @@ var WithdrawTransactionService = /** @class */ (function (_super) {
12507
12820
  }(service_1.Service));
12508
12821
  exports.WithdrawTransactionService = WithdrawTransactionService;
12509
12822
 
12510
- },{"../../service":212,"@chevre/factory":160,"http-status":275}],212:[function(require,module,exports){
12823
+ },{"../../service":214,"@chevre/factory":160,"http-status":276}],214:[function(require,module,exports){
12511
12824
  "use strict";
12512
12825
  var __assign = (this && this.__assign) || function () {
12513
12826
  __assign = Object.assign || function(t) {
@@ -12614,7 +12927,7 @@ var Service = /** @class */ (function () {
12614
12927
  }());
12615
12928
  exports.Service = Service;
12616
12929
 
12617
- },{"./transporters":241,"qs":243}],213:[function(require,module,exports){
12930
+ },{"./transporters":242,"qs":244}],215:[function(require,module,exports){
12618
12931
  "use strict";
12619
12932
  var __extends = (this && this.__extends) || (function () {
12620
12933
  var extendStatics = function (d, b) {
@@ -12723,7 +13036,7 @@ var AccountService = /** @class */ (function (_super) {
12723
13036
  }(service_1.Service));
12724
13037
  exports.AccountService = AccountService;
12725
13038
 
12726
- },{"../service":212,"http-status":275}],214:[function(require,module,exports){
13039
+ },{"../service":214,"http-status":276}],216:[function(require,module,exports){
12727
13040
  "use strict";
12728
13041
  var __extends = (this && this.__extends) || (function () {
12729
13042
  var extendStatics = function (d, b) {
@@ -12820,7 +13133,7 @@ var CategoryCodeService = /** @class */ (function (_super) {
12820
13133
  }(service_1.Service));
12821
13134
  exports.CategoryCodeService = CategoryCodeService;
12822
13135
 
12823
- },{"../service":212,"http-status":275}],215:[function(require,module,exports){
13136
+ },{"../service":214,"http-status":276}],217:[function(require,module,exports){
12824
13137
  "use strict";
12825
13138
  var __extends = (this && this.__extends) || (function () {
12826
13139
  var extendStatics = function (d, b) {
@@ -12917,7 +13230,7 @@ var CreativeWorkService = /** @class */ (function (_super) {
12917
13230
  }(service_1.Service));
12918
13231
  exports.CreativeWorkService = CreativeWorkService;
12919
13232
 
12920
- },{"../service":212,"http-status":275}],216:[function(require,module,exports){
13233
+ },{"../service":214,"http-status":276}],218:[function(require,module,exports){
12921
13234
  "use strict";
12922
13235
  var __extends = (this && this.__extends) || (function () {
12923
13236
  var extendStatics = function (d, b) {
@@ -13032,7 +13345,7 @@ var CustomerService = /** @class */ (function (_super) {
13032
13345
  }(service_1.Service));
13033
13346
  exports.CustomerService = CustomerService;
13034
13347
 
13035
- },{"../service":212,"http-status":275}],217:[function(require,module,exports){
13348
+ },{"../service":214,"http-status":276}],219:[function(require,module,exports){
13036
13349
  "use strict";
13037
13350
  var __extends = (this && this.__extends) || (function () {
13038
13351
  var extendStatics = function (d, b) {
@@ -13124,7 +13437,7 @@ var DeliveryService = /** @class */ (function (_super) {
13124
13437
  }(service_1.Service));
13125
13438
  exports.DeliveryService = DeliveryService;
13126
13439
 
13127
- },{"../service":212,"http-status":275}],218:[function(require,module,exports){
13440
+ },{"../service":214,"http-status":276}],220:[function(require,module,exports){
13128
13441
  "use strict";
13129
13442
  var __extends = (this && this.__extends) || (function () {
13130
13443
  var extendStatics = function (d, b) {
@@ -13221,7 +13534,7 @@ var EmailMessageService = /** @class */ (function (_super) {
13221
13534
  }(service_1.Service));
13222
13535
  exports.EmailMessageService = EmailMessageService;
13223
13536
 
13224
- },{"../service":212,"http-status":275}],219:[function(require,module,exports){
13537
+ },{"../service":214,"http-status":276}],221:[function(require,module,exports){
13225
13538
  "use strict";
13226
13539
  var __extends = (this && this.__extends) || (function () {
13227
13540
  var extendStatics = function (d, b) {
@@ -13422,7 +13735,7 @@ var EventService = /** @class */ (function (_super) {
13422
13735
  }(service_1.Service));
13423
13736
  exports.EventService = EventService;
13424
13737
 
13425
- },{"../service":212,"http-status":275}],220:[function(require,module,exports){
13738
+ },{"../service":214,"http-status":276}],222:[function(require,module,exports){
13426
13739
  "use strict";
13427
13740
  var __extends = (this && this.__extends) || (function () {
13428
13741
  var extendStatics = function (d, b) {
@@ -13519,7 +13832,7 @@ var IAMService = /** @class */ (function (_super) {
13519
13832
  }(service_1.Service));
13520
13833
  exports.IAMService = IAMService;
13521
13834
 
13522
- },{"../service":212,"http-status":275}],221:[function(require,module,exports){
13835
+ },{"../service":214,"http-status":276}],223:[function(require,module,exports){
13523
13836
  "use strict";
13524
13837
  var __extends = (this && this.__extends) || (function () {
13525
13838
  var extendStatics = function (d, b) {
@@ -13676,7 +13989,7 @@ var OfferService = /** @class */ (function (_super) {
13676
13989
  }(service_1.Service));
13677
13990
  exports.OfferService = OfferService;
13678
13991
 
13679
- },{"../service":212,"http-status":275}],222:[function(require,module,exports){
13992
+ },{"../service":214,"http-status":276}],224:[function(require,module,exports){
13680
13993
  "use strict";
13681
13994
  var __extends = (this && this.__extends) || (function () {
13682
13995
  var extendStatics = function (d, b) {
@@ -13948,9 +14261,9 @@ var OrderService = /** @class */ (function (_super) {
13948
14261
  }(service_1.Service));
13949
14262
  exports.OrderService = OrderService;
13950
14263
 
13951
- },{"../service":212,"http-status":275}],223:[function(require,module,exports){
14264
+ },{"../service":214,"http-status":276}],225:[function(require,module,exports){
13952
14265
  arguments[4][14][0].apply(exports,arguments)
13953
- },{"dup":14}],224:[function(require,module,exports){
14266
+ },{"dup":14}],226:[function(require,module,exports){
13954
14267
  "use strict";
13955
14268
  var __extends = (this && this.__extends) || (function () {
13956
14269
  var extendStatics = function (d, b) {
@@ -14089,7 +14402,7 @@ var OwnershipInfoService = /** @class */ (function (_super) {
14089
14402
  }(service_1.Service));
14090
14403
  exports.OwnershipInfoService = OwnershipInfoService;
14091
14404
 
14092
- },{"../service":212,"http-status":275}],225:[function(require,module,exports){
14405
+ },{"../service":214,"http-status":276}],227:[function(require,module,exports){
14093
14406
  "use strict";
14094
14407
  var __extends = (this && this.__extends) || (function () {
14095
14408
  var extendStatics = function (d, b) {
@@ -14334,9 +14647,7 @@ var PaymentService = /** @class */ (function (_super) {
14334
14647
  }(service_1.Service));
14335
14648
  exports.PaymentService = PaymentService;
14336
14649
 
14337
- },{"../factory":205,"../service":212,"http-status":275}],226:[function(require,module,exports){
14338
- arguments[4][14][0].apply(exports,arguments)
14339
- },{"dup":14}],227:[function(require,module,exports){
14650
+ },{"../factory":207,"../service":214,"http-status":276}],228:[function(require,module,exports){
14340
14651
  "use strict";
14341
14652
  var __extends = (this && this.__extends) || (function () {
14342
14653
  var extendStatics = function (d, b) {
@@ -14462,9 +14773,9 @@ var PermitService = /** @class */ (function (_super) {
14462
14773
  }(service_1.Service));
14463
14774
  exports.PermitService = PermitService;
14464
14775
 
14465
- },{"../service":212,"http-status":275}],228:[function(require,module,exports){
14466
- arguments[4][189][0].apply(exports,arguments)
14467
- },{"../service":212,"dup":189,"http-status":275}],229:[function(require,module,exports){
14776
+ },{"../service":214,"http-status":276}],229:[function(require,module,exports){
14777
+ arguments[4][191][0].apply(exports,arguments)
14778
+ },{"../service":214,"dup":191,"http-status":276}],230:[function(require,module,exports){
14468
14779
  "use strict";
14469
14780
  var __extends = (this && this.__extends) || (function () {
14470
14781
  var extendStatics = function (d, b) {
@@ -14838,7 +15149,7 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
14838
15149
  }(service_1.Service));
14839
15150
  exports.PersonOwnershipInfoService = PersonOwnershipInfoService;
14840
15151
 
14841
- },{"../../factory":205,"../../service":212,"http-status":275}],230:[function(require,module,exports){
15152
+ },{"../../factory":207,"../../service":214,"http-status":276}],231:[function(require,module,exports){
14842
15153
  "use strict";
14843
15154
  var __extends = (this && this.__extends) || (function () {
14844
15155
  var extendStatics = function (d, b) {
@@ -14992,7 +15303,7 @@ var PlaceService = /** @class */ (function (_super) {
14992
15303
  }(service_1.Service));
14993
15304
  exports.PlaceService = PlaceService;
14994
15305
 
14995
- },{"../factory":205,"../service":212,"http-status":275}],231:[function(require,module,exports){
15306
+ },{"../factory":207,"../service":214,"http-status":276}],232:[function(require,module,exports){
14996
15307
  "use strict";
14997
15308
  var __extends = (this && this.__extends) || (function () {
14998
15309
  var extendStatics = function (d, b) {
@@ -15114,7 +15425,7 @@ var ProductService = /** @class */ (function (_super) {
15114
15425
  }(service_1.Service));
15115
15426
  exports.ProductService = ProductService;
15116
15427
 
15117
- },{"../service":212,"http-status":275}],232:[function(require,module,exports){
15428
+ },{"../service":214,"http-status":276}],233:[function(require,module,exports){
15118
15429
  "use strict";
15119
15430
  var __extends = (this && this.__extends) || (function () {
15120
15431
  var extendStatics = function (d, b) {
@@ -15279,7 +15590,7 @@ var ProjectService = /** @class */ (function (_super) {
15279
15590
  }(service_1.Service));
15280
15591
  exports.ProjectService = ProjectService;
15281
15592
 
15282
- },{"../service":212,"http-status":275}],233:[function(require,module,exports){
15593
+ },{"../service":214,"http-status":276}],234:[function(require,module,exports){
15283
15594
  "use strict";
15284
15595
  var __extends = (this && this.__extends) || (function () {
15285
15596
  var extendStatics = function (d, b) {
@@ -15463,9 +15774,9 @@ var ReservationService = /** @class */ (function (_super) {
15463
15774
  }(service_1.Service));
15464
15775
  exports.ReservationService = ReservationService;
15465
15776
 
15466
- },{"../service":212,"http-status":275}],234:[function(require,module,exports){
15777
+ },{"../service":214,"http-status":276}],235:[function(require,module,exports){
15467
15778
  arguments[4][14][0].apply(exports,arguments)
15468
- },{"dup":14}],235:[function(require,module,exports){
15779
+ },{"dup":14}],236:[function(require,module,exports){
15469
15780
  "use strict";
15470
15781
  var __extends = (this && this.__extends) || (function () {
15471
15782
  var extendStatics = function (d, b) {
@@ -15580,9 +15891,9 @@ var SellerService = /** @class */ (function (_super) {
15580
15891
  }(service_1.Service));
15581
15892
  exports.SellerService = SellerService;
15582
15893
 
15583
- },{"../service":212,"http-status":275}],236:[function(require,module,exports){
15584
- arguments[4][198][0].apply(exports,arguments)
15585
- },{"../service":212,"dup":198,"http-status":275}],237:[function(require,module,exports){
15894
+ },{"../service":214,"http-status":276}],237:[function(require,module,exports){
15895
+ arguments[4][200][0].apply(exports,arguments)
15896
+ },{"../service":214,"dup":200,"http-status":276}],238:[function(require,module,exports){
15586
15897
  "use strict";
15587
15898
  var __extends = (this && this.__extends) || (function () {
15588
15899
  var extendStatics = function (d, b) {
@@ -15732,7 +16043,7 @@ var MoneyTransferTransactionService = /** @class */ (function (_super) {
15732
16043
  }(service_1.Service));
15733
16044
  exports.MoneyTransferTransactionService = MoneyTransferTransactionService;
15734
16045
 
15735
- },{"../../factory":205,"../../service":212,"http-status":275}],238:[function(require,module,exports){
16046
+ },{"../../factory":207,"../../service":214,"http-status":276}],239:[function(require,module,exports){
15736
16047
  "use strict";
15737
16048
  var __extends = (this && this.__extends) || (function () {
15738
16049
  var extendStatics = function (d, b) {
@@ -15990,7 +16301,7 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
15990
16301
  }(service_1.Service));
15991
16302
  exports.PlaceOrderTransactionService = PlaceOrderTransactionService;
15992
16303
 
15993
- },{"../../factory":205,"../../service":212,"http-status":275}],239:[function(require,module,exports){
16304
+ },{"../../factory":207,"../../service":214,"http-status":276}],240:[function(require,module,exports){
15994
16305
  "use strict";
15995
16306
  var __extends = (this && this.__extends) || (function () {
15996
16307
  var extendStatics = function (d, b) {
@@ -16123,7 +16434,7 @@ var PlaceOrderTransaction4ssktsService = /** @class */ (function (_super) {
16123
16434
  }(placeOrder_1.PlaceOrderTransactionService));
16124
16435
  exports.PlaceOrderTransaction4ssktsService = PlaceOrderTransaction4ssktsService;
16125
16436
 
16126
- },{"./placeOrder":238,"http-status":275}],240:[function(require,module,exports){
16437
+ },{"./placeOrder":239,"http-status":276}],241:[function(require,module,exports){
16127
16438
  "use strict";
16128
16439
  var __extends = (this && this.__extends) || (function () {
16129
16440
  var extendStatics = function (d, b) {
@@ -16254,7 +16565,7 @@ var ReturnOrderTransactionService = /** @class */ (function (_super) {
16254
16565
  }(service_1.Service));
16255
16566
  exports.ReturnOrderTransactionService = ReturnOrderTransactionService;
16256
16567
 
16257
- },{"../../factory":205,"../../service":212,"http-status":275}],241:[function(require,module,exports){
16568
+ },{"../../factory":207,"../../service":214,"http-status":276}],242:[function(require,module,exports){
16258
16569
  "use strict";
16259
16570
  var __extends = (this && this.__extends) || (function () {
16260
16571
  var extendStatics = function (d, b) {
@@ -16451,7 +16762,7 @@ var StubTransporter = /** @class */ (function () {
16451
16762
  }());
16452
16763
  exports.StubTransporter = StubTransporter;
16453
16764
 
16454
- },{"debug":267,"isomorphic-fetch":278}],242:[function(require,module,exports){
16765
+ },{"debug":268,"isomorphic-fetch":279}],243:[function(require,module,exports){
16455
16766
  'use strict';
16456
16767
 
16457
16768
  var replace = String.prototype.replace;
@@ -16476,7 +16787,7 @@ module.exports = {
16476
16787
  RFC3986: Format.RFC3986
16477
16788
  };
16478
16789
 
16479
- },{}],243:[function(require,module,exports){
16790
+ },{}],244:[function(require,module,exports){
16480
16791
  'use strict';
16481
16792
 
16482
16793
  var stringify = require('./stringify');
@@ -16489,7 +16800,7 @@ module.exports = {
16489
16800
  stringify: stringify
16490
16801
  };
16491
16802
 
16492
- },{"./formats":242,"./parse":244,"./stringify":245}],244:[function(require,module,exports){
16803
+ },{"./formats":243,"./parse":245,"./stringify":246}],245:[function(require,module,exports){
16493
16804
  'use strict';
16494
16805
 
16495
16806
  var utils = require('./utils');
@@ -16754,7 +17065,7 @@ module.exports = function (str, opts) {
16754
17065
  return utils.compact(obj);
16755
17066
  };
16756
17067
 
16757
- },{"./utils":246}],245:[function(require,module,exports){
17068
+ },{"./utils":247}],246:[function(require,module,exports){
16758
17069
  'use strict';
16759
17070
 
16760
17071
  var getSideChannel = require('side-channel');
@@ -16819,6 +17130,7 @@ var stringify = function stringify(
16819
17130
  object,
16820
17131
  prefix,
16821
17132
  generateArrayPrefix,
17133
+ commaRoundTrip,
16822
17134
  strictNullHandling,
16823
17135
  skipNulls,
16824
17136
  encoder,
@@ -16883,7 +17195,7 @@ var stringify = function stringify(
16883
17195
  for (var i = 0; i < valuesArray.length; ++i) {
16884
17196
  valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
16885
17197
  }
16886
- return [formatter(keyValue) + (isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
17198
+ return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
16887
17199
  }
16888
17200
  return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
16889
17201
  }
@@ -16907,7 +17219,7 @@ var stringify = function stringify(
16907
17219
  objKeys = sort ? keys.sort(sort) : keys;
16908
17220
  }
16909
17221
 
16910
- var adjustedPrefix = generateArrayPrefix === 'comma' && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
17222
+ var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
16911
17223
 
16912
17224
  for (var j = 0; j < objKeys.length; ++j) {
16913
17225
  var key = objKeys[j];
@@ -16928,6 +17240,7 @@ var stringify = function stringify(
16928
17240
  value,
16929
17241
  keyPrefix,
16930
17242
  generateArrayPrefix,
17243
+ commaRoundTrip,
16931
17244
  strictNullHandling,
16932
17245
  skipNulls,
16933
17246
  encoder,
@@ -17024,6 +17337,10 @@ module.exports = function (object, opts) {
17024
17337
  }
17025
17338
 
17026
17339
  var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
17340
+ if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
17341
+ throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
17342
+ }
17343
+ var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
17027
17344
 
17028
17345
  if (!objKeys) {
17029
17346
  objKeys = Object.keys(obj);
@@ -17044,6 +17361,7 @@ module.exports = function (object, opts) {
17044
17361
  obj[key],
17045
17362
  key,
17046
17363
  generateArrayPrefix,
17364
+ commaRoundTrip,
17047
17365
  options.strictNullHandling,
17048
17366
  options.skipNulls,
17049
17367
  options.encode ? options.encoder : null,
@@ -17075,7 +17393,7 @@ module.exports = function (object, opts) {
17075
17393
  return joined.length > 0 ? prefix + joined : '';
17076
17394
  };
17077
17395
 
17078
- },{"./formats":242,"./utils":246,"side-channel":290}],246:[function(require,module,exports){
17396
+ },{"./formats":243,"./utils":247,"side-channel":291}],247:[function(require,module,exports){
17079
17397
  'use strict';
17080
17398
 
17081
17399
  var formats = require('./formats');
@@ -17329,9 +17647,9 @@ module.exports = {
17329
17647
  merge: merge
17330
17648
  };
17331
17649
 
17332
- },{"./formats":242}],247:[function(require,module,exports){
17650
+ },{"./formats":243}],248:[function(require,module,exports){
17333
17651
  arguments[4][14][0].apply(exports,arguments)
17334
- },{"dup":14}],248:[function(require,module,exports){
17652
+ },{"dup":14}],249:[function(require,module,exports){
17335
17653
  "use strict";
17336
17654
  Object.defineProperty(exports, "__esModule", { value: true });
17337
17655
  /**
@@ -17350,7 +17668,7 @@ var ErrorCode;
17350
17668
  })(ErrorCode || (ErrorCode = {}));
17351
17669
  exports.default = ErrorCode;
17352
17670
 
17353
- },{}],249:[function(require,module,exports){
17671
+ },{}],250:[function(require,module,exports){
17354
17672
  "use strict";
17355
17673
  var __extends = (this && this.__extends) || (function () {
17356
17674
  var extendStatics = function (d, b) {
@@ -17391,7 +17709,7 @@ var ArgumentError = /** @class */ (function (_super) {
17391
17709
  }(waiter_1.WaiterError));
17392
17710
  exports.default = ArgumentError;
17393
17711
 
17394
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],250:[function(require,module,exports){
17712
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],251:[function(require,module,exports){
17395
17713
  "use strict";
17396
17714
  var __extends = (this && this.__extends) || (function () {
17397
17715
  var extendStatics = function (d, b) {
@@ -17432,7 +17750,7 @@ var ArgumentNullError = /** @class */ (function (_super) {
17432
17750
  }(waiter_1.WaiterError));
17433
17751
  exports.default = ArgumentNullError;
17434
17752
 
17435
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],251:[function(require,module,exports){
17753
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],252:[function(require,module,exports){
17436
17754
  "use strict";
17437
17755
  var __extends = (this && this.__extends) || (function () {
17438
17756
  var extendStatics = function (d, b) {
@@ -17472,7 +17790,7 @@ var ForbiddenError = /** @class */ (function (_super) {
17472
17790
  }(waiter_1.WaiterError));
17473
17791
  exports.default = ForbiddenError;
17474
17792
 
17475
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],252:[function(require,module,exports){
17793
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],253:[function(require,module,exports){
17476
17794
  "use strict";
17477
17795
  var __extends = (this && this.__extends) || (function () {
17478
17796
  var extendStatics = function (d, b) {
@@ -17513,7 +17831,7 @@ var NotFoundError = /** @class */ (function (_super) {
17513
17831
  }(waiter_1.WaiterError));
17514
17832
  exports.default = NotFoundError;
17515
17833
 
17516
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],253:[function(require,module,exports){
17834
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],254:[function(require,module,exports){
17517
17835
  "use strict";
17518
17836
  var __extends = (this && this.__extends) || (function () {
17519
17837
  var extendStatics = function (d, b) {
@@ -17553,7 +17871,7 @@ var RateLimitExceededError = /** @class */ (function (_super) {
17553
17871
  }(waiter_1.WaiterError));
17554
17872
  exports.default = RateLimitExceededError;
17555
17873
 
17556
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],254:[function(require,module,exports){
17874
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],255:[function(require,module,exports){
17557
17875
  "use strict";
17558
17876
  var __extends = (this && this.__extends) || (function () {
17559
17877
  var extendStatics = function (d, b) {
@@ -17593,7 +17911,7 @@ var ServiceUnavailableError = /** @class */ (function (_super) {
17593
17911
  }(waiter_1.WaiterError));
17594
17912
  exports.default = ServiceUnavailableError;
17595
17913
 
17596
- },{"../errorCode":248,"./waiter":255,"setprototypeof":289}],255:[function(require,module,exports){
17914
+ },{"../errorCode":249,"./waiter":256,"setprototypeof":290}],256:[function(require,module,exports){
17597
17915
  "use strict";
17598
17916
  var __extends = (this && this.__extends) || (function () {
17599
17917
  var extendStatics = function (d, b) {
@@ -17626,7 +17944,7 @@ var WaiterError = /** @class */ (function (_super) {
17626
17944
  }(Error));
17627
17945
  exports.WaiterError = WaiterError;
17628
17946
 
17629
- },{}],256:[function(require,module,exports){
17947
+ },{}],257:[function(require,module,exports){
17630
17948
  "use strict";
17631
17949
  Object.defineProperty(exports, "__esModule", { value: true });
17632
17950
  /**
@@ -17647,13 +17965,13 @@ exports.ServiceUnavailable = serviceUnavailable_1.default;
17647
17965
  var waiter_1 = require("./error/waiter");
17648
17966
  exports.Waiter = waiter_1.WaiterError;
17649
17967
 
17650
- },{"./error/argument":249,"./error/argumentNull":250,"./error/forbidden":251,"./error/notFound":252,"./error/rateLimitExceeded":253,"./error/serviceUnavailable":254,"./error/waiter":255}],257:[function(require,module,exports){
17651
- arguments[4][14][0].apply(exports,arguments)
17652
- },{"dup":14}],258:[function(require,module,exports){
17968
+ },{"./error/argument":250,"./error/argumentNull":251,"./error/forbidden":252,"./error/notFound":253,"./error/rateLimitExceeded":254,"./error/serviceUnavailable":255,"./error/waiter":256}],258:[function(require,module,exports){
17653
17969
  arguments[4][14][0].apply(exports,arguments)
17654
17970
  },{"dup":14}],259:[function(require,module,exports){
17655
17971
  arguments[4][14][0].apply(exports,arguments)
17656
17972
  },{"dup":14}],260:[function(require,module,exports){
17973
+ arguments[4][14][0].apply(exports,arguments)
17974
+ },{"dup":14}],261:[function(require,module,exports){
17657
17975
  "use strict";
17658
17976
  Object.defineProperty(exports, "__esModule", { value: true });
17659
17977
  /**
@@ -17672,7 +17990,7 @@ exports.passport = passport;
17672
17990
  exports.project = project;
17673
17991
  exports.rule = rule;
17674
17992
 
17675
- },{"./factory/client":247,"./factory/errorCode":248,"./factory/errors":256,"./factory/passport":257,"./factory/project":258,"./factory/rule":259}],261:[function(require,module,exports){
17993
+ },{"./factory/client":248,"./factory/errorCode":249,"./factory/errors":257,"./factory/passport":258,"./factory/project":259,"./factory/rule":260}],262:[function(require,module,exports){
17676
17994
  'use strict'
17677
17995
 
17678
17996
  exports.byteLength = byteLength
@@ -17826,9 +18144,9 @@ function fromByteArray (uint8) {
17826
18144
  return parts.join('')
17827
18145
  }
17828
18146
 
17829
- },{}],262:[function(require,module,exports){
17830
-
17831
18147
  },{}],263:[function(require,module,exports){
18148
+
18149
+ },{}],264:[function(require,module,exports){
17832
18150
  (function (Buffer){
17833
18151
  /*!
17834
18152
  * The buffer module from node.js, for the browser.
@@ -19609,7 +19927,7 @@ function numberIsNaN (obj) {
19609
19927
  }
19610
19928
 
19611
19929
  }).call(this,require("buffer").Buffer)
19612
- },{"base64-js":261,"buffer":263,"ieee754":277}],264:[function(require,module,exports){
19930
+ },{"base64-js":262,"buffer":264,"ieee754":278}],265:[function(require,module,exports){
19613
19931
  'use strict';
19614
19932
 
19615
19933
  var GetIntrinsic = require('get-intrinsic');
@@ -19626,7 +19944,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
19626
19944
  return intrinsic;
19627
19945
  };
19628
19946
 
19629
- },{"./":265,"get-intrinsic":271}],265:[function(require,module,exports){
19947
+ },{"./":266,"get-intrinsic":272}],266:[function(require,module,exports){
19630
19948
  'use strict';
19631
19949
 
19632
19950
  var bind = require('function-bind');
@@ -19675,7 +19993,7 @@ if ($defineProperty) {
19675
19993
  module.exports.apply = applyBind;
19676
19994
  }
19677
19995
 
19678
- },{"function-bind":270,"get-intrinsic":271}],266:[function(require,module,exports){
19996
+ },{"function-bind":271,"get-intrinsic":272}],267:[function(require,module,exports){
19679
19997
  /**
19680
19998
  * Helpers.
19681
19999
  */
@@ -19839,7 +20157,7 @@ function plural(ms, msAbs, n, name) {
19839
20157
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
19840
20158
  }
19841
20159
 
19842
- },{}],267:[function(require,module,exports){
20160
+ },{}],268:[function(require,module,exports){
19843
20161
  (function (process){
19844
20162
  "use strict";
19845
20163
 
@@ -20023,7 +20341,7 @@ formatters.j = function (v) {
20023
20341
 
20024
20342
 
20025
20343
  }).call(this,require('_process'))
20026
- },{"./common":268,"_process":280}],268:[function(require,module,exports){
20344
+ },{"./common":269,"_process":281}],269:[function(require,module,exports){
20027
20345
  "use strict";
20028
20346
 
20029
20347
  /**
@@ -20274,7 +20592,7 @@ function setup(env) {
20274
20592
  module.exports = setup;
20275
20593
 
20276
20594
 
20277
- },{"ms":266}],269:[function(require,module,exports){
20595
+ },{"ms":267}],270:[function(require,module,exports){
20278
20596
  'use strict';
20279
20597
 
20280
20598
  /* eslint no-invalid-this: 1 */
@@ -20328,14 +20646,14 @@ module.exports = function bind(that) {
20328
20646
  return bound;
20329
20647
  };
20330
20648
 
20331
- },{}],270:[function(require,module,exports){
20649
+ },{}],271:[function(require,module,exports){
20332
20650
  'use strict';
20333
20651
 
20334
20652
  var implementation = require('./implementation');
20335
20653
 
20336
20654
  module.exports = Function.prototype.bind || implementation;
20337
20655
 
20338
- },{"./implementation":269}],271:[function(require,module,exports){
20656
+ },{"./implementation":270}],272:[function(require,module,exports){
20339
20657
  'use strict';
20340
20658
 
20341
20659
  var undefined;
@@ -20667,7 +20985,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
20667
20985
  return value;
20668
20986
  };
20669
20987
 
20670
- },{"function-bind":270,"has":274,"has-symbols":272}],272:[function(require,module,exports){
20988
+ },{"function-bind":271,"has":275,"has-symbols":273}],273:[function(require,module,exports){
20671
20989
  'use strict';
20672
20990
 
20673
20991
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
@@ -20682,7 +21000,7 @@ module.exports = function hasNativeSymbols() {
20682
21000
  return hasSymbolSham();
20683
21001
  };
20684
21002
 
20685
- },{"./shams":273}],273:[function(require,module,exports){
21003
+ },{"./shams":274}],274:[function(require,module,exports){
20686
21004
  'use strict';
20687
21005
 
20688
21006
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
@@ -20726,14 +21044,14 @@ module.exports = function hasSymbols() {
20726
21044
  return true;
20727
21045
  };
20728
21046
 
20729
- },{}],274:[function(require,module,exports){
21047
+ },{}],275:[function(require,module,exports){
20730
21048
  'use strict';
20731
21049
 
20732
21050
  var bind = require('function-bind');
20733
21051
 
20734
21052
  module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
20735
21053
 
20736
- },{"function-bind":270}],275:[function(require,module,exports){
21054
+ },{"function-bind":271}],276:[function(require,module,exports){
20737
21055
  // Generated by CoffeeScript 2.3.0
20738
21056
  // # node-http-status
20739
21057
 
@@ -21358,13 +21676,13 @@ module.exports = {
21358
21676
  }
21359
21677
  };
21360
21678
 
21361
- },{}],276:[function(require,module,exports){
21679
+ },{}],277:[function(require,module,exports){
21362
21680
  (function (process,global){
21363
21681
  var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=e(function(t,e){var r;t.exports=r=r||function(t,e){var r=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),i={},n=i.lib={},o=n.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=n.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var e=this.words,r=t.words,i=this.sigBytes,n=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o<n;o++)e[i+o>>>2]|=(r[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(o=0;o<n;o+=4)e[i+o>>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var r,i=[],n=function(e){e=e;var r=987654321,i=4294967295;return function(){var n=((r=36969*(65535&r)+(r>>16)&i)<<16)+(e=18e3*(65535&e)+(e>>16)&i)&i;return n/=4294967296,(n+=.5)*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var h=n(4294967296*(r||t.random()));r=987654071*h(),i.push(4294967296*h()|0)}return new s.init(i,e)}}),h=i.enc={},a=h.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n++){var o=e[n>>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i+=2)r[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new s.init(r,e/2)}},u=h.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n<r;n++)i.push(String.fromCharCode(e[n>>>2]>>>24-n%4*8&255));return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new s.init(r,e)}},f=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},c=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r=this._data,i=r.words,n=r.sigBytes,o=this.blockSize,h=n/(4*o),a=(h=e?t.ceil(h):t.max((0|h)-this._minBufferSize,0))*o,u=t.min(4*a,n);if(a){for(var f=0;f<a;f+=o)this._doProcessBlock(i,f);var c=i.splice(0,a);r.sigBytes-=u}return new s.init(c,u)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p=(n.Hasher=c.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){c.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new p.HMAC.init(t,r).finalize(e)}}}),i.algo={});return i}(Math)}),i=e(function(t,e){var i;t.exports=(i=r,function(t){var e=i,r=e.lib,n=r.WordArray,o=r.Hasher,s=e.algo,h=[],a=[];!function(){function e(e){for(var r=t.sqrt(e),i=2;i<=r;i++)if(!(e%i))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var i=2,n=0;n<64;)e(i)&&(n<8&&(h[n]=r(t.pow(i,.5))),a[n]=r(t.pow(i,1/3)),n++),i++}();var u=[],f=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(h.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],h=r[4],f=r[5],c=r[6],p=r[7],l=0;l<64;l++){if(l<16)u[l]=0|t[e+l];else{var d=u[l-15],m=u[l-2];u[l]=((d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3)+u[l-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+u[l-16]}var v=i&n^i&o^n&o,y=p+((h<<26|h>>>6)^(h<<21|h>>>11)^(h<<7|h>>>25))+(h&f^~h&c)+a[l]+u[l];p=c,c=f,f=h,h=s+y|0,s=o,o=n,n=i,i=y+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+v)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+h|0,r[5]=r[5]+f|0,r[6]=r[6]+c|0,r[7]=r[7]+p|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(i/4294967296),r[15+(n+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(f),e.HmacSHA256=o._createHmacHelper(f)}(Math),i.SHA256)}),n=e(function(t,e){var i,n;t.exports=(n=(i=r).lib.WordArray,i.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,i=this._map;t.clamp();for(var n=[],o=0;o<r;o+=3)for(var s=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,h=0;h<4&&o+.75*h<r;h++)n.push(i.charAt(s>>>6*(3-h)&63));var a=i.charAt(64);if(a)for(;n.length%4;)n.push(a);return n.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var h=t.indexOf(s);-1!==h&&(e=h)}return function(t,e,r){for(var i=[],o=0,s=0;s<e;s++)if(s%4){var h=r[t.charCodeAt(s-1)]<<s%4*2,a=r[t.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(h|a)<<24-o%4*8,o++}return n.create(i,o)}(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)}),o=e(function(t,e){t.exports=r.enc.Hex}),s=e(function(e,r){(function(){var t;function r(t,e,r){null!=t&&("number"==typeof t?this.fromNumber(t,e,r):this.fromString(t,null==e&&"string"!=typeof t?256:e))}function i(){return new r(null)}var n="undefined"!=typeof navigator;n&&"Microsoft Internet Explorer"==navigator.appName?(r.prototype.am=function(t,e,r,i,n,o){for(var s=32767&e,h=e>>15;--o>=0;){var a=32767&this[t],u=this[t++]>>15,f=h*a+u*s;n=((a=s*a+((32767&f)<<15)+r[i]+(1073741823&n))>>>30)+(f>>>15)+h*u+(n>>>30),r[i++]=1073741823&a}return n},t=30):n&&"Netscape"!=navigator.appName?(r.prototype.am=function(t,e,r,i,n,o){for(;--o>=0;){var s=e*this[t++]+r[i]+n;n=Math.floor(s/67108864),r[i++]=67108863&s}return n},t=26):(r.prototype.am=function(t,e,r,i,n,o){for(var s=16383&e,h=e>>14;--o>=0;){var a=16383&this[t],u=this[t++]>>14,f=h*a+u*s;n=((a=s*a+((16383&f)<<14)+r[i]+n)>>28)+(f>>14)+h*u,r[i++]=268435455&a}return n},t=28),r.prototype.DB=t,r.prototype.DM=(1<<t)-1,r.prototype.DV=1<<t,r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-t,r.prototype.F2=2*t-52;var o,s,h="0123456789abcdefghijklmnopqrstuvwxyz",a=new Array;for(o="0".charCodeAt(0),s=0;s<=9;++s)a[o++]=s;for(o="a".charCodeAt(0),s=10;s<36;++s)a[o++]=s;for(o="A".charCodeAt(0),s=10;s<36;++s)a[o++]=s;function u(t){return h.charAt(t)}function f(t,e){var r=a[t.charCodeAt(e)];return null==r?-1:r}function c(t){var e=i();return e.fromInt(t),e}function p(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function l(t){this.m=t}function d(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function m(t,e){return t&e}function v(t,e){return t|e}function y(t,e){return t^e}function g(t,e){return t&~e}function w(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function T(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function b(){}function _(t){return t}function A(t){this.r2=i(),this.q3=i(),r.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}l.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},l.prototype.revert=function(t){return t},l.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},l.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},l.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},d.prototype.convert=function(t){var e=i();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(r.ZERO)>0&&this.m.subTo(e,e),e},d.prototype.revert=function(t){var e=i();return t.copyTo(e),this.reduce(e),e},d.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],i=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},d.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},d.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},r.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},r.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},r.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var n=t.length,o=!1,s=0;--n>=0;){var h=8==i?255&t[n]:f(t,n);h<0?"-"==t.charAt(n)&&(o=!0):(o=!1,0==s?this[this.t++]=h:s+i>this.DB?(this[this.t-1]|=(h&(1<<this.DB-s)-1)<<s,this[this.t++]=h>>this.DB-s):this[this.t-1]|=h<<s,(s+=i)>=this.DB&&(s-=this.DB))}8==i&&0!=(128&t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&r.ZERO.subTo(this,this)},r.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},r.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},r.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},r.prototype.lShiftTo=function(t,e){var r,i=t%this.DB,n=this.DB-i,o=(1<<n)-1,s=Math.floor(t/this.DB),h=this.s<<i&this.DM;for(r=this.t-1;r>=0;--r)e[r+s+1]=this[r]>>n|h,h=(this[r]&o)<<i;for(r=s-1;r>=0;--r)e[r]=0;e[s]=h,e.t=this.t+s+1,e.s=this.s,e.clamp()},r.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var i=t%this.DB,n=this.DB-i,o=(1<<i)-1;e[0]=this[r]>>i;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&o)<<n,e[s-r]=this[s]>>i;i>0&&(e[this.t-r-1]|=(this.s&o)<<n),e.t=this.t-r,e.clamp()}},r.prototype.subTo=function(t,e){for(var r=0,i=0,n=Math.min(t.t,this.t);r<n;)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp()},r.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),o=i.t;for(e.t=o+n.t;--o>=0;)e[o]=0;for(o=0;o<n.t;++o)e[o+i.t]=i.am(0,n[o],e,o,0,i.t);e.s=0,e.clamp(),this.s!=t.s&&r.ZERO.subTo(e,e)},r.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},r.prototype.divRemTo=function(t,e,n){var o=t.abs();if(!(o.t<=0)){var s=this.abs();if(s.t<o.t)return null!=e&&e.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=i());var h=i(),a=this.s,u=t.s,f=this.DB-p(o[o.t-1]);f>0?(o.lShiftTo(f,h),s.lShiftTo(f,n)):(o.copyTo(h),s.copyTo(n));var c=h.t,l=h[c-1];if(0!=l){var d=l*(1<<this.F1)+(c>1?h[c-2]>>this.F2:0),m=this.FV/d,v=(1<<this.F1)/d,y=1<<this.F2,g=n.t,w=g-c,T=null==e?i():e;for(h.dlShiftTo(w,T),n.compareTo(T)>=0&&(n[n.t++]=1,n.subTo(T,n)),r.ONE.dlShiftTo(c,T),T.subTo(h,h);h.t<c;)h[h.t++]=0;for(;--w>=0;){var b=n[--g]==l?this.DM:Math.floor(n[g]*m+(n[g-1]+y)*v);if((n[g]+=h.am(0,b,n,w,0,c))<b)for(h.dlShiftTo(w,T),n.subTo(T,n);n[g]<--b;)n.subTo(T,n)}null!=e&&(n.drShiftTo(c,e),a!=u&&r.ZERO.subTo(e,e)),n.t=c,n.clamp(),f>0&&n.rShiftTo(f,n),a<0&&r.ZERO.subTo(n,n)}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(t,e){if(t>4294967295||t<1)return r.ONE;var n=i(),o=i(),s=e.convert(this),h=p(t)-1;for(s.copyTo(n);--h>=0;)if(e.sqrTo(n,o),(t&1<<h)>0)e.mulTo(o,s,n);else{var a=n;n=o,o=a}return e.revert(n)},r.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,i=(1<<e)-1,n=!1,o="",s=this.t,h=this.DB-s*this.DB%e;if(s-- >0)for(h<this.DB&&(r=this[s]>>h)>0&&(n=!0,o=u(r));s>=0;)h<e?(r=(this[s]&(1<<h)-1)<<e-h,r|=this[--s]>>(h+=this.DB-e)):(r=this[s]>>(h-=e)&i,h<=0&&(h+=this.DB,--s)),r>0&&(n=!0),n&&(o+=u(r));return n?o:"0"},r.prototype.negate=function(){var t=i();return r.ZERO.subTo(this,t),t},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+p(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(t){var e=i();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(r.ZERO)>0&&t.subTo(e,e),e},r.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new l(e):new d(e),this.exp(t,r)},r.ZERO=c(0),r.ONE=c(1),b.prototype.convert=_,b.prototype.revert=_,b.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},b.prototype.sqrTo=function(t,e){t.squareTo(e)},A.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=i();return t.copyTo(e),this.reduce(e),e},A.prototype.revert=function(t){return t},A.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},A.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},A.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var S,D,B,x=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],k=(1<<26)/x[x.length-1];function E(){var t;t=(new Date).getTime(),D[B++]^=255&t,D[B++]^=t>>8&255,D[B++]^=t>>16&255,D[B++]^=t>>24&255,B>=N&&(B-=N)}if(r.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},r.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),n=c(r),o=i(),s=i(),h="";for(this.divRemTo(n,o,s);o.signum()>0;)h=(r+s.intValue()).toString(t).substr(1)+h,o.divRemTo(n,o,s);return s.intValue().toString(t)+h},r.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),o=!1,s=0,h=0,a=0;a<t.length;++a){var u=f(t,a);u<0?"-"==t.charAt(a)&&0==this.signum()&&(o=!0):(h=e*h+u,++s>=i&&(this.dMultiply(n),this.dAddOffset(h,0),s=0,h=0))}s>0&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(h,0)),o&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(r.ONE.shiftLeft(t-1),v,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(r.ONE.shiftLeft(t-1),this);else{var n=new Array,o=7&t;n.length=1+(t>>3),e.nextBytes(n),o>0?n[0]&=(1<<o)-1:n[0]=0,this.fromString(n,256)}},r.prototype.bitwiseTo=function(t,e,r){var i,n,o=Math.min(t.t,this.t);for(i=0;i<o;++i)r[i]=e(this[i],t[i]);if(t.t<this.t){for(n=t.s&this.DM,i=o;i<this.t;++i)r[i]=e(this[i],n);r.t=this.t}else{for(n=this.s&this.DM,i=o;i<t.t;++i)r[i]=e(n,t[i]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},r.prototype.changeBit=function(t,e){var i=r.ONE.shiftLeft(t);return this.bitwiseTo(i,e,i),i},r.prototype.addTo=function(t,e){for(var r=0,i=0,n=Math.min(t.t,this.t);r<n;)i+=this[r]+t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i+=t[r],e[r++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[r++]=i:i<-1&&(e[r++]=this.DV+i),e.t=r,e.clamp()},r.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},r.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},r.prototype.multiplyLowerTo=function(t,e,r){var i,n=Math.min(this.t+t.t,e);for(r.s=0,r.t=n;n>0;)r[--n]=0;for(i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,t[n],r,n,0,this.t);for(i=Math.min(t.t,e);n<i;++n)this.am(0,t[n],r,n,0,e-n);r.clamp()},r.prototype.multiplyUpperTo=function(t,e,r){var i=r.t=this.t+t.t- --e;for(r.s=0;--i>=0;)r[i]=0;for(i=Math.max(e-this.t,0);i<t.t;++i)r[this.t+i-e]=this.am(e-i,t[i],r,0,0,this.t+i-e);r.clamp(),r.drShiftTo(1,r)},r.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(0==e)r=this[0]%t;else for(var i=this.t-1;i>=0;--i)r=(e*r+this[i])%t;return r},r.prototype.millerRabin=function(t){var e=this.subtract(r.ONE),n=e.getLowestSetBit();if(n<=0)return!1;var o=e.shiftRight(n);(t=t+1>>1)>x.length&&(t=x.length);for(var s=i(),h=0;h<t;++h){s.fromInt(x[Math.floor(Math.random()*x.length)]);var a=s.modPow(o,this);if(0!=a.compareTo(r.ONE)&&0!=a.compareTo(e)){for(var u=1;u++<n&&0!=a.compareTo(e);)if(0==(a=a.modPowInt(2,this)).compareTo(r.ONE))return!1;if(0!=a.compareTo(e))return!1}}return!0},r.prototype.clone=function(){var t=i();return this.copyTo(t),t},r.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},r.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var r,i=this.DB-t*this.DB%8,n=0;if(t-- >0)for(i<this.DB&&(r=this[t]>>i)!=(this.s&this.DM)>>i&&(e[n++]=r|this.s<<this.DB-i);t>=0;)i<8?(r=(this[t]&(1<<i)-1)<<8-i,r|=this[--t]>>(i+=this.DB-8)):(r=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==n&&(128&this.s)!=(128&r)&&++n,(n>0||r!=this.s)&&(e[n++]=r);return e},r.prototype.equals=function(t){return 0==this.compareTo(t)},r.prototype.min=function(t){return this.compareTo(t)<0?this:t},r.prototype.max=function(t){return this.compareTo(t)>0?this:t},r.prototype.and=function(t){var e=i();return this.bitwiseTo(t,m,e),e},r.prototype.or=function(t){var e=i();return this.bitwiseTo(t,v,e),e},r.prototype.xor=function(t){var e=i();return this.bitwiseTo(t,y,e),e},r.prototype.andNot=function(t){var e=i();return this.bitwiseTo(t,g,e),e},r.prototype.not=function(){for(var t=i(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},r.prototype.shiftLeft=function(t){var e=i();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},r.prototype.shiftRight=function(t){var e=i();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},r.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+w(this[t]);return this.s<0?this.t*this.DB:-1},r.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=T(this[r]^e);return t},r.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},r.prototype.setBit=function(t){return this.changeBit(t,v)},r.prototype.clearBit=function(t){return this.changeBit(t,g)},r.prototype.flipBit=function(t){return this.changeBit(t,y)},r.prototype.add=function(t){var e=i();return this.addTo(t,e),e},r.prototype.subtract=function(t){var e=i();return this.subTo(t,e),e},r.prototype.multiply=function(t){var e=i();return this.multiplyTo(t,e),e},r.prototype.divide=function(t){var e=i();return this.divRemTo(t,e,null),e},r.prototype.remainder=function(t){var e=i();return this.divRemTo(t,null,e),e},r.prototype.divideAndRemainder=function(t){var e=i(),r=i();return this.divRemTo(t,e,r),new Array(e,r)},r.prototype.modPow=function(t,e){var r,n,o=t.bitLength(),s=c(1);if(o<=0)return s;r=o<18?1:o<48?3:o<144?4:o<768?5:6,n=o<8?new l(e):e.isEven()?new A(e):new d(e);var h=new Array,a=3,u=r-1,f=(1<<r)-1;if(h[1]=n.convert(this),r>1){var m=i();for(n.sqrTo(h[1],m);a<=f;)h[a]=i(),n.mulTo(m,h[a-2],h[a]),a+=2}var v,y,g=t.t-1,w=!0,T=i();for(o=p(t[g])-1;g>=0;){for(o>=u?v=t[g]>>o-u&f:(v=(t[g]&(1<<o+1)-1)<<u-o,g>0&&(v|=t[g-1]>>this.DB+o-u)),a=r;0==(1&v);)v>>=1,--a;if((o-=a)<0&&(o+=this.DB,--g),w)h[v].copyTo(s),w=!1;else{for(;a>1;)n.sqrTo(s,T),n.sqrTo(T,s),a-=2;a>0?n.sqrTo(s,T):(y=s,s=T,T=y),n.mulTo(T,h[v],s)}for(;g>=0&&0==(t[g]&1<<o);)n.sqrTo(s,T),y=s,s=T,T=y,--o<0&&(o=this.DB-1,--g)}return n.revert(s)},r.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return r.ZERO;for(var i=t.clone(),n=this.clone(),o=c(1),s=c(0),h=c(0),a=c(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),e?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(t,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),e?(h.isEven()&&a.isEven()||(h.addTo(this,h),a.subTo(t,a)),h.rShiftTo(1,h)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);i.compareTo(n)>=0?(i.subTo(n,i),e&&o.subTo(h,o),s.subTo(a,s)):(n.subTo(i,n),e&&h.subTo(o,h),a.subTo(s,a))}return 0!=n.compareTo(r.ONE)?r.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},r.prototype.pow=function(t){return this.exp(t,new b)},r.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var i=e;e=r,r=i}var n=e.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return e;for(n<o&&(o=n),o>0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(n=e.getLowestSetBit())>0&&e.rShiftTo(n,e),(n=r.getLowestSetBit())>0&&r.rShiftTo(n,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},r.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=x[x.length-1]){for(e=0;e<x.length;++e)if(r[0]==x[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<x.length;){for(var i=x[e],n=e+1;n<x.length&&i<k;)i*=x[n++];for(i=r.modInt(i);e<n;)if(i%x[e++]==0)return!1}return r.millerRabin(t)},r.prototype.square=function(){var t=i();return this.squareTo(t),t},r.prototype.Barrett=A,null==D){var M;if(D=new Array,B=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var I=new Uint8Array(32);for(window.crypto.getRandomValues(I),M=0;M<32;++M)D[B++]=I[M]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var C=window.crypto.random(32);for(M=0;M<C.length;++M)D[B++]=255&C.charCodeAt(M)}for(;B<N;)M=Math.floor(65536*Math.random()),D[B++]=M>>>8,D[B++]=255&M;B=0,E()}function R(){if(null==S){for(E(),(S=new O).init(D),B=0;B<D.length;++B)D[B]=0;B=0}return S.next()}function j(){}function O(){this.i=0,this.j=0,this.S=new Array}j.prototype.nextBytes=function(t){var e;for(e=0;e<t.length;++e)t[e]=R()},O.prototype.init=function(t){var e,r,i;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)i=this.S[e],this.S[e]=this.S[r=r+this.S[e]+t[e%t.length]&255],this.S[r]=i;this.i=0,this.j=0},O.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var N=256;e.exports={default:r,BigInteger:r,SecureRandom:j}}).call(t)}).BigInteger,h={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},a={sha256:i};function u(t,e){if(this.n=null,this.e=0,!(null!=t&&null!=e&&t.length>0&&e.length>0))throw new Error("Invalid key data");this.n=new s(t,16),this.e=parseInt(e,16)}u.prototype.verify=function(t,e){e=e.replace(/[^0-9a-f]|[\s\n]]/gi,"");var r=new s(e,16);if(r.bitLength()>this.n.bitLength())throw new Error("Signature does not match with the key modulus.");var i=function(t){for(var e in h){var r=h[e],i=r.length;if(t.substring(0,i)===r)return{alg:e,hash:t.substring(i)}}return[]}(r.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,""));if(0===i.length)return!1;if(!a.hasOwnProperty(i.alg))throw new Error("Hashing algorithm is not supported.");var n=a[i.alg](t).toString();return i.hash===n};for(var f=[],c=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,m=l.length;d<m;++d)f[d]=l[d],c[l.charCodeAt(d)]=d;function v(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function y(t,e,r){for(var i,n=[],o=e;o<r;o+=3)n.push(f[(i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+f[i>>12&63]+f[i>>6&63]+f[63&i]);return n.join("")}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63;var g={byteLength:function(t){var e=v(t),r=e[1];return 3*(e[0]+r)/4-r},toByteArray:function(t){var e,r,i=v(t),n=i[0],o=i[1],s=new p(function(t,e,r){return 3*(e+r)/4-r}(0,n,o)),h=0,a=o>0?n-4:n;for(r=0;r<a;r+=4)e=c[t.charCodeAt(r)]<<18|c[t.charCodeAt(r+1)]<<12|c[t.charCodeAt(r+2)]<<6|c[t.charCodeAt(r+3)],s[h++]=e>>16&255,s[h++]=e>>8&255,s[h++]=255&e;return 2===o&&(e=c[t.charCodeAt(r)]<<2|c[t.charCodeAt(r+1)]>>4,s[h++]=255&e),1===o&&(e=c[t.charCodeAt(r)]<<10|c[t.charCodeAt(r+1)]<<4|c[t.charCodeAt(r+2)]>>2,s[h++]=e>>8&255,s[h++]=255&e),s},fromByteArray:function(t){for(var e,r=t.length,i=r%3,n=[],o=0,s=r-i;o<s;o+=16383)n.push(y(t,o,o+16383>s?s:o+16383));return 1===i?n.push(f[(e=t[r-1])>>2]+f[e<<4&63]+"=="):2===i&&n.push(f[(e=(t[r-2]<<8)+t[r-1])>>10]+f[e>>4&63]+f[e<<2&63]+"="),n.join("")}};function w(t){var e=t.length%4;return 0===e?t:t+new Array(4-e+1).join("=")}function T(t){return t=w(t).replace(/\-/g,"+").replace(/_/g,"/"),decodeURIComponent(function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}(g.toByteArray(t)).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function b(t){return function(t){for(var e="",r=0;r<t.length;r++){var i=t[r].toString(16);e+=2===i.length?i:"0"+i}return e}(g.toByteArray(w(t)))}var _=e(function(e,r){e.exports=function(){function e(t){return"function"==typeof t}var r=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,n=void 0,o=void 0,s=function(t,e){l[i]=t,l[i+1]=e,2===(i+=2)&&(o?o(d):w())},h="undefined"!=typeof window?window:void 0,a=h||{},u=a.MutationObserver||a.WebKitMutationObserver,f="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),c="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var t=setTimeout;return function(){return t(d,1)}}var l=new Array(1e3);function d(){for(var t=0;t<i;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;i=0}var m,v,y,g,w=void 0;function T(t,e){var r=this,i=new this.constructor(A);void 0===i[_]&&N(i);var n=r._state;if(n){var o=arguments[n-1];s(function(){return j(n,i,o,r._result)})}else C(r,i,t,e);return i}function b(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(A);return k(e,t),e}f?w=function(){return process.nextTick(d)}:u?(v=0,y=new u(d),g=document.createTextNode(""),y.observe(g,{characterData:!0}),w=function(){g.data=v=++v%2}):c?((m=new MessageChannel).port1.onmessage=d,w=function(){return m.port2.postMessage(0)}):w=void 0===h?function(){try{var t=Function("return this")().require("vertx");return void 0!==(n=t.runOnLoop||t.runOnContext)?function(){n(d)}:p()}catch(t){return p()}}():p();var _=Math.random().toString(36).substring(2);function A(){}var S=void 0,D=1,B=2;function x(t,r,i){r.constructor===t.constructor&&i===T&&r.constructor.resolve===b?function(t,e){e._state===D?M(t,e._result):e._state===B?I(t,e._result):C(e,void 0,function(e){return k(t,e)},function(e){return I(t,e)})}(t,r):void 0===i?M(t,r):e(i)?function(t,e,r){s(function(t){var i=!1,n=function(r,n,o,s){try{r.call(n,function(r){i||(i=!0,e!==r?k(t,r):M(t,r))},function(e){i||(i=!0,I(t,e))})}catch(t){return t}}(r,e);!i&&n&&(i=!0,I(t,n))},t)}(t,r,i):M(t,r)}function k(t,e){if(t===e)I(t,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof(i=e),null===i||"object"!==n&&"function"!==n)M(t,e);else{var r=void 0;try{r=e.then}catch(e){return void I(t,e)}x(t,e,r)}var i,n}function E(t){t._onerror&&t._onerror(t._result),R(t)}function M(t,e){t._state===S&&(t._result=e,t._state=D,0!==t._subscribers.length&&s(R,t))}function I(t,e){t._state===S&&(t._state=B,t._result=e,s(E,t))}function C(t,e,r,i){var n=t._subscribers,o=n.length;t._onerror=null,n[o]=e,n[o+D]=r,n[o+B]=i,0===o&&t._state&&s(R,t)}function R(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var i=void 0,n=void 0,o=t._result,s=0;s<e.length;s+=3)n=e[s+r],(i=e[s])?j(r,i,n,o):n(o);t._subscribers.length=0}}function j(t,r,i,n){var o=e(i),s=void 0,h=void 0,a=!0;if(o){try{s=i(n)}catch(t){a=!1,h=t}if(r===s)return void I(r,new TypeError("A promises callback cannot return that same promise."))}else s=n;r._state!==S||(o&&a?k(r,s):!1===a?I(r,h):t===D?M(r,s):t===B&&I(r,s))}var O=0;function N(t){t[_]=O++,t._state=void 0,t._result=void 0,t._subscribers=[]}var P=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(A),this.promise[_]||N(this.promise),r(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&M(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===S&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,i=r.resolve;if(i===b){var n=void 0,o=void 0,s=!1;try{n=t.then}catch(t){s=!0,o=t}if(n===T&&t._state!==S)this._settledAt(t._state,e,t._result);else if("function"!=typeof n)this._remaining--,this._result[e]=t;else if(r===V){var h=new r(A);s?I(h,o):x(h,t,n),this._willSettleAt(h,e)}else this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(i(t),e)},t.prototype._settledAt=function(t,e,r){var i=this.promise;i._state===S&&(this._remaining--,t===B?I(i,r):this._result[e]=r),0===this._remaining&&M(i,this._result)},t.prototype._willSettleAt=function(t,e){var r=this;C(t,void 0,function(t){return r._settledAt(D,e,t)},function(t){return r._settledAt(B,e,t)})},t}(),V=function(){function t(e){this[_]=O++,this._result=this._state=void 0,this._subscribers=[],A!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(t,e){try{e(function(e){k(t,e)},function(e){I(t,e)})}catch(e){I(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var r=this.constructor;return e(t)?this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return V.prototype.then=T,V.all=function(t){return new P(this,t).promise},V.race=function(t){var e=this;return r(t)?new e(function(r,i){for(var n=t.length,o=0;o<n;o++)e.resolve(t[o]).then(r,i)}):new e(function(t,e){return e(new TypeError("You must pass an array to race."))})},V.resolve=b,V.reject=function(t){var e=new this(A);return I(e,t),e},V._setScheduler=function(t){o=t},V._setAsap=function(t){s=t},V._asap=s,V.polyfill=function(){var e=void 0;if(void 0!==t)e=t;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=e.Promise;if(r){var i=null;try{i=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===i&&!r.cast)return}e.Promise=V},V.Promise=V,V}()}),A=e(function(e){var r,i;r=t,i=function(){return function(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw new TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0]=t[0].match(/^file:\/\/\//)?t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0].replace(/^([^/:]+):\/*/,"$1://");for(var i=0;i<t.length;i++){var n=t[i];if("string"!=typeof n)throw new TypeError("Url must be a string. Received "+n);""!==n&&(i>0&&(n=n.replace(/^[\/]+/,"")),n=n.replace(/[\/]+$/,i<t.length-1?"":"/"),e.push(n))}var o=e.join("/"),s=(o=o.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return s.shift()+(s.length>0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=i():r.urljoin=i()});function S(t){if(t.ok)return t.json();var e=new Error(t.statusText);return e.response=t,Promise.reject(e)}function D(t){this.name="ConfigurationError",this.message=t||""}function B(t){this.name="TokenValidationError",this.message=t||""}_.polyfill(),D.prototype=Error.prototype,B.prototype=Error.prototype;var x=function(){};x.prototype.get=function(){return null},x.prototype.has=function(){return null},x.prototype.set=function(){return null};var k="RS256",E=function(t){return"number"==typeof t},M=function(){return new Date},I=60;function C(t){var e=t||{};if(this.jwksCache=e.jwksCache||new x,this.expectedAlg=e.expectedAlg||"RS256",this.issuer=e.issuer,this.audience=e.audience,this.leeway=0===e.leeway?0:e.leeway||I,this.jwksURI=e.jwksURI,this.maxAge=e.maxAge,this.__clock="function"==typeof e.__clock?e.__clock:M,this.leeway<0||this.leeway>300)throw new D("The leeway should be positive and lower than five minutes.");if(k!==this.expectedAlg)throw new D('Signature algorithm of "'+this.expectedAlg+'" is not supported. Expected the ID token to be signed with "'+k+'".')}C.prototype.verify=function(t,e,r){if(!t)return r(new B("ID token is required but missing"),!1);var i=this.decode(t);if(i instanceof Error)return r(new B("ID token could not be decoded"),!1);var n=i.encoded.header+"."+i.encoded.payload,o=b(i.encoded.signature),s=i.header.alg,h=i.header.kid,a=i.payload.aud,u=i.payload.sub,f=i.payload.iss,c=i.payload.exp,p=i.payload.nbf,l=i.payload.iat,d=i.payload.azp,m=i.payload.auth_time,v=i.payload.nonce,y=this.__clock(),g=this;if(g.expectedAlg!==s)return r(new B('Signature algorithm of "'+s+'" is not supported. Expected the ID token to be signed with "'+k+'".'),!1);this.getRsaVerifier(f,h,function(t,s){if(t)return r(t);if(!s.verify(n,o))return r(new B("Invalid ID token signature."));if(!f||"string"!=typeof f)return r(new B("Issuer (iss) claim must be a string present in the ID token",!1));if(g.issuer!==f)return r(new B('Issuer (iss) claim mismatch in the ID token, expected "'+g.issuer+'", found "'+f+'"'),!1);if(!u||"string"!=typeof u)return r(new B("Subject (sub) claim must be a string present in the ID token"),!1);if(!a||"string"!=typeof a&&!Array.isArray(a))return r(new B("Audience (aud) claim must be a string or array of strings present in the ID token"));if(Array.isArray(a)&&!a.includes(g.audience))return r(new B('Audience (aud) claim mismatch in the ID token; expected "'+g.audience+'" but was not one of "'+a.join(", ")+'"'));if("string"==typeof a&&g.audience!==a)return r(new B('Audience (aud) claim mismatch in the ID token; expected "'+g.audience+'" but found "'+a+'"'),!1);if(e){if(!v||"string"!=typeof v)return r(new B("Nonce (nonce) claim must be a string present in the ID token"),!1);if(v!==e)return r(new B('Nonce (nonce) claim value mismatch in the ID token; expected "'+e+'", found "'+v+'"'),!1)}if(Array.isArray(a)&&a.length>1){if(!d||"string"!=typeof d)return r(new B("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values",!1));if(d!==g.audience)return r(new B('Authorized Party (azp) claim mismatch in the ID token; expected "'+g.audience+'", found "'+d+'"',!1))}if(!c||!E(c))return r(new B("Expiration Time (exp) claim must be a number present in the ID token",!1));if(!l||!E(l))return r(new B("Issued At (iat) claim must be a number present in the ID token"));var h=c+g.leeway,w=new Date(0);if(w.setUTCSeconds(h),y>w)return r(new B('Expiration Time (exp) claim error in the ID token; current time "'+y+'" is after expiration time "'+w+'"',!1));if(p&&E(p)){var T=p-g.leeway,b=new Date(0);if(b.setUTCSeconds(T),y<b)return r(new B('Not Before Time (nbf) claim error in the ID token; current time "'+y+'" is before the not before time "'+b+'"'))}if(g.maxAge){if(!m||!E(m))return r(new B("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified"));var _=m+g.maxAge+g.leeway,A=new Date(0);if(A.setUTCSeconds(_),y>A)return r(new B('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time "'+y+'" is after last auth time at "'+A+'"'))}return r(null,i.payload)})},C.prototype.getRsaVerifier=function(t,e,r){var i=this,n=t+e;if(this.jwksCache.has(n)){var o=this.jwksCache.get(n);r(null,new u(o.modulus,o.exp))}else!function(t,e){("undefined"==typeof fetch?function(t,e){return e=e||{},new Promise(function(r,i){var n=new XMLHttpRequest,o=[],s=[],h={},a=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(JSON.parse(n.responseText))},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return s},get:function(t){return h[t.toLowerCase()]},has:function(t){return t.toLowerCase()in h}}}};for(var u in n.open(e.method||"get",t,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,r){o.push(e=e.toLowerCase()),s.push([e,r]),h[e]=h[e]?h[e]+","+r:r}),r(a())},n.onerror=i,n.withCredentials="include"==e.credentials,e.headers)n.setRequestHeader(u,e.headers[u]);n.send(e.body||null)})}:fetch)(t.jwksURI||A(t.iss,".well-known","jwks.json")).then(S).then(function(r){var i,n,o,s=null;for(i=0;i<r.keys.length&&null===s;i++)(n=r.keys[i]).kid===t.kid&&(s=n);return s?e(null,{modulus:b((o=s).n),exp:b(o.e)}):e(new Error('Could not find a public key for Key ID (kid) "'+t.kid+'"'))}).catch(function(t){e(t)})}({jwksURI:this.jwksURI,iss:t,kid:e},function(t,e){return t?r(t):(i.jwksCache.set(n,e),r(null,new u(e.modulus,e.exp)))})},C.prototype.decode=function(t){var e,r,i=t.split(".");if(3!==i.length)return new B("Cannot decode a malformed JWT");try{e=JSON.parse(T(i[0])),r=JSON.parse(T(i[1]))}catch(t){return new B("Token header or payload is not valid JSON")}return{header:e,payload:r,encoded:{header:i[0],payload:i[1],signature:i[2]}}},C.prototype.validateAccessToken=function(t,e,r,s){if(this.expectedAlg!==e)return s(new B('Signature algorithm of "'+e+'" is not supported. Expected "'+this.expectedAlg+'"'));var h,a=i(t),u=o.stringify(a),f=u.substring(0,u.length/2),c=o.parse(f),p=n.stringify(c);return s((h={"+":"-","/":"_","=":""},p.replace(/[+/=]/g,function(t){return h[t]})!==r?new B("Invalid access_token"):null))},module.exports=C;
21364
21682
 
21365
21683
 
21366
21684
  }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
21367
- },{"_process":280}],277:[function(require,module,exports){
21685
+ },{"_process":281}],278:[function(require,module,exports){
21368
21686
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
21369
21687
  var e, m
21370
21688
  var eLen = (nBytes * 8) - mLen - 1
@@ -21450,7 +21768,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
21450
21768
  buffer[offset + i - d] |= s * 128
21451
21769
  }
21452
21770
 
21453
- },{}],278:[function(require,module,exports){
21771
+ },{}],279:[function(require,module,exports){
21454
21772
  // the whatwg-fetch polyfill installs the fetch() function
21455
21773
  // on the global object (window or self)
21456
21774
  //
@@ -21458,7 +21776,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
21458
21776
  require('whatwg-fetch');
21459
21777
  module.exports = self.fetch.bind(self);
21460
21778
 
21461
- },{"whatwg-fetch":291}],279:[function(require,module,exports){
21779
+ },{"whatwg-fetch":292}],280:[function(require,module,exports){
21462
21780
  var hasMap = typeof Map === 'function' && Map.prototype;
21463
21781
  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
21464
21782
  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
@@ -21972,7 +22290,7 @@ function arrObjKeys(obj, inspect) {
21972
22290
  return xs;
21973
22291
  }
21974
22292
 
21975
- },{"./util.inspect":262}],280:[function(require,module,exports){
22293
+ },{"./util.inspect":263}],281:[function(require,module,exports){
21976
22294
  // shim for using process in browser
21977
22295
  var process = module.exports = {};
21978
22296
 
@@ -22158,7 +22476,7 @@ process.chdir = function (dir) {
22158
22476
  };
22159
22477
  process.umask = function() { return 0; };
22160
22478
 
22161
- },{}],281:[function(require,module,exports){
22479
+ },{}],282:[function(require,module,exports){
22162
22480
  'use strict';
22163
22481
 
22164
22482
  var replace = String.prototype.replace;
@@ -22186,9 +22504,9 @@ module.exports = util.assign(
22186
22504
  Format
22187
22505
  );
22188
22506
 
22189
- },{"./utils":285}],282:[function(require,module,exports){
22190
- arguments[4][243][0].apply(exports,arguments)
22191
- },{"./formats":281,"./parse":283,"./stringify":284,"dup":243}],283:[function(require,module,exports){
22507
+ },{"./utils":286}],283:[function(require,module,exports){
22508
+ arguments[4][244][0].apply(exports,arguments)
22509
+ },{"./formats":282,"./parse":284,"./stringify":285,"dup":244}],284:[function(require,module,exports){
22192
22510
  'use strict';
22193
22511
 
22194
22512
  var utils = require('./utils');
@@ -22457,7 +22775,7 @@ module.exports = function (str, opts) {
22457
22775
  return utils.compact(obj);
22458
22776
  };
22459
22777
 
22460
- },{"./utils":285}],284:[function(require,module,exports){
22778
+ },{"./utils":286}],285:[function(require,module,exports){
22461
22779
  'use strict';
22462
22780
 
22463
22781
  var utils = require('./utils');
@@ -22730,7 +23048,7 @@ module.exports = function (object, opts) {
22730
23048
  return joined.length > 0 ? prefix + joined : '';
22731
23049
  };
22732
23050
 
22733
- },{"./formats":281,"./utils":285}],285:[function(require,module,exports){
23051
+ },{"./formats":282,"./utils":286}],286:[function(require,module,exports){
22734
23052
  'use strict';
22735
23053
 
22736
23054
  var has = Object.prototype.hasOwnProperty;
@@ -22962,7 +23280,7 @@ module.exports = {
22962
23280
  merge: merge
22963
23281
  };
22964
23282
 
22965
- },{}],286:[function(require,module,exports){
23283
+ },{}],287:[function(require,module,exports){
22966
23284
  // Copyright Joyent, Inc. and other Node contributors.
22967
23285
  //
22968
23286
  // Permission is hereby granted, free of charge, to any person obtaining a
@@ -23048,7 +23366,7 @@ var isArray = Array.isArray || function (xs) {
23048
23366
  return Object.prototype.toString.call(xs) === '[object Array]';
23049
23367
  };
23050
23368
 
23051
- },{}],287:[function(require,module,exports){
23369
+ },{}],288:[function(require,module,exports){
23052
23370
  // Copyright Joyent, Inc. and other Node contributors.
23053
23371
  //
23054
23372
  // Permission is hereby granted, free of charge, to any person obtaining a
@@ -23135,13 +23453,13 @@ var objectKeys = Object.keys || function (obj) {
23135
23453
  return res;
23136
23454
  };
23137
23455
 
23138
- },{}],288:[function(require,module,exports){
23456
+ },{}],289:[function(require,module,exports){
23139
23457
  'use strict';
23140
23458
 
23141
23459
  exports.decode = exports.parse = require('./decode');
23142
23460
  exports.encode = exports.stringify = require('./encode');
23143
23461
 
23144
- },{"./decode":286,"./encode":287}],289:[function(require,module,exports){
23462
+ },{"./decode":287,"./encode":288}],290:[function(require,module,exports){
23145
23463
  'use strict'
23146
23464
  /* eslint no-proto: 0 */
23147
23465
  module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)
@@ -23160,7 +23478,7 @@ function mixinProperties (obj, proto) {
23160
23478
  return obj
23161
23479
  }
23162
23480
 
23163
- },{}],290:[function(require,module,exports){
23481
+ },{}],291:[function(require,module,exports){
23164
23482
  'use strict';
23165
23483
 
23166
23484
  var GetIntrinsic = require('get-intrinsic');
@@ -23286,7 +23604,7 @@ module.exports = function getSideChannel() {
23286
23604
  return channel;
23287
23605
  };
23288
23606
 
23289
- },{"call-bind/callBound":264,"get-intrinsic":271,"object-inspect":279}],291:[function(require,module,exports){
23607
+ },{"call-bind/callBound":265,"get-intrinsic":272,"object-inspect":280}],292:[function(require,module,exports){
23290
23608
  (function(self) {
23291
23609
  'use strict';
23292
23610