@rebilly/instruments 7.2.4 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5335,7 +5335,7 @@ function cloneArrayDeep(val, instanceClone) {
5335
5335
  return res;
5336
5336
  }
5337
5337
  var cloneDeep_1 = cloneDeep;
5338
- const version = "54.2.2";
5338
+ const version = "54.3.0";
5339
5339
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5340
5340
  let nanoid = (size2 = 21) => {
5341
5341
  let id2 = "";
@@ -5699,9 +5699,9 @@ function AmlChecksResource({ apiHandler }) {
5699
5699
  offset = null,
5700
5700
  sort = null,
5701
5701
  filter = null,
5702
- q = null
5702
+ q: q2 = null
5703
5703
  } = {}) {
5704
- const params = { limit, offset, sort, filter, q };
5704
+ const params = { limit, offset, sort, filter, q: q2 };
5705
5705
  return apiHandler.getAll(`aml-checks`, params);
5706
5706
  },
5707
5707
  get({ id: id2 }) {
@@ -5778,12 +5778,12 @@ function ApplicationsResource({ apiHandler }) {
5778
5778
  limit = null,
5779
5779
  offset = null,
5780
5780
  filter = null,
5781
- q = null,
5781
+ q: q2 = null,
5782
5782
  expand = null,
5783
5783
  fields = null,
5784
5784
  sort = null
5785
5785
  } = {}) {
5786
- const params = { limit, offset, filter, q, expand, fields, sort };
5786
+ const params = { limit, offset, filter, q: q2, expand, fields, sort };
5787
5787
  return apiHandler.getAll(`applications`, params);
5788
5788
  },
5789
5789
  create({ data: data2 }) {
@@ -5819,9 +5819,9 @@ function BillingPortalsResource$1({ apiHandler }) {
5819
5819
  offset = null,
5820
5820
  sort = null,
5821
5821
  filter = null,
5822
- q = null
5822
+ q: q2 = null
5823
5823
  } = {}) {
5824
- const params = { limit, offset, sort, filter, q };
5824
+ const params = { limit, offset, sort, filter, q: q2 };
5825
5825
  return apiHandler.getAll(`billing-portals`, params);
5826
5826
  },
5827
5827
  create({ id: id2 = "", data: data2 }) {
@@ -5845,9 +5845,9 @@ function BlocklistsResource({ apiHandler }) {
5845
5845
  offset = null,
5846
5846
  sort = null,
5847
5847
  filter = null,
5848
- q = null
5848
+ q: q2 = null
5849
5849
  } = {}) {
5850
- const params = { limit, offset, sort, filter, q };
5850
+ const params = { limit, offset, sort, filter, q: q2 };
5851
5851
  return apiHandler.getAll(`blocklists`, params);
5852
5852
  },
5853
5853
  create({ id: id2 = "", data: data2 }) {
@@ -5943,9 +5943,9 @@ function CheckoutFormsResource$1({ apiHandler }) {
5943
5943
  offset = null,
5944
5944
  sort = null,
5945
5945
  filter = null,
5946
- q = null
5946
+ q: q2 = null
5947
5947
  } = {}) {
5948
- const params = { limit, offset, sort, filter, q };
5948
+ const params = { limit, offset, sort, filter, q: q2 };
5949
5949
  return apiHandler.getAll(`checkout-forms`, params);
5950
5950
  },
5951
5951
  create({ id: id2 = "", data: data2 }) {
@@ -5968,10 +5968,10 @@ function CouponsResource({ apiHandler }) {
5968
5968
  limit = null,
5969
5969
  offset = null,
5970
5970
  filter = null,
5971
- q = null,
5971
+ q: q2 = null,
5972
5972
  sort = null
5973
5973
  } = {}) {
5974
- const params = { limit, offset, filter, q, sort };
5974
+ const params = { limit, offset, filter, q: q2, sort };
5975
5975
  return apiHandler.getAll(`coupons-redemptions`, params);
5976
5976
  },
5977
5977
  redeem({ data: data2 }) {
@@ -5987,10 +5987,10 @@ function CouponsResource({ apiHandler }) {
5987
5987
  limit = null,
5988
5988
  offset = null,
5989
5989
  filter = null,
5990
- q = null,
5990
+ q: q2 = null,
5991
5991
  sort = null
5992
5992
  } = {}) {
5993
- const params = { limit, offset, filter, q, sort };
5993
+ const params = { limit, offset, filter, q: q2, sort };
5994
5994
  return apiHandler.getAll(`coupons`, params);
5995
5995
  },
5996
5996
  create({ id: id2 = "", data: data2 }) {
@@ -6014,9 +6014,9 @@ function CreditMemosResource({ apiHandler }) {
6014
6014
  sort = null,
6015
6015
  limit = null,
6016
6016
  offset = null,
6017
- q = null
6017
+ q: q2 = null
6018
6018
  } = {}) {
6019
- const params = { filter, sort, limit, offset, q };
6019
+ const params = { filter, sort, limit, offset, q: q2 };
6020
6020
  return apiHandler.getAll(`credit-memos`, params);
6021
6021
  },
6022
6022
  create({ id: id2 = "", data: data2 }) {
@@ -6040,9 +6040,9 @@ function CreditMemosResource({ apiHandler }) {
6040
6040
  offset = null,
6041
6041
  filter = null,
6042
6042
  sort = null,
6043
- q = null
6043
+ q: q2 = null
6044
6044
  }) {
6045
- const params = { limit, offset, filter, sort, q };
6045
+ const params = { limit, offset, filter, sort, q: q2 };
6046
6046
  return apiHandler.getAll(`credit-memos/${id2}/timeline`, params);
6047
6047
  },
6048
6048
  createTimelineComment({ id: id2, data: data2 }) {
@@ -6063,9 +6063,9 @@ function CustomDomainsResource({ apiHandler }) {
6063
6063
  offset = null,
6064
6064
  sort = null,
6065
6065
  filter = null,
6066
- q = null
6066
+ q: q2 = null
6067
6067
  } = {}) {
6068
- const params = { limit, offset, sort, filter, q };
6068
+ const params = { limit, offset, sort, filter, q: q2 };
6069
6069
  return apiHandler.getAll(`custom-domains`, params);
6070
6070
  },
6071
6071
  create({ data: data2 }) {
@@ -6157,12 +6157,12 @@ function CustomersResource$1({ apiHandler }) {
6157
6157
  limit = null,
6158
6158
  offset = null,
6159
6159
  filter = null,
6160
- q = null,
6160
+ q: q2 = null,
6161
6161
  expand = null,
6162
6162
  fields = null,
6163
6163
  sort = null
6164
6164
  } = {}) {
6165
- const params = { limit, offset, filter, q, expand, fields, sort };
6165
+ const params = { limit, offset, filter, q: q2, expand, fields, sort };
6166
6166
  return apiHandler.getAll(`customers`, params);
6167
6167
  },
6168
6168
  create({ id: id2 = "", data: data2, expand = null }) {
@@ -6200,9 +6200,9 @@ function CustomersResource$1({ apiHandler }) {
6200
6200
  offset = null,
6201
6201
  filter = null,
6202
6202
  sort = null,
6203
- q = null
6203
+ q: q2 = null
6204
6204
  }) {
6205
- const params = { limit, offset, filter, sort, q };
6205
+ const params = { limit, offset, filter, sort, q: q2 };
6206
6206
  return apiHandler.getAll(`customers/${id2}/timeline`, params);
6207
6207
  },
6208
6208
  createTimelineComment({ id: id2, data: data2 }) {
@@ -6226,9 +6226,9 @@ function CustomersResource$1({ apiHandler }) {
6226
6226
  offset = null,
6227
6227
  filter = null,
6228
6228
  sort = null,
6229
- q = null
6229
+ q: q2 = null
6230
6230
  }) {
6231
- const params = { limit, offset, filter, sort, q };
6231
+ const params = { limit, offset, filter, sort, q: q2 };
6232
6232
  return apiHandler.getAll(`customers/${id2}/edd-timeline`, params);
6233
6233
  },
6234
6234
  createEddTimelineComment({ id: id2, data: data2 }) {
@@ -6268,10 +6268,10 @@ function DisputesResource({ apiHandler }) {
6268
6268
  sort = null,
6269
6269
  limit = null,
6270
6270
  offset = null,
6271
- q = null,
6271
+ q: q2 = null,
6272
6272
  expand = null
6273
6273
  } = {}) {
6274
- const params = { filter, sort, limit, offset, q, expand };
6274
+ const params = { filter, sort, limit, offset, q: q2, expand };
6275
6275
  return apiHandler.getAll(`disputes`, params);
6276
6276
  },
6277
6277
  create({ id: id2 = "", data: data2, expand = null }) {
@@ -6297,9 +6297,9 @@ function EmailDeliverySettingsResource({ apiHandler }) {
6297
6297
  offset = null,
6298
6298
  filter = null,
6299
6299
  sort = null,
6300
- q = null
6300
+ q: q2 = null
6301
6301
  } = {}) {
6302
- const params = { limit, offset, filter, sort, q };
6302
+ const params = { limit, offset, filter, sort, q: q2 };
6303
6303
  return apiHandler.getAll(`email-delivery-settings`, params);
6304
6304
  },
6305
6305
  create({ data: data2 }) {
@@ -6326,11 +6326,11 @@ function EmailMessagesResource({ apiHandler }) {
6326
6326
  getAll({
6327
6327
  limit = null,
6328
6328
  offset = null,
6329
- q = null,
6329
+ q: q2 = null,
6330
6330
  sort = null,
6331
6331
  filter = null
6332
6332
  } = {}) {
6333
- const params = { limit, offset, q, sort, filter };
6333
+ const params = { limit, offset, q: q2, sort, filter };
6334
6334
  return apiHandler.getAll(`email-messages`, params);
6335
6335
  },
6336
6336
  create({ data: data2 }) {
@@ -6378,9 +6378,9 @@ function EventsResource({ apiHandler }) {
6378
6378
  offset = null,
6379
6379
  filter = null,
6380
6380
  sort = null,
6381
- q = null
6381
+ q: q2 = null
6382
6382
  }) {
6383
- const params = { limit, offset, filter, sort, q };
6383
+ const params = { limit, offset, filter, sort, q: q2 };
6384
6384
  return apiHandler.getAll(`events/${eventType}/timeline`, params);
6385
6385
  },
6386
6386
  createTimelineComment({ eventType, data: data2 }) {
@@ -6397,11 +6397,11 @@ function EventsResource({ apiHandler }) {
6397
6397
  limit = null,
6398
6398
  offset = null,
6399
6399
  filter = null,
6400
- q = null,
6400
+ q: q2 = null,
6401
6401
  sort = null,
6402
6402
  fields = null
6403
6403
  }) {
6404
- const params = { limit, offset, filter, q, sort, fields };
6404
+ const params = { limit, offset, filter, q: q2, sort, fields };
6405
6405
  return apiHandler.getAll(`events/${eventType}/rules/history`, params);
6406
6406
  },
6407
6407
  getRulesVersionNumber({ eventType, version: version2, fields = null }) {
@@ -6423,11 +6423,11 @@ function EventsResource({ apiHandler }) {
6423
6423
  limit = null,
6424
6424
  offset = null,
6425
6425
  filter = null,
6426
- q = null,
6426
+ q: q2 = null,
6427
6427
  sort = null,
6428
6428
  fields = null
6429
6429
  }) {
6430
- const params = { limit, offset, filter, q, sort, fields };
6430
+ const params = { limit, offset, filter, q: q2, sort, fields };
6431
6431
  return apiHandler.getAll(`events/${eventType}/rules/drafts`, params);
6432
6432
  },
6433
6433
  createDraftRuleset({ eventType, data: data2 }) {
@@ -6509,12 +6509,12 @@ function FilesResource({ apiHandler }) {
6509
6509
  limit = null,
6510
6510
  offset = null,
6511
6511
  filter = null,
6512
- q = null,
6512
+ q: q2 = null,
6513
6513
  expand = null,
6514
6514
  fields = null,
6515
6515
  sort = null
6516
6516
  } = {}) {
6517
- const params = { limit, offset, filter, q, expand, fields, sort };
6517
+ const params = { limit, offset, filter, q: q2, expand, fields, sort };
6518
6518
  return apiHandler.getAll(`attachments`, params);
6519
6519
  },
6520
6520
  attach({ id: id2 = "", data: data2, expand = null }) {
@@ -6535,11 +6535,11 @@ function FilesResource({ apiHandler }) {
6535
6535
  limit = null,
6536
6536
  offset = null,
6537
6537
  filter = null,
6538
- q = null,
6538
+ q: q2 = null,
6539
6539
  fields = null,
6540
6540
  sort = null
6541
6541
  } = {}) {
6542
- const params = { limit, offset, filter, q, fields, sort };
6542
+ const params = { limit, offset, filter, q: q2, fields, sort };
6543
6543
  return apiHandler.getAll(`files`, params);
6544
6544
  },
6545
6545
  upload({ fileObject }) {
@@ -6616,10 +6616,10 @@ function GatewayAccountsResource({ apiHandler }) {
6616
6616
  offset = null,
6617
6617
  sort = null,
6618
6618
  filter = null,
6619
- q = null,
6619
+ q: q2 = null,
6620
6620
  fields = null
6621
6621
  } = {}) {
6622
- const params = { limit, offset, sort, filter, q, fields };
6622
+ const params = { limit, offset, sort, filter, q: q2, fields };
6623
6623
  return apiHandler.getAll(`gateway-accounts`, params);
6624
6624
  },
6625
6625
  create({ id: id2 = "", data: data2 }) {
@@ -6693,9 +6693,9 @@ function GatewayAccountsResource({ apiHandler }) {
6693
6693
  offset = null,
6694
6694
  filter = null,
6695
6695
  sort = null,
6696
- q = null
6696
+ q: q2 = null
6697
6697
  }) {
6698
- const params = { limit, offset, filter, sort, q };
6698
+ const params = { limit, offset, filter, sort, q: q2 };
6699
6699
  return apiHandler.getAll(`gateway-accounts/${id2}/timeline`, params);
6700
6700
  },
6701
6701
  createTimelineComment({ id: id2, data: data2 }) {
@@ -6737,10 +6737,10 @@ function InvoicesResource$1({ apiHandler }) {
6737
6737
  sort = null,
6738
6738
  limit = null,
6739
6739
  offset = null,
6740
- q = null,
6740
+ q: q2 = null,
6741
6741
  expand = null
6742
6742
  } = {}) {
6743
- const params = { filter, sort, limit, offset, q, expand };
6743
+ const params = { filter, sort, limit, offset, q: q2, expand };
6744
6744
  return apiHandler.getAll(`invoices`, params);
6745
6745
  },
6746
6746
  create({ id: id2 = "", data: data2 }) {
@@ -6800,9 +6800,9 @@ function InvoicesResource$1({ apiHandler }) {
6800
6800
  offset = null,
6801
6801
  filter = null,
6802
6802
  sort = null,
6803
- q = null
6803
+ q: q2 = null
6804
6804
  }) {
6805
- const params = { limit, offset, filter, sort, q };
6805
+ const params = { limit, offset, filter, sort, q: q2 };
6806
6806
  return apiHandler.getAll(`invoices/${id2}/timeline`, params);
6807
6807
  },
6808
6808
  createTimelineComment({ id: id2, data: data2 }) {
@@ -6974,9 +6974,9 @@ function ListsResource({ apiHandler }) {
6974
6974
  filter = null,
6975
6975
  sort = null,
6976
6976
  fields = null,
6977
- q = null
6977
+ q: q2 = null
6978
6978
  } = {}) {
6979
- const params = { limit, offset, filter, sort, fields, q };
6979
+ const params = { limit, offset, filter, sort, fields, q: q2 };
6980
6980
  return apiHandler.getAll(`lists`, params);
6981
6981
  },
6982
6982
  create({ id: id2 = "", data: data2 }) {
@@ -7019,10 +7019,10 @@ function OrganizationExportsResource({ apiHandler }) {
7019
7019
  limit = null,
7020
7020
  offset = null,
7021
7021
  filter = null,
7022
- q = null,
7022
+ q: q2 = null,
7023
7023
  sort = null
7024
7024
  } = {}) {
7025
- const params = { limit, offset, filter, q, sort };
7025
+ const params = { limit, offset, filter, q: q2, sort };
7026
7026
  return apiHandler.getAll(`organization-exports`, params);
7027
7027
  },
7028
7028
  create({ data: data2 }) {
@@ -7040,9 +7040,9 @@ function OrganizationsResource({ apiHandler }) {
7040
7040
  offset = null,
7041
7041
  filter = null,
7042
7042
  sort = null,
7043
- q = null
7043
+ q: q2 = null
7044
7044
  } = {}) {
7045
- const params = { limit, offset, filter, sort, q };
7045
+ const params = { limit, offset, filter, sort, q: q2 };
7046
7046
  return apiHandler.getAll(`organizations`, params);
7047
7047
  },
7048
7048
  create({ data: data2 }) {
@@ -7058,8 +7058,8 @@ function OrganizationsResource({ apiHandler }) {
7058
7058
  }
7059
7059
  function PaymentCardsBankNamesResource({ apiHandler }) {
7060
7060
  return {
7061
- getAll({ limit = null, q = null } = {}) {
7062
- const params = { limit, q };
7061
+ getAll({ limit = null, q: q2 = null } = {}) {
7062
+ const params = { limit, q: q2 };
7063
7063
  return apiHandler.getAll(`payment-cards-bank-names`, params);
7064
7064
  }
7065
7065
  };
@@ -7071,10 +7071,10 @@ function PaymentInstrumentsResource$1({ apiHandler }) {
7071
7071
  sort = null,
7072
7072
  limit = null,
7073
7073
  offset = null,
7074
- q = null,
7074
+ q: q2 = null,
7075
7075
  expand = null
7076
7076
  } = {}) {
7077
- const params = { filter, sort, limit, offset, q, expand };
7077
+ const params = { filter, sort, limit, offset, q: q2, expand };
7078
7078
  return apiHandler.getAll(`payment-instruments`, params);
7079
7079
  },
7080
7080
  create({ data: data2 }) {
@@ -7150,9 +7150,9 @@ function PlansResource$1({ apiHandler }) {
7150
7150
  sort = null,
7151
7151
  limit = null,
7152
7152
  offset = null,
7153
- q = null
7153
+ q: q2 = null
7154
7154
  } = {}) {
7155
- const params = { filter, sort, limit, offset, q };
7155
+ const params = { filter, sort, limit, offset, q: q2 };
7156
7156
  return apiHandler.getAll(`plans`, params);
7157
7157
  },
7158
7158
  create({ id: id2 = "", data: data2 }) {
@@ -7189,9 +7189,9 @@ function ProductsResource$1({ apiHandler }) {
7189
7189
  sort = null,
7190
7190
  limit = null,
7191
7191
  offset = null,
7192
- q = null
7192
+ q: q2 = null
7193
7193
  } = {}) {
7194
- const params = { filter, sort, limit, offset, q };
7194
+ const params = { filter, sort, limit, offset, q: q2 };
7195
7195
  return apiHandler.getAll(`products`, params);
7196
7196
  },
7197
7197
  create({ id: id2 = "", data: data2 }) {
@@ -7262,6 +7262,9 @@ function QuotesResource$1({ apiHandler }) {
7262
7262
  update({ id: id2, data: data2 }) {
7263
7263
  return apiHandler.put(`quotes/${id2}`, data2);
7264
7264
  },
7265
+ patch({ id: id2, data: data2 }) {
7266
+ return apiHandler.patch(`quotes/${id2}`, data2);
7267
+ },
7265
7268
  accept({ id: id2 }) {
7266
7269
  return apiHandler.post(`quotes/${id2}/accept`);
7267
7270
  },
@@ -7283,9 +7286,9 @@ function QuotesResource$1({ apiHandler }) {
7283
7286
  offset = null,
7284
7287
  filter = null,
7285
7288
  sort = null,
7286
- q = null
7289
+ q: q2 = null
7287
7290
  }) {
7288
- const params = { limit, offset, filter, sort, q };
7291
+ const params = { limit, offset, filter, sort, q: q2 };
7289
7292
  return apiHandler.getAll(`quotes/${id2}/timeline`, params);
7290
7293
  },
7291
7294
  createTimelineComment({ id: id2, data: data2 }) {
@@ -7354,10 +7357,10 @@ function RolesResource({ apiHandler }) {
7354
7357
  offset = null,
7355
7358
  filter = null,
7356
7359
  sort = null,
7357
- q = null,
7360
+ q: q2 = null,
7358
7361
  expand = null
7359
7362
  } = {}) {
7360
- const params = { limit, offset, filter, sort, q, expand };
7363
+ const params = { limit, offset, filter, sort, q: q2, expand };
7361
7364
  return apiHandler.getAll(`roles`, params);
7362
7365
  },
7363
7366
  create({ id: id2 = "", data: data2 }) {
@@ -7377,8 +7380,8 @@ function RolesResource({ apiHandler }) {
7377
7380
  }
7378
7381
  function SearchResource({ apiHandler }) {
7379
7382
  return {
7380
- get({ sort = null, limit = null, offset = null, q = null }) {
7381
- const params = { sort, limit, offset, q };
7383
+ get({ sort = null, limit = null, offset = null, q: q2 = null }) {
7384
+ const params = { sort, limit, offset, q: q2 };
7382
7385
  return apiHandler.get(`search`, params);
7383
7386
  }
7384
7387
  };
@@ -7390,9 +7393,9 @@ function SegmentsResource({ apiHandler }) {
7390
7393
  offset = null,
7391
7394
  sort = null,
7392
7395
  filter = null,
7393
- q = null
7396
+ q: q2 = null
7394
7397
  } = {}) {
7395
- const params = { limit, offset, sort, filter, q };
7398
+ const params = { limit, offset, sort, filter, q: q2 };
7396
7399
  return apiHandler.getAll(`grid-segments`, params);
7397
7400
  },
7398
7401
  create({ id: id2 = "", data: data2 }) {
@@ -7424,9 +7427,9 @@ function ServiceCredentialsResource({ apiHandler }) {
7424
7427
  limit = null,
7425
7428
  offset = null,
7426
7429
  sort = null,
7427
- q = null
7430
+ q: q2 = null
7428
7431
  }) {
7429
- const params = { filter, limit, offset, sort, q };
7432
+ const params = { filter, limit, offset, sort, q: q2 };
7430
7433
  return apiHandler.getAll(`service-credentials/${type2}`, params);
7431
7434
  },
7432
7435
  create({ type: type2, data: data2 }) {
@@ -7444,11 +7447,11 @@ function ServiceCredentialsResource({ apiHandler }) {
7444
7447
  limit = null,
7445
7448
  offset = null,
7446
7449
  filter = null,
7447
- q = null,
7450
+ q: q2 = null,
7448
7451
  fields = null,
7449
7452
  sort = null
7450
7453
  }) {
7451
- const params = { limit, offset, filter, q, fields, sort };
7454
+ const params = { limit, offset, filter, q: q2, fields, sort };
7452
7455
  return apiHandler.getAll(
7453
7456
  `service-credentials/${type2}/${id2}/items`,
7454
7457
  params
@@ -7463,9 +7466,9 @@ function ShippingRatesResource({ apiHandler }) {
7463
7466
  offset = null,
7464
7467
  filter = null,
7465
7468
  sort = null,
7466
- q = null
7469
+ q: q2 = null
7467
7470
  } = {}) {
7468
- const params = { limit, offset, filter, sort, q };
7471
+ const params = { limit, offset, filter, sort, q: q2 };
7469
7472
  return apiHandler.getAll(`shipping-rates`, params);
7470
7473
  },
7471
7474
  create({ id: id2 = "", data: data2 }) {
@@ -7550,10 +7553,10 @@ function SubscriptionsResource$1({ apiHandler }) {
7550
7553
  sort = null,
7551
7554
  limit = null,
7552
7555
  offset = null,
7553
- q = null,
7556
+ q: q2 = null,
7554
7557
  expand = null
7555
7558
  } = {}) {
7556
- const params = { filter, sort, limit, offset, q, expand };
7559
+ const params = { filter, sort, limit, offset, q: q2, expand };
7557
7560
  return apiHandler.getAll(`subscriptions`, params);
7558
7561
  },
7559
7562
  create({ id: id2 = "", data: data2, expand = null }) {
@@ -7606,9 +7609,9 @@ function SubscriptionsResource$1({ apiHandler }) {
7606
7609
  offset = null,
7607
7610
  filter = null,
7608
7611
  sort = null,
7609
- q = null
7612
+ q: q2 = null
7610
7613
  }) {
7611
- const params = { limit, offset, filter, sort, q };
7614
+ const params = { limit, offset, filter, sort, q: q2 };
7612
7615
  return apiHandler.getAll(`subscriptions/${id2}/timeline`, params);
7613
7616
  },
7614
7617
  createTimelineComment({ id: id2, data: data2 }) {
@@ -7628,10 +7631,10 @@ function TagsResource({ apiHandler }) {
7628
7631
  limit = null,
7629
7632
  offset = null,
7630
7633
  filter = null,
7631
- q = null,
7634
+ q: q2 = null,
7632
7635
  sort = null
7633
7636
  } = {}) {
7634
- const params = { limit, offset, filter, q, sort };
7637
+ const params = { limit, offset, filter, q: q2, sort };
7635
7638
  return apiHandler.getAll(`tags`, params);
7636
7639
  },
7637
7640
  create({ data: data2 }) {
@@ -7691,9 +7694,9 @@ function TagsRulesResource({ apiHandler }) {
7691
7694
  offset = null,
7692
7695
  sort = null,
7693
7696
  filter = null,
7694
- q = null
7697
+ q: q2 = null
7695
7698
  } = {}) {
7696
- const params = { limit, offset, sort, filter, q };
7699
+ const params = { limit, offset, sort, filter, q: q2 };
7697
7700
  return apiHandler.getAll(`tags-rules`, params);
7698
7701
  },
7699
7702
  createTagsRule({ id: id2 = "", data: data2 }) {
@@ -7717,10 +7720,10 @@ function TrackingResource({ apiHandler }) {
7717
7720
  offset = null,
7718
7721
  sort = null,
7719
7722
  filter = null,
7720
- q = null,
7723
+ q: q2 = null,
7721
7724
  expand = null
7722
7725
  } = {}) {
7723
- const params = { limit, offset, sort, filter, q, expand };
7726
+ const params = { limit, offset, sort, filter, q: q2, expand };
7724
7727
  return apiHandler.getAll(`tracking/api`, params);
7725
7728
  },
7726
7729
  getApiLog({ id: id2 }) {
@@ -7731,9 +7734,9 @@ function TrackingResource({ apiHandler }) {
7731
7734
  offset = null,
7732
7735
  sort = null,
7733
7736
  filter = null,
7734
- q = null
7737
+ q: q2 = null
7735
7738
  } = {}) {
7736
- const params = { limit, offset, sort, filter, q };
7739
+ const params = { limit, offset, sort, filter, q: q2 };
7737
7740
  return apiHandler.getAll(`tracking/taxes`, params);
7738
7741
  },
7739
7742
  getTaxTrackingLog({ id: id2 }) {
@@ -7744,9 +7747,9 @@ function TrackingResource({ apiHandler }) {
7744
7747
  offset = null,
7745
7748
  sort = null,
7746
7749
  filter = null,
7747
- q = null
7750
+ q: q2 = null
7748
7751
  } = {}) {
7749
- const params = { limit, offset, sort, filter, q };
7752
+ const params = { limit, offset, sort, filter, q: q2 };
7750
7753
  return apiHandler.getAll(`tracking/lists`, params);
7751
7754
  },
7752
7755
  getAllWebhookTrackingLogs({
@@ -7754,9 +7757,9 @@ function TrackingResource({ apiHandler }) {
7754
7757
  offset = null,
7755
7758
  sort = null,
7756
7759
  filter = null,
7757
- q = null
7760
+ q: q2 = null
7758
7761
  } = {}) {
7759
- const params = { limit, offset, sort, filter, q };
7762
+ const params = { limit, offset, sort, filter, q: q2 };
7760
7763
  return apiHandler.getAll(`tracking/webhooks`, params);
7761
7764
  },
7762
7765
  getWebhookTrackingLog({ id: id2 }) {
@@ -7773,11 +7776,11 @@ function TransactionsResource$1({ apiHandler }) {
7773
7776
  limit = null,
7774
7777
  offset = null,
7775
7778
  filter = null,
7776
- q = null,
7779
+ q: q2 = null,
7777
7780
  sort = null,
7778
7781
  expand = null
7779
7782
  } = {}) {
7780
- const params = { limit, offset, filter, q, sort, expand };
7783
+ const params = { limit, offset, filter, q: q2, sort, expand };
7781
7784
  return apiHandler.getAll(`transactions`, params);
7782
7785
  },
7783
7786
  create({ data: data2, expand = null }) {
@@ -7806,9 +7809,9 @@ function TransactionsResource$1({ apiHandler }) {
7806
7809
  offset = null,
7807
7810
  filter = null,
7808
7811
  sort = null,
7809
- q = null
7812
+ q: q2 = null
7810
7813
  }) {
7811
- const params = { limit, offset, filter, sort, q };
7814
+ const params = { limit, offset, filter, sort, q: q2 };
7812
7815
  return apiHandler.getAll(`transactions/${id2}/timeline`, params);
7813
7816
  },
7814
7817
  createTimelineComment({ id: id2, data: data2 }) {
@@ -7829,9 +7832,9 @@ function UsagesResource({ apiHandler }) {
7829
7832
  sort = null,
7830
7833
  limit = null,
7831
7834
  offset = null,
7832
- q = null
7835
+ q: q2 = null
7833
7836
  } = {}) {
7834
- const params = { filter, sort, limit, offset, q };
7837
+ const params = { filter, sort, limit, offset, q: q2 };
7835
7838
  return apiHandler.getAll(`usages`, params);
7836
7839
  },
7837
7840
  create({ id: id2 = "", data: data2 }) {
@@ -7855,9 +7858,9 @@ function UsersResource({ apiHandler }) {
7855
7858
  offset = null,
7856
7859
  sort = null,
7857
7860
  filter = null,
7858
- q = null
7861
+ q: q2 = null
7859
7862
  } = {}) {
7860
- const params = { limit, offset, sort, filter, q };
7863
+ const params = { limit, offset, sort, filter, q: q2 };
7861
7864
  return apiHandler.getAll(`users`, params);
7862
7865
  },
7863
7866
  create({ id: id2 = "", data: data2 }) {
@@ -7896,11 +7899,11 @@ function WebsitesResource$1({ apiHandler }) {
7896
7899
  getAll({
7897
7900
  limit = null,
7898
7901
  offset = null,
7899
- q = null,
7902
+ q: q2 = null,
7900
7903
  filter = null,
7901
7904
  sort = null
7902
7905
  } = {}) {
7903
- const params = { limit, offset, q, filter, sort };
7906
+ const params = { limit, offset, q: q2, filter, sort };
7904
7907
  return apiHandler.getAll(`websites`, params);
7905
7908
  },
7906
7909
  create({ id: id2 = "", data: data2 }) {
@@ -8031,10 +8034,10 @@ function DataExportsResource({ apiHandler }) {
8031
8034
  sort = null,
8032
8035
  expand = null,
8033
8036
  filter = null,
8034
- q = null,
8037
+ q: q2 = null,
8035
8038
  criteria = null
8036
8039
  } = {}) {
8037
- const params = { limit, offset, sort, expand, filter, q, criteria };
8040
+ const params = { limit, offset, sort, expand, filter, q: q2, criteria };
8038
8041
  return apiHandler.getAll(`data-exports`, params);
8039
8042
  },
8040
8043
  queue({ id: id2 = "", data: data2, expand = null }) {
@@ -8527,9 +8530,9 @@ function InvoicesResource({ apiHandler }) {
8527
8530
  sort = null,
8528
8531
  limit = null,
8529
8532
  offset = null,
8530
- q = null
8533
+ q: q2 = null
8531
8534
  } = {}) {
8532
- const params = { filter, sort, limit, offset, q };
8535
+ const params = { filter, sort, limit, offset, q: q2 };
8533
8536
  return apiHandler.getAll(`invoices`, params);
8534
8537
  },
8535
8538
  get({ id: id2 }) {
@@ -8576,9 +8579,9 @@ function OrdersResource({ apiHandler }) {
8576
8579
  sort = null,
8577
8580
  limit = null,
8578
8581
  offset = null,
8579
- q = null
8582
+ q: q2 = null
8580
8583
  } = {}) {
8581
- const params = { filter, sort, limit, offset, q };
8584
+ const params = { filter, sort, limit, offset, q: q2 };
8582
8585
  return apiHandler.getAll(`orders`, params);
8583
8586
  },
8584
8587
  get({ id: id2 }) {
@@ -8602,9 +8605,9 @@ function PaymentInstrumentsResource({ apiHandler }) {
8602
8605
  sort = null,
8603
8606
  limit = null,
8604
8607
  offset = null,
8605
- q = null
8608
+ q: q2 = null
8606
8609
  } = {}) {
8607
- const params = { filter, sort, limit, offset, q };
8610
+ const params = { filter, sort, limit, offset, q: q2 };
8608
8611
  return apiHandler.getAll(`payment-instruments`, params);
8609
8612
  },
8610
8613
  create({ data: data2 }) {
@@ -8635,9 +8638,9 @@ function PayoutRequestsResource({ apiHandler }) {
8635
8638
  sort = null,
8636
8639
  limit = null,
8637
8640
  offset = null,
8638
- q = null
8641
+ q: q2 = null
8639
8642
  } = {}) {
8640
- const params = { filter, sort, limit, offset, q };
8643
+ const params = { filter, sort, limit, offset, q: q2 };
8641
8644
  return apiHandler.getAll(`payout-requests`, params);
8642
8645
  },
8643
8646
  get({ id: id2 }) {
@@ -8655,10 +8658,10 @@ function PlansResource({ apiHandler }) {
8655
8658
  sort = null,
8656
8659
  limit = null,
8657
8660
  offset = null,
8658
- q = null,
8661
+ q: q2 = null,
8659
8662
  expand = null
8660
8663
  } = {}) {
8661
- const params = { filter, sort, limit, offset, q, expand };
8664
+ const params = { filter, sort, limit, offset, q: q2, expand };
8662
8665
  return apiHandler.getAll(`plans`, params);
8663
8666
  },
8664
8667
  get({ id: id2, expand = null }) {
@@ -8674,9 +8677,9 @@ function ProductsResource({ apiHandler }) {
8674
8677
  sort = null,
8675
8678
  limit = null,
8676
8679
  offset = null,
8677
- q = null
8680
+ q: q2 = null
8678
8681
  } = {}) {
8679
- const params = { filter, sort, limit, offset, q };
8682
+ const params = { filter, sort, limit, offset, q: q2 };
8680
8683
  return apiHandler.getAll(`products`, params);
8681
8684
  },
8682
8685
  get({ id: id2 }) {
@@ -8727,10 +8730,10 @@ function TransactionsResource({ apiHandler }) {
8727
8730
  limit = null,
8728
8731
  offset = null,
8729
8732
  filter = null,
8730
- q = null,
8733
+ q: q2 = null,
8731
8734
  sort = null
8732
8735
  } = {}) {
8733
- const params = { limit, offset, filter, q, sort };
8736
+ const params = { limit, offset, filter, q: q2, sort };
8734
8737
  return apiHandler.getAll(`transactions`, params);
8735
8738
  },
8736
8739
  get({ id: id2 }) {
@@ -9096,239 +9099,239 @@ async function updateSummary({ instrument } = {}) {
9096
9099
  await fetchSummary({ data: instrument });
9097
9100
  state.updateModel();
9098
9101
  }
9099
- function t$1(t2, e2, r2, n2, o2, i2, a2) {
9102
+ function t$1(t2, e2, n2, r2, o2, a2, i2) {
9100
9103
  try {
9101
- var u2 = t2[i2](a2), c2 = u2.value;
9104
+ var c2 = t2[a2](i2), u2 = c2.value;
9102
9105
  } catch (t3) {
9103
- return void r2(t3);
9106
+ return void n2(t3);
9104
9107
  }
9105
- u2.done ? e2(c2) : Promise.resolve(c2).then(n2, o2);
9108
+ c2.done ? e2(u2) : Promise.resolve(u2).then(r2, o2);
9106
9109
  }
9107
9110
  function e$1(e2) {
9108
9111
  return function() {
9109
- var r2 = this, n2 = arguments;
9110
- return new Promise(function(o2, i2) {
9111
- var a2 = e2.apply(r2, n2);
9112
- function u2(e3) {
9113
- t$1(a2, o2, i2, u2, c2, "next", e3);
9114
- }
9112
+ var n2 = this, r2 = arguments;
9113
+ return new Promise(function(o2, a2) {
9114
+ var i2 = e2.apply(n2, r2);
9115
9115
  function c2(e3) {
9116
- t$1(a2, o2, i2, u2, c2, "throw", e3);
9116
+ t$1(i2, o2, a2, c2, u2, "next", e3);
9117
9117
  }
9118
- u2(void 0);
9118
+ function u2(e3) {
9119
+ t$1(i2, o2, a2, c2, u2, "throw", e3);
9120
+ }
9121
+ c2(void 0);
9119
9122
  });
9120
9123
  };
9121
9124
  }
9122
- function r$1(t2, e2, r2) {
9123
- return t2(r2 = { path: e2, exports: {}, require: function(t3, e3) {
9125
+ function n$1(t2, e2, n2) {
9126
+ return t2(n2 = { path: e2, exports: {}, require: function(t3, e3) {
9124
9127
  return function() {
9125
9128
  throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
9126
- }(null == e3 && r2.path);
9127
- } }, r2.exports), r2.exports;
9129
+ }(null == e3 && n2.path);
9130
+ } }, n2.exports), n2.exports;
9128
9131
  }
9129
- var n$1 = r$1(function(t2) {
9130
- function e2(r2) {
9132
+ var r$1 = n$1(function(t2) {
9133
+ function e2(n2) {
9131
9134
  return t2.exports = e2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t3) {
9132
9135
  return typeof t3;
9133
9136
  } : function(t3) {
9134
9137
  return t3 && "function" == typeof Symbol && t3.constructor === Symbol && t3 !== Symbol.prototype ? "symbol" : typeof t3;
9135
- }, t2.exports.__esModule = true, t2.exports.default = t2.exports, e2(r2);
9138
+ }, t2.exports.__esModule = true, t2.exports.default = t2.exports, e2(n2);
9136
9139
  }
9137
9140
  t2.exports = e2, t2.exports.__esModule = true, t2.exports.default = t2.exports;
9138
- }), o$1 = r$1(function(t2) {
9139
- var e2 = n$1.default;
9140
- function r2() {
9141
+ }), o$1 = n$1(function(t2) {
9142
+ var e2 = r$1.default;
9143
+ function n2() {
9141
9144
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
9142
- t2.exports = r2 = function() {
9145
+ t2.exports = n2 = function() {
9143
9146
  return o2;
9144
9147
  }, t2.exports.__esModule = true, t2.exports.default = t2.exports;
9145
- var n2, o2 = {}, i2 = Object.prototype, a2 = i2.hasOwnProperty, u2 = Object.defineProperty || function(t3, e3, r3) {
9146
- t3[e3] = r3.value;
9147
- }, c2 = "function" == typeof Symbol ? Symbol : {}, s2 = c2.iterator || "@@iterator", l2 = c2.asyncIterator || "@@asyncIterator", f2 = c2.toStringTag || "@@toStringTag";
9148
- function p2(t3, e3, r3) {
9149
- return Object.defineProperty(t3, e3, { value: r3, enumerable: true, configurable: true, writable: true }), t3[e3];
9148
+ var r2, o2 = {}, a2 = Object.prototype, i2 = a2.hasOwnProperty, c2 = Object.defineProperty || function(t3, e3, n3) {
9149
+ t3[e3] = n3.value;
9150
+ }, u2 = "function" == typeof Symbol ? Symbol : {}, s2 = u2.iterator || "@@iterator", l2 = u2.asyncIterator || "@@asyncIterator", d2 = u2.toStringTag || "@@toStringTag";
9151
+ function f2(t3, e3, n3) {
9152
+ return Object.defineProperty(t3, e3, { value: n3, enumerable: true, configurable: true, writable: true }), t3[e3];
9150
9153
  }
9151
9154
  try {
9152
- p2({}, "");
9153
- } catch (n3) {
9154
- p2 = function(t3, e3, r3) {
9155
- return t3[e3] = r3;
9155
+ f2({}, "");
9156
+ } catch (r3) {
9157
+ f2 = function(t3, e3, n3) {
9158
+ return t3[e3] = n3;
9156
9159
  };
9157
9160
  }
9158
- function h2(t3, e3, r3, n3) {
9159
- var o3 = e3 && e3.prototype instanceof g2 ? e3 : g2, i3 = Object.create(o3.prototype), a3 = new P2(n3 || []);
9160
- return u2(i3, "_invoke", { value: N2(t3, r3, a3) }), i3;
9161
+ function h2(t3, e3, n3, r3) {
9162
+ var o3 = e3 && e3.prototype instanceof w2 ? e3 : w2, a3 = Object.create(o3.prototype), i3 = new A2(r3 || []);
9163
+ return c2(a3, "_invoke", { value: I2(t3, n3, i3) }), a3;
9161
9164
  }
9162
- function d2(t3, e3, r3) {
9165
+ function m2(t3, e3, n3) {
9163
9166
  try {
9164
- return { type: "normal", arg: t3.call(e3, r3) };
9167
+ return { type: "normal", arg: t3.call(e3, n3) };
9165
9168
  } catch (t4) {
9166
9169
  return { type: "throw", arg: t4 };
9167
9170
  }
9168
9171
  }
9169
9172
  o2.wrap = h2;
9170
- var v2 = "suspendedStart", y2 = "suspendedYield", m2 = "executing", R2 = "completed", E2 = {};
9171
- function g2() {
9172
- }
9173
+ var v2 = "suspendedStart", p2 = "suspendedYield", y2 = "executing", b2 = "completed", g2 = {};
9173
9174
  function w2() {
9174
9175
  }
9175
- function b2() {
9176
+ function L2() {
9176
9177
  }
9177
- var O2 = {};
9178
- p2(O2, s2, function() {
9178
+ function k2() {
9179
+ }
9180
+ var x2 = {};
9181
+ f2(x2, s2, function() {
9179
9182
  return this;
9180
9183
  });
9181
- var _2 = Object.getPrototypeOf, I2 = _2 && _2(_2(j2([])));
9182
- I2 && I2 !== i2 && a2.call(I2, s2) && (O2 = I2);
9183
- var x2 = b2.prototype = g2.prototype = Object.create(O2);
9184
- function S2(t3) {
9184
+ var V2 = Object.getPrototypeOf, S2 = V2 && V2(V2(G2([])));
9185
+ S2 && S2 !== a2 && i2.call(S2, s2) && (x2 = S2);
9186
+ var Z2 = k2.prototype = w2.prototype = Object.create(x2);
9187
+ function W2(t3) {
9185
9188
  ["next", "throw", "return"].forEach(function(e3) {
9186
- p2(t3, e3, function(t4) {
9189
+ f2(t3, e3, function(t4) {
9187
9190
  return this._invoke(e3, t4);
9188
9191
  });
9189
9192
  });
9190
9193
  }
9191
- function k2(t3, r3) {
9192
- function n3(o4, i3, u3, c3) {
9193
- var s3 = d2(t3[o4], t3, i3);
9194
+ function C2(t3, n3) {
9195
+ function r3(o4, a3, c3, u3) {
9196
+ var s3 = m2(t3[o4], t3, a3);
9194
9197
  if ("throw" !== s3.type) {
9195
- var l3 = s3.arg, f3 = l3.value;
9196
- return f3 && "object" == e2(f3) && a2.call(f3, "__await") ? r3.resolve(f3.__await).then(function(t4) {
9197
- n3("next", t4, u3, c3);
9198
+ var l3 = s3.arg, d3 = l3.value;
9199
+ return d3 && "object" == e2(d3) && i2.call(d3, "__await") ? n3.resolve(d3.__await).then(function(t4) {
9200
+ r3("next", t4, c3, u3);
9198
9201
  }, function(t4) {
9199
- n3("throw", t4, u3, c3);
9200
- }) : r3.resolve(f3).then(function(t4) {
9201
- l3.value = t4, u3(l3);
9202
+ r3("throw", t4, c3, u3);
9203
+ }) : n3.resolve(d3).then(function(t4) {
9204
+ l3.value = t4, c3(l3);
9202
9205
  }, function(t4) {
9203
- return n3("throw", t4, u3, c3);
9206
+ return r3("throw", t4, c3, u3);
9204
9207
  });
9205
9208
  }
9206
- c3(s3.arg);
9209
+ u3(s3.arg);
9207
9210
  }
9208
9211
  var o3;
9209
- u2(this, "_invoke", { value: function(t4, e3) {
9210
- function i3() {
9211
- return new r3(function(r4, o4) {
9212
- n3(t4, e3, r4, o4);
9212
+ c2(this, "_invoke", { value: function(t4, e3) {
9213
+ function a3() {
9214
+ return new n3(function(n4, o4) {
9215
+ r3(t4, e3, n4, o4);
9213
9216
  });
9214
9217
  }
9215
- return o3 = o3 ? o3.then(i3, i3) : i3();
9218
+ return o3 = o3 ? o3.then(a3, a3) : a3();
9216
9219
  } });
9217
9220
  }
9218
- function N2(t3, e3, r3) {
9221
+ function I2(t3, e3, n3) {
9219
9222
  var o3 = v2;
9220
- return function(i3, a3) {
9221
- if (o3 === m2)
9223
+ return function(a3, i3) {
9224
+ if (o3 === y2)
9222
9225
  throw new Error("Generator is already running");
9223
- if (o3 === R2) {
9224
- if ("throw" === i3)
9225
- throw a3;
9226
- return { value: n2, done: true };
9226
+ if (o3 === b2) {
9227
+ if ("throw" === a3)
9228
+ throw i3;
9229
+ return { value: r2, done: true };
9227
9230
  }
9228
- for (r3.method = i3, r3.arg = a3; ; ) {
9229
- var u3 = r3.delegate;
9230
- if (u3) {
9231
- var c3 = L2(u3, r3);
9232
- if (c3) {
9233
- if (c3 === E2)
9231
+ for (n3.method = a3, n3.arg = i3; ; ) {
9232
+ var c3 = n3.delegate;
9233
+ if (c3) {
9234
+ var u3 = F2(c3, n3);
9235
+ if (u3) {
9236
+ if (u3 === g2)
9234
9237
  continue;
9235
- return c3;
9238
+ return u3;
9236
9239
  }
9237
9240
  }
9238
- if ("next" === r3.method)
9239
- r3.sent = r3._sent = r3.arg;
9240
- else if ("throw" === r3.method) {
9241
+ if ("next" === n3.method)
9242
+ n3.sent = n3._sent = n3.arg;
9243
+ else if ("throw" === n3.method) {
9241
9244
  if (o3 === v2)
9242
- throw o3 = R2, r3.arg;
9243
- r3.dispatchException(r3.arg);
9245
+ throw o3 = b2, n3.arg;
9246
+ n3.dispatchException(n3.arg);
9244
9247
  } else
9245
- "return" === r3.method && r3.abrupt("return", r3.arg);
9246
- o3 = m2;
9247
- var s3 = d2(t3, e3, r3);
9248
+ "return" === n3.method && n3.abrupt("return", n3.arg);
9249
+ o3 = y2;
9250
+ var s3 = m2(t3, e3, n3);
9248
9251
  if ("normal" === s3.type) {
9249
- if (o3 = r3.done ? R2 : y2, s3.arg === E2)
9252
+ if (o3 = n3.done ? b2 : p2, s3.arg === g2)
9250
9253
  continue;
9251
- return { value: s3.arg, done: r3.done };
9254
+ return { value: s3.arg, done: n3.done };
9252
9255
  }
9253
- "throw" === s3.type && (o3 = R2, r3.method = "throw", r3.arg = s3.arg);
9256
+ "throw" === s3.type && (o3 = b2, n3.method = "throw", n3.arg = s3.arg);
9254
9257
  }
9255
9258
  };
9256
9259
  }
9257
- function L2(t3, e3) {
9258
- var r3 = e3.method, o3 = t3.iterator[r3];
9259
- if (o3 === n2)
9260
- return e3.delegate = null, "throw" === r3 && t3.iterator.return && (e3.method = "return", e3.arg = n2, L2(t3, e3), "throw" === e3.method) || "return" !== r3 && (e3.method = "throw", e3.arg = new TypeError("The iterator does not provide a '" + r3 + "' method")), E2;
9261
- var i3 = d2(o3, t3.iterator, e3.arg);
9262
- if ("throw" === i3.type)
9263
- return e3.method = "throw", e3.arg = i3.arg, e3.delegate = null, E2;
9264
- var a3 = i3.arg;
9265
- return a3 ? a3.done ? (e3[t3.resultName] = a3.value, e3.next = t3.nextLoc, "return" !== e3.method && (e3.method = "next", e3.arg = n2), e3.delegate = null, E2) : a3 : (e3.method = "throw", e3.arg = new TypeError("iterator result is not an object"), e3.delegate = null, E2);
9266
- }
9267
- function T2(t3) {
9260
+ function F2(t3, e3) {
9261
+ var n3 = e3.method, o3 = t3.iterator[n3];
9262
+ if (o3 === r2)
9263
+ return e3.delegate = null, "throw" === n3 && t3.iterator.return && (e3.method = "return", e3.arg = r2, F2(t3, e3), "throw" === e3.method) || "return" !== n3 && (e3.method = "throw", e3.arg = new TypeError("The iterator does not provide a '" + n3 + "' method")), g2;
9264
+ var a3 = m2(o3, t3.iterator, e3.arg);
9265
+ if ("throw" === a3.type)
9266
+ return e3.method = "throw", e3.arg = a3.arg, e3.delegate = null, g2;
9267
+ var i3 = a3.arg;
9268
+ return i3 ? i3.done ? (e3[t3.resultName] = i3.value, e3.next = t3.nextLoc, "return" !== e3.method && (e3.method = "next", e3.arg = r2), e3.delegate = null, g2) : i3 : (e3.method = "throw", e3.arg = new TypeError("iterator result is not an object"), e3.delegate = null, g2);
9269
+ }
9270
+ function j2(t3) {
9268
9271
  var e3 = { tryLoc: t3[0] };
9269
9272
  1 in t3 && (e3.catchLoc = t3[1]), 2 in t3 && (e3.finallyLoc = t3[2], e3.afterLoc = t3[3]), this.tryEntries.push(e3);
9270
9273
  }
9271
- function A2(t3) {
9274
+ function M2(t3) {
9272
9275
  var e3 = t3.completion || {};
9273
9276
  e3.type = "normal", delete e3.arg, t3.completion = e3;
9274
9277
  }
9275
- function P2(t3) {
9276
- this.tryEntries = [{ tryLoc: "root" }], t3.forEach(T2, this), this.reset(true);
9278
+ function A2(t3) {
9279
+ this.tryEntries = [{ tryLoc: "root" }], t3.forEach(j2, this), this.reset(true);
9277
9280
  }
9278
- function j2(t3) {
9281
+ function G2(t3) {
9279
9282
  if (t3 || "" === t3) {
9280
- var r3 = t3[s2];
9281
- if (r3)
9282
- return r3.call(t3);
9283
+ var n3 = t3[s2];
9284
+ if (n3)
9285
+ return n3.call(t3);
9283
9286
  if ("function" == typeof t3.next)
9284
9287
  return t3;
9285
9288
  if (!isNaN(t3.length)) {
9286
- var o3 = -1, i3 = function e3() {
9289
+ var o3 = -1, a3 = function e3() {
9287
9290
  for (; ++o3 < t3.length; )
9288
- if (a2.call(t3, o3))
9291
+ if (i2.call(t3, o3))
9289
9292
  return e3.value = t3[o3], e3.done = false, e3;
9290
- return e3.value = n2, e3.done = true, e3;
9293
+ return e3.value = r2, e3.done = true, e3;
9291
9294
  };
9292
- return i3.next = i3;
9295
+ return a3.next = a3;
9293
9296
  }
9294
9297
  }
9295
9298
  throw new TypeError(e2(t3) + " is not iterable");
9296
9299
  }
9297
- return w2.prototype = b2, u2(x2, "constructor", { value: b2, configurable: true }), u2(b2, "constructor", { value: w2, configurable: true }), w2.displayName = p2(b2, f2, "GeneratorFunction"), o2.isGeneratorFunction = function(t3) {
9300
+ return L2.prototype = k2, c2(Z2, "constructor", { value: k2, configurable: true }), c2(k2, "constructor", { value: L2, configurable: true }), L2.displayName = f2(k2, d2, "GeneratorFunction"), o2.isGeneratorFunction = function(t3) {
9298
9301
  var e3 = "function" == typeof t3 && t3.constructor;
9299
- return !!e3 && (e3 === w2 || "GeneratorFunction" === (e3.displayName || e3.name));
9302
+ return !!e3 && (e3 === L2 || "GeneratorFunction" === (e3.displayName || e3.name));
9300
9303
  }, o2.mark = function(t3) {
9301
- return Object.setPrototypeOf ? Object.setPrototypeOf(t3, b2) : (t3.__proto__ = b2, p2(t3, f2, "GeneratorFunction")), t3.prototype = Object.create(x2), t3;
9304
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t3, k2) : (t3.__proto__ = k2, f2(t3, d2, "GeneratorFunction")), t3.prototype = Object.create(Z2), t3;
9302
9305
  }, o2.awrap = function(t3) {
9303
9306
  return { __await: t3 };
9304
- }, S2(k2.prototype), p2(k2.prototype, l2, function() {
9307
+ }, W2(C2.prototype), f2(C2.prototype, l2, function() {
9305
9308
  return this;
9306
- }), o2.AsyncIterator = k2, o2.async = function(t3, e3, r3, n3, i3) {
9307
- void 0 === i3 && (i3 = Promise);
9308
- var a3 = new k2(h2(t3, e3, r3, n3), i3);
9309
- return o2.isGeneratorFunction(e3) ? a3 : a3.next().then(function(t4) {
9310
- return t4.done ? t4.value : a3.next();
9309
+ }), o2.AsyncIterator = C2, o2.async = function(t3, e3, n3, r3, a3) {
9310
+ void 0 === a3 && (a3 = Promise);
9311
+ var i3 = new C2(h2(t3, e3, n3, r3), a3);
9312
+ return o2.isGeneratorFunction(e3) ? i3 : i3.next().then(function(t4) {
9313
+ return t4.done ? t4.value : i3.next();
9311
9314
  });
9312
- }, S2(x2), p2(x2, f2, "Generator"), p2(x2, s2, function() {
9315
+ }, W2(Z2), f2(Z2, d2, "Generator"), f2(Z2, s2, function() {
9313
9316
  return this;
9314
- }), p2(x2, "toString", function() {
9317
+ }), f2(Z2, "toString", function() {
9315
9318
  return "[object Generator]";
9316
9319
  }), o2.keys = function(t3) {
9317
- var e3 = Object(t3), r3 = [];
9318
- for (var n3 in e3)
9319
- r3.push(n3);
9320
- return r3.reverse(), function t4() {
9321
- for (; r3.length; ) {
9322
- var n4 = r3.pop();
9323
- if (n4 in e3)
9324
- return t4.value = n4, t4.done = false, t4;
9320
+ var e3 = Object(t3), n3 = [];
9321
+ for (var r3 in e3)
9322
+ n3.push(r3);
9323
+ return n3.reverse(), function t4() {
9324
+ for (; n3.length; ) {
9325
+ var r4 = n3.pop();
9326
+ if (r4 in e3)
9327
+ return t4.value = r4, t4.done = false, t4;
9325
9328
  }
9326
9329
  return t4.done = true, t4;
9327
9330
  };
9328
- }, o2.values = j2, P2.prototype = { constructor: P2, reset: function(t3) {
9329
- if (this.prev = 0, this.next = 0, this.sent = this._sent = n2, this.done = false, this.delegate = null, this.method = "next", this.arg = n2, this.tryEntries.forEach(A2), !t3)
9331
+ }, o2.values = G2, A2.prototype = { constructor: A2, reset: function(t3) {
9332
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = r2, this.done = false, this.delegate = null, this.method = "next", this.arg = r2, this.tryEntries.forEach(M2), !t3)
9330
9333
  for (var e3 in this)
9331
- "t" === e3.charAt(0) && a2.call(this, e3) && !isNaN(+e3.slice(1)) && (this[e3] = n2);
9334
+ "t" === e3.charAt(0) && i2.call(this, e3) && !isNaN(+e3.slice(1)) && (this[e3] = r2);
9332
9335
  }, stop: function() {
9333
9336
  this.done = true;
9334
9337
  var t3 = this.tryEntries[0].completion;
@@ -9339,305 +9342,1085 @@ var n$1 = r$1(function(t2) {
9339
9342
  if (this.done)
9340
9343
  throw t3;
9341
9344
  var e3 = this;
9342
- function r3(r4, o4) {
9343
- return u3.type = "throw", u3.arg = t3, e3.next = r4, o4 && (e3.method = "next", e3.arg = n2), !!o4;
9345
+ function n3(n4, o4) {
9346
+ return c3.type = "throw", c3.arg = t3, e3.next = n4, o4 && (e3.method = "next", e3.arg = r2), !!o4;
9344
9347
  }
9345
9348
  for (var o3 = this.tryEntries.length - 1; o3 >= 0; --o3) {
9346
- var i3 = this.tryEntries[o3], u3 = i3.completion;
9347
- if ("root" === i3.tryLoc)
9348
- return r3("end");
9349
- if (i3.tryLoc <= this.prev) {
9350
- var c3 = a2.call(i3, "catchLoc"), s3 = a2.call(i3, "finallyLoc");
9351
- if (c3 && s3) {
9352
- if (this.prev < i3.catchLoc)
9353
- return r3(i3.catchLoc, true);
9354
- if (this.prev < i3.finallyLoc)
9355
- return r3(i3.finallyLoc);
9356
- } else if (c3) {
9357
- if (this.prev < i3.catchLoc)
9358
- return r3(i3.catchLoc, true);
9349
+ var a3 = this.tryEntries[o3], c3 = a3.completion;
9350
+ if ("root" === a3.tryLoc)
9351
+ return n3("end");
9352
+ if (a3.tryLoc <= this.prev) {
9353
+ var u3 = i2.call(a3, "catchLoc"), s3 = i2.call(a3, "finallyLoc");
9354
+ if (u3 && s3) {
9355
+ if (this.prev < a3.catchLoc)
9356
+ return n3(a3.catchLoc, true);
9357
+ if (this.prev < a3.finallyLoc)
9358
+ return n3(a3.finallyLoc);
9359
+ } else if (u3) {
9360
+ if (this.prev < a3.catchLoc)
9361
+ return n3(a3.catchLoc, true);
9359
9362
  } else {
9360
9363
  if (!s3)
9361
9364
  throw new Error("try statement without catch or finally");
9362
- if (this.prev < i3.finallyLoc)
9363
- return r3(i3.finallyLoc);
9365
+ if (this.prev < a3.finallyLoc)
9366
+ return n3(a3.finallyLoc);
9364
9367
  }
9365
9368
  }
9366
9369
  }
9367
9370
  }, abrupt: function(t3, e3) {
9368
- for (var r3 = this.tryEntries.length - 1; r3 >= 0; --r3) {
9369
- var n3 = this.tryEntries[r3];
9370
- if (n3.tryLoc <= this.prev && a2.call(n3, "finallyLoc") && this.prev < n3.finallyLoc) {
9371
- var o3 = n3;
9371
+ for (var n3 = this.tryEntries.length - 1; n3 >= 0; --n3) {
9372
+ var r3 = this.tryEntries[n3];
9373
+ if (r3.tryLoc <= this.prev && i2.call(r3, "finallyLoc") && this.prev < r3.finallyLoc) {
9374
+ var o3 = r3;
9372
9375
  break;
9373
9376
  }
9374
9377
  }
9375
9378
  o3 && ("break" === t3 || "continue" === t3) && o3.tryLoc <= e3 && e3 <= o3.finallyLoc && (o3 = null);
9376
- var i3 = o3 ? o3.completion : {};
9377
- return i3.type = t3, i3.arg = e3, o3 ? (this.method = "next", this.next = o3.finallyLoc, E2) : this.complete(i3);
9379
+ var a3 = o3 ? o3.completion : {};
9380
+ return a3.type = t3, a3.arg = e3, o3 ? (this.method = "next", this.next = o3.finallyLoc, g2) : this.complete(a3);
9378
9381
  }, complete: function(t3, e3) {
9379
9382
  if ("throw" === t3.type)
9380
9383
  throw t3.arg;
9381
- return "break" === t3.type || "continue" === t3.type ? this.next = t3.arg : "return" === t3.type ? (this.rval = this.arg = t3.arg, this.method = "return", this.next = "end") : "normal" === t3.type && e3 && (this.next = e3), E2;
9384
+ return "break" === t3.type || "continue" === t3.type ? this.next = t3.arg : "return" === t3.type ? (this.rval = this.arg = t3.arg, this.method = "return", this.next = "end") : "normal" === t3.type && e3 && (this.next = e3), g2;
9382
9385
  }, finish: function(t3) {
9383
9386
  for (var e3 = this.tryEntries.length - 1; e3 >= 0; --e3) {
9384
- var r3 = this.tryEntries[e3];
9385
- if (r3.finallyLoc === t3)
9386
- return this.complete(r3.completion, r3.afterLoc), A2(r3), E2;
9387
+ var n3 = this.tryEntries[e3];
9388
+ if (n3.finallyLoc === t3)
9389
+ return this.complete(n3.completion, n3.afterLoc), M2(n3), g2;
9387
9390
  }
9388
9391
  }, catch: function(t3) {
9389
9392
  for (var e3 = this.tryEntries.length - 1; e3 >= 0; --e3) {
9390
- var r3 = this.tryEntries[e3];
9391
- if (r3.tryLoc === t3) {
9392
- var n3 = r3.completion;
9393
- if ("throw" === n3.type) {
9394
- var o3 = n3.arg;
9395
- A2(r3);
9393
+ var n3 = this.tryEntries[e3];
9394
+ if (n3.tryLoc === t3) {
9395
+ var r3 = n3.completion;
9396
+ if ("throw" === r3.type) {
9397
+ var o3 = r3.arg;
9398
+ M2(n3);
9396
9399
  }
9397
9400
  return o3;
9398
9401
  }
9399
9402
  }
9400
9403
  throw new Error("illegal catch attempt");
9401
- }, delegateYield: function(t3, e3, r3) {
9402
- return this.delegate = { iterator: j2(t3), resultName: e3, nextLoc: r3 }, "next" === this.method && (this.arg = n2), E2;
9404
+ }, delegateYield: function(t3, e3, n3) {
9405
+ return this.delegate = { iterator: G2(t3), resultName: e3, nextLoc: n3 }, "next" === this.method && (this.arg = r2), g2;
9403
9406
  } }, o2;
9404
9407
  }
9405
- t2.exports = r2, t2.exports.__esModule = true, t2.exports.default = t2.exports;
9406
- }), i = o$1(), a = i;
9408
+ t2.exports = n2, t2.exports.__esModule = true, t2.exports.default = t2.exports;
9409
+ })(), a = o$1;
9407
9410
  try {
9408
- regeneratorRuntime = i;
9411
+ regeneratorRuntime = o$1;
9409
9412
  } catch (t2) {
9410
- "object" == typeof globalThis ? globalThis.regeneratorRuntime = i : Function("r", "regeneratorRuntime = r")(i);
9411
- }
9412
- function u(t2) {
9413
- return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t3) {
9414
- return typeof t3;
9415
- } : function(t3) {
9416
- return t3 && "function" == typeof Symbol && t3.constructor === Symbol && t3 !== Symbol.prototype ? "symbol" : typeof t3;
9417
- }, u(t2);
9418
- }
9419
- var c = function() {
9420
- return c = Object.assign || function(t2) {
9421
- for (var e2, r2 = 1, n2 = arguments.length; r2 < n2; r2++)
9422
- for (var o2 in e2 = arguments[r2])
9413
+ "object" == typeof globalThis ? globalThis.regeneratorRuntime = o$1 : Function("r", "regeneratorRuntime = r")(o$1);
9414
+ }
9415
+ var i = function() {
9416
+ return i = Object.assign || function(t2) {
9417
+ for (var e2, n2 = 1, r2 = arguments.length; n2 < r2; n2++)
9418
+ for (var o2 in e2 = arguments[n2])
9423
9419
  Object.prototype.hasOwnProperty.call(e2, o2) && (t2[o2] = e2[o2]);
9424
9420
  return t2;
9425
- }, c.apply(this, arguments);
9421
+ }, i.apply(this, arguments);
9426
9422
  };
9427
- function s(t2) {
9428
- for (var e2 = "", r2 = 0; r2 < t2.length; ++r2)
9429
- if (r2 > 0) {
9430
- var n2 = t2[r2].toLowerCase();
9431
- n2 !== t2[r2] ? e2 += " ".concat(n2) : e2 += t2[r2];
9432
- } else
9433
- e2 += t2[r2].toUpperCase();
9434
- return e2;
9423
+ function c(t2, e2, n2, r2) {
9424
+ return new (n2 || (n2 = Promise))(function(o2, a2) {
9425
+ function i2(t3) {
9426
+ try {
9427
+ u2(r2.next(t3));
9428
+ } catch (t4) {
9429
+ a2(t4);
9430
+ }
9431
+ }
9432
+ function c2(t3) {
9433
+ try {
9434
+ u2(r2.throw(t3));
9435
+ } catch (t4) {
9436
+ a2(t4);
9437
+ }
9438
+ }
9439
+ function u2(t3) {
9440
+ var e3;
9441
+ t3.done ? o2(t3.value) : (e3 = t3.value, e3 instanceof n2 ? e3 : new n2(function(t4) {
9442
+ t4(e3);
9443
+ })).then(i2, c2);
9444
+ }
9445
+ u2((r2 = r2.apply(t2, e2 || [])).next());
9446
+ });
9447
+ }
9448
+ function u(t2, e2) {
9449
+ var n2, r2, o2, a2, i2 = { label: 0, sent: function() {
9450
+ if (1 & o2[0])
9451
+ throw o2[1];
9452
+ return o2[1];
9453
+ }, trys: [], ops: [] };
9454
+ return a2 = { next: c2(0), throw: c2(1), return: c2(2) }, "function" == typeof Symbol && (a2[Symbol.iterator] = function() {
9455
+ return this;
9456
+ }), a2;
9457
+ function c2(c3) {
9458
+ return function(u2) {
9459
+ return function(c4) {
9460
+ if (n2)
9461
+ throw new TypeError("Generator is already executing.");
9462
+ for (; a2 && (a2 = 0, c4[0] && (i2 = 0)), i2; )
9463
+ try {
9464
+ if (n2 = 1, r2 && (o2 = 2 & c4[0] ? r2.return : c4[0] ? r2.throw || ((o2 = r2.return) && o2.call(r2), 0) : r2.next) && !(o2 = o2.call(r2, c4[1])).done)
9465
+ return o2;
9466
+ switch (r2 = 0, o2 && (c4 = [2 & c4[0], o2.value]), c4[0]) {
9467
+ case 0:
9468
+ case 1:
9469
+ o2 = c4;
9470
+ break;
9471
+ case 4:
9472
+ return i2.label++, { value: c4[1], done: false };
9473
+ case 5:
9474
+ i2.label++, r2 = c4[1], c4 = [0];
9475
+ continue;
9476
+ case 7:
9477
+ c4 = i2.ops.pop(), i2.trys.pop();
9478
+ continue;
9479
+ default:
9480
+ if (!(o2 = i2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== c4[0] && 2 !== c4[0])) {
9481
+ i2 = 0;
9482
+ continue;
9483
+ }
9484
+ if (3 === c4[0] && (!o2 || c4[1] > o2[0] && c4[1] < o2[3])) {
9485
+ i2.label = c4[1];
9486
+ break;
9487
+ }
9488
+ if (6 === c4[0] && i2.label < o2[1]) {
9489
+ i2.label = o2[1], o2 = c4;
9490
+ break;
9491
+ }
9492
+ if (o2 && i2.label < o2[2]) {
9493
+ i2.label = o2[2], i2.ops.push(c4);
9494
+ break;
9495
+ }
9496
+ o2[2] && i2.ops.pop(), i2.trys.pop();
9497
+ continue;
9498
+ }
9499
+ c4 = e2.call(t2, i2);
9500
+ } catch (t3) {
9501
+ c4 = [6, t3], r2 = 0;
9502
+ } finally {
9503
+ n2 = o2 = 0;
9504
+ }
9505
+ if (5 & c4[0])
9506
+ throw c4[1];
9507
+ return { value: c4[0] ? c4[1] : void 0, done: true };
9508
+ }([c3, u2]);
9509
+ };
9510
+ }
9511
+ }
9512
+ function s(t2, e2, n2) {
9513
+ if (n2 || 2 === arguments.length)
9514
+ for (var r2, o2 = 0, a2 = e2.length; o2 < a2; o2++)
9515
+ !r2 && o2 in e2 || (r2 || (r2 = Array.prototype.slice.call(e2, 0, o2)), r2[o2] = e2[o2]);
9516
+ return t2.concat(r2 || Array.prototype.slice.call(e2));
9435
9517
  }
9436
9518
  "function" == typeof SuppressedError && SuppressedError;
9437
- var l = "Blocked by CSP", f = s("WrongRegion"), p = s("SubscriptionNotActive"), h = s("UnsupportedVersion"), d = s("InstallationMethodRestricted"), v = "API key required", y = "API key not found", m = "API key expired", R = "9319";
9438
- function E(t2, e2) {
9439
- var r2 = [];
9440
- return function(t3, e3) {
9441
- var r3, n2, o2 = (n2 = function(t4, e4, r4) {
9442
- if (r4 || 2 === arguments.length)
9443
- for (var n3, o3 = 0, i3 = e4.length; o3 < i3; o3++)
9444
- !n3 && o3 in e4 || (n3 || (n3 = Array.prototype.slice.call(e4, 0, o3)), n3[o3] = e4[o3]);
9445
- return t4.concat(n3 || Array.prototype.slice.call(e4));
9446
- }([], t3, true), { current: function() {
9447
- return n2[0];
9448
- }, postpone: function() {
9449
- var t4 = n2.shift();
9450
- void 0 !== t4 && n2.push(t4);
9451
- }, exclude: function() {
9452
- n2.shift();
9453
- } }), i2 = (r3 = 0, function() {
9454
- return Math.random() * Math.min(3e3, 100 * Math.pow(2, r3++));
9455
- }), a2 = o2.current();
9456
- if (void 0 === a2)
9457
- return Promise.reject(new TypeError("The list of script URL patterns is empty"));
9458
- var u2 = function(t4, r4) {
9459
- return e3(t4).catch(function(t5) {
9460
- if (r4 + 1 >= 5)
9461
- throw t5;
9462
- !function(t6) {
9463
- if (!(t6 instanceof Error))
9464
- return false;
9465
- var e5 = t6.message;
9466
- return e5 === l || e5 === R;
9467
- }(t5) ? o2.postpone() : o2.exclude();
9468
- var e4, n3 = o2.current();
9469
- if (void 0 === n3)
9470
- throw t5;
9471
- return (e4 = i2(), new Promise(function(t6) {
9472
- return setTimeout(t6, e4);
9473
- })).then(function() {
9474
- return u2(n3, r4 + 1);
9519
+ var l = "3.4.2";
9520
+ function d(t2, e2) {
9521
+ return new Promise(function(n2) {
9522
+ return setTimeout(n2, t2, e2);
9523
+ });
9524
+ }
9525
+ function f(t2) {
9526
+ return !!t2 && "function" == typeof t2.then;
9527
+ }
9528
+ function h(t2, e2) {
9529
+ try {
9530
+ var n2 = t2();
9531
+ f(n2) ? n2.then(function(t3) {
9532
+ return e2(true, t3);
9533
+ }, function(t3) {
9534
+ return e2(false, t3);
9535
+ }) : e2(true, n2);
9536
+ } catch (t3) {
9537
+ e2(false, t3);
9538
+ }
9539
+ }
9540
+ function m(t2, e2, n2) {
9541
+ return void 0 === n2 && (n2 = 16), c(this, void 0, void 0, function() {
9542
+ var r2, o2, a2, i2;
9543
+ return u(this, function(c2) {
9544
+ switch (c2.label) {
9545
+ case 0:
9546
+ r2 = Array(t2.length), o2 = Date.now(), a2 = 0, c2.label = 1;
9547
+ case 1:
9548
+ return a2 < t2.length ? (r2[a2] = e2(t2[a2], a2), (i2 = Date.now()) >= o2 + n2 ? (o2 = i2, [4, d(0)]) : [3, 3]) : [3, 4];
9549
+ case 2:
9550
+ c2.sent(), c2.label = 3;
9551
+ case 3:
9552
+ return ++a2, [3, 1];
9553
+ case 4:
9554
+ return [2, r2];
9555
+ }
9556
+ });
9557
+ });
9558
+ }
9559
+ function v(t2) {
9560
+ t2.then(void 0, function() {
9561
+ });
9562
+ }
9563
+ function p(t2, e2) {
9564
+ t2 = [t2[0] >>> 16, 65535 & t2[0], t2[1] >>> 16, 65535 & t2[1]], e2 = [e2[0] >>> 16, 65535 & e2[0], e2[1] >>> 16, 65535 & e2[1]];
9565
+ var n2 = [0, 0, 0, 0];
9566
+ return n2[3] += t2[3] + e2[3], n2[2] += n2[3] >>> 16, n2[3] &= 65535, n2[2] += t2[2] + e2[2], n2[1] += n2[2] >>> 16, n2[2] &= 65535, n2[1] += t2[1] + e2[1], n2[0] += n2[1] >>> 16, n2[1] &= 65535, n2[0] += t2[0] + e2[0], n2[0] &= 65535, [n2[0] << 16 | n2[1], n2[2] << 16 | n2[3]];
9567
+ }
9568
+ function y(t2, e2) {
9569
+ t2 = [t2[0] >>> 16, 65535 & t2[0], t2[1] >>> 16, 65535 & t2[1]], e2 = [e2[0] >>> 16, 65535 & e2[0], e2[1] >>> 16, 65535 & e2[1]];
9570
+ var n2 = [0, 0, 0, 0];
9571
+ return n2[3] += t2[3] * e2[3], n2[2] += n2[3] >>> 16, n2[3] &= 65535, n2[2] += t2[2] * e2[3], n2[1] += n2[2] >>> 16, n2[2] &= 65535, n2[2] += t2[3] * e2[2], n2[1] += n2[2] >>> 16, n2[2] &= 65535, n2[1] += t2[1] * e2[3], n2[0] += n2[1] >>> 16, n2[1] &= 65535, n2[1] += t2[2] * e2[2], n2[0] += n2[1] >>> 16, n2[1] &= 65535, n2[1] += t2[3] * e2[1], n2[0] += n2[1] >>> 16, n2[1] &= 65535, n2[0] += t2[0] * e2[3] + t2[1] * e2[2] + t2[2] * e2[1] + t2[3] * e2[0], n2[0] &= 65535, [n2[0] << 16 | n2[1], n2[2] << 16 | n2[3]];
9572
+ }
9573
+ function b(t2, e2) {
9574
+ return 32 === (e2 %= 64) ? [t2[1], t2[0]] : e2 < 32 ? [t2[0] << e2 | t2[1] >>> 32 - e2, t2[1] << e2 | t2[0] >>> 32 - e2] : (e2 -= 32, [t2[1] << e2 | t2[0] >>> 32 - e2, t2[0] << e2 | t2[1] >>> 32 - e2]);
9575
+ }
9576
+ function g(t2, e2) {
9577
+ return 0 === (e2 %= 64) ? t2 : e2 < 32 ? [t2[0] << e2 | t2[1] >>> 32 - e2, t2[1] << e2] : [t2[1] << e2 - 32, 0];
9578
+ }
9579
+ function w(t2, e2) {
9580
+ return [t2[0] ^ e2[0], t2[1] ^ e2[1]];
9581
+ }
9582
+ function L(t2) {
9583
+ return t2 = w(t2, [0, t2[0] >>> 1]), t2 = w(t2 = y(t2, [4283543511, 3981806797]), [0, t2[0] >>> 1]), t2 = w(t2 = y(t2, [3301882366, 444984403]), [0, t2[0] >>> 1]);
9584
+ }
9585
+ function k(t2) {
9586
+ return parseInt(t2);
9587
+ }
9588
+ function x(t2) {
9589
+ return parseFloat(t2);
9590
+ }
9591
+ function V(t2, e2) {
9592
+ return "number" == typeof t2 && isNaN(t2) ? e2 : t2;
9593
+ }
9594
+ function S(t2) {
9595
+ return t2.reduce(function(t3, e2) {
9596
+ return t3 + (e2 ? 1 : 0);
9597
+ }, 0);
9598
+ }
9599
+ function Z(t2, e2) {
9600
+ if (void 0 === e2 && (e2 = 1), Math.abs(e2) >= 1)
9601
+ return Math.round(t2 / e2) * e2;
9602
+ var n2 = 1 / e2;
9603
+ return Math.round(t2 * n2) / n2;
9604
+ }
9605
+ function W(t2) {
9606
+ return t2 && "object" == typeof t2 && "message" in t2 ? t2 : { message: t2 };
9607
+ }
9608
+ function C(t2, e2, n2) {
9609
+ var r2 = Object.keys(t2).filter(function(t3) {
9610
+ return !function(t4, e3) {
9611
+ for (var n3 = 0, r3 = t4.length; n3 < r3; ++n3)
9612
+ if (t4[n3] === e3)
9613
+ return true;
9614
+ return false;
9615
+ }(n2, t3);
9616
+ }), o2 = m(r2, function(n3) {
9617
+ return function(t3, e3) {
9618
+ var n4 = new Promise(function(n5) {
9619
+ var r3 = Date.now();
9620
+ h(t3.bind(null, e3), function() {
9621
+ for (var t4 = [], e4 = 0; e4 < arguments.length; e4++)
9622
+ t4[e4] = arguments[e4];
9623
+ var o3 = Date.now() - r3;
9624
+ if (!t4[0])
9625
+ return n5(function() {
9626
+ return { error: W(t4[1]), duration: o3 };
9627
+ });
9628
+ var a2 = t4[1];
9629
+ if (function(t5) {
9630
+ return "function" != typeof t5;
9631
+ }(a2))
9632
+ return n5(function() {
9633
+ return { value: a2, duration: o3 };
9634
+ });
9635
+ n5(function() {
9636
+ return new Promise(function(t5) {
9637
+ var e5 = Date.now();
9638
+ h(a2, function() {
9639
+ for (var n6 = [], r4 = 0; r4 < arguments.length; r4++)
9640
+ n6[r4] = arguments[r4];
9641
+ var a3 = o3 + Date.now() - e5;
9642
+ if (!n6[0])
9643
+ return t5({ error: W(n6[1]), duration: a3 });
9644
+ t5({ value: n6[1], duration: a3 });
9645
+ });
9646
+ });
9647
+ });
9475
9648
  });
9476
9649
  });
9477
- };
9478
- return u2(a2, 0);
9479
- }(t2, function(t3) {
9480
- var n2 = /* @__PURE__ */ new Date(), o2 = function(e3) {
9481
- return r2.push({ url: t3, startedAt: n2, finishedAt: /* @__PURE__ */ new Date(), error: e3 });
9482
- }, i2 = e2(t3);
9483
- return i2.then(function() {
9484
- return o2();
9485
- }, o2), i2;
9486
- }).then(function(t3) {
9487
- return [t3, { attempts: r2 }];
9650
+ return v(n4), function() {
9651
+ return n4.then(function(t4) {
9652
+ return t4();
9653
+ });
9654
+ };
9655
+ }(t2[n3], e2);
9488
9656
  });
9489
- }
9490
- var g = "https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js", w = "Failed to load the JS script of the agent";
9491
- function b(t2) {
9492
- return function(t3, e2, r2, n2) {
9493
- var o2, i2 = document, a2 = "securitypolicyviolation", u2 = function(e3) {
9494
- var r3 = new URL(t3, location.href), n3 = e3.blockedURI;
9495
- n3 !== r3.href && n3 !== r3.protocol.slice(0, -1) && n3 !== r3.origin || (o2 = e3, c2());
9496
- };
9497
- i2.addEventListener(a2, u2);
9498
- var c2 = function() {
9499
- return i2.removeEventListener(a2, u2);
9500
- };
9501
- return Promise.resolve().then(e2).then(function(t4) {
9502
- return c2(), t4;
9503
- }, function(t4) {
9504
- return new Promise(function(t5) {
9505
- return setTimeout(t5);
9506
- }).then(function() {
9507
- if (c2(), o2)
9508
- return function() {
9509
- throw new Error(l);
9510
- }();
9511
- throw t4;
9657
+ return v(o2), function() {
9658
+ return c(this, void 0, void 0, function() {
9659
+ var t3, e3, n3, a2;
9660
+ return u(this, function(i2) {
9661
+ switch (i2.label) {
9662
+ case 0:
9663
+ return [4, o2];
9664
+ case 1:
9665
+ return [4, m(i2.sent(), function(t4) {
9666
+ var e4 = t4();
9667
+ return v(e4), e4;
9668
+ })];
9669
+ case 2:
9670
+ return t3 = i2.sent(), [4, Promise.all(t3)];
9671
+ case 3:
9672
+ for (e3 = i2.sent(), n3 = {}, a2 = 0; a2 < r2.length; ++a2)
9673
+ n3[r2[a2]] = e3[a2];
9674
+ return [2, n3];
9675
+ }
9512
9676
  });
9513
9677
  });
9514
- }(t2, function() {
9515
- return function(t3) {
9516
- return new Promise(function(e2, r2) {
9517
- var n2 = document.createElement("script"), o2 = function() {
9518
- var t4;
9519
- return null === (t4 = n2.parentNode) || void 0 === t4 ? void 0 : t4.removeChild(n2);
9520
- }, i2 = document.head || document.getElementsByTagName("head")[0];
9521
- n2.onload = function() {
9522
- o2(), e2();
9523
- }, n2.onerror = function() {
9524
- o2(), r2(new Error(w));
9525
- }, n2.async = true, n2.src = t3, i2.appendChild(n2);
9678
+ };
9679
+ }
9680
+ function I() {
9681
+ var t2 = window, e2 = navigator;
9682
+ return S(["MSCSSMatrix" in t2, "msSetImmediate" in t2, "msIndexedDB" in t2, "msMaxTouchPoints" in e2, "msPointerEnabled" in e2]) >= 4;
9683
+ }
9684
+ function F() {
9685
+ var t2 = window, e2 = navigator;
9686
+ return S(["webkitPersistentStorage" in e2, "webkitTemporaryStorage" in e2, 0 === e2.vendor.indexOf("Google"), "webkitResolveLocalFileSystemURL" in t2, "BatteryManager" in t2, "webkitMediaStream" in t2, "webkitSpeechGrammar" in t2]) >= 5;
9687
+ }
9688
+ function j() {
9689
+ var t2 = window, e2 = navigator;
9690
+ return S(["ApplePayError" in t2, "CSSPrimitiveValue" in t2, "Counter" in t2, 0 === e2.vendor.indexOf("Apple"), "getStorageUpdates" in e2, "WebKitMediaKeys" in t2]) >= 4;
9691
+ }
9692
+ function M() {
9693
+ var t2 = window;
9694
+ return S(["safari" in t2, !("DeviceMotionEvent" in t2), !("ongestureend" in t2), !("standalone" in navigator)]) >= 3;
9695
+ }
9696
+ function A() {
9697
+ var t2 = document;
9698
+ return (t2.exitFullscreen || t2.msExitFullscreen || t2.mozCancelFullScreen || t2.webkitExitFullscreen).call(t2);
9699
+ }
9700
+ function G() {
9701
+ var t2 = F(), e2 = function() {
9702
+ var t3, e3, n3 = window;
9703
+ return S(["buildID" in navigator, "MozAppearance" in (null !== (e3 = null === (t3 = document.documentElement) || void 0 === t3 ? void 0 : t3.style) && void 0 !== e3 ? e3 : {}), "onmozfullscreenchange" in n3, "mozInnerScreenX" in n3, "CSSMozDocumentRule" in n3, "CanvasCaptureMediaStream" in n3]) >= 4;
9704
+ }();
9705
+ if (!t2 && !e2)
9706
+ return false;
9707
+ var n2 = window;
9708
+ return S(["onorientationchange" in n2, "orientation" in n2, t2 && !("SharedWorker" in n2), e2 && /android/i.test(navigator.appVersion)]) >= 2;
9709
+ }
9710
+ function R(t2) {
9711
+ var e2 = new Error(t2);
9712
+ return e2.name = t2, e2;
9713
+ }
9714
+ function Y(t2, e2, n2) {
9715
+ var r2, o2, a2;
9716
+ return void 0 === n2 && (n2 = 50), c(this, void 0, void 0, function() {
9717
+ var i2, c2;
9718
+ return u(this, function(u2) {
9719
+ switch (u2.label) {
9720
+ case 0:
9721
+ i2 = document, u2.label = 1;
9722
+ case 1:
9723
+ return i2.body ? [3, 3] : [4, d(n2)];
9724
+ case 2:
9725
+ return u2.sent(), [3, 1];
9726
+ case 3:
9727
+ c2 = i2.createElement("iframe"), u2.label = 4;
9728
+ case 4:
9729
+ return u2.trys.push([4, , 10, 11]), [4, new Promise(function(t3, n3) {
9730
+ var r3 = false, o3 = function() {
9731
+ r3 = true, t3();
9732
+ };
9733
+ c2.onload = o3, c2.onerror = function(t4) {
9734
+ r3 = true, n3(t4);
9735
+ };
9736
+ var a3 = c2.style;
9737
+ a3.setProperty("display", "block", "important"), a3.position = "absolute", a3.top = "0", a3.left = "0", a3.visibility = "hidden", e2 && "srcdoc" in c2 ? c2.srcdoc = e2 : c2.src = "about:blank", i2.body.appendChild(c2);
9738
+ var u3 = function() {
9739
+ var t4, e3;
9740
+ r3 || ("complete" === (null === (e3 = null === (t4 = c2.contentWindow) || void 0 === t4 ? void 0 : t4.document) || void 0 === e3 ? void 0 : e3.readyState) ? o3() : setTimeout(u3, 10));
9741
+ };
9742
+ u3();
9743
+ })];
9744
+ case 5:
9745
+ u2.sent(), u2.label = 6;
9746
+ case 6:
9747
+ return (null === (o2 = null === (r2 = c2.contentWindow) || void 0 === r2 ? void 0 : r2.document) || void 0 === o2 ? void 0 : o2.body) ? [3, 8] : [4, d(n2)];
9748
+ case 7:
9749
+ return u2.sent(), [3, 6];
9750
+ case 8:
9751
+ return [4, t2(c2, c2.contentWindow)];
9752
+ case 9:
9753
+ return [2, u2.sent()];
9754
+ case 10:
9755
+ return null === (a2 = c2.parentNode) || void 0 === a2 || a2.removeChild(c2), [7];
9756
+ case 11:
9757
+ return [2];
9758
+ }
9759
+ });
9760
+ });
9761
+ }
9762
+ function X(t2) {
9763
+ for (var e2 = function(t3) {
9764
+ for (var e3, n3, r3 = "Unexpected syntax '".concat(t3, "'"), o3 = /^\s*([a-z-]*)(.*)$/i.exec(t3), a3 = o3[1] || void 0, i3 = {}, c3 = /([.:#][\w-]+|\[.+?\])/gi, u3 = function(t4, e4) {
9765
+ i3[t4] = i3[t4] || [], i3[t4].push(e4);
9766
+ }; ; ) {
9767
+ var s2 = c3.exec(o3[2]);
9768
+ if (!s2)
9769
+ break;
9770
+ var l2 = s2[0];
9771
+ switch (l2[0]) {
9772
+ case ".":
9773
+ u3("class", l2.slice(1));
9774
+ break;
9775
+ case "#":
9776
+ u3("id", l2.slice(1));
9777
+ break;
9778
+ case "[":
9779
+ var d2 = /^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l2);
9780
+ if (!d2)
9781
+ throw new Error(r3);
9782
+ u3(d2[1], null !== (n3 = null !== (e3 = d2[4]) && void 0 !== e3 ? e3 : d2[5]) && void 0 !== n3 ? n3 : "");
9783
+ break;
9784
+ default:
9785
+ throw new Error(r3);
9786
+ }
9787
+ }
9788
+ return [a3, i3];
9789
+ }(t2), n2 = e2[0], r2 = e2[1], o2 = document.createElement(null != n2 ? n2 : "div"), a2 = 0, i2 = Object.keys(r2); a2 < i2.length; a2++) {
9790
+ var c2 = i2[a2], u2 = r2[c2].join(" ");
9791
+ "style" === c2 ? E(o2.style, u2) : o2.setAttribute(c2, u2);
9792
+ }
9793
+ return o2;
9794
+ }
9795
+ function E(t2, e2) {
9796
+ for (var n2 = 0, r2 = e2.split(";"); n2 < r2.length; n2++) {
9797
+ var o2 = r2[n2], a2 = /^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o2);
9798
+ if (a2) {
9799
+ var i2 = a2[1], c2 = a2[2], u2 = a2[4];
9800
+ t2.setProperty(i2, c2, u2 || "");
9801
+ }
9802
+ }
9803
+ }
9804
+ var P = ["monospace", "sans-serif", "serif"], J = ["sans-serif-thin", "ARNO PRO", "Agency FB", "Arabic Typesetting", "Arial Unicode MS", "AvantGarde Bk BT", "BankGothic Md BT", "Batang", "Bitstream Vera Sans Mono", "Calibri", "Century", "Century Gothic", "Clarendon", "EUROSTILE", "Franklin Gothic", "Futura Bk BT", "Futura Md BT", "GOTHAM", "Gill Sans", "HELV", "Haettenschweiler", "Helvetica Neue", "Humanst521 BT", "Leelawadee", "Letter Gothic", "Levenim MT", "Lucida Bright", "Lucida Sans", "Menlo", "MS Mincho", "MS Outlook", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MYRIAD PRO", "Marlett", "Meiryo UI", "Microsoft Uighur", "Minion Pro", "Monotype Corsiva", "PMingLiU", "Pristina", "SCRIPTINA", "Segoe UI Light", "Serifa", "SimHei", "Small Fonts", "Staccato222 BT", "TRAJAN PRO", "Univers CE 55 Medium", "Vrinda", "ZWAdobeF"];
9805
+ function H(t2) {
9806
+ return t2.toDataURL();
9807
+ }
9808
+ var N, _, D = 2500;
9809
+ function T() {
9810
+ var t2 = this;
9811
+ return function() {
9812
+ if (void 0 === _) {
9813
+ var t3 = function() {
9814
+ var e2 = z();
9815
+ O(e2) ? _ = setTimeout(t3, D) : (N = e2, _ = void 0);
9816
+ };
9817
+ t3();
9818
+ }
9819
+ }(), function() {
9820
+ return c(t2, void 0, void 0, function() {
9821
+ var t3;
9822
+ return u(this, function(e2) {
9823
+ switch (e2.label) {
9824
+ case 0:
9825
+ return O(t3 = z()) ? N ? [2, s([], N, true)] : (n2 = document).fullscreenElement || n2.msFullscreenElement || n2.mozFullScreenElement || n2.webkitFullscreenElement ? [4, A()] : [3, 2] : [3, 2];
9826
+ case 1:
9827
+ e2.sent(), t3 = z(), e2.label = 2;
9828
+ case 2:
9829
+ return O(t3) || (N = t3), [2, t3];
9830
+ }
9831
+ var n2;
9526
9832
  });
9527
- }(t2);
9528
- }).then(O);
9833
+ });
9834
+ };
9529
9835
  }
9530
- function O() {
9531
- var t2 = window, e2 = "__fpjs_p_l_b", r2 = t2[e2];
9532
- if (function(t3, e3) {
9533
- var r3, n2 = null === (r3 = Object.getOwnPropertyDescriptor) || void 0 === r3 ? void 0 : r3.call(Object, t3, e3);
9534
- (null == n2 ? void 0 : n2.configurable) ? delete t3[e3] : n2 && !n2.writable || (t3[e3] = void 0);
9535
- }(t2, e2), "function" != typeof (null == r2 ? void 0 : r2.load))
9536
- throw new Error(R);
9537
- return r2;
9836
+ function z() {
9837
+ var t2 = screen;
9838
+ return [V(x(t2.availTop), null), V(x(t2.width) - x(t2.availWidth) - V(x(t2.availLeft), 0), null), V(x(t2.height) - x(t2.availHeight) - V(x(t2.availTop), 0), null), V(x(t2.availLeft), null)];
9538
9839
  }
9539
- function _(t2) {
9540
- throw t2 instanceof Error && t2.message === R ? new Error(w) : t2;
9840
+ function O(t2) {
9841
+ for (var e2 = 0; e2 < 4; ++e2)
9842
+ if (t2[e2])
9843
+ return false;
9844
+ return true;
9541
9845
  }
9542
- var I = { load: function(t2) {
9846
+ function B(t2) {
9543
9847
  var e2;
9544
- t2.scriptUrlPattern;
9545
- var r2 = t2.token, n2 = t2.apiKey, o2 = void 0 === n2 ? r2 : n2, i2 = function(t3, e3) {
9546
- var r3 = {};
9547
- for (var n3 in t3)
9548
- Object.prototype.hasOwnProperty.call(t3, n3) && e3.indexOf(n3) < 0 && (r3[n3] = t3[n3]);
9549
- if (null != t3 && "function" == typeof Object.getOwnPropertySymbols) {
9550
- var o3 = 0;
9551
- for (n3 = Object.getOwnPropertySymbols(t3); o3 < n3.length; o3++)
9552
- e3.indexOf(n3[o3]) < 0 && Object.prototype.propertyIsEnumerable.call(t3, n3[o3]) && (r3[n3[o3]] = t3[n3[o3]]);
9553
- }
9554
- return r3;
9555
- }(t2, ["scriptUrlPattern", "token", "apiKey"]), a2 = null !== (e2 = function(t3, e3) {
9556
- return function(t4, e4) {
9557
- return Object.prototype.hasOwnProperty.call(t4, e4);
9558
- }(t3, e3) ? t3[e3] : void 0;
9559
- }(t2, "scriptUrlPattern")) && void 0 !== e2 ? e2 : g;
9560
- return Promise.resolve().then(function() {
9561
- if (!o2 || "string" != typeof o2)
9562
- throw new Error(v);
9563
- return E(function(t3, e3) {
9564
- return (Array.isArray(t3) ? t3 : [t3]).map(function(t4) {
9565
- return function(t5, e4) {
9566
- var r3 = encodeURIComponent;
9567
- return t5.replace(/<[^<>]+>/g, function(t6) {
9568
- return "<version>" === t6 ? "3" : "<apiKey>" === t6 ? r3(e4) : "<loaderVersion>" === t6 ? r3("3.8.5") : t6;
9569
- });
9570
- }(String(t4), e3);
9848
+ return c(this, void 0, void 0, function() {
9849
+ var n2, r2, o2, a2, i2, c2, s2;
9850
+ return u(this, function(u2) {
9851
+ switch (u2.label) {
9852
+ case 0:
9853
+ for (n2 = document, r2 = n2.createElement("div"), o2 = new Array(t2.length), a2 = {}, U(r2), s2 = 0; s2 < t2.length; ++s2)
9854
+ "DIALOG" === (i2 = X(t2[s2])).tagName && i2.show(), U(c2 = n2.createElement("div")), c2.appendChild(i2), r2.appendChild(c2), o2[s2] = i2;
9855
+ u2.label = 1;
9856
+ case 1:
9857
+ return n2.body ? [3, 3] : [4, d(50)];
9858
+ case 2:
9859
+ return u2.sent(), [3, 1];
9860
+ case 3:
9861
+ n2.body.appendChild(r2);
9862
+ try {
9863
+ for (s2 = 0; s2 < t2.length; ++s2)
9864
+ o2[s2].offsetParent || (a2[t2[s2]] = true);
9865
+ } finally {
9866
+ null === (e2 = r2.parentNode) || void 0 === e2 || e2.removeChild(r2);
9867
+ }
9868
+ return [2, a2];
9869
+ }
9870
+ });
9871
+ });
9872
+ }
9873
+ function U(t2) {
9874
+ t2.style.setProperty("display", "block", "important");
9875
+ }
9876
+ function Q(t2) {
9877
+ return matchMedia("(inverted-colors: ".concat(t2, ")")).matches;
9878
+ }
9879
+ function K(t2) {
9880
+ return matchMedia("(forced-colors: ".concat(t2, ")")).matches;
9881
+ }
9882
+ function q(t2) {
9883
+ return matchMedia("(prefers-contrast: ".concat(t2, ")")).matches;
9884
+ }
9885
+ function $(t2) {
9886
+ return matchMedia("(prefers-reduced-motion: ".concat(t2, ")")).matches;
9887
+ }
9888
+ function tt(t2) {
9889
+ return matchMedia("(dynamic-range: ".concat(t2, ")")).matches;
9890
+ }
9891
+ var et = Math, nt = function() {
9892
+ return 0;
9893
+ };
9894
+ var rt = { default: [], apple: [{ font: "-apple-system-body" }], serif: [{ fontFamily: "serif" }], sans: [{ fontFamily: "sans-serif" }], mono: [{ fontFamily: "monospace" }], min: [{ fontSize: "1px" }], system: [{ fontFamily: "system-ui" }] };
9895
+ var ot = { fonts: function() {
9896
+ return Y(function(t2, e2) {
9897
+ var n2 = e2.document, r2 = n2.body;
9898
+ r2.style.fontSize = "48px";
9899
+ var o2 = n2.createElement("div"), a2 = {}, i2 = {}, c2 = function(t3) {
9900
+ var e3 = n2.createElement("span"), r3 = e3.style;
9901
+ return r3.position = "absolute", r3.top = "0", r3.left = "0", r3.fontFamily = t3, e3.textContent = "mmMwWLliI0O&1", o2.appendChild(e3), e3;
9902
+ }, u2 = P.map(c2), s2 = function() {
9903
+ for (var t3 = {}, e3 = function(e4) {
9904
+ t3[e4] = P.map(function(t4) {
9905
+ return function(t5, e5) {
9906
+ return c2("'".concat(t5, "',").concat(e5));
9907
+ }(e4, t4);
9908
+ });
9909
+ }, n3 = 0, r3 = J; n3 < r3.length; n3++) {
9910
+ e3(r3[n3]);
9911
+ }
9912
+ return t3;
9913
+ }();
9914
+ r2.appendChild(o2);
9915
+ for (var l2 = 0; l2 < P.length; l2++)
9916
+ a2[P[l2]] = u2[l2].offsetWidth, i2[P[l2]] = u2[l2].offsetHeight;
9917
+ return J.filter(function(t3) {
9918
+ return e3 = s2[t3], P.some(function(t4, n3) {
9919
+ return e3[n3].offsetWidth !== a2[t4] || e3[n3].offsetHeight !== i2[t4];
9571
9920
  });
9572
- }(a2, o2), b).catch(_);
9573
- }).then(function(t3) {
9574
- var e3 = t3[0], r3 = t3[1];
9575
- return e3.load(c(c({}, i2), { ldi: r3 }));
9921
+ var e3;
9922
+ });
9923
+ });
9924
+ }, domBlockers: function(t2) {
9925
+ var e2 = (void 0 === t2 ? {} : t2).debug;
9926
+ return c(this, void 0, void 0, function() {
9927
+ var t3, n2, r2, o2, a2;
9928
+ return u(this, function(i2) {
9929
+ switch (i2.label) {
9930
+ case 0:
9931
+ return j() || G() ? (c2 = atob, t3 = { abpIndo: ["#Iklan-Melayang", "#Kolom-Iklan-728", "#SidebarIklan-wrapper", '[title="ALIENBOLA" i]', c2("I0JveC1CYW5uZXItYWRz")], abpvn: [".quangcao", "#mobileCatfish", c2("LmNsb3NlLWFkcw=="), '[id^="bn_bottom_fixed_"]', "#pmadv"], adBlockFinland: [".mainostila", c2("LnNwb25zb3JpdA=="), ".ylamainos", c2("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"), c2("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")], adBlockPersian: ["#navbar_notice_50", ".kadr", 'TABLE[width="140px"]', "#divAgahi", c2("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")], adBlockWarningRemoval: ["#adblock-honeypot", ".adblocker-root", ".wp_adblock_detect", c2("LmhlYWRlci1ibG9ja2VkLWFk"), c2("I2FkX2Jsb2NrZXI=")], adGuardAnnoyances: [".hs-sosyal", "#cookieconsentdiv", 'div[class^="app_gdpr"]', ".as-oil", '[data-cypress="soft-push-notification-modal"]'], adGuardBase: [".BetterJsPopOverlay", c2("I2FkXzMwMFgyNTA="), c2("I2Jhbm5lcmZsb2F0MjI="), c2("I2NhbXBhaWduLWJhbm5lcg=="), c2("I0FkLUNvbnRlbnQ=")], adGuardChinese: [c2("LlppX2FkX2FfSA=="), c2("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"), "#widget-quan", c2("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"), c2("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")], adGuardFrench: ["#pavePub", c2("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"), ".mobile_adhesion", ".widgetadv", c2("LmFkc19iYW4=")], adGuardGerman: ['aside[data-portal-id="leaderboard"]'], adGuardJapanese: ["#kauli_yad_1", c2("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="), c2("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="), c2("LmFkZ29vZ2xl"), c2("Ll9faXNib29zdFJldHVybkFk")], adGuardMobile: [c2("YW1wLWF1dG8tYWRz"), c2("LmFtcF9hZA=="), 'amp-embed[type="24smi"]', "#mgid_iframe1", c2("I2FkX2ludmlld19hcmVh")], adGuardRussian: [c2("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="), c2("LnJlY2xhbWE="), 'div[id^="smi2adblock"]', c2("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"), "#psyduckpockeball"], adGuardSocial: [c2("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="), c2("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="), ".etsy-tweet", "#inlineShare", ".popup-social"], adGuardSpanishPortuguese: ["#barraPublicidade", "#Publicidade", "#publiEspecial", "#queTooltip", ".cnt-publi"], adGuardTrackingProtection: ["#qoo-counter", c2("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="), c2("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="), c2("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="), "#top100counter"], adGuardTurkish: ["#backkapat", c2("I3Jla2xhbWk="), c2("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="), c2("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"), c2("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")], bulgarian: [c2("dGQjZnJlZW5ldF90YWJsZV9hZHM="), "#ea_intext_div", ".lapni-pop-over", "#xenium_hot_offers"], easyList: [".yb-floorad", c2("LndpZGdldF9wb19hZHNfd2lkZ2V0"), c2("LnRyYWZmaWNqdW5reS1hZA=="), ".textad_headline", c2("LnNwb25zb3JlZC10ZXh0LWxpbmtz")], easyListChina: [c2("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="), c2("LmZyb250cGFnZUFkdk0="), "#taotaole", "#aafoot.top_box", ".cfa_popup"], easyListCookie: [".ezmob-footer", ".cc-CookieWarning", "[data-cookie-number]", c2("LmF3LWNvb2tpZS1iYW5uZXI="), ".sygnal24-gdpr-modal-wrap"], easyListCzechSlovak: ["#onlajny-stickers", c2("I3Jla2xhbW5pLWJveA=="), c2("LnJla2xhbWEtbWVnYWJvYXJk"), ".sklik", c2("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")], easyListDutch: [c2("I2FkdmVydGVudGll"), c2("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="), ".adstekst", c2("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="), "#semilo-lrectangle"], easyListGermany: ["#SSpotIMPopSlider", c2("LnNwb25zb3JsaW5rZ3J1ZW4="), c2("I3dlcmJ1bmdza3k="), c2("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"), c2("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")], easyListItaly: [c2("LmJveF9hZHZfYW5udW5jaQ=="), ".sb-box-pubbliredazionale", c2("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"), c2("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"), c2("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")], easyListLithuania: [c2("LnJla2xhbW9zX3RhcnBhcw=="), c2("LnJla2xhbW9zX251b3JvZG9z"), c2("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"), c2("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"), c2("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")], estonian: [c2("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")], fanboyAnnoyances: ["#ac-lre-player", ".navigate-to-top", "#subscribe_popup", ".newsletter_holder", "#back-top"], fanboyAntiFacebook: [".util-bar-module-firefly-visible"], fanboyEnhancedTrackers: [".open.pushModal", "#issuem-leaky-paywall-articles-zero-remaining-nag", "#sovrn_container", 'div[class$="-hide"][zoompage-fontsize][style="display: block;"]', ".BlockNag__Card"], fanboySocial: ["#FollowUs", "#meteored_share", "#social_follow", ".article-sharer", ".community__social-desc"], frellwitSwedish: [c2("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="), c2("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="), "article.category-samarbete", c2("ZGl2LmhvbGlkQWRz"), "ul.adsmodern"], greekAdBlock: [c2("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"), c2("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="), c2("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"), "DIV.agores300", "TABLE.advright"], hungarian: ["#cemp_doboz", ".optimonk-iframe-container", c2("LmFkX19tYWlu"), c2("W2NsYXNzKj0iR29vZ2xlQWRzIl0="), "#hirdetesek_box"], iDontCareAboutCookies: ['.alert-info[data-block-track*="CookieNotice"]', ".ModuleTemplateCookieIndicator", ".o--cookies--container", "#cookies-policy-sticky", "#stickyCookieBar"], icelandicAbp: [c2("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")], latvian: [c2("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="), c2("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")], listKr: [c2("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="), c2("I2xpdmVyZUFkV3JhcHBlcg=="), c2("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="), c2("aW5zLmZhc3R2aWV3LWFk"), ".revenue_unit_item.dable"], listeAr: [c2("LmdlbWluaUxCMUFk"), ".right-and-left-sponsers", c2("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="), c2("YVtocmVmKj0iYm9vcmFxLm9yZyJd"), c2("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")], listeFr: [c2("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="), c2("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="), c2("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="), ".site-pub-interstitiel", 'div[id^="crt-"][data-criteo-id]'], officialPolish: ["#ceneo-placeholder-ceneo-12", c2("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"), c2("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="), c2("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="), c2("ZGl2I3NrYXBpZWNfYWQ=")], ro: [c2("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"), c2("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"), c2("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="), c2("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"), 'a[href^="/url/"]'], ruAd: [c2("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"), c2("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="), c2("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="), "#pgeldiz", ".yandex-rtb-block"], thaiAds: ["a[href*=macau-uta-popup]", c2("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="), c2("LmFkczMwMHM="), ".bumq", ".img-kosana"], webAnnoyancesUltralist: ["#mod-social-share-2", "#social-tools", c2("LmN0cGwtZnVsbGJhbm5lcg=="), ".zergnet-recommend", ".yt.btn-link.btn-md.btn"] }, n2 = Object.keys(t3), [4, B((a2 = []).concat.apply(a2, n2.map(function(e3) {
9932
+ return t3[e3];
9933
+ })))]) : [2, void 0];
9934
+ case 1:
9935
+ return r2 = i2.sent(), e2 && function(t4, e3) {
9936
+ for (var n3 = "DOM blockers debug:\n```", r3 = 0, o3 = Object.keys(t4); r3 < o3.length; r3++) {
9937
+ var a3 = o3[r3];
9938
+ n3 += "\n".concat(a3, ":");
9939
+ for (var i3 = 0, c3 = t4[a3]; i3 < c3.length; i3++) {
9940
+ var u2 = c3[i3];
9941
+ n3 += "\n ".concat(e3[u2] ? "🚫" : "➡️", " ").concat(u2);
9942
+ }
9943
+ }
9944
+ console.log("".concat(n3, "\n```"));
9945
+ }(t3, r2), (o2 = n2.filter(function(e3) {
9946
+ var n3 = t3[e3];
9947
+ return S(n3.map(function(t4) {
9948
+ return r2[t4];
9949
+ })) > 0.6 * n3.length;
9950
+ })).sort(), [2, o2];
9951
+ }
9952
+ var c2;
9953
+ });
9954
+ });
9955
+ }, fontPreferences: function() {
9956
+ return function(t2, e2) {
9957
+ void 0 === e2 && (e2 = 4e3);
9958
+ return Y(function(n2, r2) {
9959
+ var o2 = r2.document, a2 = o2.body, i2 = a2.style;
9960
+ i2.width = "".concat(e2, "px"), i2.webkitTextSizeAdjust = i2.textSizeAdjust = "none", F() ? a2.style.zoom = "".concat(1 / r2.devicePixelRatio) : j() && (a2.style.zoom = "reset");
9961
+ var c2 = o2.createElement("div");
9962
+ return c2.textContent = s([], Array(e2 / 20 << 0), true).map(function() {
9963
+ return "word";
9964
+ }).join(" "), a2.appendChild(c2), t2(o2, a2);
9965
+ }, '<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');
9966
+ }(function(t2, e2) {
9967
+ for (var n2 = {}, r2 = {}, o2 = 0, a2 = Object.keys(rt); o2 < a2.length; o2++) {
9968
+ var i2 = a2[o2], c2 = rt[i2], u2 = c2[0], s2 = void 0 === u2 ? {} : u2, l2 = c2[1], d2 = void 0 === l2 ? "mmMwWLliI0fiflO&1" : l2, f2 = t2.createElement("span");
9969
+ f2.textContent = d2, f2.style.whiteSpace = "nowrap";
9970
+ for (var h2 = 0, m2 = Object.keys(s2); h2 < m2.length; h2++) {
9971
+ var v2 = m2[h2], p2 = s2[v2];
9972
+ void 0 !== p2 && (f2.style[v2] = p2);
9973
+ }
9974
+ n2[i2] = f2, e2.appendChild(t2.createElement("br")), e2.appendChild(f2);
9975
+ }
9976
+ for (var y2 = 0, b2 = Object.keys(rt); y2 < b2.length; y2++) {
9977
+ r2[i2 = b2[y2]] = n2[i2].getBoundingClientRect().width;
9978
+ }
9979
+ return r2;
9576
9980
  });
9577
- }, defaultScriptUrlPattern: g, ERROR_SCRIPT_LOAD_FAIL: w, ERROR_API_KEY_EXPIRED: m, ERROR_API_KEY_INVALID: y, ERROR_API_KEY_MISSING: v, ERROR_BAD_REQUEST_FORMAT: "Request cannot be parsed", ERROR_BAD_RESPONSE_FORMAT: "Response cannot be parsed", ERROR_CLIENT_TIMEOUT: "Client timeout", ERROR_CSP_BLOCK: l, ERROR_FORBIDDEN_ENDPOINT: s("HostnameRestricted"), ERROR_FORBIDDEN_HEADER: "Not available with restricted header", ERROR_FORBIDDEN_ORIGIN: "Not available for this origin", ERROR_GENERAL_SERVER_FAILURE: "Request failed", ERROR_INSTALLATION_METHOD_RESTRICTED: d, ERROR_INTEGRATION_FAILURE: s("IntegrationFailed"), ERROR_INVALID_ENDPOINT: "The endpoint parameter is not a valid URL", ERROR_NETWORK_ABORT: "Network request aborted", ERROR_NETWORK_CONNECTION: "Network connection error", ERROR_RATE_LIMIT: "Too many requests, rate limit exceeded", ERROR_SERVER_TIMEOUT: "Request failed to process", ERROR_SUBSCRIPTION_NOT_ACTIVE: p, ERROR_TOKEN_EXPIRED: m, ERROR_TOKEN_INVALID: y, ERROR_TOKEN_MISSING: v, ERROR_UNSUPPORTED_VERSION: h, ERROR_WRONG_REGION: f, defaultEndpoint: { default: "endpoint" }, defaultTlsEndpoint: { default: "tlsEndpoint" } };
9578
- function x() {
9579
- return S.apply(this, arguments);
9981
+ }, audio: function() {
9982
+ var t2 = window, e2 = t2.OfflineAudioContext || t2.webkitOfflineAudioContext;
9983
+ if (!e2)
9984
+ return -2;
9985
+ if (j() && !M() && !function() {
9986
+ var t3 = window;
9987
+ return S(["DOMRectList" in t3, "RTCPeerConnectionIceEvent" in t3, "SVGGeometryElement" in t3, "ontransitioncancel" in t3]) >= 3;
9988
+ }())
9989
+ return -1;
9990
+ var n2 = new e2(1, 5e3, 44100), r2 = n2.createOscillator();
9991
+ r2.type = "triangle", r2.frequency.value = 1e4;
9992
+ var o2 = n2.createDynamicsCompressor();
9993
+ o2.threshold.value = -50, o2.knee.value = 40, o2.ratio.value = 12, o2.attack.value = 0, o2.release.value = 0.25, r2.connect(o2), o2.connect(n2.destination), r2.start(0);
9994
+ var a2 = function(t3) {
9995
+ var e3 = 3, n3 = 500, r3 = 500, o3 = 5e3, a3 = function() {
9996
+ }, i3 = new Promise(function(i4, c3) {
9997
+ var u3 = false, s2 = 0, l2 = 0;
9998
+ t3.oncomplete = function(t4) {
9999
+ return i4(t4.renderedBuffer);
10000
+ };
10001
+ var d2 = function() {
10002
+ setTimeout(function() {
10003
+ return c3(R("timeout"));
10004
+ }, Math.min(r3, l2 + o3 - Date.now()));
10005
+ }, h2 = function() {
10006
+ try {
10007
+ var r4 = t3.startRendering();
10008
+ switch (f(r4) && v(r4), t3.state) {
10009
+ case "running":
10010
+ l2 = Date.now(), u3 && d2();
10011
+ break;
10012
+ case "suspended":
10013
+ document.hidden || s2++, u3 && s2 >= e3 ? c3(R("suspended")) : setTimeout(h2, n3);
10014
+ }
10015
+ } catch (t4) {
10016
+ c3(t4);
10017
+ }
10018
+ };
10019
+ h2(), a3 = function() {
10020
+ u3 || (u3 = true, l2 > 0 && d2());
10021
+ };
10022
+ });
10023
+ return [i3, a3];
10024
+ }(n2), i2 = a2[0], c2 = a2[1], u2 = i2.then(function(t3) {
10025
+ return function(t4) {
10026
+ for (var e3 = 0, n3 = 0; n3 < t4.length; ++n3)
10027
+ e3 += Math.abs(t4[n3]);
10028
+ return e3;
10029
+ }(t3.getChannelData(0).subarray(4500));
10030
+ }, function(t3) {
10031
+ if ("timeout" === t3.name || "suspended" === t3.name)
10032
+ return -3;
10033
+ throw t3;
10034
+ });
10035
+ return v(u2), function() {
10036
+ return c2(), u2;
10037
+ };
10038
+ }, screenFrame: function() {
10039
+ var t2 = this, e2 = T();
10040
+ return function() {
10041
+ return c(t2, void 0, void 0, function() {
10042
+ var t3, n2;
10043
+ return u(this, function(r2) {
10044
+ switch (r2.label) {
10045
+ case 0:
10046
+ return [4, e2()];
10047
+ case 1:
10048
+ return t3 = r2.sent(), [2, [(n2 = function(t4) {
10049
+ return null === t4 ? null : Z(t4, 10);
10050
+ })(t3[0]), n2(t3[1]), n2(t3[2]), n2(t3[3])]];
10051
+ }
10052
+ });
10053
+ });
10054
+ };
10055
+ }, osCpu: function() {
10056
+ return navigator.oscpu;
10057
+ }, languages: function() {
10058
+ var t2, e2 = navigator, n2 = [], r2 = e2.language || e2.userLanguage || e2.browserLanguage || e2.systemLanguage;
10059
+ if (void 0 !== r2 && n2.push([r2]), Array.isArray(e2.languages))
10060
+ F() && S([!("MediaSettingsRange" in (t2 = window)), "RTCEncodedAudioFrame" in t2, "" + t2.Intl == "[object Intl]", "" + t2.Reflect == "[object Reflect]"]) >= 3 || n2.push(e2.languages);
10061
+ else if ("string" == typeof e2.languages) {
10062
+ var o2 = e2.languages;
10063
+ o2 && n2.push(o2.split(","));
10064
+ }
10065
+ return n2;
10066
+ }, colorDepth: function() {
10067
+ return window.screen.colorDepth;
10068
+ }, deviceMemory: function() {
10069
+ return V(x(navigator.deviceMemory), void 0);
10070
+ }, screenResolution: function() {
10071
+ var t2 = screen, e2 = function(t3) {
10072
+ return V(k(t3), null);
10073
+ }, n2 = [e2(t2.width), e2(t2.height)];
10074
+ return n2.sort().reverse(), n2;
10075
+ }, hardwareConcurrency: function() {
10076
+ return V(k(navigator.hardwareConcurrency), void 0);
10077
+ }, timezone: function() {
10078
+ var t2, e2 = null === (t2 = window.Intl) || void 0 === t2 ? void 0 : t2.DateTimeFormat;
10079
+ if (e2) {
10080
+ var n2 = new e2().resolvedOptions().timeZone;
10081
+ if (n2)
10082
+ return n2;
10083
+ }
10084
+ var r2, o2 = (r2 = (/* @__PURE__ */ new Date()).getFullYear(), -Math.max(x(new Date(r2, 0, 1).getTimezoneOffset()), x(new Date(r2, 6, 1).getTimezoneOffset())));
10085
+ return "UTC".concat(o2 >= 0 ? "+" : "").concat(Math.abs(o2));
10086
+ }, sessionStorage: function() {
10087
+ try {
10088
+ return !!window.sessionStorage;
10089
+ } catch (t2) {
10090
+ return true;
10091
+ }
10092
+ }, localStorage: function() {
10093
+ try {
10094
+ return !!window.localStorage;
10095
+ } catch (t2) {
10096
+ return true;
10097
+ }
10098
+ }, indexedDB: function() {
10099
+ var t2, e2;
10100
+ if (!(I() || (t2 = window, e2 = navigator, S(["msWriteProfilerMark" in t2, "MSStream" in t2, "msLaunchUri" in e2, "msSaveBlob" in e2]) >= 3 && !I())))
10101
+ try {
10102
+ return !!window.indexedDB;
10103
+ } catch (t3) {
10104
+ return true;
10105
+ }
10106
+ }, openDatabase: function() {
10107
+ return !!window.openDatabase;
10108
+ }, cpuClass: function() {
10109
+ return navigator.cpuClass;
10110
+ }, platform: function() {
10111
+ var t2 = navigator.platform;
10112
+ return "MacIntel" === t2 && j() && !M() ? function() {
10113
+ if ("iPad" === navigator.platform)
10114
+ return true;
10115
+ var t3 = screen, e2 = t3.width / t3.height;
10116
+ return S(["MediaSource" in window, !!Element.prototype.webkitRequestFullscreen, e2 > 0.65 && e2 < 1.53]) >= 2;
10117
+ }() ? "iPad" : "iPhone" : t2;
10118
+ }, plugins: function() {
10119
+ var t2 = navigator.plugins;
10120
+ if (t2) {
10121
+ for (var e2 = [], n2 = 0; n2 < t2.length; ++n2) {
10122
+ var r2 = t2[n2];
10123
+ if (r2) {
10124
+ for (var o2 = [], a2 = 0; a2 < r2.length; ++a2) {
10125
+ var i2 = r2[a2];
10126
+ o2.push({ type: i2.type, suffixes: i2.suffixes });
10127
+ }
10128
+ e2.push({ name: r2.name, description: r2.description, mimeTypes: o2 });
10129
+ }
10130
+ }
10131
+ return e2;
10132
+ }
10133
+ }, canvas: function() {
10134
+ var t2, e2, n2 = false, r2 = function() {
10135
+ var t3 = document.createElement("canvas");
10136
+ return t3.width = 1, t3.height = 1, [t3, t3.getContext("2d")];
10137
+ }(), o2 = r2[0], a2 = r2[1];
10138
+ if (function(t3, e3) {
10139
+ return !(!e3 || !t3.toDataURL);
10140
+ }(o2, a2)) {
10141
+ n2 = function(t3) {
10142
+ return t3.rect(0, 0, 10, 10), t3.rect(2, 2, 6, 6), !t3.isPointInPath(5, 5, "evenodd");
10143
+ }(a2), function(t3, e3) {
10144
+ t3.width = 240, t3.height = 60, e3.textBaseline = "alphabetic", e3.fillStyle = "#f60", e3.fillRect(100, 1, 62, 20), e3.fillStyle = "#069", e3.font = '11pt "Times New Roman"';
10145
+ var n3 = "Cwm fjordbank gly ".concat(String.fromCharCode(55357, 56835));
10146
+ e3.fillText(n3, 2, 15), e3.fillStyle = "rgba(102, 204, 0, 0.2)", e3.font = "18pt Arial", e3.fillText(n3, 4, 45);
10147
+ }(o2, a2);
10148
+ var i2 = H(o2);
10149
+ i2 !== H(o2) ? t2 = e2 = "unstable" : (e2 = i2, function(t3, e3) {
10150
+ t3.width = 122, t3.height = 110, e3.globalCompositeOperation = "multiply";
10151
+ for (var n3 = 0, r3 = [["#f2f", 40, 40], ["#2ff", 80, 40], ["#ff2", 60, 80]]; n3 < r3.length; n3++) {
10152
+ var o3 = r3[n3], a3 = o3[0], i3 = o3[1], c2 = o3[2];
10153
+ e3.fillStyle = a3, e3.beginPath(), e3.arc(i3, c2, 40, 0, 2 * Math.PI, true), e3.closePath(), e3.fill();
10154
+ }
10155
+ e3.fillStyle = "#f9c", e3.arc(60, 60, 60, 0, 2 * Math.PI, true), e3.arc(60, 60, 20, 0, 2 * Math.PI, true), e3.fill("evenodd");
10156
+ }(o2, a2), t2 = H(o2));
10157
+ } else
10158
+ t2 = e2 = "";
10159
+ return { winding: n2, geometry: t2, text: e2 };
10160
+ }, touchSupport: function() {
10161
+ var t2, e2 = navigator, n2 = 0;
10162
+ void 0 !== e2.maxTouchPoints ? n2 = k(e2.maxTouchPoints) : void 0 !== e2.msMaxTouchPoints && (n2 = e2.msMaxTouchPoints);
10163
+ try {
10164
+ document.createEvent("TouchEvent"), t2 = true;
10165
+ } catch (e3) {
10166
+ t2 = false;
10167
+ }
10168
+ return { maxTouchPoints: n2, touchEvent: t2, touchStart: "ontouchstart" in window };
10169
+ }, vendor: function() {
10170
+ return navigator.vendor || "";
10171
+ }, vendorFlavors: function() {
10172
+ for (var t2 = [], e2 = 0, n2 = ["chrome", "safari", "__crWeb", "__gCrWeb", "yandex", "__yb", "__ybro", "__firefox__", "__edgeTrackingPreventionStatistics", "webkit", "oprt", "samsungAr", "ucweb", "UCShellJava", "puffinDevice"]; e2 < n2.length; e2++) {
10173
+ var r2 = n2[e2], o2 = window[r2];
10174
+ o2 && "object" == typeof o2 && t2.push(r2);
10175
+ }
10176
+ return t2.sort();
10177
+ }, cookiesEnabled: function() {
10178
+ var t2 = document;
10179
+ try {
10180
+ t2.cookie = "cookietest=1; SameSite=Strict;";
10181
+ var e2 = -1 !== t2.cookie.indexOf("cookietest=");
10182
+ return t2.cookie = "cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT", e2;
10183
+ } catch (t3) {
10184
+ return false;
10185
+ }
10186
+ }, colorGamut: function() {
10187
+ for (var t2 = 0, e2 = ["rec2020", "p3", "srgb"]; t2 < e2.length; t2++) {
10188
+ var n2 = e2[t2];
10189
+ if (matchMedia("(color-gamut: ".concat(n2, ")")).matches)
10190
+ return n2;
10191
+ }
10192
+ }, invertedColors: function() {
10193
+ return !!Q("inverted") || !Q("none") && void 0;
10194
+ }, forcedColors: function() {
10195
+ return !!K("active") || !K("none") && void 0;
10196
+ }, monochrome: function() {
10197
+ if (matchMedia("(min-monochrome: 0)").matches) {
10198
+ for (var t2 = 0; t2 <= 100; ++t2)
10199
+ if (matchMedia("(max-monochrome: ".concat(t2, ")")).matches)
10200
+ return t2;
10201
+ throw new Error("Too high value");
10202
+ }
10203
+ }, contrast: function() {
10204
+ return q("no-preference") ? 0 : q("high") || q("more") ? 1 : q("low") || q("less") ? -1 : q("forced") ? 10 : void 0;
10205
+ }, reducedMotion: function() {
10206
+ return !!$("reduce") || !$("no-preference") && void 0;
10207
+ }, hdr: function() {
10208
+ return !!tt("high") || !tt("standard") && void 0;
10209
+ }, math: function() {
10210
+ var t2, e2 = et.acos || nt, n2 = et.acosh || nt, r2 = et.asin || nt, o2 = et.asinh || nt, a2 = et.atanh || nt, i2 = et.atan || nt, c2 = et.sin || nt, u2 = et.sinh || nt, s2 = et.cos || nt, l2 = et.cosh || nt, d2 = et.tan || nt, f2 = et.tanh || nt, h2 = et.exp || nt, m2 = et.expm1 || nt, v2 = et.log1p || nt;
10211
+ return { acos: e2(0.12312423423423424), acosh: n2(1e308), acoshPf: (t2 = 1e154, et.log(t2 + et.sqrt(t2 * t2 - 1))), asin: r2(0.12312423423423424), asinh: o2(1), asinhPf: function(t3) {
10212
+ return et.log(t3 + et.sqrt(t3 * t3 + 1));
10213
+ }(1), atanh: a2(0.5), atanhPf: function(t3) {
10214
+ return et.log((1 + t3) / (1 - t3)) / 2;
10215
+ }(0.5), atan: i2(0.5), sin: c2(-1e300), sinh: u2(1), sinhPf: function(t3) {
10216
+ return et.exp(t3) - 1 / et.exp(t3) / 2;
10217
+ }(1), cos: s2(10.000000000123), cosh: l2(1), coshPf: function(t3) {
10218
+ return (et.exp(t3) + 1 / et.exp(t3)) / 2;
10219
+ }(1), tan: d2(-1e300), tanh: f2(1), tanhPf: function(t3) {
10220
+ return (et.exp(2 * t3) - 1) / (et.exp(2 * t3) + 1);
10221
+ }(1), exp: h2(1), expm1: m2(1), expm1Pf: function(t3) {
10222
+ return et.exp(t3) - 1;
10223
+ }(1), log1p: v2(10), log1pPf: function(t3) {
10224
+ return et.log(1 + t3);
10225
+ }(10), powPI: function(t3) {
10226
+ return et.pow(et.PI, t3);
10227
+ }(-100) };
10228
+ }, videoCard: function() {
10229
+ var t2, e2 = document.createElement("canvas"), n2 = null !== (t2 = e2.getContext("webgl")) && void 0 !== t2 ? t2 : e2.getContext("experimental-webgl");
10230
+ if (n2 && "getExtension" in n2) {
10231
+ var r2 = n2.getExtension("WEBGL_debug_renderer_info");
10232
+ if (r2)
10233
+ return { vendor: (n2.getParameter(r2.UNMASKED_VENDOR_WEBGL) || "").toString(), renderer: (n2.getParameter(r2.UNMASKED_RENDERER_WEBGL) || "").toString() };
10234
+ }
10235
+ }, pdfViewerEnabled: function() {
10236
+ return navigator.pdfViewerEnabled;
10237
+ }, architecture: function() {
10238
+ var t2 = new Float32Array(1), e2 = new Uint8Array(t2.buffer);
10239
+ return t2[0] = 1 / 0, t2[0] = t2[0] - t2[0], e2[3];
10240
+ } };
10241
+ var at = "$ if upgrade to Pro: https://fpjs.dev/pro";
10242
+ function it(t2) {
10243
+ var e2 = function(t3) {
10244
+ if (G())
10245
+ return 0.4;
10246
+ if (j())
10247
+ return M() ? 0.5 : 0.3;
10248
+ var e3 = t3.platform.value || "";
10249
+ if (/^Win/.test(e3))
10250
+ return 0.6;
10251
+ if (/^Mac/.test(e3))
10252
+ return 0.5;
10253
+ return 0.7;
10254
+ }(t2), n2 = function(t3) {
10255
+ return Z(0.99 + 0.01 * t3, 1e-4);
10256
+ }(e2);
10257
+ return { score: e2, comment: at.replace(/\$/g, "".concat(n2)) };
10258
+ }
10259
+ function ct(t2) {
10260
+ return JSON.stringify(t2, function(t3, e2) {
10261
+ return e2 instanceof Error ? i({ name: (n2 = e2).name, message: n2.message, stack: null === (r2 = n2.stack) || void 0 === r2 ? void 0 : r2.split("\n") }, n2) : e2;
10262
+ var n2, r2;
10263
+ }, 2);
10264
+ }
10265
+ function ut(t2) {
10266
+ return function(t3, e2) {
10267
+ e2 = e2 || 0;
10268
+ var n2, r2 = (t3 = t3 || "").length % 16, o2 = t3.length - r2, a2 = [0, e2], i2 = [0, e2], c2 = [0, 0], u2 = [0, 0], s2 = [2277735313, 289559509], l2 = [1291169091, 658871167];
10269
+ for (n2 = 0; n2 < o2; n2 += 16)
10270
+ c2 = [255 & t3.charCodeAt(n2 + 4) | (255 & t3.charCodeAt(n2 + 5)) << 8 | (255 & t3.charCodeAt(n2 + 6)) << 16 | (255 & t3.charCodeAt(n2 + 7)) << 24, 255 & t3.charCodeAt(n2) | (255 & t3.charCodeAt(n2 + 1)) << 8 | (255 & t3.charCodeAt(n2 + 2)) << 16 | (255 & t3.charCodeAt(n2 + 3)) << 24], u2 = [255 & t3.charCodeAt(n2 + 12) | (255 & t3.charCodeAt(n2 + 13)) << 8 | (255 & t3.charCodeAt(n2 + 14)) << 16 | (255 & t3.charCodeAt(n2 + 15)) << 24, 255 & t3.charCodeAt(n2 + 8) | (255 & t3.charCodeAt(n2 + 9)) << 8 | (255 & t3.charCodeAt(n2 + 10)) << 16 | (255 & t3.charCodeAt(n2 + 11)) << 24], c2 = b(c2 = y(c2, s2), 31), a2 = p(a2 = b(a2 = w(a2, c2 = y(c2, l2)), 27), i2), a2 = p(y(a2, [0, 5]), [0, 1390208809]), u2 = b(u2 = y(u2, l2), 33), i2 = p(i2 = b(i2 = w(i2, u2 = y(u2, s2)), 31), a2), i2 = p(y(i2, [0, 5]), [0, 944331445]);
10271
+ switch (c2 = [0, 0], u2 = [0, 0], r2) {
10272
+ case 15:
10273
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 14)], 48));
10274
+ case 14:
10275
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 13)], 40));
10276
+ case 13:
10277
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 12)], 32));
10278
+ case 12:
10279
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 11)], 24));
10280
+ case 11:
10281
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 10)], 16));
10282
+ case 10:
10283
+ u2 = w(u2, g([0, t3.charCodeAt(n2 + 9)], 8));
10284
+ case 9:
10285
+ u2 = y(u2 = w(u2, [0, t3.charCodeAt(n2 + 8)]), l2), i2 = w(i2, u2 = y(u2 = b(u2, 33), s2));
10286
+ case 8:
10287
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 7)], 56));
10288
+ case 7:
10289
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 6)], 48));
10290
+ case 6:
10291
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 5)], 40));
10292
+ case 5:
10293
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 4)], 32));
10294
+ case 4:
10295
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 3)], 24));
10296
+ case 3:
10297
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 2)], 16));
10298
+ case 2:
10299
+ c2 = w(c2, g([0, t3.charCodeAt(n2 + 1)], 8));
10300
+ case 1:
10301
+ c2 = y(c2 = w(c2, [0, t3.charCodeAt(n2)]), s2), a2 = w(a2, c2 = y(c2 = b(c2, 31), l2));
10302
+ }
10303
+ return a2 = p(a2 = w(a2, [0, t3.length]), i2 = w(i2, [0, t3.length])), i2 = p(i2, a2), a2 = p(a2 = L(a2), i2 = L(i2)), i2 = p(i2, a2), ("00000000" + (a2[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (a2[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (i2[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (i2[1] >>> 0).toString(16)).slice(-8);
10304
+ }(function(t3) {
10305
+ for (var e2 = "", n2 = 0, r2 = Object.keys(t3).sort(); n2 < r2.length; n2++) {
10306
+ var o2 = r2[n2], a2 = t3[o2], i2 = a2.error ? "error" : JSON.stringify(a2.value);
10307
+ e2 += "".concat(e2 ? "|" : "").concat(o2.replace(/([:|\\])/g, "\\$1"), ":").concat(i2);
10308
+ }
10309
+ return e2;
10310
+ }(t2));
10311
+ }
10312
+ function st(t2) {
10313
+ return void 0 === t2 && (t2 = 50), function(t3, e2) {
10314
+ void 0 === e2 && (e2 = 1 / 0);
10315
+ var n2 = window.requestIdleCallback;
10316
+ return n2 ? new Promise(function(t4) {
10317
+ return n2.call(window, function() {
10318
+ return t4();
10319
+ }, { timeout: e2 });
10320
+ }) : d(Math.min(t3, e2));
10321
+ }(t2, 2 * t2);
10322
+ }
10323
+ function lt(t2, e2) {
10324
+ var n2 = Date.now();
10325
+ return { get: function(r2) {
10326
+ return c(this, void 0, void 0, function() {
10327
+ var o2, a2, i2;
10328
+ return u(this, function(c2) {
10329
+ switch (c2.label) {
10330
+ case 0:
10331
+ return o2 = Date.now(), [4, t2()];
10332
+ case 1:
10333
+ return a2 = c2.sent(), i2 = function(t3) {
10334
+ var e3;
10335
+ return { get visitorId() {
10336
+ return void 0 === e3 && (e3 = ut(this.components)), e3;
10337
+ }, set visitorId(t4) {
10338
+ e3 = t4;
10339
+ }, confidence: it(t3), components: t3, version: l };
10340
+ }(a2), (e2 || (null == r2 ? void 0 : r2.debug)) && console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(i2.version, "\nuserAgent: ").concat(navigator.userAgent, "\ntimeBetweenLoadAndGet: ").concat(o2 - n2, "\nvisitorId: ").concat(i2.visitorId, "\ncomponents: ").concat(ct(a2), "\n```")), [2, i2];
10341
+ }
10342
+ });
10343
+ });
10344
+ } };
10345
+ }
10346
+ var dt = { load: function(t2) {
10347
+ var e2 = void 0 === t2 ? {} : t2, n2 = e2.delayFallback, r2 = e2.debug, o2 = e2.monitoring, a2 = void 0 === o2 || o2;
10348
+ return c(this, void 0, void 0, function() {
10349
+ return u(this, function(t3) {
10350
+ switch (t3.label) {
10351
+ case 0:
10352
+ return a2 && function() {
10353
+ if (!(window.__fpjs_d_m || Math.random() >= 1e-3))
10354
+ try {
10355
+ var t4 = new XMLHttpRequest();
10356
+ t4.open("get", "https://m1.openfpcdn.io/fingerprintjs/v".concat(l, "/npm-monitoring"), true), t4.send();
10357
+ } catch (t5) {
10358
+ console.error(t5);
10359
+ }
10360
+ }(), [4, st(n2)];
10361
+ case 1:
10362
+ return t3.sent(), [2, lt(C(ot, { debug: r2 }, []), r2)];
10363
+ }
10364
+ });
10365
+ });
10366
+ }, hashComponents: ut, componentsToDebugString: ct };
10367
+ function ft() {
10368
+ return ht.apply(this, arguments);
9580
10369
  }
9581
- function S() {
9582
- return (S = e$1(a.mark(function t2() {
9583
- var e2, r2, n2, o2;
10370
+ function ht() {
10371
+ return (ht = e$1(a.mark(function t2() {
10372
+ var e2, n2;
9584
10373
  return a.wrap(function(t3) {
9585
10374
  for (; ; )
9586
10375
  switch (t3.prev = t3.next) {
9587
10376
  case 0:
9588
- if (t3.prev = 0, e2 = "object" === ("undefined" == typeof Cypress ? "undefined" : u(Cypress)), r2 = "object" === ("undefined" == typeof process ? "undefined" : u(process)) && "test" === { "NODE_ENV": "production" }.NODE_ENV, !e2 && !r2) {
9589
- t3.next = 5;
9590
- break;
9591
- }
9592
- return t3.abrupt("return", "a-mock-visitor-id");
9593
- case 5:
9594
- return t3.next = 7, I.load({ apiKey: "hpFVJecm7Ni7AjSfvBIW" });
9595
- case 7:
9596
- return n2 = t3.sent, t3.next = 10, n2.get();
10377
+ return t3.prev = 0, t3.next = 3, dt.load({ monitoring: false });
10378
+ case 3:
10379
+ return e2 = t3.sent, t3.next = 6, e2.get();
10380
+ case 6:
10381
+ return n2 = t3.sent, t3.abrupt("return", n2.visitorId);
9597
10382
  case 10:
9598
- return o2 = t3.sent, t3.abrupt("return", o2.visitorId);
10383
+ return t3.prev = 10, t3.t0 = t3.catch(0), console.log(t3.t0), t3.abrupt("return", "");
9599
10384
  case 14:
9600
- return t3.prev = 14, t3.t0 = t3.catch(0), console.log(t3.t0), t3.abrupt("return", "");
9601
- case 18:
9602
10385
  case "end":
9603
10386
  return t3.stop();
9604
10387
  }
9605
- }, t2, null, [[0, 14]]);
10388
+ }, t2, null, [[0, 10]]);
9606
10389
  }))).apply(this, arguments);
9607
10390
  }
9608
- function k() {
9609
- return N.apply(this, arguments);
10391
+ function mt() {
10392
+ return vt.apply(this, arguments);
9610
10393
  }
9611
- function N() {
9612
- return (N = e$1(a.mark(function t2() {
10394
+ function vt() {
10395
+ return (vt = e$1(a.mark(function t2() {
9613
10396
  return a.wrap(function(t3) {
9614
10397
  for (; ; )
9615
10398
  switch (t3.prev = t3.next) {
9616
10399
  case 0:
9617
10400
  return t3.abrupt("return", new Promise(function(t4) {
9618
10401
  window.requestIdleCallback ? requestIdleCallback(e$1(a.mark(function e2() {
9619
- var r2;
10402
+ var n2;
9620
10403
  return a.wrap(function(e3) {
9621
10404
  for (; ; )
9622
10405
  switch (e3.prev = e3.next) {
9623
10406
  case 0:
9624
- return e3.next = 2, x();
10407
+ return e3.next = 2, ft();
9625
10408
  case 2:
9626
- r2 = e3.sent, t4(r2);
10409
+ n2 = e3.sent, t4(n2);
9627
10410
  case 4:
9628
10411
  case "end":
9629
10412
  return e3.stop();
9630
10413
  }
9631
10414
  }, e2);
9632
10415
  }))) : setTimeout(e$1(a.mark(function e2() {
9633
- var r2;
10416
+ var n2;
9634
10417
  return a.wrap(function(e3) {
9635
10418
  for (; ; )
9636
10419
  switch (e3.prev = e3.next) {
9637
10420
  case 0:
9638
- return e3.next = 2, x();
10421
+ return e3.next = 2, ft();
9639
10422
  case 2:
9640
- r2 = e3.sent, t4(r2);
10423
+ n2 = e3.sent, t4(n2);
9641
10424
  case 4:
9642
10425
  case "end":
9643
10426
  return e3.stop();
@@ -9652,33 +10435,33 @@ function N() {
9652
10435
  }, t2);
9653
10436
  }))).apply(this, arguments);
9654
10437
  }
9655
- var L = function(t2) {
9656
- var e2 = t2.env, r2 = t2.kountAccountId, n2 = t2.kountSessionId, o2 = function(t3) {
10438
+ var pt = function(t2) {
10439
+ var e2 = t2.env, n2 = t2.kountAccountId, r2 = t2.kountSessionId, o2 = function(t3) {
9657
10440
  return "production" === t3;
9658
- }(e2) ? "https://ssl.kaptcha.com" : "https://tst.kaptcha.com", i2 = new URL("".concat(o2, "/collect/sdk"));
9659
- i2.searchParams.append("m", r2), n2 && i2.searchParams.append("m", n2);
9660
- var a2 = document.createElement("script");
9661
- return a2.setAttribute("class", "kaxsdc"), a2.setAttribute("data-event", "load"), a2.setAttribute("type", "text/javascript"), a2.setAttribute("src", i2.href), document.body.append(a2), a2;
10441
+ }(e2) ? "https://ssl.kaptcha.com" : "https://tst.kaptcha.com", a2 = new URL("".concat(o2, "/collect/sdk"));
10442
+ a2.searchParams.append("m", n2), r2 && a2.searchParams.append("m", r2);
10443
+ var i2 = document.createElement("script");
10444
+ return i2.setAttribute("class", "kaxsdc"), i2.setAttribute("data-event", "load"), i2.setAttribute("type", "text/javascript"), i2.setAttribute("src", a2.href), document.body.append(i2), i2;
9662
10445
  };
9663
- function T(t2) {
9664
- return A.apply(this, arguments);
10446
+ function yt(t2) {
10447
+ return bt.apply(this, arguments);
9665
10448
  }
9666
- function A() {
9667
- return (A = e$1(a.mark(function t2(e2) {
9668
- var r2, n2, o2;
10449
+ function bt() {
10450
+ return (bt = e$1(a.mark(function t2(e2) {
10451
+ var n2, r2, o2;
9669
10452
  return a.wrap(function(t3) {
9670
10453
  for (; ; )
9671
10454
  switch (t3.prev = t3.next) {
9672
10455
  case 0:
9673
- return r2 = e2.env, n2 = e2.kountAccountId, o2 = e2.kountSessionId, t3.abrupt("return", new Promise(function(t4, e3) {
9674
- var i2 = L({ env: r2, kountAccountId: n2, kountSessionId: o2 });
9675
- i2.onload = function() {
10456
+ return n2 = e2.env, r2 = e2.kountAccountId, o2 = e2.kountSessionId, t3.abrupt("return", new Promise(function(t4, e3) {
10457
+ var a2 = pt({ env: n2, kountAccountId: r2, kountSessionId: o2 });
10458
+ a2.onload = function() {
9676
10459
  var e4 = new ka.ClientSDK();
9677
10460
  e4.setupCallback({ "collect-begin": function(e5) {
9678
- var r3 = e5.MercSessId;
9679
- t4(r3);
10461
+ var n3 = e5.MercSessId;
10462
+ t4(n3);
9680
10463
  } }), e4.autoLoadEvents();
9681
- }, i2.onerror = function() {
10464
+ }, a2.onerror = function() {
9682
10465
  e3(new Error("Error attempting to mount Kount script"));
9683
10466
  };
9684
10467
  }));
@@ -9689,56 +10472,56 @@ function A() {
9689
10472
  }, t2);
9690
10473
  }))).apply(this, arguments);
9691
10474
  }
9692
- function P(t2) {
9693
- return j.apply(this, arguments);
10475
+ function gt(t2) {
10476
+ return wt.apply(this, arguments);
9694
10477
  }
9695
- function j() {
9696
- return j = e$1(a.mark(function t2(e2) {
9697
- var r2, n2, o2, i2, u2, c2, s2, l2, f2, p2, h2, d2, v2, y2, m2, R2, E2, g2, w2, b2;
10478
+ function wt() {
10479
+ return wt = e$1(a.mark(function t2(e2) {
10480
+ var n2, r2, o2, i2, c2, u2, s2, l2, d2, f2, h2, m2, v2, p2, y2, b2, g2, w2, L2, k2;
9698
10481
  return a.wrap(function(t3) {
9699
10482
  for (; ; )
9700
10483
  switch (t3.prev = t3.next) {
9701
10484
  case 0:
9702
- return r2 = e2.env, n2 = void 0 === r2 ? null : r2, o2 = e2.screen, i2 = e2.navigator, u2 = e2.kountAccountId, c2 = void 0 === u2 ? null : u2, s2 = e2.kountSessionId, l2 = void 0 === s2 ? null : s2, f2 = e2.getFingerprint, p2 = e2.getFraudSessionId, d2 = (h2 = o2 || {}).colorDepth, v2 = h2.height, y2 = h2.width, R2 = (m2 = i2 || {}).javaEnabled, E2 = m2.language, t3.prev = 3, t3.next = 6, f2();
10485
+ return n2 = e2.env, r2 = void 0 === n2 ? null : n2, o2 = e2.screen, i2 = e2.navigator, c2 = e2.kountAccountId, u2 = void 0 === c2 ? null : c2, s2 = e2.kountSessionId, l2 = void 0 === s2 ? null : s2, d2 = e2.getFingerprint, f2 = e2.getFraudSessionId, m2 = (h2 = o2 || {}).colorDepth, v2 = h2.height, p2 = h2.width, b2 = (y2 = i2 || {}).javaEnabled, g2 = y2.language, t3.prev = 3, t3.next = 6, d2();
9703
10486
  case 6:
9704
- if (g2 = t3.sent, !c2) {
10487
+ if (w2 = t3.sent, !u2) {
9705
10488
  t3.next = 11;
9706
10489
  break;
9707
10490
  }
9708
- return t3.next = 10, p2({ env: n2, kountAccountId: c2, kountSessionId: l2 });
10491
+ return t3.next = 10, f2({ env: r2, kountAccountId: u2, kountSessionId: l2 });
9709
10492
  case 10:
9710
- w2 = t3.sent;
10493
+ L2 = t3.sent;
9711
10494
  case 11:
9712
10495
  t3.next = 16;
9713
10496
  break;
9714
10497
  case 13:
9715
10498
  t3.prev = 13, t3.t0 = t3.catch(3), console.error(t3.t0);
9716
10499
  case 16:
9717
- return b2 = { riskMetadata: { fingerprint: g2 || null, extraData: { kountFraudSessionId: w2 || null }, browserData: { colorDepth: d2 || null, isJavaEnabled: R2 ? R2.call(i2) : null, language: E2 || null, screenHeight: v2 || null, screenWidth: y2 || null, timeZoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset() } } }, t3.abrupt("return", b2);
10500
+ return k2 = { riskMetadata: { fingerprint: w2 || null, extraData: { kountFraudSessionId: L2 || null }, browserData: { colorDepth: m2 || null, isJavaEnabled: b2 ? b2.call(i2) : null, language: g2 || null, screenHeight: v2 || null, screenWidth: p2 || null, timeZoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset() } } }, t3.abrupt("return", k2);
9718
10501
  case 18:
9719
10502
  case "end":
9720
10503
  return t3.stop();
9721
10504
  }
9722
10505
  }, t2, null, [[3, 13]]);
9723
- })), j.apply(this, arguments);
10506
+ })), wt.apply(this, arguments);
9724
10507
  }
9725
- function D() {
9726
- return C.apply(this, arguments);
10508
+ function Lt() {
10509
+ return kt.apply(this, arguments);
9727
10510
  }
9728
- function C() {
9729
- return C = e$1(a.mark(function t2() {
9730
- var e2, r2, n2, o2, i2, u2, c2, s2 = arguments;
10511
+ function kt() {
10512
+ return kt = e$1(a.mark(function t2() {
10513
+ var e2, n2, r2, o2, i2, c2, u2, s2 = arguments;
9731
10514
  return a.wrap(function(t3) {
9732
10515
  for (; ; )
9733
10516
  switch (t3.prev = t3.next) {
9734
10517
  case 0:
9735
- return r2 = (e2 = s2.length > 0 && void 0 !== s2[0] ? s2[0] : {}).env, n2 = void 0 === r2 ? null : r2, o2 = e2.kountAccountId, i2 = void 0 === o2 ? null : o2, u2 = e2.kountSessionId, c2 = void 0 === u2 ? null : u2, t3.abrupt("return", P({ env: n2, screen, navigator, kountAccountId: i2, kountSessionId: c2, getFingerprint: k, getFraudSessionId: T }));
10518
+ return n2 = (e2 = s2.length > 0 && void 0 !== s2[0] ? s2[0] : {}).env, r2 = void 0 === n2 ? null : n2, o2 = e2.kountAccountId, i2 = void 0 === o2 ? null : o2, c2 = e2.kountSessionId, u2 = void 0 === c2 ? null : c2, t3.abrupt("return", gt({ env: r2, screen, navigator, kountAccountId: i2, kountSessionId: u2, getFingerprint: mt, getFraudSessionId: yt }));
9736
10519
  case 2:
9737
10520
  case "end":
9738
10521
  return t3.stop();
9739
10522
  }
9740
10523
  }, t2);
9741
- })), C.apply(this, arguments);
10524
+ })), kt.apply(this, arguments);
9742
10525
  }
9743
10526
  function getPaymentMethods() {
9744
10527
  var _a;
@@ -13224,7 +14007,7 @@ async function fetchReadyToPay() {
13224
14007
  return Endpoint(async () => {
13225
14008
  var _a, _b, _c, _d, _e, _f, _g;
13226
14009
  if (!state.data.riskMetadata) {
13227
- const { riskMetadata: data3 } = await D();
14010
+ const { riskMetadata: data3 } = await Lt();
13228
14011
  state.data.riskMetadata = data3;
13229
14012
  }
13230
14013
  const data2 = {
@@ -13551,7 +14334,7 @@ async function fetchData({
13551
14334
  try {
13552
14335
  state.data = new DataInstance();
13553
14336
  if (!riskMetadata) {
13554
- const { riskMetadata: data2 } = await D();
14337
+ const { riskMetadata: data2 } = await Lt();
13555
14338
  state.data.riskMetadata = data2;
13556
14339
  } else {
13557
14340
  state.data.riskMetadata = riskMetadata;
@@ -15372,17 +16155,17 @@ var util = {};
15372
16155
  return hash;
15373
16156
  }
15374
16157
  exports.toHash = toHash;
15375
- function alwaysValidSchema(it, schema2) {
16158
+ function alwaysValidSchema(it2, schema2) {
15376
16159
  if (typeof schema2 == "boolean")
15377
16160
  return schema2;
15378
16161
  if (Object.keys(schema2).length === 0)
15379
16162
  return true;
15380
- checkUnknownRules(it, schema2);
15381
- return !schemaHasRules(schema2, it.self.RULES.all);
16163
+ checkUnknownRules(it2, schema2);
16164
+ return !schemaHasRules(schema2, it2.self.RULES.all);
15382
16165
  }
15383
16166
  exports.alwaysValidSchema = alwaysValidSchema;
15384
- function checkUnknownRules(it, schema2 = it.schema) {
15385
- const { opts, self: self2 } = it;
16167
+ function checkUnknownRules(it2, schema2 = it2.schema) {
16168
+ const { opts, self: self2 } = it2;
15386
16169
  if (!opts.strictSchema)
15387
16170
  return;
15388
16171
  if (typeof schema2 === "boolean")
@@ -15390,7 +16173,7 @@ var util = {};
15390
16173
  const rules2 = self2.RULES.keywords;
15391
16174
  for (const key in schema2) {
15392
16175
  if (!rules2[key])
15393
- checkStrictMode(it, `unknown keyword: "${key}"`);
16176
+ checkStrictMode(it2, `unknown keyword: "${key}"`);
15394
16177
  }
15395
16178
  }
15396
16179
  exports.checkUnknownRules = checkUnknownRules;
@@ -15512,13 +16295,13 @@ var util = {};
15512
16295
  return jsPropertySyntax ? (0, codegen_12.getProperty)(dataProp).toString() : "/" + escapeJsonPointer(dataProp);
15513
16296
  }
15514
16297
  exports.getErrorPath = getErrorPath;
15515
- function checkStrictMode(it, msg, mode = it.opts.strictSchema) {
16298
+ function checkStrictMode(it2, msg, mode = it2.opts.strictSchema) {
15516
16299
  if (!mode)
15517
16300
  return;
15518
16301
  msg = `strict mode: ${msg}`;
15519
16302
  if (mode === true)
15520
16303
  throw new Error(msg);
15521
- it.self.logger.warn(msg);
16304
+ it2.self.logger.warn(msg);
15522
16305
  }
15523
16306
  exports.checkStrictMode = checkStrictMode;
15524
16307
  })(util);
@@ -15562,23 +16345,23 @@ names$1.default = names;
15562
16345
  message: ({ keyword: keyword2, schemaType }) => schemaType ? (0, codegen_12.str)`"${keyword2}" keyword must be ${schemaType} ($data)` : (0, codegen_12.str)`"${keyword2}" keyword is invalid ($data)`
15563
16346
  };
15564
16347
  function reportError(cxt, error2 = exports.keywordError, errorPaths, overrideAllErrors) {
15565
- const { it } = cxt;
15566
- const { gen, compositeRule, allErrors } = it;
16348
+ const { it: it2 } = cxt;
16349
+ const { gen, compositeRule, allErrors } = it2;
15567
16350
  const errObj = errorObjectCode(cxt, error2, errorPaths);
15568
16351
  if (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : compositeRule || allErrors) {
15569
16352
  addError(gen, errObj);
15570
16353
  } else {
15571
- returnErrors(it, (0, codegen_12._)`[${errObj}]`);
16354
+ returnErrors(it2, (0, codegen_12._)`[${errObj}]`);
15572
16355
  }
15573
16356
  }
15574
16357
  exports.reportError = reportError;
15575
16358
  function reportExtraError(cxt, error2 = exports.keywordError, errorPaths) {
15576
- const { it } = cxt;
15577
- const { gen, compositeRule, allErrors } = it;
16359
+ const { it: it2 } = cxt;
16360
+ const { gen, compositeRule, allErrors } = it2;
15578
16361
  const errObj = errorObjectCode(cxt, error2, errorPaths);
15579
16362
  addError(gen, errObj);
15580
16363
  if (!(compositeRule || allErrors)) {
15581
- returnErrors(it, names_12.default.vErrors);
16364
+ returnErrors(it2, names_12.default.vErrors);
15582
16365
  }
15583
16366
  }
15584
16367
  exports.reportExtraError = reportExtraError;
@@ -15587,15 +16370,15 @@ names$1.default = names;
15587
16370
  gen.if((0, codegen_12._)`${names_12.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_12._)`${names_12.default.vErrors}.length`, errsCount), () => gen.assign(names_12.default.vErrors, null)));
15588
16371
  }
15589
16372
  exports.resetErrorsCount = resetErrorsCount;
15590
- function extendErrors({ gen, keyword: keyword2, schemaValue, data: data2, errsCount, it }) {
16373
+ function extendErrors({ gen, keyword: keyword2, schemaValue, data: data2, errsCount, it: it2 }) {
15591
16374
  if (errsCount === void 0)
15592
16375
  throw new Error("ajv implementation error");
15593
16376
  const err = gen.name("err");
15594
16377
  gen.forRange("i", errsCount, names_12.default.errors, (i2) => {
15595
16378
  gen.const(err, (0, codegen_12._)`${names_12.default.vErrors}[${i2}]`);
15596
- gen.if((0, codegen_12._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_12._)`${err}.instancePath`, (0, codegen_12.strConcat)(names_12.default.instancePath, it.errorPath)));
15597
- gen.assign((0, codegen_12._)`${err}.schemaPath`, (0, codegen_12.str)`${it.errSchemaPath}/${keyword2}`);
15598
- if (it.opts.verbose) {
16379
+ gen.if((0, codegen_12._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_12._)`${err}.instancePath`, (0, codegen_12.strConcat)(names_12.default.instancePath, it2.errorPath)));
16380
+ gen.assign((0, codegen_12._)`${err}.schemaPath`, (0, codegen_12.str)`${it2.errSchemaPath}/${keyword2}`);
16381
+ if (it2.opts.verbose) {
15599
16382
  gen.assign((0, codegen_12._)`${err}.schema`, schemaValue);
15600
16383
  gen.assign((0, codegen_12._)`${err}.data`, data2);
15601
16384
  }
@@ -15607,10 +16390,10 @@ names$1.default = names;
15607
16390
  gen.if((0, codegen_12._)`${names_12.default.vErrors} === null`, () => gen.assign(names_12.default.vErrors, (0, codegen_12._)`[${err}]`), (0, codegen_12._)`${names_12.default.vErrors}.push(${err})`);
15608
16391
  gen.code((0, codegen_12._)`${names_12.default.errors}++`);
15609
16392
  }
15610
- function returnErrors(it, errs) {
15611
- const { gen, validateName, schemaEnv } = it;
16393
+ function returnErrors(it2, errs) {
16394
+ const { gen, validateName, schemaEnv } = it2;
15612
16395
  if (schemaEnv.$async) {
15613
- gen.throw((0, codegen_12._)`new ${it.ValidationError}(${errs})`);
16396
+ gen.throw((0, codegen_12._)`new ${it2.ValidationError}(${errs})`);
15614
16397
  } else {
15615
16398
  gen.assign((0, codegen_12._)`${validateName}.errors`, errs);
15616
16399
  gen.return(false);
@@ -15632,9 +16415,9 @@ names$1.default = names;
15632
16415
  return errorObject(cxt, error2, errorPaths);
15633
16416
  }
15634
16417
  function errorObject(cxt, error2, errorPaths = {}) {
15635
- const { gen, it } = cxt;
16418
+ const { gen, it: it2 } = cxt;
15636
16419
  const keyValues = [
15637
- errorInstancePath(it, errorPaths),
16420
+ errorInstancePath(it2, errorPaths),
15638
16421
  errorSchemaPath(cxt, errorPaths)
15639
16422
  ];
15640
16423
  extraErrorProps(cxt, error2, keyValues);
@@ -15652,8 +16435,8 @@ names$1.default = names;
15652
16435
  return [E2.schemaPath, schPath];
15653
16436
  }
15654
16437
  function extraErrorProps(cxt, { params, message }, keyValues) {
15655
- const { keyword: keyword2, data: data2, schemaValue, it } = cxt;
15656
- const { opts, propertyName, topSchemaRef, schemaPath } = it;
16438
+ const { keyword: keyword2, data: data2, schemaValue, it: it2 } = cxt;
16439
+ const { opts, propertyName, topSchemaRef, schemaPath } = it2;
15657
16440
  keyValues.push([E2.keyword, keyword2], [E2.params, typeof params == "function" ? params(cxt) : params || (0, codegen_12._)`{}`]);
15658
16441
  if (opts.messages) {
15659
16442
  keyValues.push([E2.message, typeof message == "function" ? message(cxt) : message]);
@@ -15673,10 +16456,10 @@ const names_1$9 = names$1;
15673
16456
  const boolError = {
15674
16457
  message: "boolean schema is false"
15675
16458
  };
15676
- function topBoolOrEmptySchema(it) {
15677
- const { gen, schema: schema2, validateName } = it;
16459
+ function topBoolOrEmptySchema(it2) {
16460
+ const { gen, schema: schema2, validateName } = it2;
15678
16461
  if (schema2 === false) {
15679
- falseSchemaError(it, false);
16462
+ falseSchemaError(it2, false);
15680
16463
  } else if (typeof schema2 == "object" && schema2.$async === true) {
15681
16464
  gen.return(names_1$9.default.data);
15682
16465
  } else {
@@ -15685,18 +16468,18 @@ function topBoolOrEmptySchema(it) {
15685
16468
  }
15686
16469
  }
15687
16470
  boolSchema.topBoolOrEmptySchema = topBoolOrEmptySchema;
15688
- function boolOrEmptySchema(it, valid) {
15689
- const { gen, schema: schema2 } = it;
16471
+ function boolOrEmptySchema(it2, valid) {
16472
+ const { gen, schema: schema2 } = it2;
15690
16473
  if (schema2 === false) {
15691
16474
  gen.var(valid, false);
15692
- falseSchemaError(it);
16475
+ falseSchemaError(it2);
15693
16476
  } else {
15694
16477
  gen.var(valid, true);
15695
16478
  }
15696
16479
  }
15697
16480
  boolSchema.boolOrEmptySchema = boolOrEmptySchema;
15698
- function falseSchemaError(it, overrideAllErrors) {
15699
- const { gen, data: data2 } = it;
16481
+ function falseSchemaError(it2, overrideAllErrors) {
16482
+ const { gen, data: data2 } = it2;
15700
16483
  const cxt = {
15701
16484
  gen,
15702
16485
  keyword: "false schema",
@@ -15705,7 +16488,7 @@ function falseSchemaError(it, overrideAllErrors) {
15705
16488
  schemaCode: false,
15706
16489
  schemaValue: false,
15707
16490
  params: {},
15708
- it
16491
+ it: it2
15709
16492
  };
15710
16493
  (0, errors_1$2.reportError)(cxt, boolError, void 0, overrideAllErrors);
15711
16494
  }
@@ -15788,17 +16571,17 @@ applicability.shouldUseRule = shouldUseRule;
15788
16571
  throw new Error("type must be JSONType or JSONType[]: " + types2.join(","));
15789
16572
  }
15790
16573
  exports.getJSONTypes = getJSONTypes;
15791
- function coerceAndCheckDataType(it, types2) {
15792
- const { gen, data: data2, opts } = it;
16574
+ function coerceAndCheckDataType(it2, types2) {
16575
+ const { gen, data: data2, opts } = it2;
15793
16576
  const coerceTo = coerceToTypes(types2, opts.coerceTypes);
15794
- const checkTypes = types2.length > 0 && !(coerceTo.length === 0 && types2.length === 1 && (0, applicability_12.schemaHasRulesForType)(it, types2[0]));
16577
+ const checkTypes = types2.length > 0 && !(coerceTo.length === 0 && types2.length === 1 && (0, applicability_12.schemaHasRulesForType)(it2, types2[0]));
15795
16578
  if (checkTypes) {
15796
16579
  const wrongType = checkDataTypes(types2, data2, opts.strictNumbers, DataType.Wrong);
15797
16580
  gen.if(wrongType, () => {
15798
16581
  if (coerceTo.length)
15799
- coerceData(it, types2, coerceTo);
16582
+ coerceData(it2, types2, coerceTo);
15800
16583
  else
15801
- reportTypeError(it);
16584
+ reportTypeError(it2);
15802
16585
  });
15803
16586
  }
15804
16587
  return checkTypes;
@@ -15808,8 +16591,8 @@ applicability.shouldUseRule = shouldUseRule;
15808
16591
  function coerceToTypes(types2, coerceTypes) {
15809
16592
  return coerceTypes ? types2.filter((t2) => COERCIBLE.has(t2) || coerceTypes === "array" && t2 === "array") : [];
15810
16593
  }
15811
- function coerceData(it, types2, coerceTo) {
15812
- const { gen, data: data2, opts } = it;
16594
+ function coerceData(it2, types2, coerceTo) {
16595
+ const { gen, data: data2, opts } = it2;
15813
16596
  const dataType2 = gen.let("dataType", (0, codegen_12._)`typeof ${data2}`);
15814
16597
  const coerced = gen.let("coerced", (0, codegen_12._)`undefined`);
15815
16598
  if (opts.coerceTypes === "array") {
@@ -15822,11 +16605,11 @@ applicability.shouldUseRule = shouldUseRule;
15822
16605
  }
15823
16606
  }
15824
16607
  gen.else();
15825
- reportTypeError(it);
16608
+ reportTypeError(it2);
15826
16609
  gen.endIf();
15827
16610
  gen.if((0, codegen_12._)`${coerced} !== undefined`, () => {
15828
16611
  gen.assign(data2, coerced);
15829
- assignParentData(it, coerced);
16612
+ assignParentData(it2, coerced);
15830
16613
  });
15831
16614
  function coerceSpecificType(t2) {
15832
16615
  switch (t2) {
@@ -15910,14 +16693,14 @@ applicability.shouldUseRule = shouldUseRule;
15910
16693
  message: ({ schema: schema2 }) => `must be ${schema2}`,
15911
16694
  params: ({ schema: schema2, schemaValue }) => typeof schema2 == "string" ? (0, codegen_12._)`{type: ${schema2}}` : (0, codegen_12._)`{type: ${schemaValue}}`
15912
16695
  };
15913
- function reportTypeError(it) {
15914
- const cxt = getTypeErrorContext(it);
16696
+ function reportTypeError(it2) {
16697
+ const cxt = getTypeErrorContext(it2);
15915
16698
  (0, errors_12.reportError)(cxt, typeError);
15916
16699
  }
15917
16700
  exports.reportTypeError = reportTypeError;
15918
- function getTypeErrorContext(it) {
15919
- const { gen, data: data2, schema: schema2 } = it;
15920
- const schemaCode = (0, util_12.schemaRefOrVal)(it, schema2, "type");
16701
+ function getTypeErrorContext(it2) {
16702
+ const { gen, data: data2, schema: schema2 } = it2;
16703
+ const schemaCode = (0, util_12.schemaRefOrVal)(it2, schema2, "type");
15921
16704
  return {
15922
16705
  gen,
15923
16706
  keyword: "type",
@@ -15927,7 +16710,7 @@ applicability.shouldUseRule = shouldUseRule;
15927
16710
  schemaValue: schemaCode,
15928
16711
  parentSchema: schema2,
15929
16712
  params: {},
15930
- it
16713
+ it: it2
15931
16714
  };
15932
16715
  }
15933
16716
  })(dataType);
@@ -15936,24 +16719,24 @@ Object.defineProperty(defaults, "__esModule", { value: true });
15936
16719
  defaults.assignDefaults = void 0;
15937
16720
  const codegen_1$v = codegen;
15938
16721
  const util_1$t = util;
15939
- function assignDefaults(it, ty) {
15940
- const { properties: properties2, items: items2 } = it.schema;
16722
+ function assignDefaults(it2, ty) {
16723
+ const { properties: properties2, items: items2 } = it2.schema;
15941
16724
  if (ty === "object" && properties2) {
15942
16725
  for (const key in properties2) {
15943
- assignDefault(it, key, properties2[key].default);
16726
+ assignDefault(it2, key, properties2[key].default);
15944
16727
  }
15945
16728
  } else if (ty === "array" && Array.isArray(items2)) {
15946
- items2.forEach((sch, i2) => assignDefault(it, i2, sch.default));
16729
+ items2.forEach((sch, i2) => assignDefault(it2, i2, sch.default));
15947
16730
  }
15948
16731
  }
15949
16732
  defaults.assignDefaults = assignDefaults;
15950
- function assignDefault(it, prop, defaultValue) {
15951
- const { gen, compositeRule, data: data2, opts } = it;
16733
+ function assignDefault(it2, prop, defaultValue) {
16734
+ const { gen, compositeRule, data: data2, opts } = it2;
15952
16735
  if (defaultValue === void 0)
15953
16736
  return;
15954
16737
  const childData = (0, codegen_1$v._)`${data2}${(0, codegen_1$v.getProperty)(prop)}`;
15955
16738
  if (compositeRule) {
15956
- (0, util_1$t.checkStrictMode)(it, `default is ignored for: ${childData}`);
16739
+ (0, util_1$t.checkStrictMode)(it2, `default is ignored for: ${childData}`);
15957
16740
  return;
15958
16741
  }
15959
16742
  let condition = (0, codegen_1$v._)`${childData} === undefined`;
@@ -15971,8 +16754,8 @@ const util_1$s = util;
15971
16754
  const names_1$8 = names$1;
15972
16755
  const util_2$1 = util;
15973
16756
  function checkReportMissingProp(cxt, prop) {
15974
- const { gen, data: data2, it } = cxt;
15975
- gen.if(noPropertyInData(gen, data2, prop, it.opts.ownProperties), () => {
16757
+ const { gen, data: data2, it: it2 } = cxt;
16758
+ gen.if(noPropertyInData(gen, data2, prop, it2.opts.ownProperties), () => {
15976
16759
  cxt.setParams({ missingProperty: (0, codegen_1$u._)`${prop}` }, true);
15977
16760
  cxt.error();
15978
16761
  });
@@ -16013,19 +16796,19 @@ function allSchemaProperties(schemaMap) {
16013
16796
  return schemaMap ? Object.keys(schemaMap).filter((p2) => p2 !== "__proto__") : [];
16014
16797
  }
16015
16798
  code.allSchemaProperties = allSchemaProperties;
16016
- function schemaProperties(it, schemaMap) {
16017
- return allSchemaProperties(schemaMap).filter((p2) => !(0, util_1$s.alwaysValidSchema)(it, schemaMap[p2]));
16799
+ function schemaProperties(it2, schemaMap) {
16800
+ return allSchemaProperties(schemaMap).filter((p2) => !(0, util_1$s.alwaysValidSchema)(it2, schemaMap[p2]));
16018
16801
  }
16019
16802
  code.schemaProperties = schemaProperties;
16020
- function callValidateCode({ schemaCode, data: data2, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) {
16803
+ function callValidateCode({ schemaCode, data: data2, it: { gen, topSchemaRef, schemaPath, errorPath }, it: it2 }, func, context, passSchema) {
16021
16804
  const dataAndSchema = passSchema ? (0, codegen_1$u._)`${schemaCode}, ${data2}, ${topSchemaRef}${schemaPath}` : data2;
16022
16805
  const valCxt = [
16023
16806
  [names_1$8.default.instancePath, (0, codegen_1$u.strConcat)(names_1$8.default.instancePath, errorPath)],
16024
- [names_1$8.default.parentData, it.parentData],
16025
- [names_1$8.default.parentDataProperty, it.parentDataProperty],
16807
+ [names_1$8.default.parentData, it2.parentData],
16808
+ [names_1$8.default.parentDataProperty, it2.parentDataProperty],
16026
16809
  [names_1$8.default.rootData, names_1$8.default.rootData]
16027
16810
  ];
16028
- if (it.opts.dynamicRef)
16811
+ if (it2.opts.dynamicRef)
16029
16812
  valCxt.push([names_1$8.default.dynamicAnchors, names_1$8.default.dynamicAnchors]);
16030
16813
  const args = (0, codegen_1$u._)`${dataAndSchema}, ${gen.object(...valCxt)}`;
16031
16814
  return context !== codegen_1$u.nil ? (0, codegen_1$u._)`${func}.call(${context}, ${args})` : (0, codegen_1$u._)`${func}(${args})`;
@@ -16044,9 +16827,9 @@ function usePattern({ gen, it: { opts } }, pattern2) {
16044
16827
  }
16045
16828
  code.usePattern = usePattern;
16046
16829
  function validateArray(cxt) {
16047
- const { gen, data: data2, keyword: keyword2, it } = cxt;
16830
+ const { gen, data: data2, keyword: keyword2, it: it2 } = cxt;
16048
16831
  const valid = gen.name("valid");
16049
- if (it.allErrors) {
16832
+ if (it2.allErrors) {
16050
16833
  const validArr = gen.let("valid", true);
16051
16834
  validateItems(() => gen.assign(validArr, false));
16052
16835
  return validArr;
@@ -16068,11 +16851,11 @@ function validateArray(cxt) {
16068
16851
  }
16069
16852
  code.validateArray = validateArray;
16070
16853
  function validateUnion(cxt) {
16071
- const { gen, schema: schema2, keyword: keyword2, it } = cxt;
16854
+ const { gen, schema: schema2, keyword: keyword2, it: it2 } = cxt;
16072
16855
  if (!Array.isArray(schema2))
16073
16856
  throw new Error("ajv implementation error");
16074
- const alwaysValid = schema2.some((sch) => (0, util_1$s.alwaysValidSchema)(it, sch));
16075
- if (alwaysValid && !it.opts.unevaluated)
16857
+ const alwaysValid = schema2.some((sch) => (0, util_1$s.alwaysValidSchema)(it2, sch));
16858
+ if (alwaysValid && !it2.opts.unevaluated)
16076
16859
  return;
16077
16860
  const valid = gen.let("valid", false);
16078
16861
  const schValid = gen.name("_valid");
@@ -16097,16 +16880,16 @@ const names_1$7 = names$1;
16097
16880
  const code_1$9 = code;
16098
16881
  const errors_1$1 = errors;
16099
16882
  function macroKeywordCode(cxt, def2) {
16100
- const { gen, keyword: keyword2, schema: schema2, parentSchema, it } = cxt;
16101
- const macroSchema = def2.macro.call(it.self, schema2, parentSchema, it);
16883
+ const { gen, keyword: keyword2, schema: schema2, parentSchema, it: it2 } = cxt;
16884
+ const macroSchema = def2.macro.call(it2.self, schema2, parentSchema, it2);
16102
16885
  const schemaRef = useKeyword(gen, keyword2, macroSchema);
16103
- if (it.opts.validateSchema !== false)
16104
- it.self.validateSchema(macroSchema, true);
16886
+ if (it2.opts.validateSchema !== false)
16887
+ it2.self.validateSchema(macroSchema, true);
16105
16888
  const valid = gen.name("valid");
16106
16889
  cxt.subschema({
16107
16890
  schema: macroSchema,
16108
16891
  schemaPath: codegen_1$t.nil,
16109
- errSchemaPath: `${it.errSchemaPath}/${keyword2}`,
16892
+ errSchemaPath: `${it2.errSchemaPath}/${keyword2}`,
16110
16893
  topSchemaRef: schemaRef,
16111
16894
  compositeRule: true
16112
16895
  }, valid);
@@ -16115,9 +16898,9 @@ function macroKeywordCode(cxt, def2) {
16115
16898
  keyword.macroKeywordCode = macroKeywordCode;
16116
16899
  function funcKeywordCode(cxt, def2) {
16117
16900
  var _a;
16118
- const { gen, keyword: keyword2, schema: schema2, parentSchema, $data, it } = cxt;
16119
- checkAsyncKeyword(it, def2);
16120
- const validate2 = !$data && def2.compile ? def2.compile.call(it.self, schema2, parentSchema, it) : def2.validate;
16901
+ const { gen, keyword: keyword2, schema: schema2, parentSchema, $data, it: it2 } = cxt;
16902
+ checkAsyncKeyword(it2, def2);
16903
+ const validate2 = !$data && def2.compile ? def2.compile.call(it2.self, schema2, parentSchema, it2) : def2.validate;
16121
16904
  const validateRef = useKeyword(gen, keyword2, validate2);
16122
16905
  const valid = gen.let("valid");
16123
16906
  cxt.block$data(valid, validateKeyword);
@@ -16137,7 +16920,7 @@ function funcKeywordCode(cxt, def2) {
16137
16920
  }
16138
16921
  function validateAsync() {
16139
16922
  const ruleErrs = gen.let("ruleErrs", null);
16140
- gen.try(() => assignValid((0, codegen_1$t._)`await `), (e2) => gen.assign(valid, false).if((0, codegen_1$t._)`${e2} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1$t._)`${e2}.errors`), () => gen.throw(e2)));
16923
+ gen.try(() => assignValid((0, codegen_1$t._)`await `), (e2) => gen.assign(valid, false).if((0, codegen_1$t._)`${e2} instanceof ${it2.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1$t._)`${e2}.errors`), () => gen.throw(e2)));
16141
16924
  return ruleErrs;
16142
16925
  }
16143
16926
  function validateSync() {
@@ -16147,7 +16930,7 @@ function funcKeywordCode(cxt, def2) {
16147
16930
  return validateErrs;
16148
16931
  }
16149
16932
  function assignValid(_await = def2.async ? (0, codegen_1$t._)`await ` : codegen_1$t.nil) {
16150
- const passCxt = it.opts.passContext ? names_1$7.default.this : names_1$7.default.self;
16933
+ const passCxt = it2.opts.passContext ? names_1$7.default.this : names_1$7.default.self;
16151
16934
  const passSchema = !("compile" in def2 && !$data || def2.schema === false);
16152
16935
  gen.assign(valid, (0, codegen_1$t._)`${_await}${(0, code_1$9.callValidateCode)(cxt, validateRef, passCxt, passSchema)}`, def2.modifying);
16153
16936
  }
@@ -16158,8 +16941,8 @@ function funcKeywordCode(cxt, def2) {
16158
16941
  }
16159
16942
  keyword.funcKeywordCode = funcKeywordCode;
16160
16943
  function modifyData(cxt) {
16161
- const { gen, data: data2, it } = cxt;
16162
- gen.if(it.parentData, () => gen.assign(data2, (0, codegen_1$t._)`${it.parentData}[${it.parentDataProperty}]`));
16944
+ const { gen, data: data2, it: it2 } = cxt;
16945
+ gen.if(it2.parentData, () => gen.assign(data2, (0, codegen_1$t._)`${it2.parentData}[${it2.parentDataProperty}]`));
16163
16946
  }
16164
16947
  function addErrs(cxt, errs) {
16165
16948
  const { gen } = cxt;
@@ -16178,7 +16961,7 @@ function useKeyword(gen, keyword2, result) {
16178
16961
  return gen.scopeValue("keyword", typeof result == "function" ? { ref: result } : { ref: result, code: (0, codegen_1$t.stringify)(result) });
16179
16962
  }
16180
16963
  function validSchemaType(schema2, schemaType, allowUndefined = false) {
16181
- return !schemaType.length || schemaType.some((st) => st === "array" ? Array.isArray(schema2) : st === "object" ? schema2 && typeof schema2 == "object" && !Array.isArray(schema2) : typeof schema2 == st || allowUndefined && typeof schema2 == "undefined");
16964
+ return !schemaType.length || schemaType.some((st2) => st2 === "array" ? Array.isArray(schema2) : st2 === "object" ? schema2 && typeof schema2 == "object" && !Array.isArray(schema2) : typeof schema2 == st2 || allowUndefined && typeof schema2 == "undefined");
16182
16965
  }
16183
16966
  keyword.validSchemaType = validSchemaType;
16184
16967
  function validateKeywordUsage({ schema: schema2, opts, self: self2, errSchemaPath }, def2, keyword2) {
@@ -16206,20 +16989,20 @@ Object.defineProperty(subschema, "__esModule", { value: true });
16206
16989
  subschema.extendSubschemaMode = subschema.extendSubschemaData = subschema.getSubschema = void 0;
16207
16990
  const codegen_1$s = codegen;
16208
16991
  const util_1$r = util;
16209
- function getSubschema(it, { keyword: keyword2, schemaProp, schema: schema2, schemaPath, errSchemaPath, topSchemaRef }) {
16992
+ function getSubschema(it2, { keyword: keyword2, schemaProp, schema: schema2, schemaPath, errSchemaPath, topSchemaRef }) {
16210
16993
  if (keyword2 !== void 0 && schema2 !== void 0) {
16211
16994
  throw new Error('both "keyword" and "schema" passed, only one allowed');
16212
16995
  }
16213
16996
  if (keyword2 !== void 0) {
16214
- const sch = it.schema[keyword2];
16997
+ const sch = it2.schema[keyword2];
16215
16998
  return schemaProp === void 0 ? {
16216
16999
  schema: sch,
16217
- schemaPath: (0, codegen_1$s._)`${it.schemaPath}${(0, codegen_1$s.getProperty)(keyword2)}`,
16218
- errSchemaPath: `${it.errSchemaPath}/${keyword2}`
17000
+ schemaPath: (0, codegen_1$s._)`${it2.schemaPath}${(0, codegen_1$s.getProperty)(keyword2)}`,
17001
+ errSchemaPath: `${it2.errSchemaPath}/${keyword2}`
16219
17002
  } : {
16220
17003
  schema: sch[schemaProp],
16221
- schemaPath: (0, codegen_1$s._)`${it.schemaPath}${(0, codegen_1$s.getProperty)(keyword2)}${(0, codegen_1$s.getProperty)(schemaProp)}`,
16222
- errSchemaPath: `${it.errSchemaPath}/${keyword2}/${(0, util_1$r.escapeFragment)(schemaProp)}`
17004
+ schemaPath: (0, codegen_1$s._)`${it2.schemaPath}${(0, codegen_1$s.getProperty)(keyword2)}${(0, codegen_1$s.getProperty)(schemaProp)}`,
17005
+ errSchemaPath: `${it2.errSchemaPath}/${keyword2}/${(0, util_1$r.escapeFragment)(schemaProp)}`
16223
17006
  };
16224
17007
  }
16225
17008
  if (schema2 !== void 0) {
@@ -16236,14 +17019,14 @@ function getSubschema(it, { keyword: keyword2, schemaProp, schema: schema2, sche
16236
17019
  throw new Error('either "keyword" or "schema" must be passed');
16237
17020
  }
16238
17021
  subschema.getSubschema = getSubschema;
16239
- function extendSubschemaData(subschema2, it, { dataProp, dataPropType: dpType, data: data2, dataTypes, propertyName }) {
17022
+ function extendSubschemaData(subschema2, it2, { dataProp, dataPropType: dpType, data: data2, dataTypes, propertyName }) {
16240
17023
  if (data2 !== void 0 && dataProp !== void 0) {
16241
17024
  throw new Error('both "data" and "dataProp" passed, only one allowed');
16242
17025
  }
16243
- const { gen } = it;
17026
+ const { gen } = it2;
16244
17027
  if (dataProp !== void 0) {
16245
- const { errorPath, dataPathArr, opts } = it;
16246
- const nextData = gen.let("data", (0, codegen_1$s._)`${it.data}${(0, codegen_1$s.getProperty)(dataProp)}`, true);
17028
+ const { errorPath, dataPathArr, opts } = it2;
17029
+ const nextData = gen.let("data", (0, codegen_1$s._)`${it2.data}${(0, codegen_1$s.getProperty)(dataProp)}`, true);
16247
17030
  dataContextProps(nextData);
16248
17031
  subschema2.errorPath = (0, codegen_1$s.str)`${errorPath}${(0, util_1$r.getErrorPath)(dataProp, dpType, opts.jsPropertySyntax)}`;
16249
17032
  subschema2.parentDataProperty = (0, codegen_1$s._)`${dataProp}`;
@@ -16259,11 +17042,11 @@ function extendSubschemaData(subschema2, it, { dataProp, dataPropType: dpType, d
16259
17042
  subschema2.dataTypes = dataTypes;
16260
17043
  function dataContextProps(_nextData) {
16261
17044
  subschema2.data = _nextData;
16262
- subschema2.dataLevel = it.dataLevel + 1;
17045
+ subschema2.dataLevel = it2.dataLevel + 1;
16263
17046
  subschema2.dataTypes = [];
16264
- it.definedProperties = /* @__PURE__ */ new Set();
16265
- subschema2.parentData = it.data;
16266
- subschema2.dataNames = [...it.dataNames, _nextData];
17047
+ it2.definedProperties = /* @__PURE__ */ new Set();
17048
+ subschema2.parentData = it2.data;
17049
+ subschema2.dataNames = [...it2.dataNames, _nextData];
16267
17050
  }
16268
17051
  }
16269
17052
  subschema.extendSubschemaData = extendSubschemaData;
@@ -16563,15 +17346,15 @@ const names_1$6 = names$1;
16563
17346
  const resolve_1$2 = resolve$1;
16564
17347
  const util_1$p = util;
16565
17348
  const errors_1 = errors;
16566
- function validateFunctionCode(it) {
16567
- if (isSchemaObj(it)) {
16568
- checkKeywords(it);
16569
- if (schemaCxtHasRules(it)) {
16570
- topSchemaObjCode(it);
17349
+ function validateFunctionCode(it2) {
17350
+ if (isSchemaObj(it2)) {
17351
+ checkKeywords(it2);
17352
+ if (schemaCxtHasRules(it2)) {
17353
+ topSchemaObjCode(it2);
16571
17354
  return;
16572
17355
  }
16573
17356
  }
16574
- validateFunction(it, () => (0, boolSchema_1.topBoolOrEmptySchema)(it));
17357
+ validateFunction(it2, () => (0, boolSchema_1.topBoolOrEmptySchema)(it2));
16575
17358
  }
16576
17359
  validate$1.validateFunctionCode = validateFunctionCode;
16577
17360
  function validateFunction({ gen, validateName, schema: schema2, schemaEnv, opts }, body) {
@@ -16605,40 +17388,40 @@ function destructureValCxtES5(gen, opts) {
16605
17388
  gen.var(names_1$6.default.dynamicAnchors, (0, codegen_1$r._)`{}`);
16606
17389
  });
16607
17390
  }
16608
- function topSchemaObjCode(it) {
16609
- const { schema: schema2, opts, gen } = it;
16610
- validateFunction(it, () => {
17391
+ function topSchemaObjCode(it2) {
17392
+ const { schema: schema2, opts, gen } = it2;
17393
+ validateFunction(it2, () => {
16611
17394
  if (opts.$comment && schema2.$comment)
16612
- commentKeyword(it);
16613
- checkNoDefault(it);
17395
+ commentKeyword(it2);
17396
+ checkNoDefault(it2);
16614
17397
  gen.let(names_1$6.default.vErrors, null);
16615
17398
  gen.let(names_1$6.default.errors, 0);
16616
17399
  if (opts.unevaluated)
16617
- resetEvaluated(it);
16618
- typeAndKeywords(it);
16619
- returnResults(it);
17400
+ resetEvaluated(it2);
17401
+ typeAndKeywords(it2);
17402
+ returnResults(it2);
16620
17403
  });
16621
17404
  return;
16622
17405
  }
16623
- function resetEvaluated(it) {
16624
- const { gen, validateName } = it;
16625
- it.evaluated = gen.const("evaluated", (0, codegen_1$r._)`${validateName}.evaluated`);
16626
- gen.if((0, codegen_1$r._)`${it.evaluated}.dynamicProps`, () => gen.assign((0, codegen_1$r._)`${it.evaluated}.props`, (0, codegen_1$r._)`undefined`));
16627
- gen.if((0, codegen_1$r._)`${it.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1$r._)`${it.evaluated}.items`, (0, codegen_1$r._)`undefined`));
17406
+ function resetEvaluated(it2) {
17407
+ const { gen, validateName } = it2;
17408
+ it2.evaluated = gen.const("evaluated", (0, codegen_1$r._)`${validateName}.evaluated`);
17409
+ gen.if((0, codegen_1$r._)`${it2.evaluated}.dynamicProps`, () => gen.assign((0, codegen_1$r._)`${it2.evaluated}.props`, (0, codegen_1$r._)`undefined`));
17410
+ gen.if((0, codegen_1$r._)`${it2.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1$r._)`${it2.evaluated}.items`, (0, codegen_1$r._)`undefined`));
16628
17411
  }
16629
17412
  function funcSourceUrl(schema2, opts) {
16630
17413
  const schId = typeof schema2 == "object" && schema2[opts.schemaId];
16631
17414
  return schId && (opts.code.source || opts.code.process) ? (0, codegen_1$r._)`/*# sourceURL=${schId} */` : codegen_1$r.nil;
16632
17415
  }
16633
- function subschemaCode(it, valid) {
16634
- if (isSchemaObj(it)) {
16635
- checkKeywords(it);
16636
- if (schemaCxtHasRules(it)) {
16637
- subSchemaObjCode(it, valid);
17416
+ function subschemaCode(it2, valid) {
17417
+ if (isSchemaObj(it2)) {
17418
+ checkKeywords(it2);
17419
+ if (schemaCxtHasRules(it2)) {
17420
+ subSchemaObjCode(it2, valid);
16638
17421
  return;
16639
17422
  }
16640
17423
  }
16641
- (0, boolSchema_1.boolOrEmptySchema)(it, valid);
17424
+ (0, boolSchema_1.boolOrEmptySchema)(it2, valid);
16642
17425
  }
16643
17426
  function schemaCxtHasRules({ schema: schema2, self: self2 }) {
16644
17427
  if (typeof schema2 == "boolean")
@@ -16648,49 +17431,49 @@ function schemaCxtHasRules({ schema: schema2, self: self2 }) {
16648
17431
  return true;
16649
17432
  return false;
16650
17433
  }
16651
- function isSchemaObj(it) {
16652
- return typeof it.schema != "boolean";
17434
+ function isSchemaObj(it2) {
17435
+ return typeof it2.schema != "boolean";
16653
17436
  }
16654
- function subSchemaObjCode(it, valid) {
16655
- const { schema: schema2, gen, opts } = it;
17437
+ function subSchemaObjCode(it2, valid) {
17438
+ const { schema: schema2, gen, opts } = it2;
16656
17439
  if (opts.$comment && schema2.$comment)
16657
- commentKeyword(it);
16658
- updateContext(it);
16659
- checkAsyncSchema(it);
17440
+ commentKeyword(it2);
17441
+ updateContext(it2);
17442
+ checkAsyncSchema(it2);
16660
17443
  const errsCount = gen.const("_errs", names_1$6.default.errors);
16661
- typeAndKeywords(it, errsCount);
17444
+ typeAndKeywords(it2, errsCount);
16662
17445
  gen.var(valid, (0, codegen_1$r._)`${errsCount} === ${names_1$6.default.errors}`);
16663
17446
  }
16664
- function checkKeywords(it) {
16665
- (0, util_1$p.checkUnknownRules)(it);
16666
- checkRefsAndKeywords(it);
17447
+ function checkKeywords(it2) {
17448
+ (0, util_1$p.checkUnknownRules)(it2);
17449
+ checkRefsAndKeywords(it2);
16667
17450
  }
16668
- function typeAndKeywords(it, errsCount) {
16669
- if (it.opts.jtd)
16670
- return schemaKeywords(it, [], false, errsCount);
16671
- const types2 = (0, dataType_1$1.getSchemaTypes)(it.schema);
16672
- const checkedTypes = (0, dataType_1$1.coerceAndCheckDataType)(it, types2);
16673
- schemaKeywords(it, types2, !checkedTypes, errsCount);
17451
+ function typeAndKeywords(it2, errsCount) {
17452
+ if (it2.opts.jtd)
17453
+ return schemaKeywords(it2, [], false, errsCount);
17454
+ const types2 = (0, dataType_1$1.getSchemaTypes)(it2.schema);
17455
+ const checkedTypes = (0, dataType_1$1.coerceAndCheckDataType)(it2, types2);
17456
+ schemaKeywords(it2, types2, !checkedTypes, errsCount);
16674
17457
  }
16675
- function checkRefsAndKeywords(it) {
16676
- const { schema: schema2, errSchemaPath, opts, self: self2 } = it;
17458
+ function checkRefsAndKeywords(it2) {
17459
+ const { schema: schema2, errSchemaPath, opts, self: self2 } = it2;
16677
17460
  if (schema2.$ref && opts.ignoreKeywordsWithRef && (0, util_1$p.schemaHasRulesButRef)(schema2, self2.RULES)) {
16678
17461
  self2.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`);
16679
17462
  }
16680
17463
  }
16681
- function checkNoDefault(it) {
16682
- const { schema: schema2, opts } = it;
17464
+ function checkNoDefault(it2) {
17465
+ const { schema: schema2, opts } = it2;
16683
17466
  if (schema2.default !== void 0 && opts.useDefaults && opts.strictSchema) {
16684
- (0, util_1$p.checkStrictMode)(it, "default is ignored in the schema root");
17467
+ (0, util_1$p.checkStrictMode)(it2, "default is ignored in the schema root");
16685
17468
  }
16686
17469
  }
16687
- function updateContext(it) {
16688
- const schId = it.schema[it.opts.schemaId];
17470
+ function updateContext(it2) {
17471
+ const schId = it2.schema[it2.opts.schemaId];
16689
17472
  if (schId)
16690
- it.baseId = (0, resolve_1$2.resolveUrl)(it.opts.uriResolver, it.baseId, schId);
17473
+ it2.baseId = (0, resolve_1$2.resolveUrl)(it2.opts.uriResolver, it2.baseId, schId);
16691
17474
  }
16692
- function checkAsyncSchema(it) {
16693
- if (it.schema.$async && !it.schemaEnv.$async)
17475
+ function checkAsyncSchema(it2) {
17476
+ if (it2.schema.$async && !it2.schemaEnv.$async)
16694
17477
  throw new Error("async schema in sync schema");
16695
17478
  }
16696
17479
  function commentKeyword({ gen, schemaEnv, schema: schema2, errSchemaPath, opts }) {
@@ -16703,14 +17486,14 @@ function commentKeyword({ gen, schemaEnv, schema: schema2, errSchemaPath, opts }
16703
17486
  gen.code((0, codegen_1$r._)`${names_1$6.default.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`);
16704
17487
  }
16705
17488
  }
16706
- function returnResults(it) {
16707
- const { gen, schemaEnv, validateName, ValidationError: ValidationError2, opts } = it;
17489
+ function returnResults(it2) {
17490
+ const { gen, schemaEnv, validateName, ValidationError: ValidationError2, opts } = it2;
16708
17491
  if (schemaEnv.$async) {
16709
17492
  gen.if((0, codegen_1$r._)`${names_1$6.default.errors} === 0`, () => gen.return(names_1$6.default.data), () => gen.throw((0, codegen_1$r._)`new ${ValidationError2}(${names_1$6.default.vErrors})`));
16710
17493
  } else {
16711
17494
  gen.assign((0, codegen_1$r._)`${validateName}.errors`, names_1$6.default.vErrors);
16712
17495
  if (opts.unevaluated)
16713
- assignEvaluated(it);
17496
+ assignEvaluated(it2);
16714
17497
  gen.return((0, codegen_1$r._)`${names_1$6.default.errors} === 0`);
16715
17498
  }
16716
17499
  }
@@ -16720,15 +17503,15 @@ function assignEvaluated({ gen, evaluated, props, items: items2 }) {
16720
17503
  if (items2 instanceof codegen_1$r.Name)
16721
17504
  gen.assign((0, codegen_1$r._)`${evaluated}.items`, items2);
16722
17505
  }
16723
- function schemaKeywords(it, types2, typeErrors, errsCount) {
16724
- const { gen, schema: schema2, data: data2, allErrors, opts, self: self2 } = it;
17506
+ function schemaKeywords(it2, types2, typeErrors, errsCount) {
17507
+ const { gen, schema: schema2, data: data2, allErrors, opts, self: self2 } = it2;
16725
17508
  const { RULES } = self2;
16726
17509
  if (schema2.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1$p.schemaHasRulesButRef)(schema2, RULES))) {
16727
- gen.block(() => keywordCode(it, "$ref", RULES.all.$ref.definition));
17510
+ gen.block(() => keywordCode(it2, "$ref", RULES.all.$ref.definition));
16728
17511
  return;
16729
17512
  }
16730
17513
  if (!opts.jtd)
16731
- checkStrictTypes(it, types2);
17514
+ checkStrictTypes(it2, types2);
16732
17515
  gen.block(() => {
16733
17516
  for (const group of RULES.rules)
16734
17517
  groupKeywords(group);
@@ -16739,66 +17522,66 @@ function schemaKeywords(it, types2, typeErrors, errsCount) {
16739
17522
  return;
16740
17523
  if (group.type) {
16741
17524
  gen.if((0, dataType_2.checkDataType)(group.type, data2, opts.strictNumbers));
16742
- iterateKeywords(it, group);
17525
+ iterateKeywords(it2, group);
16743
17526
  if (types2.length === 1 && types2[0] === group.type && typeErrors) {
16744
17527
  gen.else();
16745
- (0, dataType_2.reportTypeError)(it);
17528
+ (0, dataType_2.reportTypeError)(it2);
16746
17529
  }
16747
17530
  gen.endIf();
16748
17531
  } else {
16749
- iterateKeywords(it, group);
17532
+ iterateKeywords(it2, group);
16750
17533
  }
16751
17534
  if (!allErrors)
16752
17535
  gen.if((0, codegen_1$r._)`${names_1$6.default.errors} === ${errsCount || 0}`);
16753
17536
  }
16754
17537
  }
16755
- function iterateKeywords(it, group) {
16756
- const { gen, schema: schema2, opts: { useDefaults } } = it;
17538
+ function iterateKeywords(it2, group) {
17539
+ const { gen, schema: schema2, opts: { useDefaults } } = it2;
16757
17540
  if (useDefaults)
16758
- (0, defaults_1.assignDefaults)(it, group.type);
17541
+ (0, defaults_1.assignDefaults)(it2, group.type);
16759
17542
  gen.block(() => {
16760
17543
  for (const rule of group.rules) {
16761
17544
  if ((0, applicability_1.shouldUseRule)(schema2, rule)) {
16762
- keywordCode(it, rule.keyword, rule.definition, group.type);
17545
+ keywordCode(it2, rule.keyword, rule.definition, group.type);
16763
17546
  }
16764
17547
  }
16765
17548
  });
16766
17549
  }
16767
- function checkStrictTypes(it, types2) {
16768
- if (it.schemaEnv.meta || !it.opts.strictTypes)
17550
+ function checkStrictTypes(it2, types2) {
17551
+ if (it2.schemaEnv.meta || !it2.opts.strictTypes)
16769
17552
  return;
16770
- checkContextTypes(it, types2);
16771
- if (!it.opts.allowUnionTypes)
16772
- checkMultipleTypes(it, types2);
16773
- checkKeywordTypes(it, it.dataTypes);
17553
+ checkContextTypes(it2, types2);
17554
+ if (!it2.opts.allowUnionTypes)
17555
+ checkMultipleTypes(it2, types2);
17556
+ checkKeywordTypes(it2, it2.dataTypes);
16774
17557
  }
16775
- function checkContextTypes(it, types2) {
17558
+ function checkContextTypes(it2, types2) {
16776
17559
  if (!types2.length)
16777
17560
  return;
16778
- if (!it.dataTypes.length) {
16779
- it.dataTypes = types2;
17561
+ if (!it2.dataTypes.length) {
17562
+ it2.dataTypes = types2;
16780
17563
  return;
16781
17564
  }
16782
17565
  types2.forEach((t2) => {
16783
- if (!includesType(it.dataTypes, t2)) {
16784
- strictTypesError(it, `type "${t2}" not allowed by context "${it.dataTypes.join(",")}"`);
17566
+ if (!includesType(it2.dataTypes, t2)) {
17567
+ strictTypesError(it2, `type "${t2}" not allowed by context "${it2.dataTypes.join(",")}"`);
16785
17568
  }
16786
17569
  });
16787
- narrowSchemaTypes(it, types2);
17570
+ narrowSchemaTypes(it2, types2);
16788
17571
  }
16789
- function checkMultipleTypes(it, ts) {
17572
+ function checkMultipleTypes(it2, ts) {
16790
17573
  if (ts.length > 1 && !(ts.length === 2 && ts.includes("null"))) {
16791
- strictTypesError(it, "use allowUnionTypes to allow union type keyword");
17574
+ strictTypesError(it2, "use allowUnionTypes to allow union type keyword");
16792
17575
  }
16793
17576
  }
16794
- function checkKeywordTypes(it, ts) {
16795
- const rules2 = it.self.RULES.all;
17577
+ function checkKeywordTypes(it2, ts) {
17578
+ const rules2 = it2.self.RULES.all;
16796
17579
  for (const keyword2 in rules2) {
16797
17580
  const rule = rules2[keyword2];
16798
- if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {
17581
+ if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it2.schema, rule)) {
16799
17582
  const { type: type2 } = rule.definition;
16800
17583
  if (type2.length && !type2.some((t2) => hasApplicableType(ts, t2))) {
16801
- strictTypesError(it, `missing type "${type2.join(",")}" for keyword "${keyword2}"`);
17584
+ strictTypesError(it2, `missing type "${type2.join(",")}" for keyword "${keyword2}"`);
16802
17585
  }
16803
17586
  }
16804
17587
  }
@@ -16809,38 +17592,38 @@ function hasApplicableType(schTs, kwdT) {
16809
17592
  function includesType(ts, t2) {
16810
17593
  return ts.includes(t2) || t2 === "integer" && ts.includes("number");
16811
17594
  }
16812
- function narrowSchemaTypes(it, withTypes) {
17595
+ function narrowSchemaTypes(it2, withTypes) {
16813
17596
  const ts = [];
16814
- for (const t2 of it.dataTypes) {
17597
+ for (const t2 of it2.dataTypes) {
16815
17598
  if (includesType(withTypes, t2))
16816
17599
  ts.push(t2);
16817
17600
  else if (withTypes.includes("integer") && t2 === "number")
16818
17601
  ts.push("integer");
16819
17602
  }
16820
- it.dataTypes = ts;
17603
+ it2.dataTypes = ts;
16821
17604
  }
16822
- function strictTypesError(it, msg) {
16823
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
17605
+ function strictTypesError(it2, msg) {
17606
+ const schemaPath = it2.schemaEnv.baseId + it2.errSchemaPath;
16824
17607
  msg += ` at "${schemaPath}" (strictTypes)`;
16825
- (0, util_1$p.checkStrictMode)(it, msg, it.opts.strictTypes);
17608
+ (0, util_1$p.checkStrictMode)(it2, msg, it2.opts.strictTypes);
16826
17609
  }
16827
17610
  class KeywordCxt {
16828
- constructor(it, def2, keyword2) {
16829
- (0, keyword_1.validateKeywordUsage)(it, def2, keyword2);
16830
- this.gen = it.gen;
16831
- this.allErrors = it.allErrors;
17611
+ constructor(it2, def2, keyword2) {
17612
+ (0, keyword_1.validateKeywordUsage)(it2, def2, keyword2);
17613
+ this.gen = it2.gen;
17614
+ this.allErrors = it2.allErrors;
16832
17615
  this.keyword = keyword2;
16833
- this.data = it.data;
16834
- this.schema = it.schema[keyword2];
16835
- this.$data = def2.$data && it.opts.$data && this.schema && this.schema.$data;
16836
- this.schemaValue = (0, util_1$p.schemaRefOrVal)(it, this.schema, keyword2, this.$data);
17616
+ this.data = it2.data;
17617
+ this.schema = it2.schema[keyword2];
17618
+ this.$data = def2.$data && it2.opts.$data && this.schema && this.schema.$data;
17619
+ this.schemaValue = (0, util_1$p.schemaRefOrVal)(it2, this.schema, keyword2, this.$data);
16837
17620
  this.schemaType = def2.schemaType;
16838
- this.parentSchema = it.schema;
17621
+ this.parentSchema = it2.schema;
16839
17622
  this.params = {};
16840
- this.it = it;
17623
+ this.it = it2;
16841
17624
  this.def = def2;
16842
17625
  if (this.$data) {
16843
- this.schemaCode = it.gen.const("vSchema", getData(this.$data, it));
17626
+ this.schemaCode = it2.gen.const("vSchema", getData(this.$data, it2));
16844
17627
  } else {
16845
17628
  this.schemaCode = this.schemaValue;
16846
17629
  if (!(0, keyword_1.validSchemaType)(this.schema, def2.schemaType, def2.allowUndefined)) {
@@ -16848,7 +17631,7 @@ class KeywordCxt {
16848
17631
  }
16849
17632
  }
16850
17633
  if ("code" in def2 ? def2.trackErrors : def2.errors !== false) {
16851
- this.errsCount = it.gen.const("_errs", names_1$6.default.errors);
17634
+ this.errsCount = it2.gen.const("_errs", names_1$6.default.errors);
16852
17635
  }
16853
17636
  }
16854
17637
  result(condition, successAction, failAction) {
@@ -16947,14 +17730,14 @@ class KeywordCxt {
16947
17730
  gen.else();
16948
17731
  }
16949
17732
  invalid$data() {
16950
- const { gen, schemaCode, schemaType, def: def2, it } = this;
17733
+ const { gen, schemaCode, schemaType, def: def2, it: it2 } = this;
16951
17734
  return (0, codegen_1$r.or)(wrong$DataType(), invalid$DataSchema());
16952
17735
  function wrong$DataType() {
16953
17736
  if (schemaType.length) {
16954
17737
  if (!(schemaCode instanceof codegen_1$r.Name))
16955
17738
  throw new Error("ajv implementation error");
16956
- const st = Array.isArray(schemaType) ? schemaType : [schemaType];
16957
- return (0, codegen_1$r._)`${(0, dataType_2.checkDataTypes)(st, schemaCode, it.opts.strictNumbers, dataType_2.DataType.Wrong)}`;
17739
+ const st2 = Array.isArray(schemaType) ? schemaType : [schemaType];
17740
+ return (0, codegen_1$r._)`${(0, dataType_2.checkDataTypes)(st2, schemaCode, it2.opts.strictNumbers, dataType_2.DataType.Wrong)}`;
16958
17741
  }
16959
17742
  return codegen_1$r.nil;
16960
17743
  }
@@ -16975,27 +17758,27 @@ class KeywordCxt {
16975
17758
  return nextContext;
16976
17759
  }
16977
17760
  mergeEvaluated(schemaCxt, toName) {
16978
- const { it, gen } = this;
16979
- if (!it.opts.unevaluated)
17761
+ const { it: it2, gen } = this;
17762
+ if (!it2.opts.unevaluated)
16980
17763
  return;
16981
- if (it.props !== true && schemaCxt.props !== void 0) {
16982
- it.props = util_1$p.mergeEvaluated.props(gen, schemaCxt.props, it.props, toName);
17764
+ if (it2.props !== true && schemaCxt.props !== void 0) {
17765
+ it2.props = util_1$p.mergeEvaluated.props(gen, schemaCxt.props, it2.props, toName);
16983
17766
  }
16984
- if (it.items !== true && schemaCxt.items !== void 0) {
16985
- it.items = util_1$p.mergeEvaluated.items(gen, schemaCxt.items, it.items, toName);
17767
+ if (it2.items !== true && schemaCxt.items !== void 0) {
17768
+ it2.items = util_1$p.mergeEvaluated.items(gen, schemaCxt.items, it2.items, toName);
16986
17769
  }
16987
17770
  }
16988
17771
  mergeValidEvaluated(schemaCxt, valid) {
16989
- const { it, gen } = this;
16990
- if (it.opts.unevaluated && (it.props !== true || it.items !== true)) {
17772
+ const { it: it2, gen } = this;
17773
+ if (it2.opts.unevaluated && (it2.props !== true || it2.items !== true)) {
16991
17774
  gen.if(valid, () => this.mergeEvaluated(schemaCxt, codegen_1$r.Name));
16992
17775
  return true;
16993
17776
  }
16994
17777
  }
16995
17778
  }
16996
17779
  validate$1.KeywordCxt = KeywordCxt;
16997
- function keywordCode(it, keyword2, def2, ruleType) {
16998
- const cxt = new KeywordCxt(it, def2, keyword2);
17780
+ function keywordCode(it2, keyword2, def2, ruleType) {
17781
+ const cxt = new KeywordCxt(it2, def2, keyword2);
16999
17782
  if ("code" in def2) {
17000
17783
  def2.code(cxt, ruleType);
17001
17784
  } else if (cxt.$data && def2.validate) {
@@ -17659,7 +18442,7 @@ var uri_all = { exports: {} };
17659
18442
  error$12("overflow");
17660
18443
  }
17661
18444
  if (_currentValue == n2) {
17662
- var q = delta;
18445
+ var q2 = delta;
17663
18446
  for (
17664
18447
  var k2 = base;
17665
18448
  ;
@@ -17667,15 +18450,15 @@ var uri_all = { exports: {} };
17667
18450
  k2 += base
17668
18451
  ) {
17669
18452
  var t2 = k2 <= bias ? tMin : k2 >= bias + tMax ? tMax : k2 - bias;
17670
- if (q < t2) {
18453
+ if (q2 < t2) {
17671
18454
  break;
17672
18455
  }
17673
- var qMinusT = q - t2;
18456
+ var qMinusT = q2 - t2;
17674
18457
  var baseMinusT = base - t2;
17675
18458
  output.push(stringFromCharCode(digitToBasic(t2 + qMinusT % baseMinusT, 0)));
17676
- q = floor(qMinusT / baseMinusT);
18459
+ q2 = floor(qMinusT / baseMinusT);
17677
18460
  }
17678
- output.push(stringFromCharCode(digitToBasic(q, 0)));
18461
+ output.push(stringFromCharCode(digitToBasic(q2, 0)));
17679
18462
  bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
17680
18463
  delta = 0;
17681
18464
  ++handledCPCount;
@@ -18992,14 +19775,14 @@ const def$A = {
18992
19775
  keyword: "$ref",
18993
19776
  schemaType: "string",
18994
19777
  code(cxt) {
18995
- const { gen, schema: $ref, it } = cxt;
18996
- const { baseId, schemaEnv: env, validateName, opts, self: self2 } = it;
19778
+ const { gen, schema: $ref, it: it2 } = cxt;
19779
+ const { baseId, schemaEnv: env, validateName, opts, self: self2 } = it2;
18997
19780
  const { root: root2 } = env;
18998
19781
  if (($ref === "#" || $ref === "#/") && baseId === root2.baseId)
18999
19782
  return callRootRef();
19000
19783
  const schOrEnv = compile_1$2.resolveRef.call(self2, root2, baseId, $ref);
19001
19784
  if (schOrEnv === void 0)
19002
- throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
19785
+ throw new ref_error_1.default(it2.opts.uriResolver, baseId, $ref);
19003
19786
  if (schOrEnv instanceof compile_1$2.SchemaEnv)
19004
19787
  return callValidate(schOrEnv);
19005
19788
  return inlineRefSchema(schOrEnv);
@@ -19034,8 +19817,8 @@ function getValidate(cxt, sch) {
19034
19817
  }
19035
19818
  ref.getValidate = getValidate;
19036
19819
  function callRef(cxt, v2, sch, $async) {
19037
- const { gen, it } = cxt;
19038
- const { allErrors, schemaEnv: env, opts } = it;
19820
+ const { gen, it: it2 } = cxt;
19821
+ const { allErrors, schemaEnv: env, opts } = it2;
19039
19822
  const passCxt = opts.passContext ? names_1$4.default.this : codegen_1$p.nil;
19040
19823
  if ($async)
19041
19824
  callAsyncRef();
@@ -19051,7 +19834,7 @@ function callRef(cxt, v2, sch, $async) {
19051
19834
  if (!allErrors)
19052
19835
  gen.assign(valid, true);
19053
19836
  }, (e2) => {
19054
- gen.if((0, codegen_1$p._)`!(${e2} instanceof ${it.ValidationError})`, () => gen.throw(e2));
19837
+ gen.if((0, codegen_1$p._)`!(${e2} instanceof ${it2.ValidationError})`, () => gen.throw(e2));
19055
19838
  addErrorsFrom(e2);
19056
19839
  if (!allErrors)
19057
19840
  gen.assign(valid, false);
@@ -19068,27 +19851,27 @@ function callRef(cxt, v2, sch, $async) {
19068
19851
  }
19069
19852
  function addEvaluatedFrom(source) {
19070
19853
  var _a;
19071
- if (!it.opts.unevaluated)
19854
+ if (!it2.opts.unevaluated)
19072
19855
  return;
19073
19856
  const schEvaluated = (_a = sch === null || sch === void 0 ? void 0 : sch.validate) === null || _a === void 0 ? void 0 : _a.evaluated;
19074
- if (it.props !== true) {
19857
+ if (it2.props !== true) {
19075
19858
  if (schEvaluated && !schEvaluated.dynamicProps) {
19076
19859
  if (schEvaluated.props !== void 0) {
19077
- it.props = util_1$n.mergeEvaluated.props(gen, schEvaluated.props, it.props);
19860
+ it2.props = util_1$n.mergeEvaluated.props(gen, schEvaluated.props, it2.props);
19078
19861
  }
19079
19862
  } else {
19080
19863
  const props = gen.var("props", (0, codegen_1$p._)`${source}.evaluated.props`);
19081
- it.props = util_1$n.mergeEvaluated.props(gen, props, it.props, codegen_1$p.Name);
19864
+ it2.props = util_1$n.mergeEvaluated.props(gen, props, it2.props, codegen_1$p.Name);
19082
19865
  }
19083
19866
  }
19084
- if (it.items !== true) {
19867
+ if (it2.items !== true) {
19085
19868
  if (schEvaluated && !schEvaluated.dynamicItems) {
19086
19869
  if (schEvaluated.items !== void 0) {
19087
- it.items = util_1$n.mergeEvaluated.items(gen, schEvaluated.items, it.items);
19870
+ it2.items = util_1$n.mergeEvaluated.items(gen, schEvaluated.items, it2.items);
19088
19871
  }
19089
19872
  } else {
19090
19873
  const items2 = gen.var("items", (0, codegen_1$p._)`${source}.evaluated.items`);
19091
- it.items = util_1$n.mergeEvaluated.items(gen, items2, it.items, codegen_1$p.Name);
19874
+ it2.items = util_1$n.mergeEvaluated.items(gen, items2, it2.items, codegen_1$p.Name);
19092
19875
  }
19093
19876
  }
19094
19877
  }
@@ -19150,8 +19933,8 @@ const def$y = {
19150
19933
  $data: true,
19151
19934
  error: error$j,
19152
19935
  code(cxt) {
19153
- const { gen, data: data2, schemaCode, it } = cxt;
19154
- const prec = it.opts.multipleOfPrecision;
19936
+ const { gen, data: data2, schemaCode, it: it2 } = cxt;
19937
+ const prec = it2.opts.multipleOfPrecision;
19155
19938
  const res = gen.let("res");
19156
19939
  const invalid = prec ? (0, codegen_1$n._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1$n._)`${res} !== parseInt(${res})`;
19157
19940
  cxt.fail$data((0, codegen_1$n._)`(${schemaCode} === 0 || (${res} = ${data2}/${schemaCode}, ${invalid}))`);
@@ -19197,9 +19980,9 @@ const def$x = {
19197
19980
  $data: true,
19198
19981
  error: error$i,
19199
19982
  code(cxt) {
19200
- const { keyword: keyword2, data: data2, schemaCode, it } = cxt;
19983
+ const { keyword: keyword2, data: data2, schemaCode, it: it2 } = cxt;
19201
19984
  const op = keyword2 === "maxLength" ? codegen_1$m.operators.GT : codegen_1$m.operators.LT;
19202
- const len = it.opts.unicode === false ? (0, codegen_1$m._)`${data2}.length` : (0, codegen_1$m._)`${(0, util_1$m.useFunc)(cxt.gen, ucs2length_1.default)}(${data2})`;
19985
+ const len = it2.opts.unicode === false ? (0, codegen_1$m._)`${data2}.length` : (0, codegen_1$m._)`${(0, util_1$m.useFunc)(cxt.gen, ucs2length_1.default)}(${data2})`;
19203
19986
  cxt.fail$data((0, codegen_1$m._)`${len} ${op} ${schemaCode}`);
19204
19987
  }
19205
19988
  };
@@ -19219,8 +20002,8 @@ const def$w = {
19219
20002
  $data: true,
19220
20003
  error: error$h,
19221
20004
  code(cxt) {
19222
- const { data: data2, $data, schema: schema2, schemaCode, it } = cxt;
19223
- const u2 = it.opts.unicodeRegExp ? "u" : "";
20005
+ const { data: data2, $data, schema: schema2, schemaCode, it: it2 } = cxt;
20006
+ const u2 = it2.opts.unicodeRegExp ? "u" : "";
19224
20007
  const regExp = $data ? (0, codegen_1$l._)`(new RegExp(${schemaCode}, ${u2}))` : (0, code_1$7.usePattern)(cxt, schema2);
19225
20008
  cxt.fail$data((0, codegen_1$l._)`!${regExp}.test(${data2})`);
19226
20009
  }
@@ -19265,12 +20048,12 @@ const def$u = {
19265
20048
  $data: true,
19266
20049
  error: error$f,
19267
20050
  code(cxt) {
19268
- const { gen, schema: schema2, schemaCode, data: data2, $data, it } = cxt;
19269
- const { opts } = it;
20051
+ const { gen, schema: schema2, schemaCode, data: data2, $data, it: it2 } = cxt;
20052
+ const { opts } = it2;
19270
20053
  if (!$data && schema2.length === 0)
19271
20054
  return;
19272
20055
  const useLoop = schema2.length >= opts.loopRequired;
19273
- if (it.allErrors)
20056
+ if (it2.allErrors)
19274
20057
  allErrorsMode();
19275
20058
  else
19276
20059
  exitOnErrorMode();
@@ -19279,9 +20062,9 @@ const def$u = {
19279
20062
  const { definedProperties } = cxt.it;
19280
20063
  for (const requiredKey of schema2) {
19281
20064
  if ((props === null || props === void 0 ? void 0 : props[requiredKey]) === void 0 && !definedProperties.has(requiredKey)) {
19282
- const schemaPath = it.schemaEnv.baseId + it.errSchemaPath;
20065
+ const schemaPath = it2.schemaEnv.baseId + it2.errSchemaPath;
19283
20066
  const msg = `required property "${requiredKey}" is not defined at "${schemaPath}" (strictRequired)`;
19284
- (0, util_1$l.checkStrictMode)(it, msg, it.opts.strictRequired);
20067
+ (0, util_1$l.checkStrictMode)(it2, msg, it2.opts.strictRequired);
19285
20068
  }
19286
20069
  }
19287
20070
  }
@@ -19370,7 +20153,7 @@ const def$s = {
19370
20153
  $data: true,
19371
20154
  error: error$d,
19372
20155
  code(cxt) {
19373
- const { gen, data: data2, $data, schema: schema2, parentSchema, schemaCode, it } = cxt;
20156
+ const { gen, data: data2, $data, schema: schema2, parentSchema, schemaCode, it: it2 } = cxt;
19374
20157
  if (!$data && !schema2)
19375
20158
  return;
19376
20159
  const valid = gen.let("valid");
@@ -19389,7 +20172,7 @@ const def$s = {
19389
20172
  }
19390
20173
  function loopN(i2, j2) {
19391
20174
  const item = gen.name("item");
19392
- const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it.opts.strictNumbers, dataType_1.DataType.Wrong);
20175
+ const wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it2.opts.strictNumbers, dataType_1.DataType.Wrong);
19393
20176
  const indices = gen.const("indices", (0, codegen_1$h._)`{}`);
19394
20177
  gen.for((0, codegen_1$h._)`;${i2}--;`, () => {
19395
20178
  gen.let(item, (0, codegen_1$h._)`${data2}[${i2}]`);
@@ -19452,10 +20235,10 @@ const def$q = {
19452
20235
  $data: true,
19453
20236
  error: error$b,
19454
20237
  code(cxt) {
19455
- const { gen, data: data2, $data, schema: schema2, schemaCode, it } = cxt;
20238
+ const { gen, data: data2, $data, schema: schema2, schemaCode, it: it2 } = cxt;
19456
20239
  if (!$data && schema2.length === 0)
19457
20240
  throw new Error("enum must have non-empty array");
19458
- const useLoop = schema2.length >= it.opts.loopEnum;
20241
+ const useLoop = schema2.length >= it2.opts.loopEnum;
19459
20242
  let eql;
19460
20243
  const getEql = () => eql !== null && eql !== void 0 ? eql : eql = (0, util_1$i.useFunc)(gen, equal_1.default);
19461
20244
  let valid;
@@ -19528,23 +20311,23 @@ const def$p = {
19528
20311
  before: "uniqueItems",
19529
20312
  error: error$a,
19530
20313
  code(cxt) {
19531
- const { parentSchema, it } = cxt;
20314
+ const { parentSchema, it: it2 } = cxt;
19532
20315
  const { items: items2 } = parentSchema;
19533
20316
  if (!Array.isArray(items2)) {
19534
- (0, util_1$h.checkStrictMode)(it, '"additionalItems" is ignored when "items" is not an array of schemas');
20317
+ (0, util_1$h.checkStrictMode)(it2, '"additionalItems" is ignored when "items" is not an array of schemas');
19535
20318
  return;
19536
20319
  }
19537
20320
  validateAdditionalItems(cxt, items2);
19538
20321
  }
19539
20322
  };
19540
20323
  function validateAdditionalItems(cxt, items2) {
19541
- const { gen, schema: schema2, data: data2, keyword: keyword2, it } = cxt;
19542
- it.items = true;
20324
+ const { gen, schema: schema2, data: data2, keyword: keyword2, it: it2 } = cxt;
20325
+ it2.items = true;
19543
20326
  const len = gen.const("len", (0, codegen_1$e._)`${data2}.length`);
19544
20327
  if (schema2 === false) {
19545
20328
  cxt.setParams({ len: items2.length });
19546
20329
  cxt.pass((0, codegen_1$e._)`${len} <= ${items2.length}`);
19547
- } else if (typeof schema2 == "object" && !(0, util_1$h.alwaysValidSchema)(it, schema2)) {
20330
+ } else if (typeof schema2 == "object" && !(0, util_1$h.alwaysValidSchema)(it2, schema2)) {
19548
20331
  const valid = gen.var("valid", (0, codegen_1$e._)`${len} <= ${items2.length}`);
19549
20332
  gen.if((0, codegen_1$e.not)(valid), () => validateItems(valid));
19550
20333
  cxt.ok(valid);
@@ -19552,7 +20335,7 @@ function validateAdditionalItems(cxt, items2) {
19552
20335
  function validateItems(valid) {
19553
20336
  gen.forRange("i", items2.length, len, (i2) => {
19554
20337
  cxt.subschema({ keyword: keyword2, dataProp: i2, dataPropType: util_1$h.Type.Num }, valid);
19555
- if (!it.allErrors)
20338
+ if (!it2.allErrors)
19556
20339
  gen.if((0, codegen_1$e.not)(valid), () => gen.break());
19557
20340
  });
19558
20341
  }
@@ -19572,25 +20355,25 @@ const def$o = {
19572
20355
  schemaType: ["object", "array", "boolean"],
19573
20356
  before: "uniqueItems",
19574
20357
  code(cxt) {
19575
- const { schema: schema2, it } = cxt;
20358
+ const { schema: schema2, it: it2 } = cxt;
19576
20359
  if (Array.isArray(schema2))
19577
20360
  return validateTuple(cxt, "additionalItems", schema2);
19578
- it.items = true;
19579
- if ((0, util_1$g.alwaysValidSchema)(it, schema2))
20361
+ it2.items = true;
20362
+ if ((0, util_1$g.alwaysValidSchema)(it2, schema2))
19580
20363
  return;
19581
20364
  cxt.ok((0, code_1$5.validateArray)(cxt));
19582
20365
  }
19583
20366
  };
19584
20367
  function validateTuple(cxt, extraItems, schArr = cxt.schema) {
19585
- const { gen, parentSchema, data: data2, keyword: keyword2, it } = cxt;
20368
+ const { gen, parentSchema, data: data2, keyword: keyword2, it: it2 } = cxt;
19586
20369
  checkStrictTuple(parentSchema);
19587
- if (it.opts.unevaluated && schArr.length && it.items !== true) {
19588
- it.items = util_1$g.mergeEvaluated.items(gen, schArr.length, it.items);
20370
+ if (it2.opts.unevaluated && schArr.length && it2.items !== true) {
20371
+ it2.items = util_1$g.mergeEvaluated.items(gen, schArr.length, it2.items);
19589
20372
  }
19590
20373
  const valid = gen.name("valid");
19591
20374
  const len = gen.const("len", (0, codegen_1$d._)`${data2}.length`);
19592
20375
  schArr.forEach((sch, i2) => {
19593
- if ((0, util_1$g.alwaysValidSchema)(it, sch))
20376
+ if ((0, util_1$g.alwaysValidSchema)(it2, sch))
19594
20377
  return;
19595
20378
  gen.if((0, codegen_1$d._)`${len} > ${i2}`, () => cxt.subschema({
19596
20379
  keyword: keyword2,
@@ -19600,12 +20383,12 @@ function validateTuple(cxt, extraItems, schArr = cxt.schema) {
19600
20383
  cxt.ok(valid);
19601
20384
  });
19602
20385
  function checkStrictTuple(sch) {
19603
- const { opts, errSchemaPath } = it;
20386
+ const { opts, errSchemaPath } = it2;
19604
20387
  const l2 = schArr.length;
19605
20388
  const fullTuple = l2 === sch.minItems && (l2 === sch.maxItems || sch[extraItems] === false);
19606
20389
  if (opts.strictTuples && !fullTuple) {
19607
20390
  const msg = `"${keyword2}" is ${l2}-tuple, but minItems or maxItems/${extraItems} are not specified or different at path "${errSchemaPath}"`;
19608
- (0, util_1$g.checkStrictMode)(it, msg, opts.strictTuples);
20391
+ (0, util_1$g.checkStrictMode)(it2, msg, opts.strictTuples);
19609
20392
  }
19610
20393
  }
19611
20394
  }
@@ -19638,10 +20421,10 @@ const def$m = {
19638
20421
  before: "uniqueItems",
19639
20422
  error: error$9,
19640
20423
  code(cxt) {
19641
- const { schema: schema2, parentSchema, it } = cxt;
20424
+ const { schema: schema2, parentSchema, it: it2 } = cxt;
19642
20425
  const { prefixItems: prefixItems2 } = parentSchema;
19643
- it.items = true;
19644
- if ((0, util_1$f.alwaysValidSchema)(it, schema2))
20426
+ it2.items = true;
20427
+ if ((0, util_1$f.alwaysValidSchema)(it2, schema2))
19645
20428
  return;
19646
20429
  if (prefixItems2)
19647
20430
  (0, additionalItems_1$1.validateAdditionalItems)(cxt, prefixItems2);
@@ -19666,11 +20449,11 @@ const def$l = {
19666
20449
  trackErrors: true,
19667
20450
  error: error$8,
19668
20451
  code(cxt) {
19669
- const { gen, schema: schema2, parentSchema, data: data2, it } = cxt;
20452
+ const { gen, schema: schema2, parentSchema, data: data2, it: it2 } = cxt;
19670
20453
  let min;
19671
20454
  let max;
19672
20455
  const { minContains, maxContains } = parentSchema;
19673
- if (it.opts.next) {
20456
+ if (it2.opts.next) {
19674
20457
  min = minContains === void 0 ? 1 : minContains;
19675
20458
  max = maxContains;
19676
20459
  } else {
@@ -19679,22 +20462,22 @@ const def$l = {
19679
20462
  const len = gen.const("len", (0, codegen_1$b._)`${data2}.length`);
19680
20463
  cxt.setParams({ min, max });
19681
20464
  if (max === void 0 && min === 0) {
19682
- (0, util_1$e.checkStrictMode)(it, `"minContains" == 0 without "maxContains": "contains" keyword ignored`);
20465
+ (0, util_1$e.checkStrictMode)(it2, `"minContains" == 0 without "maxContains": "contains" keyword ignored`);
19683
20466
  return;
19684
20467
  }
19685
20468
  if (max !== void 0 && min > max) {
19686
- (0, util_1$e.checkStrictMode)(it, `"minContains" > "maxContains" is always invalid`);
20469
+ (0, util_1$e.checkStrictMode)(it2, `"minContains" > "maxContains" is always invalid`);
19687
20470
  cxt.fail();
19688
20471
  return;
19689
20472
  }
19690
- if ((0, util_1$e.alwaysValidSchema)(it, schema2)) {
20473
+ if ((0, util_1$e.alwaysValidSchema)(it2, schema2)) {
19691
20474
  let cond = (0, codegen_1$b._)`${len} >= ${min}`;
19692
20475
  if (max !== void 0)
19693
20476
  cond = (0, codegen_1$b._)`${cond} && ${len} <= ${max}`;
19694
20477
  cxt.pass(cond);
19695
20478
  return;
19696
20479
  }
19697
- it.items = true;
20480
+ it2.items = true;
19698
20481
  const valid = gen.name("valid");
19699
20482
  if (max === void 0 && min === 1) {
19700
20483
  validateItems(valid, () => gen.if(valid, () => gen.break()));
@@ -19779,7 +20562,7 @@ var dependencies = {};
19779
20562
  return [propertyDeps, schemaDeps];
19780
20563
  }
19781
20564
  function validatePropertyDeps(cxt, propertyDeps = cxt.schema) {
19782
- const { gen, data: data2, it } = cxt;
20565
+ const { gen, data: data2, it: it2 } = cxt;
19783
20566
  if (Object.keys(propertyDeps).length === 0)
19784
20567
  return;
19785
20568
  const missing = gen.let("missing");
@@ -19787,13 +20570,13 @@ var dependencies = {};
19787
20570
  const deps = propertyDeps[prop];
19788
20571
  if (deps.length === 0)
19789
20572
  continue;
19790
- const hasProperty = (0, code_12.propertyInData)(gen, data2, prop, it.opts.ownProperties);
20573
+ const hasProperty = (0, code_12.propertyInData)(gen, data2, prop, it2.opts.ownProperties);
19791
20574
  cxt.setParams({
19792
20575
  property: prop,
19793
20576
  depsCount: deps.length,
19794
20577
  deps: deps.join(", ")
19795
20578
  });
19796
- if (it.allErrors) {
20579
+ if (it2.allErrors) {
19797
20580
  gen.if(hasProperty, () => {
19798
20581
  for (const depProp of deps) {
19799
20582
  (0, code_12.checkReportMissingProp)(cxt, depProp);
@@ -19808,13 +20591,13 @@ var dependencies = {};
19808
20591
  }
19809
20592
  exports.validatePropertyDeps = validatePropertyDeps;
19810
20593
  function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
19811
- const { gen, data: data2, keyword: keyword2, it } = cxt;
20594
+ const { gen, data: data2, keyword: keyword2, it: it2 } = cxt;
19812
20595
  const valid = gen.name("valid");
19813
20596
  for (const prop in schemaDeps) {
19814
- if ((0, util_12.alwaysValidSchema)(it, schemaDeps[prop]))
20597
+ if ((0, util_12.alwaysValidSchema)(it2, schemaDeps[prop]))
19815
20598
  continue;
19816
20599
  gen.if(
19817
- (0, code_12.propertyInData)(gen, data2, prop, it.opts.ownProperties),
20600
+ (0, code_12.propertyInData)(gen, data2, prop, it2.opts.ownProperties),
19818
20601
  () => {
19819
20602
  const schCxt = cxt.subschema({ keyword: keyword2, schemaProp: prop }, valid);
19820
20603
  cxt.mergeValidEvaluated(schCxt, valid);
@@ -19842,8 +20625,8 @@ const def$k = {
19842
20625
  schemaType: ["object", "boolean"],
19843
20626
  error: error$7,
19844
20627
  code(cxt) {
19845
- const { gen, schema: schema2, data: data2, it } = cxt;
19846
- if ((0, util_1$d.alwaysValidSchema)(it, schema2))
20628
+ const { gen, schema: schema2, data: data2, it: it2 } = cxt;
20629
+ if ((0, util_1$d.alwaysValidSchema)(it2, schema2))
19847
20630
  return;
19848
20631
  const valid = gen.name("valid");
19849
20632
  gen.forIn("key", data2, (key) => {
@@ -19857,7 +20640,7 @@ const def$k = {
19857
20640
  }, valid);
19858
20641
  gen.if((0, codegen_1$a.not)(valid), () => {
19859
20642
  cxt.error(true);
19860
- if (!it.allErrors)
20643
+ if (!it2.allErrors)
19861
20644
  gen.break();
19862
20645
  });
19863
20646
  });
@@ -19883,12 +20666,12 @@ const def$j = {
19883
20666
  trackErrors: true,
19884
20667
  error: error$6,
19885
20668
  code(cxt) {
19886
- const { gen, schema: schema2, parentSchema, data: data2, errsCount, it } = cxt;
20669
+ const { gen, schema: schema2, parentSchema, data: data2, errsCount, it: it2 } = cxt;
19887
20670
  if (!errsCount)
19888
20671
  throw new Error("ajv implementation error");
19889
- const { allErrors, opts } = it;
19890
- it.props = true;
19891
- if (opts.removeAdditional !== "all" && (0, util_1$c.alwaysValidSchema)(it, schema2))
20672
+ const { allErrors, opts } = it2;
20673
+ it2.props = true;
20674
+ if (opts.removeAdditional !== "all" && (0, util_1$c.alwaysValidSchema)(it2, schema2))
19892
20675
  return;
19893
20676
  const props = (0, code_1$3.allSchemaProperties)(parentSchema.properties);
19894
20677
  const patProps = (0, code_1$3.allSchemaProperties)(parentSchema.patternProperties);
@@ -19905,7 +20688,7 @@ const def$j = {
19905
20688
  function isAdditional(key) {
19906
20689
  let definedProp;
19907
20690
  if (props.length > 8) {
19908
- const propsSchema = (0, util_1$c.schemaRefOrVal)(it, parentSchema.properties, "properties");
20691
+ const propsSchema = (0, util_1$c.schemaRefOrVal)(it2, parentSchema.properties, "properties");
19909
20692
  definedProp = (0, code_1$3.isOwnProperty)(gen, propsSchema, key);
19910
20693
  } else if (props.length) {
19911
20694
  definedProp = (0, codegen_1$9.or)(...props.map((p2) => (0, codegen_1$9._)`${key} === ${p2}`));
@@ -19932,7 +20715,7 @@ const def$j = {
19932
20715
  gen.break();
19933
20716
  return;
19934
20717
  }
19935
- if (typeof schema2 == "object" && !(0, util_1$c.alwaysValidSchema)(it, schema2)) {
20718
+ if (typeof schema2 == "object" && !(0, util_1$c.alwaysValidSchema)(it2, schema2)) {
19936
20719
  const valid = gen.name("valid");
19937
20720
  if (opts.removeAdditional === "failing") {
19938
20721
  applyAdditionalSchema(key, valid, false);
@@ -19976,18 +20759,18 @@ const def$i = {
19976
20759
  type: "object",
19977
20760
  schemaType: "object",
19978
20761
  code(cxt) {
19979
- const { gen, schema: schema2, parentSchema, data: data2, it } = cxt;
19980
- if (it.opts.removeAdditional === "all" && parentSchema.additionalProperties === void 0) {
19981
- additionalProperties_1$1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1$1.default, "additionalProperties"));
20762
+ const { gen, schema: schema2, parentSchema, data: data2, it: it2 } = cxt;
20763
+ if (it2.opts.removeAdditional === "all" && parentSchema.additionalProperties === void 0) {
20764
+ additionalProperties_1$1.default.code(new validate_1.KeywordCxt(it2, additionalProperties_1$1.default, "additionalProperties"));
19982
20765
  }
19983
20766
  const allProps = (0, code_1$2.allSchemaProperties)(schema2);
19984
20767
  for (const prop of allProps) {
19985
- it.definedProperties.add(prop);
20768
+ it2.definedProperties.add(prop);
19986
20769
  }
19987
- if (it.opts.unevaluated && allProps.length && it.props !== true) {
19988
- it.props = util_1$b.mergeEvaluated.props(gen, (0, util_1$b.toHash)(allProps), it.props);
20770
+ if (it2.opts.unevaluated && allProps.length && it2.props !== true) {
20771
+ it2.props = util_1$b.mergeEvaluated.props(gen, (0, util_1$b.toHash)(allProps), it2.props);
19989
20772
  }
19990
- const properties2 = allProps.filter((p2) => !(0, util_1$b.alwaysValidSchema)(it, schema2[p2]));
20773
+ const properties2 = allProps.filter((p2) => !(0, util_1$b.alwaysValidSchema)(it2, schema2[p2]));
19991
20774
  if (properties2.length === 0)
19992
20775
  return;
19993
20776
  const valid = gen.name("valid");
@@ -19995,9 +20778,9 @@ const def$i = {
19995
20778
  if (hasDefault(prop)) {
19996
20779
  applyPropertySchema(prop);
19997
20780
  } else {
19998
- gen.if((0, code_1$2.propertyInData)(gen, data2, prop, it.opts.ownProperties));
20781
+ gen.if((0, code_1$2.propertyInData)(gen, data2, prop, it2.opts.ownProperties));
19999
20782
  applyPropertySchema(prop);
20000
- if (!it.allErrors)
20783
+ if (!it2.allErrors)
20001
20784
  gen.else().var(valid, true);
20002
20785
  gen.endIf();
20003
20786
  }
@@ -20005,7 +20788,7 @@ const def$i = {
20005
20788
  cxt.ok(valid);
20006
20789
  }
20007
20790
  function hasDefault(prop) {
20008
- return it.opts.useDefaults && !it.compositeRule && schema2[prop].default !== void 0;
20791
+ return it2.opts.useDefaults && !it2.compositeRule && schema2[prop].default !== void 0;
20009
20792
  }
20010
20793
  function applyPropertySchema(prop) {
20011
20794
  cxt.subschema({
@@ -20028,25 +20811,25 @@ const def$h = {
20028
20811
  type: "object",
20029
20812
  schemaType: "object",
20030
20813
  code(cxt) {
20031
- const { gen, schema: schema2, data: data2, parentSchema, it } = cxt;
20032
- const { opts } = it;
20814
+ const { gen, schema: schema2, data: data2, parentSchema, it: it2 } = cxt;
20815
+ const { opts } = it2;
20033
20816
  const patterns = (0, code_1$1.allSchemaProperties)(schema2);
20034
- const alwaysValidPatterns = patterns.filter((p2) => (0, util_1$a.alwaysValidSchema)(it, schema2[p2]));
20035
- if (patterns.length === 0 || alwaysValidPatterns.length === patterns.length && (!it.opts.unevaluated || it.props === true)) {
20817
+ const alwaysValidPatterns = patterns.filter((p2) => (0, util_1$a.alwaysValidSchema)(it2, schema2[p2]));
20818
+ if (patterns.length === 0 || alwaysValidPatterns.length === patterns.length && (!it2.opts.unevaluated || it2.props === true)) {
20036
20819
  return;
20037
20820
  }
20038
20821
  const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;
20039
20822
  const valid = gen.name("valid");
20040
- if (it.props !== true && !(it.props instanceof codegen_1$8.Name)) {
20041
- it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);
20823
+ if (it2.props !== true && !(it2.props instanceof codegen_1$8.Name)) {
20824
+ it2.props = (0, util_2.evaluatedPropsToName)(gen, it2.props);
20042
20825
  }
20043
- const { props } = it;
20826
+ const { props } = it2;
20044
20827
  validatePatternProperties();
20045
20828
  function validatePatternProperties() {
20046
20829
  for (const pat of patterns) {
20047
20830
  if (checkProperties)
20048
20831
  checkMatchingProperties(pat);
20049
- if (it.allErrors) {
20832
+ if (it2.allErrors) {
20050
20833
  validateProperties(pat);
20051
20834
  } else {
20052
20835
  gen.var(valid, true);
@@ -20058,7 +20841,7 @@ const def$h = {
20058
20841
  function checkMatchingProperties(pat) {
20059
20842
  for (const prop in checkProperties) {
20060
20843
  if (new RegExp(pat).test(prop)) {
20061
- (0, util_1$a.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
20844
+ (0, util_1$a.checkStrictMode)(it2, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
20062
20845
  }
20063
20846
  }
20064
20847
  }
@@ -20074,9 +20857,9 @@ const def$h = {
20074
20857
  dataPropType: util_2.Type.Str
20075
20858
  }, valid);
20076
20859
  }
20077
- if (it.opts.unevaluated && props !== true) {
20860
+ if (it2.opts.unevaluated && props !== true) {
20078
20861
  gen.assign((0, codegen_1$8._)`${props}[${key}]`, true);
20079
- } else if (!alwaysValid && !it.allErrors) {
20862
+ } else if (!alwaysValid && !it2.allErrors) {
20080
20863
  gen.if((0, codegen_1$8.not)(valid), () => gen.break());
20081
20864
  }
20082
20865
  });
@@ -20093,8 +20876,8 @@ const def$g = {
20093
20876
  schemaType: ["object", "boolean"],
20094
20877
  trackErrors: true,
20095
20878
  code(cxt) {
20096
- const { gen, schema: schema2, it } = cxt;
20097
- if ((0, util_1$9.alwaysValidSchema)(it, schema2)) {
20879
+ const { gen, schema: schema2, it: it2 } = cxt;
20880
+ if ((0, util_1$9.alwaysValidSchema)(it2, schema2)) {
20098
20881
  cxt.fail();
20099
20882
  return;
20100
20883
  }
@@ -20135,10 +20918,10 @@ const def$e = {
20135
20918
  trackErrors: true,
20136
20919
  error: error$5,
20137
20920
  code(cxt) {
20138
- const { gen, schema: schema2, parentSchema, it } = cxt;
20921
+ const { gen, schema: schema2, parentSchema, it: it2 } = cxt;
20139
20922
  if (!Array.isArray(schema2))
20140
20923
  throw new Error("ajv implementation error");
20141
- if (it.opts.discriminator && parentSchema.discriminator)
20924
+ if (it2.opts.discriminator && parentSchema.discriminator)
20142
20925
  return;
20143
20926
  const schArr = schema2;
20144
20927
  const valid = gen.let("valid", false);
@@ -20150,7 +20933,7 @@ const def$e = {
20150
20933
  function validateOneOf() {
20151
20934
  schArr.forEach((sch, i2) => {
20152
20935
  let schCxt;
20153
- if ((0, util_1$8.alwaysValidSchema)(it, sch)) {
20936
+ if ((0, util_1$8.alwaysValidSchema)(it2, sch)) {
20154
20937
  gen.var(schValid, true);
20155
20938
  } else {
20156
20939
  schCxt = cxt.subschema({
@@ -20180,12 +20963,12 @@ const def$d = {
20180
20963
  keyword: "allOf",
20181
20964
  schemaType: "array",
20182
20965
  code(cxt) {
20183
- const { gen, schema: schema2, it } = cxt;
20966
+ const { gen, schema: schema2, it: it2 } = cxt;
20184
20967
  if (!Array.isArray(schema2))
20185
20968
  throw new Error("ajv implementation error");
20186
20969
  const valid = gen.name("valid");
20187
20970
  schema2.forEach((sch, i2) => {
20188
- if ((0, util_1$7.alwaysValidSchema)(it, sch))
20971
+ if ((0, util_1$7.alwaysValidSchema)(it2, sch))
20189
20972
  return;
20190
20973
  const schCxt = cxt.subschema({ keyword: "allOf", schemaProp: i2 }, valid);
20191
20974
  cxt.ok(valid);
@@ -20208,12 +20991,12 @@ const def$c = {
20208
20991
  trackErrors: true,
20209
20992
  error: error$4,
20210
20993
  code(cxt) {
20211
- const { gen, parentSchema, it } = cxt;
20994
+ const { gen, parentSchema, it: it2 } = cxt;
20212
20995
  if (parentSchema.then === void 0 && parentSchema.else === void 0) {
20213
- (0, util_1$6.checkStrictMode)(it, '"if" without "then" and "else" is ignored');
20996
+ (0, util_1$6.checkStrictMode)(it2, '"if" without "then" and "else" is ignored');
20214
20997
  }
20215
- const hasThen = hasSchema(it, "then");
20216
- const hasElse = hasSchema(it, "else");
20998
+ const hasThen = hasSchema(it2, "then");
20999
+ const hasElse = hasSchema(it2, "else");
20217
21000
  if (!hasThen && !hasElse)
20218
21001
  return;
20219
21002
  const valid = gen.let("valid", true);
@@ -20252,9 +21035,9 @@ const def$c = {
20252
21035
  }
20253
21036
  }
20254
21037
  };
20255
- function hasSchema(it, keyword2) {
20256
- const schema2 = it.schema[keyword2];
20257
- return schema2 !== void 0 && !(0, util_1$6.alwaysValidSchema)(it, schema2);
21038
+ function hasSchema(it2, keyword2) {
21039
+ const schema2 = it2.schema[keyword2];
21040
+ return schema2 !== void 0 && !(0, util_1$6.alwaysValidSchema)(it2, schema2);
20258
21041
  }
20259
21042
  _if.default = def$c;
20260
21043
  var thenElse = {};
@@ -20263,9 +21046,9 @@ const util_1$5 = util;
20263
21046
  const def$b = {
20264
21047
  keyword: ["then", "else"],
20265
21048
  schemaType: ["object", "boolean"],
20266
- code({ keyword: keyword2, parentSchema, it }) {
21049
+ code({ keyword: keyword2, parentSchema, it: it2 }) {
20267
21050
  if (parentSchema.if === void 0)
20268
- (0, util_1$5.checkStrictMode)(it, `"${keyword2}" without "if" is ignored`);
21051
+ (0, util_1$5.checkStrictMode)(it2, `"${keyword2}" without "if" is ignored`);
20269
21052
  }
20270
21053
  };
20271
21054
  thenElse.default = def$b;
@@ -20325,8 +21108,8 @@ const def$a = {
20325
21108
  $data: true,
20326
21109
  error: error$3,
20327
21110
  code(cxt, ruleType) {
20328
- const { gen, data: data2, $data, schema: schema2, schemaCode, it } = cxt;
20329
- const { opts, errSchemaPath, schemaEnv, self: self2 } = it;
21111
+ const { gen, data: data2, $data, schema: schema2, schemaCode, it: it2 } = cxt;
21112
+ const { opts, errSchemaPath, schemaEnv, self: self2 } = it2;
20330
21113
  if (!opts.validateFormats)
20331
21114
  return;
20332
21115
  if ($data)
@@ -20445,10 +21228,10 @@ const def$9 = {
20445
21228
  code: (cxt) => dynamicAnchor(cxt, cxt.schema)
20446
21229
  };
20447
21230
  function dynamicAnchor(cxt, anchor) {
20448
- const { gen, it } = cxt;
20449
- it.schemaEnv.root.dynamicAnchors[anchor] = true;
21231
+ const { gen, it: it2 } = cxt;
21232
+ it2.schemaEnv.root.dynamicAnchors[anchor] = true;
20450
21233
  const v2 = (0, codegen_1$4._)`${names_1$2.default.dynamicAnchors}${(0, codegen_1$4.getProperty)(anchor)}`;
20451
- const validate2 = it.errSchemaPath === "#" ? it.validateName : _getValidate(cxt);
21234
+ const validate2 = it2.errSchemaPath === "#" ? it2.validateName : _getValidate(cxt);
20452
21235
  gen.if((0, codegen_1$4._)`!${v2}`, () => gen.assign(v2, validate2));
20453
21236
  }
20454
21237
  dynamicAnchor$1.dynamicAnchor = dynamicAnchor;
@@ -20473,11 +21256,11 @@ const def$8 = {
20473
21256
  code: (cxt) => dynamicRef(cxt, cxt.schema)
20474
21257
  };
20475
21258
  function dynamicRef(cxt, ref2) {
20476
- const { gen, keyword: keyword2, it } = cxt;
21259
+ const { gen, keyword: keyword2, it: it2 } = cxt;
20477
21260
  if (ref2[0] !== "#")
20478
21261
  throw new Error(`"${keyword2}" only supports hash fragment reference`);
20479
21262
  const anchor = ref2.slice(1);
20480
- if (it.allErrors) {
21263
+ if (it2.allErrors) {
20481
21264
  _dynamicRef();
20482
21265
  } else {
20483
21266
  const valid = gen.let("valid", false);
@@ -20485,11 +21268,11 @@ function dynamicRef(cxt, ref2) {
20485
21268
  cxt.ok(valid);
20486
21269
  }
20487
21270
  function _dynamicRef(valid) {
20488
- if (it.schemaEnv.root.dynamicAnchors[anchor]) {
21271
+ if (it2.schemaEnv.root.dynamicAnchors[anchor]) {
20489
21272
  const v2 = gen.let("_v", (0, codegen_1$3._)`${names_1$1.default.dynamicAnchors}${(0, codegen_1$3.getProperty)(anchor)}`);
20490
- gen.if(v2, _callRef(v2, valid), _callRef(it.validateName, valid));
21273
+ gen.if(v2, _callRef(v2, valid), _callRef(it2.validateName, valid));
20491
21274
  } else {
20492
- _callRef(it.validateName, valid)();
21275
+ _callRef(it2.validateName, valid)();
20493
21276
  }
20494
21277
  }
20495
21278
  function _callRef(validate2, valid) {
@@ -20561,9 +21344,9 @@ const def$3 = {
20561
21344
  keyword: ["maxContains", "minContains"],
20562
21345
  type: "array",
20563
21346
  schemaType: "number",
20564
- code({ keyword: keyword2, parentSchema, it }) {
21347
+ code({ keyword: keyword2, parentSchema, it: it2 }) {
20565
21348
  if (parentSchema.contains === void 0) {
20566
- (0, util_1$3.checkStrictMode)(it, `"${keyword2}" without "contains" is ignored`);
21349
+ (0, util_1$3.checkStrictMode)(it2, `"${keyword2}" without "contains" is ignored`);
20567
21350
  }
20568
21351
  }
20569
21352
  };
@@ -20591,16 +21374,16 @@ const def$2 = {
20591
21374
  trackErrors: true,
20592
21375
  error: error$2,
20593
21376
  code(cxt) {
20594
- const { gen, schema: schema2, data: data2, errsCount, it } = cxt;
21377
+ const { gen, schema: schema2, data: data2, errsCount, it: it2 } = cxt;
20595
21378
  if (!errsCount)
20596
21379
  throw new Error("ajv implementation error");
20597
- const { allErrors, props } = it;
21380
+ const { allErrors, props } = it2;
20598
21381
  if (props instanceof codegen_1$2.Name) {
20599
21382
  gen.if((0, codegen_1$2._)`${props} !== true`, () => gen.forIn("key", data2, (key) => gen.if(unevaluatedDynamic(props, key), () => unevaluatedPropCode(key))));
20600
21383
  } else if (props !== true) {
20601
21384
  gen.forIn("key", data2, (key) => props === void 0 ? unevaluatedPropCode(key) : gen.if(unevaluatedStatic(props, key), () => unevaluatedPropCode(key)));
20602
21385
  }
20603
- it.props = true;
21386
+ it2.props = true;
20604
21387
  cxt.ok((0, codegen_1$2._)`${errsCount} === ${names_1.default.errors}`);
20605
21388
  function unevaluatedPropCode(key) {
20606
21389
  if (schema2 === false) {
@@ -20610,7 +21393,7 @@ const def$2 = {
20610
21393
  gen.break();
20611
21394
  return;
20612
21395
  }
20613
- if (!(0, util_1$2.alwaysValidSchema)(it, schema2)) {
21396
+ if (!(0, util_1$2.alwaysValidSchema)(it2, schema2)) {
20614
21397
  const valid = gen.name("valid");
20615
21398
  cxt.subschema({
20616
21399
  keyword: "unevaluatedProperties",
@@ -20649,24 +21432,24 @@ const def$1 = {
20649
21432
  schemaType: ["boolean", "object"],
20650
21433
  error: error$1,
20651
21434
  code(cxt) {
20652
- const { gen, schema: schema2, data: data2, it } = cxt;
20653
- const items2 = it.items || 0;
21435
+ const { gen, schema: schema2, data: data2, it: it2 } = cxt;
21436
+ const items2 = it2.items || 0;
20654
21437
  if (items2 === true)
20655
21438
  return;
20656
21439
  const len = gen.const("len", (0, codegen_1$1._)`${data2}.length`);
20657
21440
  if (schema2 === false) {
20658
21441
  cxt.setParams({ len: items2 });
20659
21442
  cxt.fail((0, codegen_1$1._)`${len} > ${items2}`);
20660
- } else if (typeof schema2 == "object" && !(0, util_1$1.alwaysValidSchema)(it, schema2)) {
21443
+ } else if (typeof schema2 == "object" && !(0, util_1$1.alwaysValidSchema)(it2, schema2)) {
20661
21444
  const valid = gen.var("valid", (0, codegen_1$1._)`${len} <= ${items2}`);
20662
21445
  gen.if((0, codegen_1$1.not)(valid), () => validateItems(valid, items2));
20663
21446
  cxt.ok(valid);
20664
21447
  }
20665
- it.items = true;
21448
+ it2.items = true;
20666
21449
  function validateItems(valid, from) {
20667
21450
  gen.forRange("i", from, len, (i2) => {
20668
21451
  cxt.subschema({ keyword: "unevaluatedItems", dataProp: i2, dataPropType: util_1$1.Type.Num }, valid);
20669
- if (!it.allErrors)
21452
+ if (!it2.allErrors)
20670
21453
  gen.if((0, codegen_1$1.not)(valid), () => gen.break());
20671
21454
  });
20672
21455
  }
@@ -20703,9 +21486,9 @@ const def = {
20703
21486
  schemaType: "object",
20704
21487
  error,
20705
21488
  code(cxt) {
20706
- const { gen, data: data2, schema: schema2, parentSchema, it } = cxt;
21489
+ const { gen, data: data2, schema: schema2, parentSchema, it: it2 } = cxt;
20707
21490
  const { oneOf: oneOf2 } = parentSchema;
20708
- if (!it.opts.discriminator) {
21491
+ if (!it2.opts.discriminator) {
20709
21492
  throw new Error("discriminator: requires discriminator option");
20710
21493
  }
20711
21494
  const tagName = schema2.propertyName;
@@ -20743,8 +21526,8 @@ const def = {
20743
21526
  let tagRequired = true;
20744
21527
  for (let i2 = 0; i2 < oneOf2.length; i2++) {
20745
21528
  let sch = oneOf2[i2];
20746
- if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
20747
- sch = compile_1.resolveRef.call(it.self, it.schemaEnv.root, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
21529
+ if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it2.self.RULES)) {
21530
+ sch = compile_1.resolveRef.call(it2.self, it2.schemaEnv.root, it2.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
20748
21531
  if (sch instanceof compile_1.SchemaEnv)
20749
21532
  sch = sch.schema;
20750
21533
  }
@@ -22303,7 +23086,7 @@ ${displayNode}`
22303
23086
  function handleComputedProperty(options) {
22304
23087
  var _a;
22305
23088
  options._computed = {
22306
- version: "7.2.3",
23089
+ version: "7.3.0",
22307
23090
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
22308
23091
  };
22309
23092
  return options;
@@ -25434,7 +26217,7 @@ class RebillyInstrumentsInstance {
25434
26217
  await show({ componentName, payload });
25435
26218
  }
25436
26219
  get version() {
25437
- return `RebillyInstruments Ver.${"7.2.3"}`;
26220
+ return `RebillyInstruments Ver.${"7.3.0"}`;
25438
26221
  }
25439
26222
  on(eventName, callback) {
25440
26223
  on({ eventName, callback });