@ranty/ranty-sdk 2.0.2 → 2.0.3

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.
@@ -19185,7 +19185,8 @@ let Ln = class t extends nt {
19185
19185
  try {
19186
19186
  this.contextData.encryptedCardData = yield GU(this.contextData.mcService, o), this.contextData.componentsVisibility.showInstallmentPlan = !0;
19187
19187
  } catch (a) {
19188
- qe.error("error handling new card", { tag: "ERROR_NEW_CARD" }, a), this.contextData.hasError = !0;
19188
+ qe.error("error handling new card", { tag: "ERROR_NEW_CARD" }, a), this.contextData.hasError = !0, this._isLoading = !1;
19189
+ return;
19189
19190
  }
19190
19191
  this.contextData.componentsVisibility.showInstallmentPlan = !0, this._isLoading = !1;
19191
19192
  }
@@ -19218,7 +19219,6 @@ let Ln = class t extends nt {
19218
19219
  .mode="${this.env}"
19219
19220
  .newUser="${this.contextData.newUser}"
19220
19221
  .useC2P="${this.useC2P}"
19221
- .errorPaymentRequest="${this.errorPaymentRequest}"
19222
19222
  ></app-home>
19223
19223
  </div>
19224
19224
  `;
@@ -21880,14 +21880,14 @@ ii = $i([
21880
21880
  ], ii);
21881
21881
  const mM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}:host *{user-select:none}:host .drawerOpen{opacity:.5;pointer-events:none}:host .card-form{display:grid;grid-template-columns:repeat(10,1fr);max-width:820px;height:auto;margin:0 auto}:host .card-form-text{grid-column:1/span 6;grid-row:1/1;margin-bottom:10px}:host .card-form__title{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:25px;font-weight:600}:host .card-form__subtitle{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:20px;font-weight:600}:host .card-form__content{grid-column:1/span 6;margin-bottom:126px}:host .payment__detail{grid-column:7/span 4;padding-left:34px}:host .contentContainer{opacity:.5;transition:opacity .3s ease-in-out}:host .card-form__subtitle-mobile{display:none}:host .title{margin-bottom:1rem;margin-left:.75rem;margin-top:0}:host .card-payments-methods{display:flex;gap:40px}@media only screen and (min-width: 360px) and (max-width: 450px){:host .card-form__subtitle{margin-left:8px;margin-right:8px}:host .card-form__title{margin-left:8px;margin-right:8px}:host .card-form{display:grid;grid-template-columns:1fr}:host .card-form__title{margin-bottom:10px}:host .card-form__content{margin-bottom:0;grid-column:span 6}:host .payment__detail{grid-column:1/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}:host .inframe_qr{margin-left:20px;margin-right:20px}}@media only screen and (min-width: 450px) and (max-width: 650px){:host .card-form-text{margin-left:20px}:host .payment__detail{grid-column:1/span 10;grid-row:2/2;margin-left:10px;margin-right:10px;padding-left:0;margin-bottom:20px}:host .card-form__content{grid-column:1/span 10;margin-left:10px;margin-right:10px}}@media only screen and (min-width: 650px) and (max-width: 800px){:host .card-form{display:grid;width:100%}:host .card-form-text{grid-column:2/span 6}:host .card-form__content{margin-bottom:0;grid-column:2/span 7}:host .payment__detail{grid-column:2/span 7;grid-row:2/2;padding-left:0;margin-bottom:20px}}:host .qr_data{display:flex;justify-content:center;align-items:flex-start;position:absolute;top:0;left:0;right:0;width:100%;height:100%;background:#f4f4f4;padding-top:29px;z-index:9}:host .inframe_qr{border:none;display:flex;flex-direction:column;justify-content:center;position:relative;text-align:center;border-radius:20px;align-items:center;background:white}:host .mt{margin-top:10px!important;border:1px solid black!important}
21882
21882
  `;
21883
- var yM = Object.defineProperty, bM = Object.getOwnPropertyDescriptor, bt = (t, e, n, r) => {
21883
+ var yM = Object.defineProperty, bM = Object.getOwnPropertyDescriptor, wt = (t, e, n, r) => {
21884
21884
  for (var i = r > 1 ? void 0 : r ? bM(e, n) : e, s = t.length - 1, o; s >= 0; s--)
21885
21885
  (o = t[s]) && (i = (r ? o(e, n, i) : o(i)) || i);
21886
21886
  return r && i && yM(e, n, i), i;
21887
21887
  };
21888
- let ht = class t extends nt {
21888
+ let pt = class t extends nt {
21889
21889
  constructor() {
21890
- super(...arguments), this.paymentRequestId = "", this.paymentRequestStatus = "", this.qrData = "", this.walletPaymentInput = void 0, this.manualPaymentInput = void 0, this.click2PayPaymentInput = void 0, this.masterLibUrl = "", this.isLoading = !0, this.mode = "staging", this.useC2P = !0, this.errorPaymentRequest = !1, this._email = "", this._firstName = "", this._lastName = "", this._dni = "", this._showQr = !1, this._showLearnMore = !1, this._hasStatusPaymentRequest = "", this._newUser = !1, this._userRecognized = !1, this._cards = [], this._showDrawerComponent = !1, this._showInitialPanels = !0, this._showPersonalDataForm = !1, this._showOrderReview = !1, this._showOrderCompleted = !1, this._showC2pOtpInput = !1, this._showCardForm = !1, this._showC2pCardList = !1, this._loadingSub = "Puede tardar unos segundos", this._loadingMsg = "Estamos cargando los medios de pago", this._lastPanFour = "", this._isError = !1, this._isSuccess = !0;
21890
+ super(...arguments), this.paymentRequestId = "", this.paymentRequestStatus = "", this.qrData = "", this.walletPaymentInput = void 0, this.manualPaymentInput = void 0, this.click2PayPaymentInput = void 0, this.masterLibUrl = "", this.isLoading = !0, this.mode = "staging", this.useC2P = !0, this._email = "", this._firstName = "", this._lastName = "", this._dni = "", this._showQr = !1, this._showLearnMore = !1, this._hasStatusPaymentRequest = "", this._newUser = !1, this._userRecognized = !1, this._cards = [], this._showDrawerComponent = !1, this._showInitialPanels = !0, this._showPersonalDataForm = !1, this._showOrderReview = !1, this._showOrderCompleted = !1, this._showC2pOtpInput = !1, this._showCardForm = !1, this._showC2pCardList = !1, this._loadingSub = "Puede tardar unos segundos", this._loadingMsg = "Estamos cargando los medios de pago", this._lastPanFour = "", this._isError = !1, this._isSuccess = !0;
21891
21891
  }
21892
21892
  firstUpdated(e) {
21893
21893
  return Te(this, null, function* () {
@@ -22331,7 +22331,7 @@ let ht = class t extends nt {
22331
22331
  var o, a, A, c;
22332
22332
  const e = "https://ranty-sdk-js.naranjax.com/images/error.svg", n = "https://ranty-sdk-js.naranjax.com/images/circle-info.svg";
22333
22333
  let r = "No pudimos cargar las opciones", i = "Hubo un problema al intentar cargar las opciones de pago. Podés volver a intentarlo.", s = !1;
22334
- return this.errorPaymentRequest = this._contextData.hasError, (o = this._contextData) != null && o.hasPayError && (r = "No se pudo realizar el pago", i = "Hubo un problema al intentar realizar el pago. Podés volver a intentarlo."), (a = this._contextData) != null && a.hasDuplicatePendingError && (r = "No es posible realizar este pago", i = "Este pago ya se encuentra siendo procesado, volvé a intentarlo en unos minutos.", s = !0), (A = this._contextData) != null && A.hasDuplicateApprovedError ? (r = "Esta orden ya está paga", i = "Si fuiste vos quien pagó, podés encontrar el detalle en la app.", s = !0) : (c = this._contextData) != null && c.websocketResponse ? (r = "No se pudo realizar el pago", i = this._contextData.messageError) : (this.paymentRequestStatus === "EXPIRED" || this.paymentRequestStatus === "BLOCKED") && (r = "Vas a tener que pedir un nuevo link de pago", i = "El tiempo para pagar con este link se terminó."), J`
22334
+ return (o = this._contextData) != null && o.hasPayError && (r = "No se pudo realizar el pago", i = "Hubo un problema al intentar realizar el pago. Podés volver a intentarlo."), (a = this._contextData) != null && a.hasDuplicatePendingError && (r = "No es posible realizar este pago", i = "Este pago ya se encuentra siendo procesado, volvé a intentarlo en unos minutos.", s = !0), (A = this._contextData) != null && A.hasDuplicateApprovedError ? (r = "Esta orden ya está paga", i = "Si fuiste vos quien pagó, podés encontrar el detalle en la app.", s = !0) : (c = this._contextData) != null && c.websocketResponse ? (r = "No se pudo realizar el pago", i = this._contextData.messageError) : (this.paymentRequestStatus === "EXPIRED" || this.paymentRequestStatus === "BLOCKED") && (r = "Vas a tener que pedir un nuevo link de pago", i = "El tiempo para pagar con este link se terminó."), J`
22335
22335
  <click2pay-modal
22336
22336
  .title="${r}"
22337
22337
  .message="${i}"
@@ -22480,146 +22480,143 @@ let ht = class t extends nt {
22480
22480
  `;
22481
22481
  }
22482
22482
  };
22483
- ht.styles = ot`
22483
+ pt.styles = ot`
22484
22484
  ${At(mM)}
22485
22485
  `;
22486
- bt([
22486
+ wt([
22487
22487
  k({ type: String })
22488
- ], ht.prototype, "paymentRequestId", 2);
22489
- bt([
22488
+ ], pt.prototype, "paymentRequestId", 2);
22489
+ wt([
22490
22490
  k({ type: String })
22491
- ], ht.prototype, "paymentRequestStatus", 2);
22492
- bt([
22491
+ ], pt.prototype, "paymentRequestStatus", 2);
22492
+ wt([
22493
22493
  k({ type: String })
22494
- ], ht.prototype, "qrData", 2);
22495
- bt([
22494
+ ], pt.prototype, "qrData", 2);
22495
+ wt([
22496
22496
  k({ type: String })
22497
- ], ht.prototype, "walletPaymentInput", 2);
22498
- bt([
22497
+ ], pt.prototype, "walletPaymentInput", 2);
22498
+ wt([
22499
22499
  k({ type: String })
22500
- ], ht.prototype, "manualPaymentInput", 2);
22501
- bt([
22500
+ ], pt.prototype, "manualPaymentInput", 2);
22501
+ wt([
22502
22502
  k({ type: Object })
22503
- ], ht.prototype, "click2PayPaymentInput", 2);
22504
- bt([
22503
+ ], pt.prototype, "click2PayPaymentInput", 2);
22504
+ wt([
22505
22505
  k({ type: String })
22506
- ], ht.prototype, "masterLibUrl", 2);
22507
- bt([
22506
+ ], pt.prototype, "masterLibUrl", 2);
22507
+ wt([
22508
22508
  k({ type: Object })
22509
- ], ht.prototype, "initPayload", 2);
22510
- bt([
22509
+ ], pt.prototype, "initPayload", 2);
22510
+ wt([
22511
22511
  k({ type: Boolean })
22512
- ], ht.prototype, "isLoading", 2);
22513
- bt([
22512
+ ], pt.prototype, "isLoading", 2);
22513
+ wt([
22514
22514
  k({ type: String })
22515
- ], ht.prototype, "mode", 2);
22516
- bt([
22517
- k({ type: Boolean })
22518
- ], ht.prototype, "useC2P", 2);
22519
- bt([
22515
+ ], pt.prototype, "mode", 2);
22516
+ wt([
22520
22517
  k({ type: Boolean })
22521
- ], ht.prototype, "errorPaymentRequest", 2);
22522
- bt([
22518
+ ], pt.prototype, "useC2P", 2);
22519
+ wt([
22523
22520
  be()
22524
- ], ht.prototype, "_email", 2);
22525
- bt([
22521
+ ], pt.prototype, "_email", 2);
22522
+ wt([
22526
22523
  be()
22527
- ], ht.prototype, "_firstName", 2);
22528
- bt([
22524
+ ], pt.prototype, "_firstName", 2);
22525
+ wt([
22529
22526
  be()
22530
- ], ht.prototype, "_lastName", 2);
22531
- bt([
22527
+ ], pt.prototype, "_lastName", 2);
22528
+ wt([
22532
22529
  be()
22533
- ], ht.prototype, "_dni", 2);
22534
- bt([
22530
+ ], pt.prototype, "_dni", 2);
22531
+ wt([
22535
22532
  be()
22536
- ], ht.prototype, "_showQr", 2);
22537
- bt([
22533
+ ], pt.prototype, "_showQr", 2);
22534
+ wt([
22538
22535
  be()
22539
- ], ht.prototype, "_showLearnMore", 2);
22540
- bt([
22536
+ ], pt.prototype, "_showLearnMore", 2);
22537
+ wt([
22541
22538
  be()
22542
- ], ht.prototype, "_hasStatusPaymentRequest", 2);
22543
- bt([
22539
+ ], pt.prototype, "_hasStatusPaymentRequest", 2);
22540
+ wt([
22544
22541
  be()
22545
- ], ht.prototype, "_newUser", 2);
22546
- bt([
22542
+ ], pt.prototype, "_newUser", 2);
22543
+ wt([
22547
22544
  be()
22548
- ], ht.prototype, "_userRecognized", 2);
22549
- bt([
22545
+ ], pt.prototype, "_userRecognized", 2);
22546
+ wt([
22550
22547
  be()
22551
- ], ht.prototype, "_cards", 2);
22552
- bt([
22548
+ ], pt.prototype, "_cards", 2);
22549
+ wt([
22553
22550
  be()
22554
- ], ht.prototype, "_showDrawerComponent", 2);
22555
- bt([
22551
+ ], pt.prototype, "_showDrawerComponent", 2);
22552
+ wt([
22556
22553
  be()
22557
- ], ht.prototype, "_showInitialPanels", 2);
22558
- bt([
22554
+ ], pt.prototype, "_showInitialPanels", 2);
22555
+ wt([
22559
22556
  be()
22560
- ], ht.prototype, "_showPersonalDataForm", 2);
22561
- bt([
22557
+ ], pt.prototype, "_showPersonalDataForm", 2);
22558
+ wt([
22562
22559
  be()
22563
- ], ht.prototype, "_initResponse", 2);
22564
- bt([
22560
+ ], pt.prototype, "_initResponse", 2);
22561
+ wt([
22565
22562
  be()
22566
- ], ht.prototype, "_otpOptions", 2);
22567
- bt([
22563
+ ], pt.prototype, "_otpOptions", 2);
22564
+ wt([
22568
22565
  be()
22569
- ], ht.prototype, "_otpError", 2);
22570
- bt([
22566
+ ], pt.prototype, "_otpError", 2);
22567
+ wt([
22571
22568
  be()
22572
- ], ht.prototype, "_otpValidationChannel", 2);
22573
- bt([
22569
+ ], pt.prototype, "_otpValidationChannel", 2);
22570
+ wt([
22574
22571
  be()
22575
- ], ht.prototype, "_orderReview", 2);
22576
- bt([
22572
+ ], pt.prototype, "_orderReview", 2);
22573
+ wt([
22577
22574
  be()
22578
- ], ht.prototype, "_showOrderReview", 2);
22579
- bt([
22575
+ ], pt.prototype, "_showOrderReview", 2);
22576
+ wt([
22580
22577
  be()
22581
- ], ht.prototype, "_showOrderCompleted", 2);
22582
- bt([
22578
+ ], pt.prototype, "_showOrderCompleted", 2);
22579
+ wt([
22583
22580
  be()
22584
- ], ht.prototype, "_showC2pOtpInput", 2);
22585
- bt([
22581
+ ], pt.prototype, "_showC2pOtpInput", 2);
22582
+ wt([
22586
22583
  be()
22587
- ], ht.prototype, "_showCardForm", 2);
22588
- bt([
22584
+ ], pt.prototype, "_showCardForm", 2);
22585
+ wt([
22589
22586
  be()
22590
- ], ht.prototype, "_showC2pCardList", 2);
22591
- bt([
22587
+ ], pt.prototype, "_showC2pCardList", 2);
22588
+ wt([
22592
22589
  be()
22593
- ], ht.prototype, "_loadingSub", 2);
22594
- bt([
22590
+ ], pt.prototype, "_loadingSub", 2);
22591
+ wt([
22595
22592
  be()
22596
- ], ht.prototype, "_loadingMsg", 2);
22597
- bt([
22593
+ ], pt.prototype, "_loadingMsg", 2);
22594
+ wt([
22598
22595
  be()
22599
- ], ht.prototype, "_selectedInstallment", 2);
22600
- bt([
22596
+ ], pt.prototype, "_selectedInstallment", 2);
22597
+ wt([
22601
22598
  be()
22602
- ], ht.prototype, "_lastPanFour", 2);
22603
- bt([
22599
+ ], pt.prototype, "_lastPanFour", 2);
22600
+ wt([
22604
22601
  be()
22605
- ], ht.prototype, "_isError", 2);
22606
- bt([
22602
+ ], pt.prototype, "_isError", 2);
22603
+ wt([
22607
22604
  be()
22608
- ], ht.prototype, "_digitalCardData", 2);
22609
- bt([
22605
+ ], pt.prototype, "_digitalCardData", 2);
22606
+ wt([
22610
22607
  be()
22611
- ], ht.prototype, "_isSuccess", 2);
22612
- bt([
22608
+ ], pt.prototype, "_isSuccess", 2);
22609
+ wt([
22613
22610
  ct({ context: eo, subscribe: !0 }),
22614
22611
  be()
22615
- ], ht.prototype, "_contextData", 2);
22616
- bt([
22612
+ ], pt.prototype, "_contextData", 2);
22613
+ wt([
22617
22614
  ct({ context: Zl, subscribe: !0 }),
22618
22615
  be()
22619
- ], ht.prototype, "_payfacContext", 2);
22620
- ht = bt([
22616
+ ], pt.prototype, "_payfacContext", 2);
22617
+ pt = wt([
22621
22618
  rt("app-home")
22622
- ], ht);
22619
+ ], pt);
22623
22620
  const vM = `/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}form{margin:inherit}.clickeable{cursor:pointer}.spinner{animation:rotate 2s linear infinite;z-index:2;position:absolute;width:50px;height:50px;margin-bottom:130px}.spinner .path{stroke:#652bdf;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}.container{display:flex;justify-content:center;align-items:center;height:100%;width:468.45px}span{color:#2b2b2b;font-family:Inter,Arial,"sans-serif";font-size:14px;font-weight:500}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.loading-container{margin-top:65px}@media only screen and (max-width: 660px){.container{width:300px}.loading-container{margin-top:163px}}
22624
22621
  `;
22625
22622
  var wM = Object.defineProperty, BM = Object.getOwnPropertyDescriptor, gv = (t, e, n, r) => {
@@ -27612,7 +27609,7 @@ function OH(t, e) {
27612
27609
  const n = t.formatToParts(e), r = [];
27613
27610
  for (let i = 0; i < n.length; i++) {
27614
27611
  const { type: s, value: o } = n[i], a = NH[s];
27615
- s === "era" ? r[a] = o : pt(a) || (r[a] = parseInt(o, 10));
27612
+ s === "era" ? r[a] = o : ft(a) || (r[a] = parseInt(o, 10));
27616
27613
  }
27617
27614
  return r;
27618
27615
  }
@@ -27816,7 +27813,7 @@ function KH(t, e, n) {
27816
27813
  function VH(t) {
27817
27814
  const e = [];
27818
27815
  for (let n = 1; n <= 12; n++) {
27819
- const r = ft.utc(2009, n, 1);
27816
+ const r = ht.utc(2009, n, 1);
27820
27817
  e.push(t(r));
27821
27818
  }
27822
27819
  return e;
@@ -27824,7 +27821,7 @@ function VH(t) {
27824
27821
  function $H(t) {
27825
27822
  const e = [];
27826
27823
  for (let n = 1; n <= 7; n++) {
27827
- const r = ft.utc(2016, 11, 13 + n);
27824
+ const r = ht.utc(2016, 11, 13 + n);
27828
27825
  e.push(t(r));
27829
27826
  }
27830
27827
  return e;
@@ -27975,7 +27972,7 @@ class Gt {
27975
27972
  () => {
27976
27973
  if (!this.meridiemCache) {
27977
27974
  const e = { hour: "numeric", hourCycle: "h12" };
27978
- this.meridiemCache = [ft.utc(2016, 11, 13, 9), ft.utc(2016, 11, 13, 19)].map(
27975
+ this.meridiemCache = [ht.utc(2016, 11, 13, 9), ht.utc(2016, 11, 13, 19)].map(
27979
27976
  (n) => this.extract(n, e, "dayperiod")
27980
27977
  );
27981
27978
  }
@@ -27986,7 +27983,7 @@ class Gt {
27986
27983
  eras(e) {
27987
27984
  return If(this, e, eE, () => {
27988
27985
  const n = { era: e };
27989
- return this.eraCache[e] || (this.eraCache[e] = [ft.utc(-40, 1, 1), ft.utc(2017, 1, 1)].map(
27986
+ return this.eraCache[e] || (this.eraCache[e] = [ht.utc(-40, 1, 1), ht.utc(2017, 1, 1)].map(
27990
27987
  (r) => this.extract(r, n, "era")
27991
27988
  )), this.eraCache[e];
27992
27989
  });
@@ -28187,7 +28184,7 @@ class XH extends ch {
28187
28184
  }
28188
28185
  }
28189
28186
  function Sa(t, e) {
28190
- if (pt(t) || t === null)
28187
+ if (ft(t) || t === null)
28191
28188
  return e;
28192
28189
  if (t instanceof ch)
28193
28190
  return t;
@@ -28403,7 +28400,7 @@ class Cn {
28403
28400
  * @return {void}
28404
28401
  */
28405
28402
  static resetCaches() {
28406
- Gt.resetCache(), zo.resetCache(), ft.resetCache(), t9();
28403
+ Gt.resetCache(), zo.resetCache(), ht.resetCache(), t9();
28407
28404
  }
28408
28405
  }
28409
28406
  class vs {
@@ -28458,12 +28455,12 @@ function SB(t) {
28458
28455
  return Je({ year: e, month: r, day: i }, om(t));
28459
28456
  }
28460
28457
  function EB(t, e) {
28461
- if (!pt(t.localWeekday) || !pt(t.localWeekNumber) || !pt(t.localWeekYear)) {
28462
- if (!pt(t.weekday) || !pt(t.weekNumber) || !pt(t.weekYear))
28458
+ if (!ft(t.localWeekday) || !ft(t.localWeekNumber) || !ft(t.localWeekYear)) {
28459
+ if (!ft(t.weekday) || !ft(t.weekNumber) || !ft(t.weekYear))
28463
28460
  throw new fl(
28464
28461
  "Cannot mix locale-based week fields with ISO-based week fields"
28465
28462
  );
28466
- return pt(t.localWeekday) || (t.weekday = t.localWeekday), pt(t.localWeekNumber) || (t.weekNumber = t.localWeekNumber), pt(t.localWeekYear) || (t.weekYear = t.localWeekYear), delete t.localWeekday, delete t.localWeekNumber, delete t.localWeekYear, {
28463
+ return ft(t.localWeekday) || (t.weekday = t.localWeekday), ft(t.localWeekNumber) || (t.weekNumber = t.localWeekNumber), ft(t.localWeekYear) || (t.weekYear = t.localWeekYear), delete t.localWeekday, delete t.localWeekNumber, delete t.localWeekYear, {
28467
28464
  minDaysInFirstWeek: e.getMinDaysInFirstWeek(),
28468
28465
  startOfWeek: e.getStartOfWeek()
28469
28466
  };
@@ -28490,7 +28487,7 @@ function zS(t) {
28490
28487
  const { hour: e, minute: n, second: r, millisecond: i } = t, s = Hi(e, 0, 23) || e === 24 && n === 0 && r === 0 && i === 0, o = Hi(n, 0, 59), a = Hi(r, 0, 59), A = Hi(i, 0, 999);
28491
28488
  return s ? o ? a ? A ? !1 : Mi("millisecond", i) : Mi("second", r) : Mi("minute", n) : Mi("hour", e);
28492
28489
  }
28493
- function pt(t) {
28490
+ function ft(t) {
28494
28491
  return typeof t == "undefined";
28495
28492
  }
28496
28493
  function Oa(t) {
@@ -28560,15 +28557,15 @@ function zn(t, e = 2) {
28560
28557
  return n ? r = "-" + ("" + -t).padStart(e, "0") : r = ("" + t).padStart(e, "0"), r;
28561
28558
  }
28562
28559
  function xa(t) {
28563
- if (!(pt(t) || t === null || t === ""))
28560
+ if (!(ft(t) || t === null || t === ""))
28564
28561
  return parseInt(t, 10);
28565
28562
  }
28566
28563
  function wA(t) {
28567
- if (!(pt(t) || t === null || t === ""))
28564
+ if (!(ft(t) || t === null || t === ""))
28568
28565
  return parseFloat(t);
28569
28566
  }
28570
28567
  function Iv(t) {
28571
- if (!(pt(t) || t === null || t === "")) {
28568
+ if (!(ft(t) || t === null || t === "")) {
28572
28569
  const e = parseFloat("0." + t) * 1e3;
28573
28570
  return Math.floor(e);
28574
28571
  }
@@ -29054,7 +29051,7 @@ const rE = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, w9 = `(?:${rE.source}?(?:\\[(${tE.
29054
29051
  ), I9 = RegExp(`(?: ${sE.source})?`);
29055
29052
  function vl(t, e, n) {
29056
29053
  const r = t[e];
29057
- return pt(r) ? n : xa(r);
29054
+ return ft(r) ? n : xa(r);
29058
29055
  }
29059
29056
  function F9(t, e) {
29060
29057
  return [{
@@ -29309,7 +29306,7 @@ function AE(t, e) {
29309
29306
  function kB(t, e) {
29310
29307
  const n = AE(t, e) < 0 ? -1 : 1;
29311
29308
  QA.reduceRight((r, i) => {
29312
- if (pt(e[i]))
29309
+ if (ft(e[i]))
29313
29310
  return r;
29314
29311
  if (r) {
29315
29312
  const s = e[r] * n, o = t[i][r], a = Math.floor(s / o);
@@ -29317,7 +29314,7 @@ function kB(t, e) {
29317
29314
  }
29318
29315
  return i;
29319
29316
  }, null), QA.reduce((r, i) => {
29320
- if (pt(e[i]))
29317
+ if (ft(e[i]))
29321
29318
  return r;
29322
29319
  if (r) {
29323
29320
  const s = e[r] % 1;
@@ -29556,7 +29553,7 @@ class Pt {
29556
29553
  return DB;
29557
29554
  const n = QA.map((r) => {
29558
29555
  const i = this.values[r];
29559
- return pt(i) ? null : this.loc.numberFormatter(sn(Je({ style: "unit", unitDisplay: "long" }, e), { unit: r.slice(0, -1) })).format(i);
29556
+ return ft(i) ? null : this.loc.numberFormatter(sn(Je({ style: "unit", unitDisplay: "long" }, e), { unit: r.slice(0, -1) })).format(i);
29560
29557
  }).filter((r) => r);
29561
29558
  return this.loc.listFormatter(Je({ type: "conjunction", style: e.listStyle || "narrow" }, e)).format(n);
29562
29559
  }
@@ -29611,7 +29608,7 @@ class Pt {
29611
29608
  format: "extended"
29612
29609
  }, e), {
29613
29610
  includeOffset: !1
29614
- }), ft.fromMillis(n, { zone: "UTC" }).toISOTime(e));
29611
+ }), ht.fromMillis(n, { zone: "UTC" }).toISOTime(e));
29615
29612
  }
29616
29613
  /**
29617
29614
  * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
@@ -29998,13 +29995,13 @@ class vn {
29998
29995
  if (r && i) {
29999
29996
  let s, o;
30000
29997
  try {
30001
- s = ft.fromISO(r, n), o = s.isValid;
29998
+ s = ht.fromISO(r, n), o = s.isValid;
30002
29999
  } catch (c) {
30003
30000
  o = !1;
30004
30001
  }
30005
30002
  let a, A;
30006
30003
  try {
30007
- a = ft.fromISO(i, n), A = a.isValid;
30004
+ a = ht.fromISO(i, n), A = a.isValid;
30008
30005
  } catch (c) {
30009
30006
  A = !1;
30010
30007
  }
@@ -30391,7 +30388,7 @@ class Ff {
30391
30388
  * @return {boolean}
30392
30389
  */
30393
30390
  static hasDST(e = Cn.defaultZone) {
30394
- const n = ft.now().setZone(e).set({ month: 12 });
30391
+ const n = ht.now().setZone(e).set({ month: 12 });
30395
30392
  return !e.isUniversal && n.offset !== n.set({ month: 6 }).offset;
30396
30393
  }
30397
30394
  /**
@@ -30837,14 +30834,14 @@ function vj(t) {
30837
30834
  }
30838
30835
  };
30839
30836
  let n = null, r;
30840
- return pt(t.z) || (n = zo.create(t.z)), pt(t.Z) || (n || (n = new zr(t.Z)), r = t.Z), pt(t.q) || (t.M = (t.q - 1) * 3 + 1), pt(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), pt(t.u) || (t.S = Iv(t.u)), [Object.keys(t).reduce((s, o) => {
30837
+ return ft(t.z) || (n = zo.create(t.z)), ft(t.Z) || (n || (n = new zr(t.Z)), r = t.Z), ft(t.q) || (t.M = (t.q - 1) * 3 + 1), ft(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), ft(t.u) || (t.S = Iv(t.u)), [Object.keys(t).reduce((s, o) => {
30841
30838
  const a = e(o);
30842
30839
  return a && (s[a] = t[o]), s;
30843
30840
  }, {}), n, r];
30844
30841
  }
30845
30842
  let ty = null;
30846
30843
  function wj() {
30847
- return ty || (ty = ft.fromMillis(1555555555555)), ty;
30844
+ return ty || (ty = ht.fromMillis(1555555555555)), ty;
30848
30845
  }
30849
30846
  function Bj(t, e) {
30850
30847
  if (t.literal)
@@ -30925,7 +30922,7 @@ function BA(t, e) {
30925
30922
  loc: t.loc,
30926
30923
  invalid: t.invalid
30927
30924
  };
30928
- return new ft(sn(Je(Je({}, n), e), { old: n }));
30925
+ return new ht(sn(Je(Je({}, n), e), { old: n }));
30929
30926
  }
30930
30927
  function pE(t, e, n) {
30931
30928
  let r = t - e * 60 * 1e3;
@@ -30974,13 +30971,13 @@ function QB(t, e) {
30974
30971
  function Yc(t, e, n, r, i, s) {
30975
30972
  const { setZone: o, zone: a } = n;
30976
30973
  if (t && Object.keys(t).length !== 0 || e) {
30977
- const A = e || a, c = ft.fromObject(t, sn(Je({}, n), {
30974
+ const A = e || a, c = ht.fromObject(t, sn(Je({}, n), {
30978
30975
  zone: A,
30979
30976
  specificOffset: s
30980
30977
  }));
30981
30978
  return o ? c : c.setZone(a);
30982
30979
  } else
30983
- return ft.invalid(
30980
+ return ht.invalid(
30984
30981
  new vs("unparsable", `the input "${i}" can't be parsed as ${r}`)
30985
30982
  );
30986
30983
  }
@@ -31080,24 +31077,24 @@ function Fj(t) {
31080
31077
  function HB(t, e) {
31081
31078
  const n = Sa(e.zone, Cn.defaultZone);
31082
31079
  if (!n.isValid)
31083
- return ft.invalid(rd(n));
31080
+ return ht.invalid(rd(n));
31084
31081
  const r = Gt.fromObject(e);
31085
31082
  let i, s;
31086
- if (pt(t.year))
31083
+ if (ft(t.year))
31087
31084
  i = Cn.now();
31088
31085
  else {
31089
31086
  for (const A of mE)
31090
- pt(t[A]) && (t[A] = gE[A]);
31087
+ ft(t[A]) && (t[A] = gE[A]);
31091
31088
  const o = jS(t) || zS(t);
31092
31089
  if (o)
31093
- return ft.invalid(o);
31090
+ return ht.invalid(o);
31094
31091
  const a = Fj(n);
31095
31092
  [i, s] = bp(t, a, n);
31096
31093
  }
31097
- return new ft({ ts: i, zone: n, loc: r, o: s });
31094
+ return new ht({ ts: i, zone: n, loc: r, o: s });
31098
31095
  }
31099
31096
  function jB(t, e, n) {
31100
- const r = pt(n.round) ? !0 : n.round, i = (o, a) => (o = Fv(o, r || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), s = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
31097
+ const r = ft(n.round) ? !0 : n.round, i = (o, a) => (o = Fv(o, r || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), s = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
31101
31098
  if (n.unit)
31102
31099
  return i(s(n.unit), n.unit);
31103
31100
  for (const o of n.units) {
@@ -31112,14 +31109,14 @@ function zB(t) {
31112
31109
  return t.length > 0 && typeof t[t.length - 1] == "object" ? (e = t[t.length - 1], n = Array.from(t).slice(0, t.length - 1)) : n = Array.from(t), [e, n];
31113
31110
  }
31114
31111
  let vp, wp = {};
31115
- class ft {
31112
+ class ht {
31116
31113
  /**
31117
31114
  * @access private
31118
31115
  */
31119
31116
  constructor(e) {
31120
31117
  const n = e.zone || Cn.defaultZone;
31121
31118
  let r = e.invalid || (Number.isNaN(e.ts) ? new vs("invalid input") : null) || (n.isValid ? null : rd(n));
31122
- this.ts = pt(e.ts) ? Cn.now() : e.ts;
31119
+ this.ts = ft(e.ts) ? Cn.now() : e.ts;
31123
31120
  let i = null, s = null;
31124
31121
  if (!r)
31125
31122
  if (e.old && e.old.ts === this.ts && e.old.zone.equals(n))
@@ -31139,7 +31136,7 @@ class ft {
31139
31136
  * @return {DateTime}
31140
31137
  */
31141
31138
  static now() {
31142
- return new ft({});
31139
+ return new ht({});
31143
31140
  }
31144
31141
  /**
31145
31142
  * Create a local DateTime
@@ -31205,13 +31202,13 @@ class ft {
31205
31202
  static fromJSDate(e, n = {}) {
31206
31203
  const r = s9(e) ? e.valueOf() : NaN;
31207
31204
  if (Number.isNaN(r))
31208
- return ft.invalid("invalid input");
31205
+ return ht.invalid("invalid input");
31209
31206
  const i = Sa(n.zone, Cn.defaultZone);
31210
- return i.isValid ? new ft({
31207
+ return i.isValid ? new ht({
31211
31208
  ts: r,
31212
31209
  zone: i,
31213
31210
  loc: Gt.fromObject(n)
31214
- }) : ft.invalid(rd(i));
31211
+ }) : ht.invalid(rd(i));
31215
31212
  }
31216
31213
  /**
31217
31214
  * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
@@ -31226,7 +31223,7 @@ class ft {
31226
31223
  */
31227
31224
  static fromMillis(e, n = {}) {
31228
31225
  if (Oa(e))
31229
- return e < -OB || e > OB ? ft.invalid("Timestamp out of range") : new ft({
31226
+ return e < -OB || e > OB ? ht.invalid("Timestamp out of range") : new ht({
31230
31227
  ts: e,
31231
31228
  zone: Sa(n.zone, Cn.defaultZone),
31232
31229
  loc: Gt.fromObject(n)
@@ -31248,7 +31245,7 @@ class ft {
31248
31245
  */
31249
31246
  static fromSeconds(e, n = {}) {
31250
31247
  if (Oa(e))
31251
- return new ft({
31248
+ return new ht({
31252
31249
  ts: e * 1e3,
31253
31250
  zone: Sa(n.zone, Cn.defaultZone),
31254
31251
  loc: Gt.fromObject(n)
@@ -31292,8 +31289,8 @@ class ft {
31292
31289
  e = e || {};
31293
31290
  const r = Sa(n.zone, Cn.defaultZone);
31294
31291
  if (!r.isValid)
31295
- return ft.invalid(rd(r));
31296
- const i = Gt.fromObject(n), s = dg(e, MB), { minDaysInFirstWeek: o, startOfWeek: a } = EB(s, i), A = Cn.now(), c = pt(n.specificOffset) ? r.offset(A) : n.specificOffset, l = !pt(s.ordinal), d = !pt(s.year), p = !pt(s.month) || !pt(s.day), h = d || p, m = s.weekYear || s.weekNumber;
31292
+ return ht.invalid(rd(r));
31293
+ const i = Gt.fromObject(n), s = dg(e, MB), { minDaysInFirstWeek: o, startOfWeek: a } = EB(s, i), A = Cn.now(), c = ft(n.specificOffset) ? r.offset(A) : n.specificOffset, l = !ft(s.ordinal), d = !ft(s.year), p = !ft(s.month) || !ft(s.day), h = d || p, m = s.weekYear || s.weekNumber;
31297
31294
  if ((h || l) && m)
31298
31295
  throw new fl(
31299
31296
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -31306,21 +31303,21 @@ class ft {
31306
31303
  let U = !1;
31307
31304
  for (const Ae of x) {
31308
31305
  const N = s[Ae];
31309
- pt(N) ? U ? s[Ae] = v[Ae] : s[Ae] = _[Ae] : U = !0;
31306
+ ft(N) ? U ? s[Ae] = v[Ae] : s[Ae] = _[Ae] : U = !0;
31310
31307
  }
31311
31308
  const M = b ? n9(s, o, a) : l ? r9(s) : jS(s), V = M || zS(s);
31312
31309
  if (V)
31313
- return ft.invalid(V);
31314
- const j = b ? _B(s, o, a) : l ? SB(s) : s, [H, P] = bp(j, c, r), ee = new ft({
31310
+ return ht.invalid(V);
31311
+ const j = b ? _B(s, o, a) : l ? SB(s) : s, [H, P] = bp(j, c, r), ee = new ht({
31315
31312
  ts: H,
31316
31313
  zone: r,
31317
31314
  o: P,
31318
31315
  loc: i
31319
31316
  });
31320
- return s.weekday && h && e.weekday !== ee.weekday ? ft.invalid(
31317
+ return s.weekday && h && e.weekday !== ee.weekday ? ht.invalid(
31321
31318
  "mismatched weekday",
31322
31319
  `you can't specify both a weekday of ${s.weekday} and a date of ${ee.toISO()}`
31323
- ) : ee.isValid ? ee : ft.invalid(ee.invalid);
31320
+ ) : ee.isValid ? ee : ht.invalid(ee.invalid);
31324
31321
  }
31325
31322
  /**
31326
31323
  * Create a DateTime from an ISO 8601 string
@@ -31397,20 +31394,20 @@ class ft {
31397
31394
  * @return {DateTime}
31398
31395
  */
31399
31396
  static fromFormat(e, n, r = {}) {
31400
- if (pt(e) || pt(n))
31397
+ if (ft(e) || ft(n))
31401
31398
  throw new Dr("fromFormat requires an input string and a format");
31402
31399
  const { locale: i = null, numberingSystem: s = null } = r, o = Gt.fromOpts({
31403
31400
  locale: i,
31404
31401
  numberingSystem: s,
31405
31402
  defaultToEN: !0
31406
31403
  }), [a, A, c, l] = xj(o, e, n);
31407
- return l ? ft.invalid(l) : Yc(a, A, r, `format ${n}`, e, c);
31404
+ return l ? ht.invalid(l) : Yc(a, A, r, `format ${n}`, e, c);
31408
31405
  }
31409
31406
  /**
31410
31407
  * @deprecated use fromFormat instead
31411
31408
  */
31412
31409
  static fromString(e, n, r = {}) {
31413
- return ft.fromFormat(e, n, r);
31410
+ return ht.fromFormat(e, n, r);
31414
31411
  }
31415
31412
  /**
31416
31413
  * Create a DateTime from a SQL date, time, or datetime
@@ -31449,7 +31446,7 @@ class ft {
31449
31446
  const r = e instanceof vs ? e : new vs(e, n);
31450
31447
  if (Cn.throwOnInvalid)
31451
31448
  throw new FH(r);
31452
- return new ft({ invalid: r });
31449
+ return new ht({ invalid: r });
31453
31450
  }
31454
31451
  /**
31455
31452
  * Check if an object is an instance of DateTime. Works across context boundaries
@@ -31888,7 +31885,7 @@ class ft {
31888
31885
  }
31889
31886
  return BA(this, { ts: i, zone: e });
31890
31887
  } else
31891
- return ft.invalid(rd(e));
31888
+ return ht.invalid(rd(e));
31892
31889
  }
31893
31890
  /**
31894
31891
  * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
@@ -31925,7 +31922,7 @@ class ft {
31925
31922
  set(e) {
31926
31923
  if (!this.isValid)
31927
31924
  return this;
31928
- const n = dg(e, MB), { minDaysInFirstWeek: r, startOfWeek: i } = EB(n, this.loc), s = !pt(n.weekYear) || !pt(n.weekNumber) || !pt(n.weekday), o = !pt(n.ordinal), a = !pt(n.year), A = !pt(n.month) || !pt(n.day), c = a || A, l = n.weekYear || n.weekNumber;
31925
+ const n = dg(e, MB), { minDaysInFirstWeek: r, startOfWeek: i } = EB(n, this.loc), s = !ft(n.weekYear) || !ft(n.weekNumber) || !ft(n.weekday), o = !ft(n.ordinal), a = !ft(n.year), A = !ft(n.month) || !ft(n.day), c = a || A, l = n.weekYear || n.weekNumber;
31929
31926
  if ((c || o) && l)
31930
31927
  throw new fl(
31931
31928
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -31937,7 +31934,7 @@ class ft {
31937
31934
  Je(Je({}, lg(this.c, r, i)), n),
31938
31935
  r,
31939
31936
  i
31940
- ) : pt(n.ordinal) ? (d = Je(Je({}, this.toObject()), n), pt(n.day) && (d.day = Math.min(ug(d.year, d.month), d.day))) : d = SB(Je(Je({}, ey(this.c)), n));
31937
+ ) : ft(n.ordinal) ? (d = Je(Je({}, this.toObject()), n), ft(n.day) && (d.day = Math.min(ug(d.year, d.month), d.day))) : d = SB(Je(Je({}, ey(this.c)), n));
31941
31938
  const [p, h] = bp(d, this.o, this.zone);
31942
31939
  return BA(this, { ts: p, o: h });
31943
31940
  }
@@ -32330,7 +32327,7 @@ class ft {
32330
32327
  * @return {Duration}
32331
32328
  */
32332
32329
  diffNow(e = "milliseconds", n = {}) {
32333
- return this.diff(ft.now(), e, n);
32330
+ return this.diff(ht.now(), e, n);
32334
32331
  }
32335
32332
  /**
32336
32333
  * Return an Interval spanning between this DateTime and another DateTime
@@ -32388,7 +32385,7 @@ class ft {
32388
32385
  toRelative(e = {}) {
32389
32386
  if (!this.isValid)
32390
32387
  return null;
32391
- const n = e.base || ft.fromObject({}, { zone: this.zone }), r = e.padding ? this < n ? -e.padding : e.padding : 0;
32388
+ const n = e.base || ht.fromObject({}, { zone: this.zone }), r = e.padding ? this < n ? -e.padding : e.padding : 0;
32392
32389
  let i = ["years", "months", "days", "hours", "minutes", "seconds"], s = e.unit;
32393
32390
  return Array.isArray(e.unit) && (i = e.unit, s = void 0), jB(n, this.plus(r), sn(Je({}, e), {
32394
32391
  numeric: "always",
@@ -32410,7 +32407,7 @@ class ft {
32410
32407
  * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
32411
32408
  */
32412
32409
  toRelativeCalendar(e = {}) {
32413
- return this.isValid ? jB(e.base || ft.fromObject({}, { zone: this.zone }), this, sn(Je({}, e), {
32410
+ return this.isValid ? jB(e.base || ht.fromObject({}, { zone: this.zone }), this, sn(Je({}, e), {
32414
32411
  numeric: "auto",
32415
32412
  units: ["years", "months", "days"],
32416
32413
  calendary: !0
@@ -32422,7 +32419,7 @@ class ft {
32422
32419
  * @return {DateTime} the min DateTime, or undefined if called with no argument
32423
32420
  */
32424
32421
  static min(...e) {
32425
- if (!e.every(ft.isDateTime))
32422
+ if (!e.every(ht.isDateTime))
32426
32423
  throw new Dr("min requires all arguments be DateTimes");
32427
32424
  return IB(e, (n) => n.valueOf(), Math.min);
32428
32425
  }
@@ -32432,7 +32429,7 @@ class ft {
32432
32429
  * @return {DateTime} the max DateTime, or undefined if called with no argument
32433
32430
  */
32434
32431
  static max(...e) {
32435
- if (!e.every(ft.isDateTime))
32432
+ if (!e.every(ht.isDateTime))
32436
32433
  throw new Dr("max requires all arguments be DateTimes");
32437
32434
  return IB(e, (n) => n.valueOf(), Math.max);
32438
32435
  }
@@ -32456,7 +32453,7 @@ class ft {
32456
32453
  * @deprecated use fromFormatExplain instead
32457
32454
  */
32458
32455
  static fromStringExplain(e, n, r = {}) {
32459
- return ft.fromFormatExplain(e, n, r);
32456
+ return ht.fromFormatExplain(e, n, r);
32460
32457
  }
32461
32458
  /**
32462
32459
  * Build a parser for `fmt` using the given locale. This parser can be passed
@@ -32489,7 +32486,7 @@ class ft {
32489
32486
  * @returns {DateTime}
32490
32487
  */
32491
32488
  static fromFormatParser(e, n, r = {}) {
32492
- if (pt(e) || pt(n))
32489
+ if (ft(e) || ft(n))
32493
32490
  throw new Dr(
32494
32491
  "fromFormatParser requires an input string and a format parser"
32495
32492
  );
@@ -32503,7 +32500,7 @@ class ft {
32503
32500
  `fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`
32504
32501
  );
32505
32502
  const { result: a, zone: A, specificOffset: c, invalidReason: l } = n.explainFromTokens(e);
32506
- return l ? ft.invalid(l) : Yc(
32503
+ return l ? ht.invalid(l) : Yc(
32507
32504
  a,
32508
32505
  A,
32509
32506
  r,
@@ -32669,12 +32666,12 @@ class ft {
32669
32666
  }
32670
32667
  }
32671
32668
  function qu(t) {
32672
- if (ft.isDateTime(t))
32669
+ if (ht.isDateTime(t))
32673
32670
  return t;
32674
32671
  if (t && t.valueOf && Oa(t.valueOf()))
32675
- return ft.fromJSDate(t);
32672
+ return ht.fromJSDate(t);
32676
32673
  if (t && typeof t == "object")
32677
- return ft.fromObject(t);
32674
+ return ht.fromObject(t);
32678
32675
  throw new Dr(
32679
32676
  `Unknown datetime argument: ${t}, of type ${typeof t}`
32680
32677
  );
@@ -32692,7 +32689,7 @@ const KB = (t, e) => {
32692
32689
  return i.conditions && ((a = i.conditions) != null && a.days) && ((A = i.conditions) == null ? void 0 : A.days.length) !== 0 ? VB(e, s, o) && Dj(e, i.conditions.days) : VB(e, s, o);
32693
32690
  });
32694
32691
  }, Dj = (t, e) => {
32695
- const n = ft.fromMillis(t).setLocale("en").weekdayShort.toLowerCase();
32692
+ const n = ht.fromMillis(t).setLocale("en").weekdayShort.toLowerCase();
32696
32693
  return e.map((i) => i.toLowerCase()).includes(n);
32697
32694
  }, VB = (t, e, n) => t > e && t < n;
32698
32695
  var kj = Object.defineProperty, Lj = Object.getOwnPropertyDescriptor, qn = (t, e, n, r) => {
@@ -38762,7 +38759,7 @@ function ut(t) {
38762
38759
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
38763
38760
  return Ge[g] = I;
38764
38761
  };
38765
- var xt, ze, Gn, Ot, Gi, nn = {}, hn = {}, Ps = [], Vt = {}, oA = {}, gn = {}, Wi = {}, lo = null, mn = 0, vt = [], $t = new Jx(h), aA = t.hotfixes || [], fr = {}, Os = {}, Qs = [], lt = function g(I, G, te, le, Ee, Oe) {
38762
+ var xt, ze, Gn, Ot, Gi, nn = {}, hn = {}, Ps = [], Vt = {}, oA = {}, gn = {}, Wi = {}, lo = null, mn = 0, bt = [], $t = new Jx(h), aA = t.hotfixes || [], fr = {}, Os = {}, Qs = [], lt = function g(I, G, te, le, Ee, Oe) {
38766
38763
  if (!(this instanceof g))
38767
38764
  return new g(I, G, te, le, Ee, Oe);
38768
38765
  isNaN(I) && (I = 1), isNaN(G) && (G = 0), isNaN(te) && (te = 0), isNaN(le) && (le = 1), isNaN(Ee) && (Ee = 0), isNaN(Oe) && (Oe = 0), this._matrix = [I, G, te, le, Ee, Oe];
@@ -38972,7 +38969,7 @@ function ut(t) {
38972
38969
  Y(">>"), st.data.length !== 0 && (Y("stream"), Y($e(st.data)), Y("endstream"));
38973
38970
  }, Hs = h.__private__.putPage = function(g) {
38974
38971
  var I = g.number, G = g.data, te = g.objId, le = g.contentsObjId;
38975
- li(te, !0), Y("<</Type /Page"), Y("/Parent " + g.rootDictionaryObjId + " 0 R"), Y("/Resources " + g.resourceDictionaryObjId + " 0 R"), Y("/MediaBox [" + parseFloat(H(g.mediaBox.bottomLeftX)) + " " + parseFloat(H(g.mediaBox.bottomLeftY)) + " " + H(g.mediaBox.topRightX) + " " + H(g.mediaBox.topRightY) + "]"), g.cropBox !== null && Y("/CropBox [" + H(g.cropBox.bottomLeftX) + " " + H(g.cropBox.bottomLeftY) + " " + H(g.cropBox.topRightX) + " " + H(g.cropBox.topRightY) + "]"), g.bleedBox !== null && Y("/BleedBox [" + H(g.bleedBox.bottomLeftX) + " " + H(g.bleedBox.bottomLeftY) + " " + H(g.bleedBox.topRightX) + " " + H(g.bleedBox.topRightY) + "]"), g.trimBox !== null && Y("/TrimBox [" + H(g.trimBox.bottomLeftX) + " " + H(g.trimBox.bottomLeftY) + " " + H(g.trimBox.topRightX) + " " + H(g.trimBox.topRightY) + "]"), g.artBox !== null && Y("/ArtBox [" + H(g.artBox.bottomLeftX) + " " + H(g.artBox.bottomLeftY) + " " + H(g.artBox.topRightX) + " " + H(g.artBox.topRightY) + "]"), typeof g.userUnit == "number" && g.userUnit !== 1 && Y("/UserUnit " + g.userUnit), $t.publish("putPage", { objId: te, pageContext: vt[I], pageNumber: I, page: G }), Y("/Contents " + le + " 0 R"), Y(">>"), Y("endobj");
38972
+ li(te, !0), Y("<</Type /Page"), Y("/Parent " + g.rootDictionaryObjId + " 0 R"), Y("/Resources " + g.resourceDictionaryObjId + " 0 R"), Y("/MediaBox [" + parseFloat(H(g.mediaBox.bottomLeftX)) + " " + parseFloat(H(g.mediaBox.bottomLeftY)) + " " + H(g.mediaBox.topRightX) + " " + H(g.mediaBox.topRightY) + "]"), g.cropBox !== null && Y("/CropBox [" + H(g.cropBox.bottomLeftX) + " " + H(g.cropBox.bottomLeftY) + " " + H(g.cropBox.topRightX) + " " + H(g.cropBox.topRightY) + "]"), g.bleedBox !== null && Y("/BleedBox [" + H(g.bleedBox.bottomLeftX) + " " + H(g.bleedBox.bottomLeftY) + " " + H(g.bleedBox.topRightX) + " " + H(g.bleedBox.topRightY) + "]"), g.trimBox !== null && Y("/TrimBox [" + H(g.trimBox.bottomLeftX) + " " + H(g.trimBox.bottomLeftY) + " " + H(g.trimBox.topRightX) + " " + H(g.trimBox.topRightY) + "]"), g.artBox !== null && Y("/ArtBox [" + H(g.artBox.bottomLeftX) + " " + H(g.artBox.bottomLeftY) + " " + H(g.artBox.topRightX) + " " + H(g.artBox.topRightY) + "]"), typeof g.userUnit == "number" && g.userUnit !== 1 && Y("/UserUnit " + g.userUnit), $t.publish("putPage", { objId: te, pageContext: bt[I], pageNumber: I, page: G }), Y("/Contents " + le + " 0 R"), Y(">>"), Y("endobj");
38976
38973
  var Ee = G.join(`
38977
38974
  `);
38978
38975
  return U === _.ADVANCED && (Ee += `
@@ -38980,9 +38977,9 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
38980
38977
  }, AA = h.__private__.putPages = function() {
38981
38978
  var g, I, G = [];
38982
38979
  for (g = 1; g <= mn; g++)
38983
- vt[g].objId = Qn(), vt[g].contentsObjId = Qn();
38980
+ bt[g].objId = Qn(), bt[g].contentsObjId = Qn();
38984
38981
  for (g = 1; g <= mn; g++)
38985
- G.push(Hs({ number: g, data: ke[g], objId: vt[g].objId, contentsObjId: vt[g].contentsObjId, mediaBox: vt[g].mediaBox, cropBox: vt[g].cropBox, bleedBox: vt[g].bleedBox, trimBox: vt[g].trimBox, artBox: vt[g].artBox, userUnit: vt[g].userUnit, rootDictionaryObjId: uo, resourceDictionaryObjId: Ji }));
38982
+ G.push(Hs({ number: g, data: ke[g], objId: bt[g].objId, contentsObjId: bt[g].contentsObjId, mediaBox: bt[g].mediaBox, cropBox: bt[g].cropBox, bleedBox: bt[g].bleedBox, trimBox: bt[g].trimBox, artBox: bt[g].artBox, userUnit: bt[g].userUnit, rootDictionaryObjId: uo, resourceDictionaryObjId: Ji }));
38986
38983
  li(uo, !0), Y("<</Type /Pages");
38987
38984
  var te = "/Kids [";
38988
38985
  for (I = 0; I < mn; I++)
@@ -39139,7 +39136,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
39139
39136
  }, Yr = h.__private__.pdfEscape = h.pdfEscape = function(g, I) {
39140
39137
  return vc(g, I).replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
39141
39138
  }, fu = h.__private__.beginPage = function(g) {
39142
- ke[++mn] = [], vt[mn] = { objId: 0, contentsObjId: 0, userUnit: Number(a), artBox: null, bleedBox: null, cropBox: null, trimBox: null, mediaBox: { bottomLeftX: 0, bottomLeftY: 0, topRightX: Number(g[0]), topRightY: Number(g[1]) } }, Bh(mn), xe(ke[z]);
39139
+ ke[++mn] = [], bt[mn] = { objId: 0, contentsObjId: 0, userUnit: Number(a), artBox: null, bleedBox: null, cropBox: null, trimBox: null, mediaBox: { bottomLeftX: 0, bottomLeftY: 0, topRightX: Number(g[0]), topRightY: Number(g[1]) } }, Bh(mn), xe(ke[z]);
39143
39140
  }, wh = function(g, I) {
39144
39141
  var G, te, le;
39145
39142
  switch (n = I || n, typeof g == "string" && (G = v(g.toLowerCase()), Array.isArray(G) && (te = G[0], le = G[1])), Array.isArray(g) && (te = g[0] * ze, le = g[1] * ze), isNaN(te) && (te = i[0], le = i[1]), (te > 14400 || le > 14400) && (an.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), te = Math.min(14400, te), le = Math.min(14400, le)), i = [te, le], n.substr(0, 1)) {
@@ -39151,7 +39148,7 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
39151
39148
  }
39152
39149
  fu(i), Ih(yu), Y(ts), vu !== 0 && Y(vu + " J"), wu !== 0 && Y(wu + " j"), $t.publish("addPage", { pageNumber: mn });
39153
39150
  }, Em = function(g) {
39154
- g > 0 && g <= mn && (ke.splice(g, 1), vt.splice(g, 1), mn--, z > mn && (z = mn), this.setPage(z));
39151
+ g > 0 && g <= mn && (ke.splice(g, 1), bt.splice(g, 1), mn--, z > mn && (z = mn), this.setPage(z));
39155
39152
  }, Bh = function(g) {
39156
39153
  g > 0 && g <= mn && (z = g);
39157
39154
  }, Im = h.__private__.getNumberOfPages = h.getNumberOfPages = function() {
@@ -39316,16 +39313,16 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
39316
39313
  }, _h = h.__private__.getPageInfo = h.getPageInfo = function(g) {
39317
39314
  if (isNaN(g) || g % 1 != 0)
39318
39315
  throw new Error("Invalid argument passed to jsPDF.getPageInfo");
39319
- return { objId: vt[g].objId, pageNumber: g, pageContext: vt[g] };
39316
+ return { objId: bt[g].objId, pageNumber: g, pageContext: bt[g] };
39320
39317
  }, yt = h.__private__.getPageInfoByObjId = function(g) {
39321
39318
  if (isNaN(g) || g % 1 != 0)
39322
39319
  throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
39323
- for (var I in vt)
39324
- if (vt[I].objId === g)
39320
+ for (var I in bt)
39321
+ if (bt[I].objId === g)
39325
39322
  break;
39326
39323
  return _h(I);
39327
39324
  }, Lm = h.__private__.getCurrentPageInfo = h.getCurrentPageInfo = function() {
39328
- return { objId: vt[z].objId, pageNumber: z, pageContext: vt[z] };
39325
+ return { objId: bt[z].objId, pageNumber: z, pageContext: bt[z] };
39329
39326
  };
39330
39327
  h.addPage = function() {
39331
39328
  return wh.apply(this, arguments), this;
@@ -39336,15 +39333,15 @@ Q`), li(le, !0), Si({ data: Ee, filters: Ms(), objectId: le }), Y("endobj"), te;
39336
39333
  }, h.movePage = function(g, I) {
39337
39334
  var G, te;
39338
39335
  if (g > I) {
39339
- G = ke[g], te = vt[g];
39336
+ G = ke[g], te = bt[g];
39340
39337
  for (var le = g; le > I; le--)
39341
- ke[le] = ke[le - 1], vt[le] = vt[le - 1];
39342
- ke[I] = G, vt[I] = te, this.setPage(I);
39338
+ ke[le] = ke[le - 1], bt[le] = bt[le - 1];
39339
+ ke[I] = G, bt[I] = te, this.setPage(I);
39343
39340
  } else if (g < I) {
39344
- G = ke[g], te = vt[g];
39341
+ G = ke[g], te = bt[g];
39345
39342
  for (var Ee = g; Ee < I; Ee++)
39346
- ke[Ee] = ke[Ee + 1], vt[Ee] = vt[Ee + 1];
39347
- ke[I] = G, vt[I] = te, this.setPage(I);
39343
+ ke[Ee] = ke[Ee + 1], bt[Ee] = bt[Ee + 1];
39344
+ ke[I] = G, bt[I] = te, this.setPage(I);
39348
39345
  }
39349
39346
  return this;
39350
39347
  }, h.deletePage = function() {
@@ -39708,7 +39705,7 @@ T* `) : g.join(` Tj
39708
39705
  var fo = h.__private__.getHorizontalCoordinate = function(g) {
39709
39706
  return R(g);
39710
39707
  }, Yo = h.__private__.getVerticalCoordinate = function(g) {
39711
- return U === _.ADVANCED ? g : vt[z].mediaBox.topRightY - vt[z].mediaBox.bottomLeftY - R(g);
39708
+ return U === _.ADVANCED ? g : bt[z].mediaBox.topRightY - bt[z].mediaBox.bottomLeftY - R(g);
39712
39709
  }, Mm = h.__private__.getHorizontalCoordinateString = h.getHorizontalCoordinateString = function(g) {
39713
39710
  return H(fo(g));
39714
39711
  }, Jo = h.__private__.getVerticalCoordinateString = h.getVerticalCoordinateString = function(g) {
@@ -39823,10 +39820,10 @@ T* `) : g.join(` Tj
39823
39820
  isNaN(Oe) || (Ee = parseFloat(Oe));
39824
39821
  } }), this;
39825
39822
  }, xu = function() {
39826
- this.page = mn, this.currentPage = z, this.pages = ke.slice(0), this.pagesContext = vt.slice(0), this.x = Gn, this.y = Ot, this.matrix = Gi, this.width = dA(z), this.height = Xo(z), this.outputDestination = Re, this.id = "", this.objectNumber = -1;
39823
+ this.page = mn, this.currentPage = z, this.pages = ke.slice(0), this.pagesContext = bt.slice(0), this.x = Gn, this.y = Ot, this.matrix = Gi, this.width = dA(z), this.height = Xo(z), this.outputDestination = Re, this.id = "", this.objectNumber = -1;
39827
39824
  };
39828
39825
  xu.prototype.restore = function() {
39829
- mn = this.page, z = this.currentPage, vt = this.pagesContext, ke = this.pages, Gn = this.x, Ot = this.y, Gi = this.matrix, Cu(z, this.width), _u(z, this.height), Re = this.outputDestination;
39826
+ mn = this.page, z = this.currentPage, bt = this.pagesContext, ke = this.pages, Gn = this.x, Ot = this.y, Gi = this.matrix, Cu(z, this.width), _u(z, this.height), Re = this.outputDestination;
39830
39827
  };
39831
39828
  var kh = function(g, I, G, te, le) {
39832
39829
  Qs.push(new xu()), mn = z = 0, ke = [], Gn = g, Ot = I, Gi = le, fu([G, te]);
@@ -39864,13 +39861,13 @@ T* `) : g.join(` Tj
39864
39861
  G = I[le][0], te = I[le][1], g.subscribe.apply(g, [G].concat(typeof te == "function" ? [te] : te));
39865
39862
  }($t, ut.API.events) : h[Ec] = ut.API[Ec]);
39866
39863
  var dA = h.getPageWidth = function(g) {
39867
- return (vt[g = g || z].mediaBox.topRightX - vt[g].mediaBox.bottomLeftX) / ze;
39864
+ return (bt[g = g || z].mediaBox.topRightX - bt[g].mediaBox.bottomLeftX) / ze;
39868
39865
  }, Cu = h.setPageWidth = function(g, I) {
39869
- vt[g].mediaBox.topRightX = I * ze + vt[g].mediaBox.bottomLeftX;
39866
+ bt[g].mediaBox.topRightX = I * ze + bt[g].mediaBox.bottomLeftX;
39870
39867
  }, Xo = h.getPageHeight = function(g) {
39871
- return (vt[g = g || z].mediaBox.topRightY - vt[g].mediaBox.bottomLeftY) / ze;
39868
+ return (bt[g = g || z].mediaBox.topRightY - bt[g].mediaBox.bottomLeftY) / ze;
39872
39869
  }, _u = h.setPageHeight = function(g, I) {
39873
- vt[g].mediaBox.topRightY = I * ze + vt[g].mediaBox.bottomLeftY;
39870
+ bt[g].mediaBox.topRightY = I * ze + bt[g].mediaBox.bottomLeftY;
39874
39871
  };
39875
39872
  return h.internal = { pdfEscape: Yr, getStyle: Sh, getFont: Rm, getFontSize: X, getCharSpace: jm, getTextColor: Hm, getLineHeight: Fh, getLineHeightFactor: Th, getLineWidth: Cc, write: gt, getHorizontalCoordinate: fo, getVerticalCoordinate: Yo, getCoordinateString: Mm, getVerticalCoordinateString: Jo, collections: {}, newObject: Wn, newAdditionalObject: hc, newObjectDeferred: Qn, newObjectDeferredBegin: li, getFilters: Ms, putStream: Si, events: $t, scaleFactor: ze, pageSize: { getWidth: function() {
39876
39873
  return dA(z);
@@ -39926,7 +39923,7 @@ var xn = ut.API, Hv = 1, dc = function(t) {
39926
39923
  return t.replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
39927
39924
  }, rl = function(t) {
39928
39925
  return t.replace(/\\\\/g, "\\").replace(/\\\(/g, "(").replace(/\\\)/g, ")");
39929
- }, wt = function(t) {
39926
+ }, vt = function(t) {
39930
39927
  return t.toFixed(2);
39931
39928
  }, pa = function(t) {
39932
39929
  return t.toFixed(5);
@@ -39938,7 +39935,7 @@ var ci = function(t, e) {
39938
39935
  return t * Hv;
39939
39936
  }, $s = function(t) {
39940
39937
  var e = new T4(), n = et.internal.getHeight(t) || 0, r = et.internal.getWidth(t) || 0;
39941
- return e.BBox = [0, 0, Number(wt(r)), Number(wt(n))], e;
39938
+ return e.BBox = [0, 0, Number(vt(r)), Number(vt(n))], e;
39942
39939
  }, _G = xn.__acroform__.setBit = function(t, e) {
39943
39940
  if (t = t || 0, e = e || 0, isNaN(t) || isNaN(e))
39944
39941
  throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");
@@ -39965,13 +39962,13 @@ var ci = function(t, e) {
39965
39962
  return SG(t, e - 1);
39966
39963
  }, IG = xn.__acroform__.calculateCoordinates = function(t, e) {
39967
39964
  var n = e.internal.getHorizontalCoordinate, r = e.internal.getVerticalCoordinate, i = t[0], s = t[1], o = t[2], a = t[3], A = {};
39968
- return A.lowerLeft_X = n(i) || 0, A.lowerLeft_Y = r(s + a) || 0, A.upperRight_X = n(i + o) || 0, A.upperRight_Y = r(s) || 0, [Number(wt(A.lowerLeft_X)), Number(wt(A.lowerLeft_Y)), Number(wt(A.upperRight_X)), Number(wt(A.upperRight_Y))];
39965
+ return A.lowerLeft_X = n(i) || 0, A.lowerLeft_Y = r(s + a) || 0, A.upperRight_X = n(i + o) || 0, A.upperRight_Y = r(s) || 0, [Number(vt(A.lowerLeft_X)), Number(vt(A.lowerLeft_Y)), Number(vt(A.upperRight_X)), Number(vt(A.upperRight_Y))];
39969
39966
  }, FG = function(t) {
39970
39967
  if (t.appearanceStreamContent)
39971
39968
  return t.appearanceStreamContent;
39972
39969
  if (t.V || t.DV) {
39973
39970
  var e = [], n = t._V || t.DV, r = v1(t, n), i = t.scope.internal.getFont(t.fontName, t.fontStyle).id;
39974
- e.push("/Tx BMC"), e.push("q"), e.push("BT"), e.push(t.scope.__private__.encodeColorString(t.color)), e.push("/" + i + " " + wt(r.fontSize) + " Tf"), e.push("1 0 0 1 0 0 Tm"), e.push(r.text), e.push("ET"), e.push("Q"), e.push("EMC");
39971
+ e.push("/Tx BMC"), e.push("q"), e.push("BT"), e.push(t.scope.__private__.encodeColorString(t.color)), e.push("/" + i + " " + vt(r.fontSize) + " Tf"), e.push("1 0 0 1 0 0 Tm"), e.push(r.text), e.push("ET"), e.push("Q"), e.push("EMC");
39975
39972
  var s = $s(t);
39976
39973
  return s.scope = t.scope, s.stream = e.join(`
39977
39974
  `), s;
@@ -40056,9 +40053,9 @@ var ci = function(t, e) {
40056
40053
  default:
40057
40054
  c = 2;
40058
40055
  }
40059
- e += wt(c) + " " + wt(h) + ` Td
40056
+ e += vt(c) + " " + vt(h) + ` Td
40060
40057
  `, e += "(" + dc(P) + `) Tj
40061
- `, e += -wt(c) + ` 0 Td
40058
+ `, e += -vt(c) + ` 0 Td
40062
40059
  `, h = -(s + 2), l = 0, m = M ? b : b + 1, _++, v = "";
40063
40060
  }
40064
40061
  break;
@@ -40671,19 +40668,19 @@ var et = { CheckBox: { createAppearanceStream: function() {
40671
40668
  var e = $s(t);
40672
40669
  e.scope = t.scope;
40673
40670
  var n = [], r = t.scope.internal.getFont(t.fontName, t.fontStyle).id, i = t.scope.__private__.encodeColorString(t.color), s = v1(t, t.caption);
40674
- return n.push("0.749023 g"), n.push("0 0 " + wt(et.internal.getWidth(t)) + " " + wt(et.internal.getHeight(t)) + " re"), n.push("f"), n.push("BMC"), n.push("q"), n.push("0 0 1 rg"), n.push("/" + r + " " + wt(s.fontSize) + " Tf " + i), n.push("BT"), n.push(s.text), n.push("ET"), n.push("Q"), n.push("EMC"), e.stream = n.join(`
40671
+ return n.push("0.749023 g"), n.push("0 0 " + vt(et.internal.getWidth(t)) + " " + vt(et.internal.getHeight(t)) + " re"), n.push("f"), n.push("BMC"), n.push("q"), n.push("0 0 1 rg"), n.push("/" + r + " " + vt(s.fontSize) + " Tf " + i), n.push("BT"), n.push(s.text), n.push("ET"), n.push("Q"), n.push("EMC"), e.stream = n.join(`
40675
40672
  `), e;
40676
40673
  }, YesNormal: function(t) {
40677
40674
  var e = $s(t);
40678
40675
  e.scope = t.scope;
40679
40676
  var n = t.scope.internal.getFont(t.fontName, t.fontStyle).id, r = t.scope.__private__.encodeColorString(t.color), i = [], s = et.internal.getHeight(t), o = et.internal.getWidth(t), a = v1(t, t.caption);
40680
- return i.push("1 g"), i.push("0 0 " + wt(o) + " " + wt(s) + " re"), i.push("f"), i.push("q"), i.push("0 0 1 rg"), i.push("0 0 " + wt(o - 1) + " " + wt(s - 1) + " re"), i.push("W"), i.push("n"), i.push("0 g"), i.push("BT"), i.push("/" + n + " " + wt(a.fontSize) + " Tf " + r), i.push(a.text), i.push("ET"), i.push("Q"), e.stream = i.join(`
40677
+ return i.push("1 g"), i.push("0 0 " + vt(o) + " " + vt(s) + " re"), i.push("f"), i.push("q"), i.push("0 0 1 rg"), i.push("0 0 " + vt(o - 1) + " " + vt(s - 1) + " re"), i.push("W"), i.push("n"), i.push("0 g"), i.push("BT"), i.push("/" + n + " " + vt(a.fontSize) + " Tf " + r), i.push(a.text), i.push("ET"), i.push("Q"), e.stream = i.join(`
40681
40678
  `), e;
40682
40679
  }, OffPushDown: function(t) {
40683
40680
  var e = $s(t);
40684
40681
  e.scope = t.scope;
40685
40682
  var n = [];
40686
- return n.push("0.749023 g"), n.push("0 0 " + wt(et.internal.getWidth(t)) + " " + wt(et.internal.getHeight(t)) + " re"), n.push("f"), e.stream = n.join(`
40683
+ return n.push("0.749023 g"), n.push("0 0 " + vt(et.internal.getWidth(t)) + " " + vt(et.internal.getHeight(t)) + " re"), n.push("f"), e.stream = n.join(`
40687
40684
  `), e;
40688
40685
  } }, RadioButton: { Circle: { createAppearanceStream: function(t) {
40689
40686
  var e = { D: { Off: et.RadioButton.Circle.OffPushDown }, N: {} };
@@ -40723,19 +40720,19 @@ var et = { CheckBox: { createAppearanceStream: function() {
40723
40720
  var e = $s(t);
40724
40721
  e.scope = t.scope;
40725
40722
  var n = [], r = et.internal.calculateCross(t);
40726
- return n.push("q"), n.push("1 1 " + wt(et.internal.getWidth(t) - 2) + " " + wt(et.internal.getHeight(t) - 2) + " re"), n.push("W"), n.push("n"), n.push(wt(r.x1.x) + " " + wt(r.x1.y) + " m"), n.push(wt(r.x2.x) + " " + wt(r.x2.y) + " l"), n.push(wt(r.x4.x) + " " + wt(r.x4.y) + " m"), n.push(wt(r.x3.x) + " " + wt(r.x3.y) + " l"), n.push("s"), n.push("Q"), e.stream = n.join(`
40723
+ return n.push("q"), n.push("1 1 " + vt(et.internal.getWidth(t) - 2) + " " + vt(et.internal.getHeight(t) - 2) + " re"), n.push("W"), n.push("n"), n.push(vt(r.x1.x) + " " + vt(r.x1.y) + " m"), n.push(vt(r.x2.x) + " " + vt(r.x2.y) + " l"), n.push(vt(r.x4.x) + " " + vt(r.x4.y) + " m"), n.push(vt(r.x3.x) + " " + vt(r.x3.y) + " l"), n.push("s"), n.push("Q"), e.stream = n.join(`
40727
40724
  `), e;
40728
40725
  }, YesPushDown: function(t) {
40729
40726
  var e = $s(t);
40730
40727
  e.scope = t.scope;
40731
40728
  var n = et.internal.calculateCross(t), r = [];
40732
- return r.push("0.749023 g"), r.push("0 0 " + wt(et.internal.getWidth(t)) + " " + wt(et.internal.getHeight(t)) + " re"), r.push("f"), r.push("q"), r.push("1 1 " + wt(et.internal.getWidth(t) - 2) + " " + wt(et.internal.getHeight(t) - 2) + " re"), r.push("W"), r.push("n"), r.push(wt(n.x1.x) + " " + wt(n.x1.y) + " m"), r.push(wt(n.x2.x) + " " + wt(n.x2.y) + " l"), r.push(wt(n.x4.x) + " " + wt(n.x4.y) + " m"), r.push(wt(n.x3.x) + " " + wt(n.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
40729
+ return r.push("0.749023 g"), r.push("0 0 " + vt(et.internal.getWidth(t)) + " " + vt(et.internal.getHeight(t)) + " re"), r.push("f"), r.push("q"), r.push("1 1 " + vt(et.internal.getWidth(t) - 2) + " " + vt(et.internal.getHeight(t) - 2) + " re"), r.push("W"), r.push("n"), r.push(vt(n.x1.x) + " " + vt(n.x1.y) + " m"), r.push(vt(n.x2.x) + " " + vt(n.x2.y) + " l"), r.push(vt(n.x4.x) + " " + vt(n.x4.y) + " m"), r.push(vt(n.x3.x) + " " + vt(n.x3.y) + " l"), r.push("s"), r.push("Q"), e.stream = r.join(`
40733
40730
  `), e;
40734
40731
  }, OffPushDown: function(t) {
40735
40732
  var e = $s(t);
40736
40733
  e.scope = t.scope;
40737
40734
  var n = [];
40738
- return n.push("0.749023 g"), n.push("0 0 " + wt(et.internal.getWidth(t)) + " " + wt(et.internal.getHeight(t)) + " re"), n.push("f"), e.stream = n.join(`
40735
+ return n.push("0.749023 g"), n.push("0 0 " + vt(et.internal.getWidth(t)) + " " + vt(et.internal.getHeight(t)) + " re"), n.push("f"), e.stream = n.join(`
40739
40736
  `), e;
40740
40737
  } } }, createDefaultAppearanceStream: function(t) {
40741
40738
  var e = t.scope.internal.getFont(t.fontName, t.fontStyle).id, n = t.scope.__private__.encodeColorString(t.color);
@@ -43077,8 +43074,8 @@ function Ny(t) {
43077
43074
  Q = w[ze], X = w[ze + 1], he = w[ze + 2], we = w[ze + 3], je = w[ze + 4], Xe = w[ze + 5], it = w[ze + 6];
43078
43075
  var Gn = Q + (mt = w[ze + 7]), Ot = Q - mt, Gi = X + it, nn = X - it, hn = he + Xe, Ps = he - Xe, Vt = we + je, oA = we - je, gn = Gn + Vt, Wi = Gn - Vt, lo = Gi + hn, mn = Gi - hn;
43079
43076
  w[ze] = gn + lo, w[ze + 4] = gn - lo;
43080
- var vt = 0.707106781 * (mn + Wi);
43081
- w[ze + 2] = Wi + vt, w[ze + 6] = Wi - vt;
43077
+ var bt = 0.707106781 * (mn + Wi);
43078
+ w[ze + 2] = Wi + bt, w[ze + 6] = Wi - bt;
43082
43079
  var $t = 0.382683433 * ((gn = oA + Ps) - (mn = nn + Ot)), aA = 0.5411961 * gn + $t, fr = 1.306562965 * mn + $t, Os = 0.707106781 * (lo = Ps + nn), Qs = Ot + Os, lt = Ot - Os;
43083
43080
  w[ze + 5] = lt + aA, w[ze + 3] = lt - aA, w[ze + 1] = Qs + fr, w[ze + 7] = Qs - fr, ze += 8;
43084
43081
  }
@@ -43522,7 +43519,7 @@ function c5(t) {
43522
43519
  function mn() {
43523
43520
  this.Id = this.fd = this.Md = this.hb = this.ib = this.da = this.bd = this.cd = this.j = this.v = this.Da = this.Sd = this.ob = 0;
43524
43521
  }
43525
- function vt(u) {
43522
+ function bt(u) {
43526
43523
  return alert("todo:WebPSamplerProcessPlane"), u.T;
43527
43524
  }
43528
43525
  function $t(u, f) {
@@ -43551,7 +43548,7 @@ function c5(t) {
43551
43548
  alert("todo:use_scaling");
43552
43549
  else {
43553
43550
  if (C) {
43554
- if (f.Ib = vt, u.Kb) {
43551
+ if (f.Ib = bt, u.Kb) {
43555
43552
  if (y = u.U + 1 >> 1, f.memory = s(u.U + 2 * y), f.memory == null)
43556
43553
  return 0;
43557
43554
  f.ec = f.memory, f.fc = 0, f.cc = f.ec, f.dc = f.fc + u.U, f.Mc = f.cc, f.Nc = f.dc + y, f.Ib = $t, Oe();
@@ -45718,7 +45715,7 @@ function(t) {
45718
45715
  */
45719
45716
  function(t) {
45720
45717
  function e() {
45721
- return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-5e27a7a2.js")).catch(function(n) {
45718
+ return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-7dfb74f3.js")).catch(function(n) {
45722
45719
  return Promise.reject(new Error("Could not load canvg: " + n));
45723
45720
  }).then(function(n) {
45724
45721
  return n.default ? n.default : n;
@@ -46916,7 +46913,7 @@ _g = R4([
46916
46913
  ], _g);
46917
46914
  export {
46918
46915
  _n as $,
46919
- ht as A,
46916
+ pt as A,
46920
46917
  $a as B,
46921
46918
  $A as C,
46922
46919
  Ss as D,
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-254a87e0.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-03f71fc8.js";
2
2
  import "lit";
3
3
  import "lit/decorators.js";
4
4
  import "lit-html";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as r, v as C, f as m, e as p, n as i, p as l, M as d, o as u, q as y, m as P, C as F, t as S, Q as c, j as M, a as O, d as I, D as k, l as x, E as f, u as H, b as L, F as v, k as A, Y as D, $ as g, N as E, P as w, K as h, w as B, T as N, U as Q, R, a0 as b, V as j, W as q, X as z, i as G, h as J, Z as K, S as T, x as U, s as V, y as W, z as X, B as Y, r as Z, G as $, H as _, I as aa, L as na, O as sa, J as ta } from "./index-254a87e0.js";
1
+ import { A as r, v as C, f as m, e as p, n as i, p as l, M as d, o as u, q as y, m as P, C as F, t as S, Q as c, j as M, a as O, d as I, D as k, l as x, E as f, u as H, b as L, F as v, k as A, Y as D, $ as g, N as E, P as w, K as h, w as B, T as N, U as Q, R, a0 as b, V as j, W as q, X as z, i as G, h as J, Z as K, S as T, x as U, s as V, y as W, z as X, B as Y, r as Z, G as $, H as _, I as aa, L as na, O as sa, J as ta } from "./index-03f71fc8.js";
2
2
  import "lit";
3
3
  import "lit/decorators.js";
4
4
  import "lit-html";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {