@taxbit/react-sdk 0.3.2 → 0.3.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.
@@ -1,18 +1,18 @@
1
- import Qn, { useState as K, useEffect as X, createContext as mt, useContext as gt, useCallback as Fa, useMemo as _, useRef as Ln } from "react";
2
- const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Wa = {
1
+ import Xn, { useState as K, useEffect as X, createContext as gt, useContext as kt, useCallback as xa, useMemo as _, useRef as Gn } from "react";
2
+ const Wa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Ja = {
3
3
  taxDocumentation: {
4
- post: (e) => Va("tax-documentation", e),
5
- get: (e) => Va("tax-documentation?unmask_tin=true", e)
4
+ post: (e) => Wa("tax-documentation", e),
5
+ get: (e) => Wa("tax-documentation?unmask_tin=true", e)
6
6
  },
7
7
  taxDocumentationStatus: {
8
- get: (e) => Va("tax-documentation-status", e)
8
+ get: (e) => Wa("tax-documentation-status", e)
9
9
  }
10
- }, kt = (e) => e.replace(/([-_][a-z])/gi, (a) => a.toUpperCase().replace(/[-_]/g, "")), xa = (e) => Array.isArray(e) ? e.map((a) => xa(a)) : e !== Object(e) ? e : Object.fromEntries(
10
+ }, ht = (e) => e.replace(/([-_][a-z])/gi, (a) => a.toUpperCase().replace(/[-_]/g, "")), Ka = (e) => Array.isArray(e) ? e.map((a) => Ka(a)) : e !== Object(e) ? e : Object.fromEntries(
11
11
  Object.entries(e).map(([a, n]) => [
12
- kt(a),
13
- xa(n)
12
+ ht(a),
13
+ Ka(n)
14
14
  ])
15
- ), ce = (...e) => e.filter(Boolean).join(" "), ht = (e) => {
15
+ ), ce = (...e) => e.filter(Boolean).join(" "), vt = (e) => {
16
16
  try {
17
17
  const a = (/* @__PURE__ */ new Date()).getUTCFullYear(), n = e.substring(e.length - 4, e.length), r = a - Number(n);
18
18
  if (r > 0 && r < 131)
@@ -22,16 +22,16 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
22
22
  } catch {
23
23
  return !1;
24
24
  }
25
- }, vt = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), pt = (e) => {
25
+ }, pt = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), ft = (e) => {
26
26
  const a = new Date(e);
27
27
  return !isNaN(a.getTime()) && e === a.toLocaleDateString("en-US", {
28
28
  month: "2-digit",
29
29
  day: "2-digit",
30
30
  year: "numeric"
31
31
  });
32
- }, fe = (e) => e.map((a) => ({
32
+ }, Ae = (e) => e.map((a) => ({
33
33
  value: a
34
- })), ft = [
34
+ })), At = [
35
35
  "AB",
36
36
  "BC",
37
37
  "MB",
@@ -45,7 +45,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
45
45
  "QC",
46
46
  "SK",
47
47
  "YT"
48
- ], At = fe(ft), bt = [
48
+ ], bt = Ae(At), Ct = [
49
49
  "AD",
50
50
  "AE",
51
51
  "AF",
@@ -295,7 +295,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
295
295
  "ZA",
296
296
  "ZM",
297
297
  "ZW"
298
- ], Xn = [
298
+ ], $n = [
299
299
  "AT",
300
300
  "BE",
301
301
  "BG",
@@ -323,7 +323,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
323
323
  "SE",
324
324
  "SI",
325
325
  "SK"
326
- ], ua = fe(bt), Ct = fe(Xn), re = (e) => e ? Xn.includes(e) : !1, It = [
326
+ ], ca = Ae(Ct), It = Ae($n), re = (e) => e ? $n.includes(e) : !1, St = [
327
327
  "01",
328
328
  "02",
329
329
  "03",
@@ -355,7 +355,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
355
355
  "29",
356
356
  "30",
357
357
  "31"
358
- ], Gn = fe(It), St = [
358
+ ], Dn = Ae(St), Nt = [
359
359
  "A",
360
360
  "B",
361
361
  "C",
@@ -369,14 +369,14 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
369
369
  "K",
370
370
  "L",
371
371
  "M"
372
- ], Nt = fe(St), $n = [
372
+ ], Tt = Ae(Nt), et = [
373
373
  { value: "individual" },
374
374
  { value: "corporation" },
375
375
  { value: "partnership" },
376
376
  { value: "trust" },
377
377
  { value: "other" },
378
378
  { value: "disregardedEntity" }
379
- ], Tt = $n.map((e) => e.value), ni = [
379
+ ], Mt = et.map((e) => e.value), ti = [
380
380
  { value: "taxExemptOrganization" },
381
381
  { value: "privateFoundation" },
382
382
  { value: "internationalOrganization" },
@@ -384,17 +384,17 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
384
384
  { value: "foreignGovernmentControlledEntity" },
385
385
  { value: "foreignGovernmentIntegralPart" },
386
386
  { value: "estate" }
387
- ], Mt = ni.map((e) => e.value), yt = [
387
+ ], yt = ti.map((e) => e.value), jt = [
388
388
  { value: "individual" },
389
389
  { value: "corporation" },
390
390
  { value: "partnership" },
391
391
  { value: "trust" },
392
392
  { value: "other" }
393
- ], ti = [
393
+ ], ri = [
394
394
  { value: "simpleTrust" },
395
395
  { value: "complexTrust" },
396
396
  { value: "grantorTrust" }
397
- ], jt = ti.map((e) => e.value), Ot = [
397
+ ], Ot = ri.map((e) => e.value), zt = [
398
398
  "bg-bg",
399
399
  "cs-cz",
400
400
  "da-dk",
@@ -425,7 +425,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
425
425
  "sk-sk",
426
426
  "sl-si",
427
427
  "sv-se"
428
- ], zt = fe(Ot), Et = [
428
+ ], Et = Ae(zt), Bt = [
429
429
  "01",
430
430
  "02",
431
431
  "03",
@@ -438,7 +438,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
438
438
  "10",
439
439
  "11",
440
440
  "12"
441
- ], Bt = fe(Et), Pt = [
441
+ ], Pt = Ae(Bt), Rt = [
442
442
  "A",
443
443
  "B",
444
444
  "C",
@@ -452,7 +452,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
452
452
  "K",
453
453
  "L",
454
454
  "M"
455
- ], Rt = fe(Pt), et = [
455
+ ], wt = Ae(Rt), at = [
456
456
  { value: "individual" },
457
457
  { value: "soleProprietor" },
458
458
  { value: "llc" },
@@ -463,13 +463,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
463
463
  { value: "trustEstate" },
464
464
  { value: "other" },
465
465
  { value: "disregardedEntity" }
466
- ], wt = et.map((e) => e.value), ri = [
466
+ ], Ht = at.map((e) => e.value), oi = [
467
467
  { value: "cCorporation" },
468
468
  { value: "sCorporation" },
469
469
  { value: "partnership" }
470
- ], Ht = ri.map(
470
+ ], Lt = oi.map(
471
471
  (e) => e.value
472
- ), Lt = [
472
+ ), Gt = [
473
473
  { value: "individual" },
474
474
  { value: "llc" },
475
475
  { value: "cCorporation" },
@@ -477,7 +477,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
477
477
  { value: "partnership" },
478
478
  { value: "trustEstate" },
479
479
  { value: "other" }
480
- ], Gt = [
480
+ ], Dt = [
481
481
  "AL",
482
482
  "AK",
483
483
  "AS",
@@ -538,12 +538,12 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
538
538
  "WV",
539
539
  "WI",
540
540
  "WY"
541
- ], Dt = fe(Gt), at = /* @__PURE__ */ new Date(), Ut = at.getFullYear() - 120, Dn = at.getFullYear(), Ft = Array.from(
542
- { length: Dn - Ut },
543
- (e, a) => Dn - a
544
- ), xt = Ft.map((e) => ({
541
+ ], Ut = Ae(Dt), it = /* @__PURE__ */ new Date(), Ft = it.getFullYear() - 120, Un = it.getFullYear(), xt = Array.from(
542
+ { length: Un - Ft },
543
+ (e, a) => Un - a
544
+ ), Kt = xt.map((e) => ({
545
545
  value: e
546
- })), E = (e) => e === void 0 || e === "", F = (e) => !E(e), da = (e, a) => {
546
+ })), E = (e) => e === void 0 || e === "", F = (e) => !E(e), ua = (e, a) => {
547
547
  const n = (!a || a.includes("W-9")) && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes"), r = (!a || a.includes("W-8BEN") || a.includes("W-8BEN-E")) && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no"), s = (!a || a.includes("W-8BEN")) && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), o = (!a || (a == null ? void 0 : a.includes("W-8BEN-E"))) && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual"), d = (!a || a.includes("DAC7")) && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0, u = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), l = F(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry5);
548
548
  return {
549
549
  accountHolderIsDisregarded: u,
@@ -555,10 +555,10 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
555
555
  isW8Ben: s,
556
556
  isW8BenE: o
557
557
  };
558
- }, Kt = () => ({
558
+ }, Vt = () => ({
559
559
  accountHolderDateOfBirth: "dateOfBirth",
560
560
  regardedOwnerDateOfBirth: "dateOfBirth"
561
- }), Un = (e, a) => new Date(a ?? 2012, e, 0).getDate(), it = (e, a) => {
561
+ }), Fn = (e, a) => new Date(a ?? 2012, e, 0).getDate(), nt = (e, a) => {
562
562
  switch (e) {
563
563
  case "individual":
564
564
  return "nameOfIndividual";
@@ -581,7 +581,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
581
581
  default:
582
582
  return "name";
583
583
  }
584
- }, nt = (e) => {
584
+ }, tt = (e) => {
585
585
  switch (e) {
586
586
  case "individual":
587
587
  return "nameOfIndividual";
@@ -594,10 +594,10 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
594
594
  default:
595
595
  return "name";
596
596
  }
597
- }, Vt = (e) => e.accountHolderUsAccountType !== void 0 ? it(
597
+ }, Wt = (e) => e.accountHolderUsAccountType !== void 0 ? nt(
598
598
  e.accountHolderUsAccountType,
599
599
  e.accountHolderUsSmllcElection
600
- ) : e.accountHolderForeignAccountType !== void 0 ? nt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name", Wt = (e) => e.regardedOwnerUsPerson === "yes" ? it(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? nt(e.regardedOwnerForeignAccountType) : "name", Jt = (e) => ({
600
+ ) : e.accountHolderForeignAccountType !== void 0 ? tt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name", Jt = (e) => e.regardedOwnerUsPerson === "yes" ? nt(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? tt(e.regardedOwnerForeignAccountType) : "name", Zt = (e) => ({
601
601
  accountHolderIsIndividual: "isIndividual",
602
602
  accountHolderUsPerson: "usPerson",
603
603
  accountHolderUsAccountType: "usAccountType",
@@ -637,7 +637,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
637
637
  accountHolderVatIsNotRequired: "vatIsNotRequired",
638
638
  accountHolderBusinessRegistrationCountry: "businessRegistrationCountry",
639
639
  accountHolderBusinessRegistrationNumber: "businessRegistrationNumber",
640
- accountHolderName: Vt(e),
640
+ accountHolderName: Wt(e),
641
641
  accountHolderDateOfBirth: "dateOfBirth",
642
642
  accountHolderDbaName: "dbaName",
643
643
  accountHolderAddressStreet: "street",
@@ -667,7 +667,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
667
667
  regardedOwnerForeignTrustClassification: "foreignTrustClassification",
668
668
  regardedOwnerForeignOtherClassification: "foreignOtherClassification",
669
669
  regardedOwnerCountryOfCitizenship: "countryOfCitizenship",
670
- regardedOwnerName: Wt(e),
670
+ regardedOwnerName: Jt(e),
671
671
  regardedOwnerDateOfBirth: "dateOfBirth",
672
672
  regardedOwnerDbaName: "dbaName",
673
673
  regardedOwnerAddressStreet: "street",
@@ -683,14 +683,21 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
683
683
  regardedOwnerMailingAddressState: "state",
684
684
  regardedOwnerMailingAddressZip: "zip",
685
685
  regardedOwnerMailingAddressCountry: "country"
686
- }), tt = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), Zt = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), $a = (e) => Array.isArray(e) ? e.map((a) => $a(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
686
+ }), ge = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), rt = (e, a) => {
687
+ if (!a)
688
+ return e || {};
689
+ const n = { ...e };
690
+ return Yt(a).forEach((r) => {
691
+ qt(a[r]) ? (n[r] || (n[r] = {}), n[r] = rt(n[r], a[r])) : n[r] = a[r];
692
+ }), n;
693
+ }, qt = (e) => !!e && typeof e == "object" && !Array.isArray(e), Yt = (e) => Object.keys(e), _t = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), ei = (e) => Array.isArray(e) ? e.map((a) => ei(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
687
694
  Object.entries(e).map(
688
695
  ([a, n]) => [
689
- Zt(a),
690
- $a(n)
696
+ _t(a),
697
+ ei(n)
691
698
  ]
692
699
  )
693
- ), qt = "0.3.2", G = (e) => e === void 0 ? void 0 : e === "yes", Yt = (e) => {
700
+ ), Qt = "0.3.3", G = (e) => e === void 0 ? void 0 : e === "yes", Xt = (e) => {
694
701
  const a = {
695
702
  city: e.accountHolderAddressCity,
696
703
  country: e.accountHolderAddressCountry,
@@ -700,7 +707,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
700
707
  postalCode: e.accountHolderAddressZip
701
708
  };
702
709
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
703
- }, _t = (e) => {
710
+ }, $t = (e) => {
704
711
  const a = {
705
712
  city: e.regardedOwnerAddressCity,
706
713
  country: e.regardedOwnerAddressCountry,
@@ -710,7 +717,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
710
717
  postalCode: e.regardedOwnerAddressZip
711
718
  };
712
719
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
713
- }, Qt = (e) => {
720
+ }, er = (e) => {
714
721
  const a = {
715
722
  city: e.accountHolderMailingAddressCity,
716
723
  country: e.accountHolderMailingAddressCountry,
@@ -720,7 +727,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
720
727
  postalCode: e.accountHolderMailingAddressZip
721
728
  };
722
729
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
723
- }, Xt = (e) => {
730
+ }, ar = (e) => {
724
731
  const a = {
725
732
  city: e.regardedOwnerMailingAddressCity,
726
733
  country: e.regardedOwnerMailingAddressCountry,
@@ -730,7 +737,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
730
737
  postalCode: e.regardedOwnerMailingAddressZip
731
738
  };
732
739
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
733
- }, $t = (e) => {
740
+ }, ir = (e) => {
734
741
  const n = [
735
742
  {
736
743
  country: e.accountHolderTaxResidenceCountry1,
@@ -771,13 +778,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
771
778
  (r) => Object.entries(r).some(([, s]) => s !== void 0)
772
779
  );
773
780
  return n.length > 0 ? n : void 0;
774
- }, er = (e) => {
781
+ }, nr = (e) => {
775
782
  const a = {
776
- address: Yt(e),
783
+ address: Xt(e),
777
784
  countryOfCitizenship: e.accountHolderCountryOfCitizenship,
778
785
  dateOfBirth: e.accountHolderDateOfBirth,
779
786
  dbaName: e.accountHolderDbaName,
780
- mailingAddress: Qt(e),
787
+ mailingAddress: er(e),
781
788
  mailingAddressIsDifferent: G(
782
789
  e.accountHolderMailingAddressIsDifferent
783
790
  ),
@@ -790,7 +797,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
790
797
  ftinNotLegallyRequired: G(
791
798
  e.accountHolderForeignTinIsNotRequired
792
799
  ),
793
- taxResidences: $t(e),
800
+ taxResidences: ir(e),
794
801
  tin: e.accountHolderUsTin,
795
802
  vatin: e.accountHolderVatIdentificationNumber,
796
803
  vatinCountry: e.accountHolderVatCountry,
@@ -812,13 +819,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
812
819
  foreignOtherClassification: e.accountHolderForeignOtherClassification
813
820
  };
814
821
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
815
- }, ar = (e) => {
822
+ }, tr = (e) => {
816
823
  const a = {
817
- address: _t(e),
824
+ address: $t(e),
818
825
  countryOfCitizenship: e.regardedOwnerCountryOfCitizenship,
819
826
  dateOfBirth: e.regardedOwnerDateOfBirth,
820
827
  dbaName: e.regardedOwnerDbaName,
821
- mailingAddress: Xt(e),
828
+ mailingAddress: ar(e),
822
829
  mailingAddressIsDifferent: G(
823
830
  e.regardedOwnerMailingAddressIsDifferent
824
831
  ),
@@ -840,9 +847,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
840
847
  foreignOtherClassification: e.regardedOwnerForeignOtherClassification
841
848
  };
842
849
  return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
843
- }, ir = (e) => ({
844
- accountHolder: er(e),
845
- regardedOwner: ar(e),
850
+ }, rr = (e) => ({
851
+ accountHolder: nr(e),
852
+ regardedOwner: tr(e),
846
853
  hasCertified: G(e.iCertifyToAll),
847
854
  isNotSubjectBackupWithholding: G(
848
855
  e.iAmNotSubjectToBackupWithholding
@@ -852,32 +859,32 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
852
859
  ),
853
860
  signature: e.signature,
854
861
  documentType: "COMPREHENSIVE",
855
- source: `Taxbit React SDK v${qt}`,
862
+ source: `Taxbit React SDK v${Qt}`,
856
863
  signatureDate: (/* @__PURE__ */ new Date()).toISOString()
857
- }), Fn = (e) => {
858
- if (e && Tt.includes(
859
- e
860
- ))
861
- return e;
862
- }, xn = (e) => {
864
+ }), xn = (e) => {
863
865
  if (e && Mt.includes(
864
866
  e
865
867
  ))
866
868
  return e;
867
869
  }, Kn = (e) => {
868
- if (e && jt.includes(
870
+ if (e && yt.includes(
869
871
  e
870
872
  ))
871
873
  return e;
872
874
  }, Vn = (e) => {
873
- if (e && Ht.includes(e))
875
+ if (e && Ot.includes(
876
+ e
877
+ ))
874
878
  return e;
875
879
  }, Wn = (e) => {
876
- if (e && wt.includes(
880
+ if (e && Lt.includes(e))
881
+ return e;
882
+ }, Jn = (e) => {
883
+ if (e && Ht.includes(
877
884
  e
878
885
  ))
879
886
  return e;
880
- }, Ra = [
887
+ }, wa = [
881
888
  "000000000",
882
889
  "111111111",
883
890
  "222222222",
@@ -894,47 +901,47 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
894
901
  "876543210",
895
902
  "987654321",
896
903
  "098765432"
897
- ], wa = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Ja = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, Za = /^\d{5}$|^\d{5}-\d{4}$/, rt = (e) => /^(.)\1+$/.test(e), ei = (e) => F(e) && e.length >= 2 && e.length <= 22 && !rt(e), nr = (e) => F(e) && e.length >= 8 && e.length <= 14 && !rt(e), Ha = (e) => (a) => {
904
+ ], Ha = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Za = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, qa = /^\d{5}$|^\d{5}-\d{4}$/, ot = (e) => /^(.)\1+$/.test(e), ai = (e) => F(e) && e.length >= 2 && e.length <= 22 && !ot(e), or = (e) => F(e) && e.length >= 8 && e.length <= 14 && !ot(e), La = (e) => (a) => {
898
905
  const n = a[`accountHolderTaxResidenceForeignTin${e}`];
899
- if (!ei(n) && F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
906
+ if (!ai(n) && F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
900
907
  a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
901
908
  ))
902
909
  return "invalid";
903
910
  if (F(n) && a[`accountHolderTaxResidenceCountry${e}`] === a.accountHolderVatCountry && n === a.accountHolderVatIdentificationNumber)
904
911
  return "mustNotMatchVatin";
905
- }, qa = {
912
+ }, Ya = {
906
913
  accountHolderDateOfBirth: (e) => {
907
914
  const a = e.accountHolderDateOfBirth;
908
915
  if (F(a)) {
909
- if (!vt(a))
910
- return "mustBeInDateFormat";
911
916
  if (!pt(a))
917
+ return "mustBeInDateFormat";
918
+ if (!ft(a))
912
919
  return "invalidDate";
913
- if (!ht(a))
920
+ if (!vt(a))
914
921
  return "mustBeValidBirthDate";
915
922
  }
916
923
  },
917
924
  accountHolderAddressZip: (e) => {
918
925
  const a = e.accountHolderAddressZip;
919
926
  if (e.accountHolderAddressCountry === "US") {
920
- if (!Za.test(a))
927
+ if (!qa.test(a))
921
928
  return "mustBeFiveOrNineDigits";
922
929
  } else if (e.accountHolderAddressCountry === "CA") {
923
930
  if (a.length !== 6)
924
931
  return "mustBeSixCharacters";
925
- if (!Ja.test(a))
932
+ if (!Za.test(a))
926
933
  return "invalid";
927
934
  }
928
935
  },
929
936
  accountHolderMailingAddressZip: (e) => {
930
937
  const a = e.accountHolderMailingAddressZip;
931
938
  if (e.accountHolderMailingAddressCountry === "US") {
932
- if (!Za.test(a))
939
+ if (!qa.test(a))
933
940
  return "mustBeFiveOrNineDigits";
934
941
  } else if (e.accountHolderMailingAddressCountry === "CA") {
935
942
  if (a.length !== 6)
936
943
  return "mustBeSixCharacters";
937
- if (!Ja.test(a))
944
+ if (!Za.test(a))
938
945
  return "invalid";
939
946
  }
940
947
  },
@@ -943,40 +950,40 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
943
950
  if ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0) {
944
951
  if (E(a))
945
952
  return;
946
- if (!wa.test(a))
953
+ if (!Ha.test(a))
947
954
  return "mustBeNineDigits";
948
- if (Ra.includes(a))
955
+ if (wa.includes(a))
949
956
  return "invalid";
950
957
  } else if ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && a !== void 0 && a !== "") {
951
- if (!wa.test(a))
958
+ if (!Ha.test(a))
952
959
  return "mustBeNineDigits";
953
- if (Ra.includes(a))
960
+ if (wa.includes(a))
954
961
  return "invalid";
955
962
  }
956
963
  },
957
964
  accountHolderVatIdentificationNumber: (e) => {
958
965
  const a = e.accountHolderVatIdentificationNumber;
959
- if (e.accountHolderVatIsNotRequired !== "yes" && !nr(a))
966
+ if (e.accountHolderVatIsNotRequired !== "yes" && !or(a))
960
967
  return "invalid";
961
968
  },
962
969
  accountHolderBusinessRegistrationNumber: (e) => {
963
970
  const a = e.accountHolderBusinessRegistrationNumber;
964
- if (e.accountHolderIsIndividual === "no" && !ei(a))
971
+ if (e.accountHolderIsIndividual === "no" && !ai(a))
965
972
  return "invalid";
966
973
  if (F(a) && e.accountHolderBusinessRegistrationCountry === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
967
974
  return "mustNotMatchVatin";
968
975
  },
969
976
  accountHolderTaxResidenceForeignTin1: (e) => {
970
977
  const a = e.accountHolderTaxResidenceForeignTin1;
971
- if (!ei(a) && E(e.accountHolderTaxResidenceForeignTin1IsNotRequired))
978
+ if (!ai(a) && E(e.accountHolderTaxResidenceForeignTin1IsNotRequired))
972
979
  return "invalid";
973
980
  if (F(a) && e.accountHolderTaxResidenceCountry1 === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
974
981
  return "mustNotMatchVatin";
975
982
  },
976
- accountHolderTaxResidenceForeignTin2: Ha("2"),
977
- accountHolderTaxResidenceForeignTin3: Ha("3"),
978
- accountHolderTaxResidenceForeignTin4: Ha("4"),
979
- accountHolderTaxResidenceForeignTin5: Ha("5"),
983
+ accountHolderTaxResidenceForeignTin2: La("2"),
984
+ accountHolderTaxResidenceForeignTin3: La("3"),
985
+ accountHolderTaxResidenceForeignTin4: La("4"),
986
+ accountHolderTaxResidenceForeignTin5: La("5"),
980
987
  regardedOwnerDbaName: (e) => {
981
988
  const a = e.regardedOwnerDbaName;
982
989
  if (e.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
@@ -996,26 +1003,26 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
996
1003
  regardedOwnerMailingAddressZip: (e) => {
997
1004
  const a = e.regardedOwnerMailingAddressZip;
998
1005
  if (e.regardedOwnerMailingAddressCountry === "US") {
999
- if (!Za.test(a))
1006
+ if (!qa.test(a))
1000
1007
  return "mustBeFiveOrNineDigits";
1001
1008
  } else if (e.regardedOwnerMailingAddressCountry === "CA") {
1002
1009
  if (a.length !== 6)
1003
1010
  return "mustBeSixCharacters";
1004
- if (!Ja.test(a))
1011
+ if (!Za.test(a))
1005
1012
  return "invalid";
1006
1013
  }
1007
1014
  },
1008
1015
  regardedOwnerUsTin: (e) => {
1009
1016
  const a = e.regardedOwnerUsTin;
1010
1017
  if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") {
1011
- if (F(a) && !wa.test(a))
1018
+ if (F(a) && !Ha.test(a))
1012
1019
  return "mustBeNineDigits";
1013
- if (F(a) && Ra.includes(a))
1020
+ if (F(a) && wa.includes(a))
1014
1021
  return "invalid";
1015
1022
  } else if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "no" && a !== void 0 && a !== "") {
1016
- if (!wa.test(a))
1023
+ if (!Ha.test(a))
1017
1024
  return "mustBeNineDigits";
1018
- if (Ra.includes(a))
1025
+ if (wa.includes(a))
1019
1026
  return "invalid";
1020
1027
  }
1021
1028
  },
@@ -1038,24 +1045,24 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1038
1045
  if (e.signature !== e.accountHolderName && (e.accountHolderUsAccountType === "individual" || e.accountHolderForeignAccountType === "individual"))
1039
1046
  return "mustMatchName";
1040
1047
  }
1041
- }, tr = (e, a, n) => Object.fromEntries(
1048
+ }, sr = (e, a, n) => Object.fromEntries(
1042
1049
  Object.keys(e).map((r) => {
1043
1050
  var o;
1044
1051
  const s = e[r];
1045
1052
  return [
1046
1053
  r,
1047
- n[r] && (a[r] && E(s) && "required" || ((o = qa[r]) == null ? void 0 : o.call(qa, e)) || void 0)
1054
+ n[r] && (a[r] && E(s) && "required" || ((o = Ya[r]) == null ? void 0 : o.call(Ya, e)) || void 0)
1048
1055
  ];
1049
1056
  }).filter(([, r]) => r)
1050
- ), rr = (e, a) => Object.fromEntries(
1057
+ ), lr = (e, a) => Object.fromEntries(
1051
1058
  Object.keys(e).map((n) => {
1052
1059
  var r;
1053
1060
  return [
1054
1061
  n,
1055
- a[n] && ((r = Ya[n]) == null ? void 0 : r.call(Ya, e))
1062
+ a[n] && ((r = _a[n]) == null ? void 0 : r.call(_a, e))
1056
1063
  ];
1057
1064
  }).filter(([, n]) => n)
1058
- ), ot = (e) => ({
1065
+ ), st = (e) => ({
1059
1066
  accountHolderUsPerson: e.includes("W-9") && (e.includes("W-8BEN") || e.includes("W-8BEN-E")),
1060
1067
  accountHolderIsEuResident: e.includes("DAC7"),
1061
1068
  accountHolderIsIndividual: e.includes("DAC7") && !(e.includes("W-9") || e.includes("W-8BEN") || e.includes("W-8BEN-E")),
@@ -1161,7 +1168,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1161
1168
  exemptPayeeCode: e.includes("W-9"),
1162
1169
  exemptFatcaCode: e.includes("W-9"),
1163
1170
  accountHolderTaxResidences: e.includes("DAC7")
1164
- }), or = (e = {}, a) => {
1171
+ }), dr = (e = {}, a) => {
1165
1172
  const {
1166
1173
  accountHolderIsDisregarded: n,
1167
1174
  isW9: r,
@@ -1170,7 +1177,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1170
1177
  hasNoEUTaxId: d,
1171
1178
  hasTaxResidence: u,
1172
1179
  isDac7: m
1173
- } = da(e), l = m && e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes";
1180
+ } = ua(e), l = m && e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes";
1174
1181
  return {
1175
1182
  ...a,
1176
1183
  // Account Holder Account Classification
@@ -1269,9 +1276,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1269
1276
  iHaveLegalCapacityToSign: r,
1270
1277
  accountHolderTaxResidences: l
1271
1278
  };
1272
- }, La = (e) => e.accountHolderAddressCountry === "US", I = () => !0, Ga = (e) => (a) => F(a[`accountHolderTaxResidenceForeignTin${e}`]) || a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes", Da = (e) => (a) => F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
1279
+ }, Ga = (e) => e.accountHolderAddressCountry === "US", I = () => !0, Da = (e) => (a) => F(a[`accountHolderTaxResidenceForeignTin${e}`]) || a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes", Ua = (e) => (a) => F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
1273
1280
  a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
1274
- ), Ya = {
1281
+ ), _a = {
1275
1282
  accountHolderUsPerson: I,
1276
1283
  accountHolderIsEuResident: I,
1277
1284
  accountHolderIsIndividual: I,
@@ -1291,12 +1298,12 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1291
1298
  accountHolderDateOfBirth: (e) => (e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.accountHolderIsIndividual) === "yes",
1292
1299
  accountHolderAddressCountry: I,
1293
1300
  accountHolderAddressStreet: I,
1294
- accountHolderAddressState: La,
1301
+ accountHolderAddressState: Ga,
1295
1302
  accountHolderAddressCity: I,
1296
1303
  accountHolderAddressZip: (e) => e.accountHolderAddressCountry === "US" || e.accountHolderAddressCountry === "CA",
1297
1304
  accountHolderMailingAddressCountry: I,
1298
1305
  accountHolderMailingAddressStreet: I,
1299
- accountHolderMailingAddressState: La,
1306
+ accountHolderMailingAddressState: Ga,
1300
1307
  accountHolderMailingAddressCity: I,
1301
1308
  accountHolderMailingAddressZip: (e) => e.accountHolderMailingAddressCountry === "US" || e.accountHolderMailingAddressCountry === "CA",
1302
1309
  accountHolderUsTin: (e) => (e == null ? void 0 : e.accountHolderUsPerson) === "yes",
@@ -1306,23 +1313,23 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1306
1313
  accountHolderBusinessRegistrationNumber: (e) => e.accountHolderIsIndividual === "no",
1307
1314
  accountHolderBusinessRegistrationCountry: (e) => e.accountHolderIsIndividual === "no",
1308
1315
  accountHolderCityOfBirth: (e) => {
1309
- const { hasNoEUTaxId: a } = da(e);
1316
+ const { hasNoEUTaxId: a } = ua(e);
1310
1317
  return a;
1311
1318
  },
1312
1319
  accountHolderCountryOfBirth: (e) => {
1313
- const { hasNoEUTaxId: a } = da(e);
1320
+ const { hasNoEUTaxId: a } = ua(e);
1314
1321
  return a;
1315
1322
  },
1316
1323
  accountHolderTaxResidenceCountry1: I,
1317
1324
  accountHolderTaxResidenceForeignTin1: (e) => E(e.accountHolderTaxResidenceForeignTin1IsNotRequired),
1318
- accountHolderTaxResidenceCountry2: Ga("2"),
1319
- accountHolderTaxResidenceForeignTin2: Da("2"),
1320
- accountHolderTaxResidenceCountry3: Ga("3"),
1321
- accountHolderTaxResidenceForeignTin3: Da("3"),
1322
- accountHolderTaxResidenceCountry4: Ga("4"),
1323
- accountHolderTaxResidenceForeignTin4: Da("4"),
1324
- accountHolderTaxResidenceCountry5: Ga("5"),
1325
- accountHolderTaxResidenceForeignTin5: Da("5"),
1325
+ accountHolderTaxResidenceCountry2: Da("2"),
1326
+ accountHolderTaxResidenceForeignTin2: Ua("2"),
1327
+ accountHolderTaxResidenceCountry3: Da("3"),
1328
+ accountHolderTaxResidenceForeignTin3: Ua("3"),
1329
+ accountHolderTaxResidenceCountry4: Da("4"),
1330
+ accountHolderTaxResidenceForeignTin4: Ua("4"),
1331
+ accountHolderTaxResidenceCountry5: Da("5"),
1332
+ accountHolderTaxResidenceForeignTin5: Ua("5"),
1326
1333
  regardedOwnerUsPerson: I,
1327
1334
  regardedOwnerUsAccountType: I,
1328
1335
  regardedOwnerUsLlcClassification: I,
@@ -1339,20 +1346,20 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1339
1346
  regardedOwnerDateOfBirth: I,
1340
1347
  regardedOwnerAddressCountry: I,
1341
1348
  regardedOwnerAddressStreet: I,
1342
- regardedOwnerAddressState: La,
1349
+ regardedOwnerAddressState: Ga,
1343
1350
  regardedOwnerAddressCity: I,
1344
1351
  regardedOwnerAddressZip: (e) => e.regardedOwnerAddressCountry === "US" || e.regardedOwnerAddressCountry === "CA",
1345
1352
  regardedOwnerMailingAddressCountry: I,
1346
1353
  regardedOwnerMailingAddressStreet: I,
1347
- regardedOwnerMailingAddressState: La,
1354
+ regardedOwnerMailingAddressState: Ga,
1348
1355
  regardedOwnerMailingAddressCity: I,
1349
1356
  regardedOwnerMailingAddressZip: (e) => e.regardedOwnerMailingAddressCountry === "US" || e.regardedOwnerMailingAddressCountry === "CA",
1350
1357
  regardedOwnerUsTin: (e) => (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes",
1351
1358
  regardedOwnerForeignTin: (e) => e.regardedOwnerForeignTinIsNotRequired !== "yes",
1352
1359
  iConfirmTheInformationIsCorrectComplete: I,
1353
1360
  signature: I
1354
- }, Jn = (e, a) => {
1355
- var s, o, d, u, m, l, v, g, A, p, S, N, T, R, P, ee, L, ae, se, Ie, Se, le, de, Ne, ue, V, q, ie, z, W, ge, ke, Re, we, He, Le, We, h, B, Y, he, Ge, je, ca, Je, ma, ga, Oe, ze, Ze, qe, Ee, ka, ha, De, va, pa, Ye, _e, Te, fa, Qe, Xe, Ue, Aa, ba, Ca, Ia, Sa, Na, Ta, Fe, $e, ve, xe, Ke, ea, Ma, aa, ya, ia, na, ja, Oa, ta, za, Ea, Ba, Pa, t, c, k, b, y, j, M, C, U, w, H, J, pe, ra, ne, oi, si, li, di, ui, ci, mi, gi, ki, hi, vi, pi, fi, Ai, bi, Ci, Ii, Si, Ni, Ti, Mi, yi, ji, Oi, zi, Ei, Bi, Pi, Ri, wi, Hi, Li, Gi, Di, Ui, Fi, xi, Ki, Vi, Wi, Ji, Zi, qi, Yi, _i, Qi, Xi, $i, en, an, nn, tn, rn, on, sn, ln, dn, un, cn, mn, gn, kn, hn, vn, pn, fn, An, bn, Cn, In, Sn, Nn, Tn, Mn, yn, jn, On, zn, En, Bn, Pn, Rn, wn, Hn;
1361
+ }, Zn = (e, a) => {
1362
+ var s, o, d, u, m, l, v, g, A, p, S, N, T, R, P, ee, L, ae, se, Se, Ne, le, de, Te, ue, V, q, ie, z, W, ke, he, we, He, Le, Ge, Je, h, B, Y, ve, De, Oe, ma, Ze, ga, ka, ze, Ee, qe, Ye, Be, ha, va, Ue, pa, fa, _e, Qe, Me, Aa, Xe, $e, Fe, ba, Ca, Ia, Sa, Na, Ta, Ma, xe, ea, pe, Ke, Ve, aa, ya, ia, ja, na, ta, Oa, za, ra, Ea, Ba, Pa, Ra, t, c, k, b, y, j, M, C, U, w, H, J, fe, oa, ne, si, li, di, ui, ci, mi, gi, ki, hi, vi, pi, fi, Ai, bi, Ci, Ii, Si, Ni, Ti, Mi, yi, ji, Oi, zi, Ei, Bi, Pi, Ri, wi, Hi, Li, Gi, Di, Ui, Fi, xi, Ki, Vi, Wi, Ji, Zi, qi, Yi, _i, Qi, Xi, $i, en, an, nn, tn, rn, on, sn, ln, dn, un, cn, mn, gn, kn, hn, vn, pn, fn, An, bn, Cn, In, Sn, Nn, Tn, Mn, yn, jn, On, zn, En, Bn, Pn, Rn, wn, Hn, Ln;
1356
1363
  if (e == null)
1357
1364
  return {};
1358
1365
  const n = {
@@ -1369,119 +1376,119 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1369
1376
  accountHolderAddressStreet2: (R = (T = e.accountHolder) == null ? void 0 : T.address) == null ? void 0 : R.secondLine,
1370
1377
  accountHolderAddressCity: (ee = (P = e.accountHolder) == null ? void 0 : P.address) == null ? void 0 : ee.city,
1371
1378
  accountHolderAddressState: (ae = (L = e.accountHolder) == null ? void 0 : L.address) == null ? void 0 : ae.stateOrProvince,
1372
- accountHolderAddressZip: (Ie = (se = e.accountHolder) == null ? void 0 : se.address) == null ? void 0 : Ie.postalCode,
1373
- accountHolderAddressCountry: (le = (Se = e.accountHolder) == null ? void 0 : Se.address) == null ? void 0 : le.country,
1379
+ accountHolderAddressZip: (Se = (se = e.accountHolder) == null ? void 0 : se.address) == null ? void 0 : Se.postalCode,
1380
+ accountHolderAddressCountry: (le = (Ne = e.accountHolder) == null ? void 0 : Ne.address) == null ? void 0 : le.country,
1374
1381
  accountHolderMailingAddressIsDifferent: (de = e.accountHolder) != null && de.mailingAddressIsDifferent ? "yes" : void 0,
1375
- accountHolderMailingAddressStreet: (ue = (Ne = e.accountHolder) == null ? void 0 : Ne.mailingAddress) == null ? void 0 : ue.firstLine,
1382
+ accountHolderMailingAddressStreet: (ue = (Te = e.accountHolder) == null ? void 0 : Te.mailingAddress) == null ? void 0 : ue.firstLine,
1376
1383
  accountHolderMailingAddressStreet2: (q = (V = e.accountHolder) == null ? void 0 : V.mailingAddress) == null ? void 0 : q.secondLine,
1377
1384
  accountHolderMailingAddressCity: (z = (ie = e.accountHolder) == null ? void 0 : ie.mailingAddress) == null ? void 0 : z.city,
1378
- accountHolderMailingAddressState: (ge = (W = e.accountHolder) == null ? void 0 : W.mailingAddress) == null ? void 0 : ge.stateOrProvince,
1379
- accountHolderMailingAddressZip: (Re = (ke = e.accountHolder) == null ? void 0 : ke.mailingAddress) == null ? void 0 : Re.postalCode,
1380
- accountHolderMailingAddressCountry: (He = (we = e.accountHolder) == null ? void 0 : we.mailingAddress) == null ? void 0 : He.country,
1381
- accountHolderIsIndividual: ((Le = e.accountHolder) == null ? void 0 : Le.isIndividual) === !0 ? "yes" : ((We = e.accountHolder) == null ? void 0 : We.isIndividual) === !1 ? "no" : void 0,
1385
+ accountHolderMailingAddressState: (ke = (W = e.accountHolder) == null ? void 0 : W.mailingAddress) == null ? void 0 : ke.stateOrProvince,
1386
+ accountHolderMailingAddressZip: (we = (he = e.accountHolder) == null ? void 0 : he.mailingAddress) == null ? void 0 : we.postalCode,
1387
+ accountHolderMailingAddressCountry: (Le = (He = e.accountHolder) == null ? void 0 : He.mailingAddress) == null ? void 0 : Le.country,
1388
+ accountHolderIsIndividual: ((Ge = e.accountHolder) == null ? void 0 : Ge.isIndividual) === !0 ? "yes" : ((Je = e.accountHolder) == null ? void 0 : Je.isIndividual) === !1 ? "no" : void 0,
1382
1389
  accountHolderIsEuResident: ((h = e.accountHolder) == null ? void 0 : h.isEuResident) === !0 ? "yes" : ((B = e.accountHolder) == null ? void 0 : B.isEuResident) === !1 ? "no" : void 0,
1383
- accountHolderUsPerson: ((Y = e.accountHolder) == null ? void 0 : Y.isUsPerson) === !0 ? "yes" : ((he = e.accountHolder) == null ? void 0 : he.isUsPerson) === !1 ? "no" : void 0,
1384
- accountHolderUsAccountType: Wn(
1385
- (Ge = e.accountHolder) == null ? void 0 : Ge.usAccountType
1390
+ accountHolderUsPerson: ((Y = e.accountHolder) == null ? void 0 : Y.isUsPerson) === !0 ? "yes" : ((ve = e.accountHolder) == null ? void 0 : ve.isUsPerson) === !1 ? "no" : void 0,
1391
+ accountHolderUsAccountType: Jn(
1392
+ (De = e.accountHolder) == null ? void 0 : De.usAccountType
1386
1393
  ),
1387
- accountHolderUsSmllcElection: ((je = e.accountHolder) == null ? void 0 : je.usSmllcElection) === !0 ? "yes" : ((ca = e.accountHolder) == null ? void 0 : ca.usSmllcElection) === !1 ? "no" : void 0,
1388
- accountHolderUsLlcClassification: Vn(
1389
- (Je = e.accountHolder) == null ? void 0 : Je.usLlcClassification
1394
+ accountHolderUsSmllcElection: ((Oe = e.accountHolder) == null ? void 0 : Oe.usSmllcElection) === !0 ? "yes" : ((ma = e.accountHolder) == null ? void 0 : ma.usSmllcElection) === !1 ? "no" : void 0,
1395
+ accountHolderUsLlcClassification: Wn(
1396
+ (Ze = e.accountHolder) == null ? void 0 : Ze.usLlcClassification
1390
1397
  ),
1391
- accountHolderUsOtherClassification: (ma = e.accountHolder) == null ? void 0 : ma.usOtherClassification,
1392
- accountHolderUsTrustEstateEin: ((ga = e.accountHolder) == null ? void 0 : ga.usTrustEstateEin) === !0 ? "yes" : ((Oe = e.accountHolder) == null ? void 0 : Oe.usTrustEstateEin) === !1 ? "no" : void 0,
1393
- accountHolderForeignAccountType: Fn(
1394
- (ze = e.accountHolder) == null ? void 0 : ze.foreignAccountType
1398
+ accountHolderUsOtherClassification: (ga = e.accountHolder) == null ? void 0 : ga.usOtherClassification,
1399
+ accountHolderUsTrustEstateEin: ((ka = e.accountHolder) == null ? void 0 : ka.usTrustEstateEin) === !0 ? "yes" : ((ze = e.accountHolder) == null ? void 0 : ze.usTrustEstateEin) === !1 ? "no" : void 0,
1400
+ accountHolderForeignAccountType: xn(
1401
+ (Ee = e.accountHolder) == null ? void 0 : Ee.foreignAccountType
1395
1402
  ),
1396
- accountHolderForeignTrustClassification: Kn(
1397
- (Ze = e.accountHolder) == null ? void 0 : Ze.foreignTrustClassification
1403
+ accountHolderForeignTrustClassification: Vn(
1404
+ (qe = e.accountHolder) == null ? void 0 : qe.foreignTrustClassification
1398
1405
  ),
1399
- accountHolderForeignOtherClassification: xn(
1400
- (qe = e.accountHolder) == null ? void 0 : qe.foreignOtherClassification
1406
+ accountHolderForeignOtherClassification: Kn(
1407
+ (Ye = e.accountHolder) == null ? void 0 : Ye.foreignOtherClassification
1401
1408
  ),
1402
1409
  accountHolderFinancialAccountName: E(
1403
- (Ee = e.accountHolder) == null ? void 0 : Ee.financialAccountName
1404
- ) ? (ka = e.accountHolder) == null ? void 0 : ka.name : (ha = e.accountHolder) == null ? void 0 : ha.financialAccountName,
1405
- accountHolderFinancialAccountIdentifier: (De = e.accountHolder) == null ? void 0 : De.financialAccountIdentifier,
1406
- accountHolderVatIdentificationNumber: (va = e.accountHolder) != null && va.vatinNotRequired || (pa = e.accountHolder) == null ? void 0 : pa.vatin,
1407
- accountHolderVatCountry: (Ye = e.accountHolder) != null && Ye.vatinNotRequired || (_e = e.accountHolder) == null ? void 0 : _e.vatinCountry,
1408
- accountHolderVatIsNotRequired: (Te = e.accountHolder) != null && Te.vatinNotRequired ? "yes" : void 0,
1409
- accountHolderBusinessRegistrationNumber: (fa = e.accountHolder) == null ? void 0 : fa.businessRegistrationNumber,
1410
- accountHolderBusinessRegistrationCountry: (Qe = e.accountHolder) == null ? void 0 : Qe.businessRegistrationCountry,
1411
- accountHolderShowTaxResidence2: !E((Aa = (Ue = (Xe = e.accountHolder) == null ? void 0 : Xe.taxResidences) == null ? void 0 : Ue[1]) == null ? void 0 : Aa.country) || !E((Ia = (Ca = (ba = e.accountHolder) == null ? void 0 : ba.taxResidences) == null ? void 0 : Ca[1]) == null ? void 0 : Ia.tin) ? "yes" : void 0,
1412
- accountHolderShowTaxResidence3: !E((Ta = (Na = (Sa = e.accountHolder) == null ? void 0 : Sa.taxResidences) == null ? void 0 : Na[2]) == null ? void 0 : Ta.country) || !E((ve = ($e = (Fe = e.accountHolder) == null ? void 0 : Fe.taxResidences) == null ? void 0 : $e[2]) == null ? void 0 : ve.tin) ? "yes" : void 0,
1413
- accountHolderShowTaxResidence4: !E((ea = (Ke = (xe = e.accountHolder) == null ? void 0 : xe.taxResidences) == null ? void 0 : Ke[3]) == null ? void 0 : ea.country) || !E((ya = (aa = (Ma = e.accountHolder) == null ? void 0 : Ma.taxResidences) == null ? void 0 : aa[3]) == null ? void 0 : ya.tin) ? "yes" : void 0,
1414
- accountHolderShowTaxResidence5: !E((ja = (na = (ia = e.accountHolder) == null ? void 0 : ia.taxResidences) == null ? void 0 : na[4]) == null ? void 0 : ja.country) || !E((za = (ta = (Oa = e.accountHolder) == null ? void 0 : Oa.taxResidences) == null ? void 0 : ta[4]) == null ? void 0 : za.tin) ? "yes" : void 0,
1415
- accountHolderTaxResidenceCountry1: (Pa = (Ba = (Ea = e.accountHolder) == null ? void 0 : Ea.taxResidences) == null ? void 0 : Ba[0]) == null ? void 0 : Pa.country,
1410
+ (Be = e.accountHolder) == null ? void 0 : Be.financialAccountName
1411
+ ) ? (ha = e.accountHolder) == null ? void 0 : ha.name : (va = e.accountHolder) == null ? void 0 : va.financialAccountName,
1412
+ accountHolderFinancialAccountIdentifier: (Ue = e.accountHolder) == null ? void 0 : Ue.financialAccountIdentifier,
1413
+ accountHolderVatIdentificationNumber: (pa = e.accountHolder) != null && pa.vatinNotRequired || (fa = e.accountHolder) == null ? void 0 : fa.vatin,
1414
+ accountHolderVatCountry: (_e = e.accountHolder) != null && _e.vatinNotRequired || (Qe = e.accountHolder) == null ? void 0 : Qe.vatinCountry,
1415
+ accountHolderVatIsNotRequired: (Me = e.accountHolder) != null && Me.vatinNotRequired ? "yes" : void 0,
1416
+ accountHolderBusinessRegistrationNumber: (Aa = e.accountHolder) == null ? void 0 : Aa.businessRegistrationNumber,
1417
+ accountHolderBusinessRegistrationCountry: (Xe = e.accountHolder) == null ? void 0 : Xe.businessRegistrationCountry,
1418
+ accountHolderShowTaxResidence2: !E((ba = (Fe = ($e = e.accountHolder) == null ? void 0 : $e.taxResidences) == null ? void 0 : Fe[1]) == null ? void 0 : ba.country) || !E((Sa = (Ia = (Ca = e.accountHolder) == null ? void 0 : Ca.taxResidences) == null ? void 0 : Ia[1]) == null ? void 0 : Sa.tin) ? "yes" : void 0,
1419
+ accountHolderShowTaxResidence3: !E((Ma = (Ta = (Na = e.accountHolder) == null ? void 0 : Na.taxResidences) == null ? void 0 : Ta[2]) == null ? void 0 : Ma.country) || !E((pe = (ea = (xe = e.accountHolder) == null ? void 0 : xe.taxResidences) == null ? void 0 : ea[2]) == null ? void 0 : pe.tin) ? "yes" : void 0,
1420
+ accountHolderShowTaxResidence4: !E((aa = (Ve = (Ke = e.accountHolder) == null ? void 0 : Ke.taxResidences) == null ? void 0 : Ve[3]) == null ? void 0 : aa.country) || !E((ja = (ia = (ya = e.accountHolder) == null ? void 0 : ya.taxResidences) == null ? void 0 : ia[3]) == null ? void 0 : ja.tin) ? "yes" : void 0,
1421
+ accountHolderShowTaxResidence5: !E((Oa = (ta = (na = e.accountHolder) == null ? void 0 : na.taxResidences) == null ? void 0 : ta[4]) == null ? void 0 : Oa.country) || !E((Ea = (ra = (za = e.accountHolder) == null ? void 0 : za.taxResidences) == null ? void 0 : ra[4]) == null ? void 0 : Ea.tin) ? "yes" : void 0,
1422
+ accountHolderTaxResidenceCountry1: (Ra = (Pa = (Ba = e.accountHolder) == null ? void 0 : Ba.taxResidences) == null ? void 0 : Pa[0]) == null ? void 0 : Ra.country,
1416
1423
  accountHolderTaxResidenceForeignTin1: (k = (c = (t = e.accountHolder) == null ? void 0 : t.taxResidences) == null ? void 0 : c[0]) != null && k.tinNotRequired || (j = (y = (b = e.accountHolder) == null ? void 0 : b.taxResidences) == null ? void 0 : y[0]) == null ? void 0 : j.tin,
1417
1424
  accountHolderTaxResidenceForeignTin1IsNotRequired: (U = (C = (M = e.accountHolder) == null ? void 0 : M.taxResidences) == null ? void 0 : C[0]) != null && U.tinNotRequired ? "yes" : void 0,
1418
1425
  accountHolderTaxResidenceCountry2: (J = (H = (w = e.accountHolder) == null ? void 0 : w.taxResidences) == null ? void 0 : H[1]) == null ? void 0 : J.country,
1419
- accountHolderTaxResidenceForeignTin2: (ne = (ra = (pe = e.accountHolder) == null ? void 0 : pe.taxResidences) == null ? void 0 : ra[1]) != null && ne.tinNotRequired || (li = (si = (oi = e.accountHolder) == null ? void 0 : oi.taxResidences) == null ? void 0 : si[1]) == null ? void 0 : li.tin,
1420
- accountHolderTaxResidenceForeignTin2IsNotRequired: (ci = (ui = (di = e.accountHolder) == null ? void 0 : di.taxResidences) == null ? void 0 : ui[1]) != null && ci.tinNotRequired ? "yes" : void 0,
1421
- accountHolderTaxResidenceCountry3: (ki = (gi = (mi = e.accountHolder) == null ? void 0 : mi.taxResidences) == null ? void 0 : gi[2]) == null ? void 0 : ki.country,
1422
- accountHolderTaxResidenceForeignTin3: (pi = (vi = (hi = e.accountHolder) == null ? void 0 : hi.taxResidences) == null ? void 0 : vi[2]) != null && pi.tinNotRequired || (bi = (Ai = (fi = e.accountHolder) == null ? void 0 : fi.taxResidences) == null ? void 0 : Ai[2]) == null ? void 0 : bi.tin,
1423
- accountHolderTaxResidenceForeignTin3IsNotRequired: (Si = (Ii = (Ci = e.accountHolder) == null ? void 0 : Ci.taxResidences) == null ? void 0 : Ii[2]) != null && Si.tinNotRequired ? "yes" : void 0,
1424
- accountHolderTaxResidenceCountry4: (Mi = (Ti = (Ni = e.accountHolder) == null ? void 0 : Ni.taxResidences) == null ? void 0 : Ti[3]) == null ? void 0 : Mi.country,
1425
- accountHolderTaxResidenceForeignTin4: (Oi = (ji = (yi = e.accountHolder) == null ? void 0 : yi.taxResidences) == null ? void 0 : ji[3]) != null && Oi.tinNotRequired || (Bi = (Ei = (zi = e.accountHolder) == null ? void 0 : zi.taxResidences) == null ? void 0 : Ei[3]) == null ? void 0 : Bi.tin,
1426
- accountHolderTaxResidenceForeignTin4IsNotRequired: (wi = (Ri = (Pi = e.accountHolder) == null ? void 0 : Pi.taxResidences) == null ? void 0 : Ri[3]) != null && wi.tinNotRequired ? "yes" : void 0,
1427
- accountHolderTaxResidenceCountry5: (Gi = (Li = (Hi = e.accountHolder) == null ? void 0 : Hi.taxResidences) == null ? void 0 : Li[4]) == null ? void 0 : Gi.country,
1428
- accountHolderTaxResidenceForeignTin5: (Fi = (Ui = (Di = e.accountHolder) == null ? void 0 : Di.taxResidences) == null ? void 0 : Ui[4]) != null && Fi.tinNotRequired || (Vi = (Ki = (xi = e.accountHolder) == null ? void 0 : xi.taxResidences) == null ? void 0 : Ki[4]) == null ? void 0 : Vi.tin,
1429
- accountHolderTaxResidenceForeignTin5IsNotRequired: (Zi = (Ji = (Wi = e.accountHolder) == null ? void 0 : Wi.taxResidences) == null ? void 0 : Ji[4]) != null && Zi.tinNotRequired ? "yes" : void 0,
1426
+ accountHolderTaxResidenceForeignTin2: (ne = (oa = (fe = e.accountHolder) == null ? void 0 : fe.taxResidences) == null ? void 0 : oa[1]) != null && ne.tinNotRequired || (di = (li = (si = e.accountHolder) == null ? void 0 : si.taxResidences) == null ? void 0 : li[1]) == null ? void 0 : di.tin,
1427
+ accountHolderTaxResidenceForeignTin2IsNotRequired: (mi = (ci = (ui = e.accountHolder) == null ? void 0 : ui.taxResidences) == null ? void 0 : ci[1]) != null && mi.tinNotRequired ? "yes" : void 0,
1428
+ accountHolderTaxResidenceCountry3: (hi = (ki = (gi = e.accountHolder) == null ? void 0 : gi.taxResidences) == null ? void 0 : ki[2]) == null ? void 0 : hi.country,
1429
+ accountHolderTaxResidenceForeignTin3: (fi = (pi = (vi = e.accountHolder) == null ? void 0 : vi.taxResidences) == null ? void 0 : pi[2]) != null && fi.tinNotRequired || (Ci = (bi = (Ai = e.accountHolder) == null ? void 0 : Ai.taxResidences) == null ? void 0 : bi[2]) == null ? void 0 : Ci.tin,
1430
+ accountHolderTaxResidenceForeignTin3IsNotRequired: (Ni = (Si = (Ii = e.accountHolder) == null ? void 0 : Ii.taxResidences) == null ? void 0 : Si[2]) != null && Ni.tinNotRequired ? "yes" : void 0,
1431
+ accountHolderTaxResidenceCountry4: (yi = (Mi = (Ti = e.accountHolder) == null ? void 0 : Ti.taxResidences) == null ? void 0 : Mi[3]) == null ? void 0 : yi.country,
1432
+ accountHolderTaxResidenceForeignTin4: (zi = (Oi = (ji = e.accountHolder) == null ? void 0 : ji.taxResidences) == null ? void 0 : Oi[3]) != null && zi.tinNotRequired || (Pi = (Bi = (Ei = e.accountHolder) == null ? void 0 : Ei.taxResidences) == null ? void 0 : Bi[3]) == null ? void 0 : Pi.tin,
1433
+ accountHolderTaxResidenceForeignTin4IsNotRequired: (Hi = (wi = (Ri = e.accountHolder) == null ? void 0 : Ri.taxResidences) == null ? void 0 : wi[3]) != null && Hi.tinNotRequired ? "yes" : void 0,
1434
+ accountHolderTaxResidenceCountry5: (Di = (Gi = (Li = e.accountHolder) == null ? void 0 : Li.taxResidences) == null ? void 0 : Gi[4]) == null ? void 0 : Di.country,
1435
+ accountHolderTaxResidenceForeignTin5: (xi = (Fi = (Ui = e.accountHolder) == null ? void 0 : Ui.taxResidences) == null ? void 0 : Fi[4]) != null && xi.tinNotRequired || (Wi = (Vi = (Ki = e.accountHolder) == null ? void 0 : Ki.taxResidences) == null ? void 0 : Vi[4]) == null ? void 0 : Wi.tin,
1436
+ accountHolderTaxResidenceForeignTin5IsNotRequired: (qi = (Zi = (Ji = e.accountHolder) == null ? void 0 : Ji.taxResidences) == null ? void 0 : Zi[4]) != null && qi.tinNotRequired ? "yes" : void 0,
1430
1437
  accountHolderTaxResidences: void 0,
1431
- regardedOwnerName: (qi = e.regardedOwner) == null ? void 0 : qi.name,
1432
- regardedOwnerDbaName: (Yi = e.regardedOwner) == null ? void 0 : Yi.dbaName,
1433
- regardedOwnerDateOfBirth: (_i = e.regardedOwner) == null ? void 0 : _i.dateOfBirth,
1434
- regardedOwnerUsTin: (Qi = e.regardedOwner) == null ? void 0 : Qi.tin,
1435
- regardedOwnerForeignTin: (Xi = e.regardedOwner) != null && Xi.ftinNotLegallyRequired || ($i = e.regardedOwner) == null ? void 0 : $i.ftin,
1436
- regardedOwnerForeignTinIsNotRequired: (en = e.regardedOwner) != null && en.ftinNotLegallyRequired ? "yes" : void 0,
1437
- regardedOwnerCountryOfCitizenship: (an = e.regardedOwner) == null ? void 0 : an.countryOfCitizenship,
1438
- regardedOwnerAddressStreet: (tn = (nn = e.regardedOwner) == null ? void 0 : nn.address) == null ? void 0 : tn.firstLine,
1439
- regardedOwnerAddressStreet2: (on = (rn = e.regardedOwner) == null ? void 0 : rn.address) == null ? void 0 : on.secondLine,
1440
- regardedOwnerAddressCity: (ln = (sn = e.regardedOwner) == null ? void 0 : sn.address) == null ? void 0 : ln.city,
1441
- regardedOwnerAddressState: (un = (dn = e.regardedOwner) == null ? void 0 : dn.address) == null ? void 0 : un.stateOrProvince,
1442
- regardedOwnerAddressZip: (mn = (cn = e.regardedOwner) == null ? void 0 : cn.address) == null ? void 0 : mn.postalCode,
1443
- regardedOwnerAddressCountry: (kn = (gn = e.regardedOwner) == null ? void 0 : gn.address) == null ? void 0 : kn.country,
1444
- regardedOwnerMailingAddressStreet: (vn = (hn = e.regardedOwner) == null ? void 0 : hn.mailingAddress) == null ? void 0 : vn.firstLine,
1445
- regardedOwnerMailingAddressStreet2: (fn = (pn = e.regardedOwner) == null ? void 0 : pn.mailingAddress) == null ? void 0 : fn.secondLine,
1446
- regardedOwnerMailingAddressCity: (bn = (An = e.regardedOwner) == null ? void 0 : An.mailingAddress) == null ? void 0 : bn.city,
1447
- regardedOwnerMailingAddressState: (In = (Cn = e.regardedOwner) == null ? void 0 : Cn.mailingAddress) == null ? void 0 : In.stateOrProvince,
1448
- regardedOwnerMailingAddressZip: (Nn = (Sn = e.regardedOwner) == null ? void 0 : Sn.mailingAddress) == null ? void 0 : Nn.postalCode,
1449
- regardedOwnerMailingAddressCountry: (Mn = (Tn = e.regardedOwner) == null ? void 0 : Tn.mailingAddress) == null ? void 0 : Mn.country,
1450
- regardedOwnerUsPerson: ((yn = e.regardedOwner) == null ? void 0 : yn.isUsPerson) === !0 ? "yes" : ((jn = e.regardedOwner) == null ? void 0 : jn.isUsPerson) === !1 ? "no" : void 0,
1451
- regardedOwnerUsAccountType: Wn(
1452
- (On = e.regardedOwner) == null ? void 0 : On.usAccountType
1438
+ regardedOwnerName: (Yi = e.regardedOwner) == null ? void 0 : Yi.name,
1439
+ regardedOwnerDbaName: (_i = e.regardedOwner) == null ? void 0 : _i.dbaName,
1440
+ regardedOwnerDateOfBirth: (Qi = e.regardedOwner) == null ? void 0 : Qi.dateOfBirth,
1441
+ regardedOwnerUsTin: (Xi = e.regardedOwner) == null ? void 0 : Xi.tin,
1442
+ regardedOwnerForeignTin: ($i = e.regardedOwner) != null && $i.ftinNotLegallyRequired || (en = e.regardedOwner) == null ? void 0 : en.ftin,
1443
+ regardedOwnerForeignTinIsNotRequired: (an = e.regardedOwner) != null && an.ftinNotLegallyRequired ? "yes" : void 0,
1444
+ regardedOwnerCountryOfCitizenship: (nn = e.regardedOwner) == null ? void 0 : nn.countryOfCitizenship,
1445
+ regardedOwnerAddressStreet: (rn = (tn = e.regardedOwner) == null ? void 0 : tn.address) == null ? void 0 : rn.firstLine,
1446
+ regardedOwnerAddressStreet2: (sn = (on = e.regardedOwner) == null ? void 0 : on.address) == null ? void 0 : sn.secondLine,
1447
+ regardedOwnerAddressCity: (dn = (ln = e.regardedOwner) == null ? void 0 : ln.address) == null ? void 0 : dn.city,
1448
+ regardedOwnerAddressState: (cn = (un = e.regardedOwner) == null ? void 0 : un.address) == null ? void 0 : cn.stateOrProvince,
1449
+ regardedOwnerAddressZip: (gn = (mn = e.regardedOwner) == null ? void 0 : mn.address) == null ? void 0 : gn.postalCode,
1450
+ regardedOwnerAddressCountry: (hn = (kn = e.regardedOwner) == null ? void 0 : kn.address) == null ? void 0 : hn.country,
1451
+ regardedOwnerMailingAddressStreet: (pn = (vn = e.regardedOwner) == null ? void 0 : vn.mailingAddress) == null ? void 0 : pn.firstLine,
1452
+ regardedOwnerMailingAddressStreet2: (An = (fn = e.regardedOwner) == null ? void 0 : fn.mailingAddress) == null ? void 0 : An.secondLine,
1453
+ regardedOwnerMailingAddressCity: (Cn = (bn = e.regardedOwner) == null ? void 0 : bn.mailingAddress) == null ? void 0 : Cn.city,
1454
+ regardedOwnerMailingAddressState: (Sn = (In = e.regardedOwner) == null ? void 0 : In.mailingAddress) == null ? void 0 : Sn.stateOrProvince,
1455
+ regardedOwnerMailingAddressZip: (Tn = (Nn = e.regardedOwner) == null ? void 0 : Nn.mailingAddress) == null ? void 0 : Tn.postalCode,
1456
+ regardedOwnerMailingAddressCountry: (yn = (Mn = e.regardedOwner) == null ? void 0 : Mn.mailingAddress) == null ? void 0 : yn.country,
1457
+ regardedOwnerUsPerson: ((jn = e.regardedOwner) == null ? void 0 : jn.isUsPerson) === !0 ? "yes" : ((On = e.regardedOwner) == null ? void 0 : On.isUsPerson) === !1 ? "no" : void 0,
1458
+ regardedOwnerUsAccountType: Jn(
1459
+ (zn = e.regardedOwner) == null ? void 0 : zn.usAccountType
1453
1460
  ),
1454
- regardedOwnerUsLlcClassification: Vn(
1455
- (zn = e.regardedOwner) == null ? void 0 : zn.usLlcClassification
1461
+ regardedOwnerUsLlcClassification: Wn(
1462
+ (En = e.regardedOwner) == null ? void 0 : En.usLlcClassification
1456
1463
  ),
1457
- regardedOwnerUsOtherClassification: (En = e.regardedOwner) == null ? void 0 : En.usOtherClassification,
1458
- regardedOwnerUsTrustEstateEin: ((Bn = e.regardedOwner) == null ? void 0 : Bn.usTrustEstateEin) === !0 ? "yes" : ((Pn = e.regardedOwner) == null ? void 0 : Pn.usTrustEstateEin) === !1 ? "no" : void 0,
1459
- regardedOwnerForeignAccountType: Fn(
1460
- (Rn = e.regardedOwner) == null ? void 0 : Rn.foreignAccountType
1464
+ regardedOwnerUsOtherClassification: (Bn = e.regardedOwner) == null ? void 0 : Bn.usOtherClassification,
1465
+ regardedOwnerUsTrustEstateEin: ((Pn = e.regardedOwner) == null ? void 0 : Pn.usTrustEstateEin) === !0 ? "yes" : ((Rn = e.regardedOwner) == null ? void 0 : Rn.usTrustEstateEin) === !1 ? "no" : void 0,
1466
+ regardedOwnerForeignAccountType: xn(
1467
+ (wn = e.regardedOwner) == null ? void 0 : wn.foreignAccountType
1461
1468
  ),
1462
- regardedOwnerForeignTrustClassification: Kn(
1463
- (wn = e.regardedOwner) == null ? void 0 : wn.foreignTrustClassification
1469
+ regardedOwnerForeignTrustClassification: Vn(
1470
+ (Hn = e.regardedOwner) == null ? void 0 : Hn.foreignTrustClassification
1464
1471
  ),
1465
- regardedOwnerForeignOtherClassification: xn(
1466
- (Hn = e.regardedOwner) == null ? void 0 : Hn.foreignOtherClassification
1472
+ regardedOwnerForeignOtherClassification: Kn(
1473
+ (Ln = e.regardedOwner) == null ? void 0 : Ln.foreignOtherClassification
1467
1474
  ),
1468
1475
  iConfirmTheInformationIsCorrectComplete: void 0,
1469
1476
  isNotSubjectBackupWithholding: void 0
1470
- }, r = ot(a);
1477
+ }, r = st(a);
1471
1478
  return Object.fromEntries(
1472
1479
  Object.entries(n).filter(
1473
- ([ct]) => r[ct]
1480
+ ([mt]) => r[mt]
1474
1481
  )
1475
1482
  );
1476
- }, _a = ({ bearerToken: e }) => new Headers({
1483
+ }, Qa = ({ bearerToken: e }) => new Headers({
1477
1484
  Authorization: `Bearer ${e}`
1478
- }), sr = (e, a) => {
1485
+ }), ur = (e, a) => {
1479
1486
  var S;
1480
- const [n, r] = K(), [s, o] = K(), [d, u] = K(!1), m = a ? "STAGING" : "PRODUCTION", l = Wa.taxDocumentation.get(m), v = Wa.taxDocumentation.post(m), g = Wa.taxDocumentationStatus.get(m), A = async (N) => {
1487
+ const [n, r] = K(), [s, o] = K(), [d, u] = K(!1), m = a ? "STAGING" : "PRODUCTION", l = Ja.taxDocumentation.get(m), v = Ja.taxDocumentation.post(m), g = Ja.taxDocumentationStatus.get(m), A = async (N) => {
1481
1488
  const T = {
1482
1489
  method: "POST",
1483
- headers: _a({ bearerToken: e }),
1484
- body: JSON.stringify($a(N))
1490
+ headers: Qa({ bearerToken: e }),
1491
+ body: JSON.stringify(ei(N))
1485
1492
  };
1486
1493
  fetch(v, T).then((R) => {
1487
1494
  R.status === 200 && u(!0);
@@ -1490,27 +1497,27 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1490
1497
  X(() => {
1491
1498
  const N = {
1492
1499
  method: "GET",
1493
- headers: _a({ bearerToken: e })
1500
+ headers: Qa({ bearerToken: e })
1494
1501
  };
1495
1502
  fetch(g, N).then((T) => {
1496
1503
  if (T.ok)
1497
1504
  return T.json();
1498
1505
  throw T.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
1499
1506
  }).then((T) => {
1500
- o(xa(T));
1507
+ o(Ka(T));
1501
1508
  });
1502
1509
  }, [e, g, d]), X(() => {
1503
1510
  if (s && s.submissionStatus !== "NOT_SUBMITTED") {
1504
1511
  const N = {
1505
1512
  method: "GET",
1506
- headers: _a({ bearerToken: e })
1513
+ headers: Qa({ bearerToken: e })
1507
1514
  };
1508
1515
  fetch(l, N).then((T) => {
1509
1516
  if (T.ok)
1510
1517
  return T.json();
1511
1518
  throw new Error("Something went wrong");
1512
1519
  }).then((T) => {
1513
- r(xa(T));
1520
+ r(Ka(T));
1514
1521
  });
1515
1522
  }
1516
1523
  }, [e, s, l]);
@@ -1523,7 +1530,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
1523
1530
  serverData: n
1524
1531
  };
1525
1532
  };
1526
- var ai = { exports: {} }, oa = {};
1533
+ var ii = { exports: {} }, sa = {};
1527
1534
  /**
1528
1535
  * @license React
1529
1536
  * react-jsx-runtime.production.min.js
@@ -1533,12 +1540,12 @@ var ai = { exports: {} }, oa = {};
1533
1540
  * This source code is licensed under the MIT license found in the
1534
1541
  * LICENSE file in the root directory of this source tree.
1535
1542
  */
1536
- var Zn;
1537
- function lr() {
1538
- if (Zn)
1539
- return oa;
1540
- Zn = 1;
1541
- var e = Qn, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
1543
+ var qn;
1544
+ function cr() {
1545
+ if (qn)
1546
+ return sa;
1547
+ qn = 1;
1548
+ var e = Xn, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
1542
1549
  function d(u, m, l) {
1543
1550
  var v, g = {}, A = null, p = null;
1544
1551
  l !== void 0 && (A = "" + l), m.key !== void 0 && (A = "" + m.key), m.ref !== void 0 && (p = m.ref);
@@ -1549,9 +1556,9 @@ function lr() {
1549
1556
  g[v] === void 0 && (g[v] = m[v]);
1550
1557
  return { $$typeof: a, type: u, key: A, ref: p, props: g, _owner: s.current };
1551
1558
  }
1552
- return oa.Fragment = n, oa.jsx = d, oa.jsxs = d, oa;
1559
+ return sa.Fragment = n, sa.jsx = d, sa.jsxs = d, sa;
1553
1560
  }
1554
- var sa = {};
1561
+ var la = {};
1555
1562
  /**
1556
1563
  * @license React
1557
1564
  * react-jsx-runtime.development.js
@@ -1561,10 +1568,10 @@ var sa = {};
1561
1568
  * This source code is licensed under the MIT license found in the
1562
1569
  * LICENSE file in the root directory of this source tree.
1563
1570
  */
1564
- var qn;
1565
- function dr() {
1566
- return qn || (qn = 1, process.env.NODE_ENV !== "production" && function() {
1567
- var e = Qn, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
1571
+ var Yn;
1572
+ function mr() {
1573
+ return Yn || (Yn = 1, process.env.NODE_ENV !== "production" && function() {
1574
+ var e = Xn, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
1568
1575
  function T(t) {
1569
1576
  if (t === null || typeof t != "object")
1570
1577
  return null;
@@ -1589,16 +1596,16 @@ function dr() {
1589
1596
  j.unshift("Warning: " + c), Function.prototype.apply.call(console[t], console, j);
1590
1597
  }
1591
1598
  }
1592
- var L = !1, ae = !1, se = !1, Ie = !1, Se = !1, le;
1599
+ var L = !1, ae = !1, se = !1, Se = !1, Ne = !1, le;
1593
1600
  le = Symbol.for("react.module.reference");
1594
1601
  function de(t) {
1595
- return !!(typeof t == "string" || typeof t == "function" || t === r || t === o || Se || t === s || t === l || t === v || Ie || t === p || L || ae || se || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === g || t.$$typeof === d || t.$$typeof === u || t.$$typeof === m || // This needs to include all possible module reference object
1602
+ return !!(typeof t == "string" || typeof t == "function" || t === r || t === o || Ne || t === s || t === l || t === v || Se || t === p || L || ae || se || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === g || t.$$typeof === d || t.$$typeof === u || t.$$typeof === m || // This needs to include all possible module reference object
1596
1603
  // types supported by any Flight configuration anywhere since
1597
1604
  // we don't know which Flight build this will end up being used
1598
1605
  // with.
1599
1606
  t.$$typeof === le || t.getModuleId !== void 0));
1600
1607
  }
1601
- function Ne(t, c, k) {
1608
+ function Te(t, c, k) {
1602
1609
  var b = t.displayName;
1603
1610
  if (b)
1604
1611
  return b;
@@ -1638,7 +1645,7 @@ function dr() {
1638
1645
  var k = t;
1639
1646
  return ue(k._context) + ".Provider";
1640
1647
  case m:
1641
- return Ne(t, t.render, "ForwardRef");
1648
+ return Te(t, t.render, "ForwardRef");
1642
1649
  case g:
1643
1650
  var b = t.displayName || null;
1644
1651
  return b !== null ? b : V(t.type) || "Memo";
@@ -1653,18 +1660,18 @@ function dr() {
1653
1660
  }
1654
1661
  return null;
1655
1662
  }
1656
- var q = Object.assign, ie = 0, z, W, ge, ke, Re, we, He;
1657
- function Le() {
1663
+ var q = Object.assign, ie = 0, z, W, ke, he, we, He, Le;
1664
+ function Ge() {
1658
1665
  }
1659
- Le.__reactDisabledLog = !0;
1660
- function We() {
1666
+ Ge.__reactDisabledLog = !0;
1667
+ function Je() {
1661
1668
  {
1662
1669
  if (ie === 0) {
1663
- z = console.log, W = console.info, ge = console.warn, ke = console.error, Re = console.group, we = console.groupCollapsed, He = console.groupEnd;
1670
+ z = console.log, W = console.info, ke = console.warn, he = console.error, we = console.group, He = console.groupCollapsed, Le = console.groupEnd;
1664
1671
  var t = {
1665
1672
  configurable: !0,
1666
1673
  enumerable: !0,
1667
- value: Le,
1674
+ value: Ge,
1668
1675
  writable: !0
1669
1676
  };
1670
1677
  Object.defineProperties(console, {
@@ -1696,19 +1703,19 @@ function dr() {
1696
1703
  value: W
1697
1704
  }),
1698
1705
  warn: q({}, t, {
1699
- value: ge
1706
+ value: ke
1700
1707
  }),
1701
1708
  error: q({}, t, {
1702
- value: ke
1709
+ value: he
1703
1710
  }),
1704
1711
  group: q({}, t, {
1705
- value: Re
1712
+ value: we
1706
1713
  }),
1707
1714
  groupCollapsed: q({}, t, {
1708
- value: we
1715
+ value: He
1709
1716
  }),
1710
1717
  groupEnd: q({}, t, {
1711
- value: He
1718
+ value: Le
1712
1719
  })
1713
1720
  });
1714
1721
  }
@@ -1716,7 +1723,7 @@ function dr() {
1716
1723
  }
1717
1724
  }
1718
1725
  var B = R.ReactCurrentDispatcher, Y;
1719
- function he(t, c, k) {
1726
+ function ve(t, c, k) {
1720
1727
  {
1721
1728
  if (Y === void 0)
1722
1729
  try {
@@ -1729,25 +1736,25 @@ function dr() {
1729
1736
  ` + Y + t;
1730
1737
  }
1731
1738
  }
1732
- var Ge = !1, je;
1739
+ var De = !1, Oe;
1733
1740
  {
1734
- var ca = typeof WeakMap == "function" ? WeakMap : Map;
1735
- je = new ca();
1741
+ var ma = typeof WeakMap == "function" ? WeakMap : Map;
1742
+ Oe = new ma();
1736
1743
  }
1737
- function Je(t, c) {
1738
- if (!t || Ge)
1744
+ function Ze(t, c) {
1745
+ if (!t || De)
1739
1746
  return "";
1740
1747
  {
1741
- var k = je.get(t);
1748
+ var k = Oe.get(t);
1742
1749
  if (k !== void 0)
1743
1750
  return k;
1744
1751
  }
1745
1752
  var b;
1746
- Ge = !0;
1753
+ De = !0;
1747
1754
  var y = Error.prepareStackTrace;
1748
1755
  Error.prepareStackTrace = void 0;
1749
1756
  var j;
1750
- j = B.current, B.current = null, We();
1757
+ j = B.current, B.current = null, Je();
1751
1758
  try {
1752
1759
  if (c) {
1753
1760
  var M = function() {
@@ -1793,65 +1800,65 @@ function dr() {
1793
1800
  if (w--, H--, H < 0 || C[w] !== U[H]) {
1794
1801
  var J = `
1795
1802
  ` + C[w].replace(" at new ", " at ");
1796
- return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && je.set(t, J), J;
1803
+ return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && Oe.set(t, J), J;
1797
1804
  }
1798
1805
  while (w >= 1 && H >= 0);
1799
1806
  break;
1800
1807
  }
1801
1808
  }
1802
1809
  } finally {
1803
- Ge = !1, B.current = j, h(), Error.prepareStackTrace = y;
1810
+ De = !1, B.current = j, h(), Error.prepareStackTrace = y;
1804
1811
  }
1805
- var pe = t ? t.displayName || t.name : "", ra = pe ? he(pe) : "";
1806
- return typeof t == "function" && je.set(t, ra), ra;
1812
+ var fe = t ? t.displayName || t.name : "", oa = fe ? ve(fe) : "";
1813
+ return typeof t == "function" && Oe.set(t, oa), oa;
1807
1814
  }
1808
- function ma(t, c, k) {
1809
- return Je(t, !1);
1815
+ function ga(t, c, k) {
1816
+ return Ze(t, !1);
1810
1817
  }
1811
- function ga(t) {
1818
+ function ka(t) {
1812
1819
  var c = t.prototype;
1813
1820
  return !!(c && c.isReactComponent);
1814
1821
  }
1815
- function Oe(t, c, k) {
1822
+ function ze(t, c, k) {
1816
1823
  if (t == null)
1817
1824
  return "";
1818
1825
  if (typeof t == "function")
1819
- return Je(t, ga(t));
1826
+ return Ze(t, ka(t));
1820
1827
  if (typeof t == "string")
1821
- return he(t);
1828
+ return ve(t);
1822
1829
  switch (t) {
1823
1830
  case l:
1824
- return he("Suspense");
1831
+ return ve("Suspense");
1825
1832
  case v:
1826
- return he("SuspenseList");
1833
+ return ve("SuspenseList");
1827
1834
  }
1828
1835
  if (typeof t == "object")
1829
1836
  switch (t.$$typeof) {
1830
1837
  case m:
1831
- return ma(t.render);
1838
+ return ga(t.render);
1832
1839
  case g:
1833
- return Oe(t.type, c, k);
1840
+ return ze(t.type, c, k);
1834
1841
  case A: {
1835
1842
  var b = t, y = b._payload, j = b._init;
1836
1843
  try {
1837
- return Oe(j(y), c, k);
1844
+ return ze(j(y), c, k);
1838
1845
  } catch {
1839
1846
  }
1840
1847
  }
1841
1848
  }
1842
1849
  return "";
1843
1850
  }
1844
- var ze = Object.prototype.hasOwnProperty, Ze = {}, qe = R.ReactDebugCurrentFrame;
1845
- function Ee(t) {
1851
+ var Ee = Object.prototype.hasOwnProperty, qe = {}, Ye = R.ReactDebugCurrentFrame;
1852
+ function Be(t) {
1846
1853
  if (t) {
1847
- var c = t._owner, k = Oe(t.type, t._source, c ? c.type : null);
1848
- qe.setExtraStackFrame(k);
1854
+ var c = t._owner, k = ze(t.type, t._source, c ? c.type : null);
1855
+ Ye.setExtraStackFrame(k);
1849
1856
  } else
1850
- qe.setExtraStackFrame(null);
1857
+ Ye.setExtraStackFrame(null);
1851
1858
  }
1852
- function ka(t, c, k, b, y) {
1859
+ function ha(t, c, k, b, y) {
1853
1860
  {
1854
- var j = Function.call.bind(ze);
1861
+ var j = Function.call.bind(Ee);
1855
1862
  for (var M in t)
1856
1863
  if (j(t, M)) {
1857
1864
  var C = void 0;
@@ -1864,67 +1871,67 @@ function dr() {
1864
1871
  } catch (w) {
1865
1872
  C = w;
1866
1873
  }
1867
- C && !(C instanceof Error) && (Ee(y), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", k, M, typeof C), Ee(null)), C instanceof Error && !(C.message in Ze) && (Ze[C.message] = !0, Ee(y), P("Failed %s type: %s", k, C.message), Ee(null));
1874
+ C && !(C instanceof Error) && (Be(y), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", k, M, typeof C), Be(null)), C instanceof Error && !(C.message in qe) && (qe[C.message] = !0, Be(y), P("Failed %s type: %s", k, C.message), Be(null));
1868
1875
  }
1869
1876
  }
1870
1877
  }
1871
- var ha = Array.isArray;
1872
- function De(t) {
1873
- return ha(t);
1878
+ var va = Array.isArray;
1879
+ function Ue(t) {
1880
+ return va(t);
1874
1881
  }
1875
- function va(t) {
1882
+ function pa(t) {
1876
1883
  {
1877
1884
  var c = typeof Symbol == "function" && Symbol.toStringTag, k = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
1878
1885
  return k;
1879
1886
  }
1880
1887
  }
1881
- function pa(t) {
1888
+ function fa(t) {
1882
1889
  try {
1883
- return Ye(t), !1;
1890
+ return _e(t), !1;
1884
1891
  } catch {
1885
1892
  return !0;
1886
1893
  }
1887
1894
  }
1888
- function Ye(t) {
1895
+ function _e(t) {
1889
1896
  return "" + t;
1890
1897
  }
1891
- function _e(t) {
1892
- if (pa(t))
1893
- return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", va(t)), Ye(t);
1898
+ function Qe(t) {
1899
+ if (fa(t))
1900
+ return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(t)), _e(t);
1894
1901
  }
1895
- var Te = R.ReactCurrentOwner, fa = {
1902
+ var Me = R.ReactCurrentOwner, Aa = {
1896
1903
  key: !0,
1897
1904
  ref: !0,
1898
1905
  __self: !0,
1899
1906
  __source: !0
1900
- }, Qe, Xe, Ue;
1901
- Ue = {};
1902
- function Aa(t) {
1903
- if (ze.call(t, "ref")) {
1907
+ }, Xe, $e, Fe;
1908
+ Fe = {};
1909
+ function ba(t) {
1910
+ if (Ee.call(t, "ref")) {
1904
1911
  var c = Object.getOwnPropertyDescriptor(t, "ref").get;
1905
1912
  if (c && c.isReactWarning)
1906
1913
  return !1;
1907
1914
  }
1908
1915
  return t.ref !== void 0;
1909
1916
  }
1910
- function ba(t) {
1911
- if (ze.call(t, "key")) {
1917
+ function Ca(t) {
1918
+ if (Ee.call(t, "key")) {
1912
1919
  var c = Object.getOwnPropertyDescriptor(t, "key").get;
1913
1920
  if (c && c.isReactWarning)
1914
1921
  return !1;
1915
1922
  }
1916
1923
  return t.key !== void 0;
1917
1924
  }
1918
- function Ca(t, c) {
1919
- if (typeof t.ref == "string" && Te.current && c && Te.current.stateNode !== c) {
1920
- var k = V(Te.current.type);
1921
- Ue[k] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Te.current.type), t.ref), Ue[k] = !0);
1925
+ function Ia(t, c) {
1926
+ if (typeof t.ref == "string" && Me.current && c && Me.current.stateNode !== c) {
1927
+ var k = V(Me.current.type);
1928
+ Fe[k] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Me.current.type), t.ref), Fe[k] = !0);
1922
1929
  }
1923
1930
  }
1924
- function Ia(t, c) {
1931
+ function Sa(t, c) {
1925
1932
  {
1926
1933
  var k = function() {
1927
- Qe || (Qe = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
1934
+ Xe || (Xe = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
1928
1935
  };
1929
1936
  k.isReactWarning = !0, Object.defineProperty(t, "key", {
1930
1937
  get: k,
@@ -1932,10 +1939,10 @@ function dr() {
1932
1939
  });
1933
1940
  }
1934
1941
  }
1935
- function Sa(t, c) {
1942
+ function Na(t, c) {
1936
1943
  {
1937
1944
  var k = function() {
1938
- Xe || (Xe = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
1945
+ $e || ($e = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
1939
1946
  };
1940
1947
  k.isReactWarning = !0, Object.defineProperty(t, "ref", {
1941
1948
  get: k,
@@ -1943,7 +1950,7 @@ function dr() {
1943
1950
  });
1944
1951
  }
1945
1952
  }
1946
- var Na = function(t, c, k, b, y, j, M) {
1953
+ var Ta = function(t, c, k, b, y, j, M) {
1947
1954
  var C = {
1948
1955
  // This tag allows us to uniquely identify this as a React Element
1949
1956
  $$typeof: a,
@@ -1972,12 +1979,12 @@ function dr() {
1972
1979
  value: y
1973
1980
  }), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
1974
1981
  };
1975
- function Ta(t, c, k, b, y) {
1982
+ function Ma(t, c, k, b, y) {
1976
1983
  {
1977
1984
  var j, M = {}, C = null, U = null;
1978
- k !== void 0 && (_e(k), C = "" + k), ba(c) && (_e(c.key), C = "" + c.key), Aa(c) && (U = c.ref, Ca(c, y));
1985
+ k !== void 0 && (Qe(k), C = "" + k), Ca(c) && (Qe(c.key), C = "" + c.key), ba(c) && (U = c.ref, Ia(c, y));
1979
1986
  for (j in c)
1980
- ze.call(c, j) && !fa.hasOwnProperty(j) && (M[j] = c[j]);
1987
+ Ee.call(c, j) && !Aa.hasOwnProperty(j) && (M[j] = c[j]);
1981
1988
  if (t && t.defaultProps) {
1982
1989
  var w = t.defaultProps;
1983
1990
  for (j in w)
@@ -1985,28 +1992,28 @@ function dr() {
1985
1992
  }
1986
1993
  if (C || U) {
1987
1994
  var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1988
- C && Ia(M, H), U && Sa(M, H);
1995
+ C && Sa(M, H), U && Na(M, H);
1989
1996
  }
1990
- return Na(t, C, U, y, b, Te.current, M);
1997
+ return Ta(t, C, U, y, b, Me.current, M);
1991
1998
  }
1992
1999
  }
1993
- var Fe = R.ReactCurrentOwner, $e = R.ReactDebugCurrentFrame;
1994
- function ve(t) {
2000
+ var xe = R.ReactCurrentOwner, ea = R.ReactDebugCurrentFrame;
2001
+ function pe(t) {
1995
2002
  if (t) {
1996
- var c = t._owner, k = Oe(t.type, t._source, c ? c.type : null);
1997
- $e.setExtraStackFrame(k);
2003
+ var c = t._owner, k = ze(t.type, t._source, c ? c.type : null);
2004
+ ea.setExtraStackFrame(k);
1998
2005
  } else
1999
- $e.setExtraStackFrame(null);
2006
+ ea.setExtraStackFrame(null);
2000
2007
  }
2001
- var xe;
2002
- xe = !1;
2003
- function Ke(t) {
2008
+ var Ke;
2009
+ Ke = !1;
2010
+ function Ve(t) {
2004
2011
  return typeof t == "object" && t !== null && t.$$typeof === a;
2005
2012
  }
2006
- function ea() {
2013
+ function aa() {
2007
2014
  {
2008
- if (Fe.current) {
2009
- var t = V(Fe.current.type);
2015
+ if (xe.current) {
2016
+ var t = V(xe.current.type);
2010
2017
  if (t)
2011
2018
  return `
2012
2019
 
@@ -2015,7 +2022,7 @@ Check the render method of \`` + t + "`.";
2015
2022
  return "";
2016
2023
  }
2017
2024
  }
2018
- function Ma(t) {
2025
+ function ya(t) {
2019
2026
  {
2020
2027
  if (t !== void 0) {
2021
2028
  var c = t.fileName.replace(/^.*[\\\/]/, ""), k = t.lineNumber;
@@ -2026,10 +2033,10 @@ Check your code at ` + c + ":" + k + ".";
2026
2033
  return "";
2027
2034
  }
2028
2035
  }
2029
- var aa = {};
2030
- function ya(t) {
2036
+ var ia = {};
2037
+ function ja(t) {
2031
2038
  {
2032
- var c = ea();
2039
+ var c = aa();
2033
2040
  if (!c) {
2034
2041
  var k = typeof t == "string" ? t : t.displayName || t.name;
2035
2042
  k && (c = `
@@ -2039,39 +2046,39 @@ Check the top-level render call using <` + k + ">.");
2039
2046
  return c;
2040
2047
  }
2041
2048
  }
2042
- function ia(t, c) {
2049
+ function na(t, c) {
2043
2050
  {
2044
2051
  if (!t._store || t._store.validated || t.key != null)
2045
2052
  return;
2046
2053
  t._store.validated = !0;
2047
- var k = ya(c);
2048
- if (aa[k])
2054
+ var k = ja(c);
2055
+ if (ia[k])
2049
2056
  return;
2050
- aa[k] = !0;
2057
+ ia[k] = !0;
2051
2058
  var b = "";
2052
- t && t._owner && t._owner !== Fe.current && (b = " It was passed a child from " + V(t._owner.type) + "."), ve(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, b), ve(null);
2059
+ t && t._owner && t._owner !== xe.current && (b = " It was passed a child from " + V(t._owner.type) + "."), pe(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, b), pe(null);
2053
2060
  }
2054
2061
  }
2055
- function na(t, c) {
2062
+ function ta(t, c) {
2056
2063
  {
2057
2064
  if (typeof t != "object")
2058
2065
  return;
2059
- if (De(t))
2066
+ if (Ue(t))
2060
2067
  for (var k = 0; k < t.length; k++) {
2061
2068
  var b = t[k];
2062
- Ke(b) && ia(b, c);
2069
+ Ve(b) && na(b, c);
2063
2070
  }
2064
- else if (Ke(t))
2071
+ else if (Ve(t))
2065
2072
  t._store && (t._store.validated = !0);
2066
2073
  else if (t) {
2067
2074
  var y = T(t);
2068
2075
  if (typeof y == "function" && y !== t.entries)
2069
2076
  for (var j = y.call(t), M; !(M = j.next()).done; )
2070
- Ke(M.value) && ia(M.value, c);
2077
+ Ve(M.value) && na(M.value, c);
2071
2078
  }
2072
2079
  }
2073
2080
  }
2074
- function ja(t) {
2081
+ function Oa(t) {
2075
2082
  {
2076
2083
  var c = t.type;
2077
2084
  if (c == null || typeof c == "string")
@@ -2087,70 +2094,70 @@ Check the top-level render call using <` + k + ">.");
2087
2094
  return;
2088
2095
  if (k) {
2089
2096
  var b = V(c);
2090
- ka(k, t.props, "prop", b, t);
2091
- } else if (c.PropTypes !== void 0 && !xe) {
2092
- xe = !0;
2097
+ ha(k, t.props, "prop", b, t);
2098
+ } else if (c.PropTypes !== void 0 && !Ke) {
2099
+ Ke = !0;
2093
2100
  var y = V(c);
2094
2101
  P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
2095
2102
  }
2096
2103
  typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2097
2104
  }
2098
2105
  }
2099
- function Oa(t) {
2106
+ function za(t) {
2100
2107
  {
2101
2108
  for (var c = Object.keys(t.props), k = 0; k < c.length; k++) {
2102
2109
  var b = c[k];
2103
2110
  if (b !== "children" && b !== "key") {
2104
- ve(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), ve(null);
2111
+ pe(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), pe(null);
2105
2112
  break;
2106
2113
  }
2107
2114
  }
2108
- t.ref !== null && (ve(t), P("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
2115
+ t.ref !== null && (pe(t), P("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
2109
2116
  }
2110
2117
  }
2111
- function ta(t, c, k, b, y, j) {
2118
+ function ra(t, c, k, b, y, j) {
2112
2119
  {
2113
2120
  var M = de(t);
2114
2121
  if (!M) {
2115
2122
  var C = "";
2116
2123
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2117
- var U = Ma(y);
2118
- U ? C += U : C += ea();
2124
+ var U = ya(y);
2125
+ U ? C += U : C += aa();
2119
2126
  var w;
2120
- t === null ? w = "null" : De(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (V(t.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, C);
2127
+ t === null ? w = "null" : Ue(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (V(t.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, C);
2121
2128
  }
2122
- var H = Ta(t, c, k, y, j);
2129
+ var H = Ma(t, c, k, y, j);
2123
2130
  if (H == null)
2124
2131
  return H;
2125
2132
  if (M) {
2126
2133
  var J = c.children;
2127
2134
  if (J !== void 0)
2128
2135
  if (b)
2129
- if (De(J)) {
2130
- for (var pe = 0; pe < J.length; pe++)
2131
- na(J[pe], t);
2136
+ if (Ue(J)) {
2137
+ for (var fe = 0; fe < J.length; fe++)
2138
+ ta(J[fe], t);
2132
2139
  Object.freeze && Object.freeze(J);
2133
2140
  } else
2134
2141
  P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2135
2142
  else
2136
- na(J, t);
2143
+ ta(J, t);
2137
2144
  }
2138
- return t === r ? Oa(H) : ja(H), H;
2145
+ return t === r ? za(H) : Oa(H), H;
2139
2146
  }
2140
2147
  }
2141
- function za(t, c, k) {
2142
- return ta(t, c, k, !0);
2143
- }
2144
2148
  function Ea(t, c, k) {
2145
- return ta(t, c, k, !1);
2149
+ return ra(t, c, k, !0);
2150
+ }
2151
+ function Ba(t, c, k) {
2152
+ return ra(t, c, k, !1);
2146
2153
  }
2147
- var Ba = Ea, Pa = za;
2148
- sa.Fragment = r, sa.jsx = Ba, sa.jsxs = Pa;
2149
- }()), sa;
2154
+ var Pa = Ba, Ra = Ea;
2155
+ la.Fragment = r, la.jsx = Pa, la.jsxs = Ra;
2156
+ }()), la;
2150
2157
  }
2151
- process.env.NODE_ENV === "production" ? ai.exports = lr() : ai.exports = dr();
2152
- var i = ai.exports;
2153
- const ur = {
2158
+ process.env.NODE_ENV === "production" ? ii.exports = cr() : ii.exports = mr();
2159
+ var i = ii.exports;
2160
+ const gr = {
2154
2161
  button: {
2155
2162
  back: "Назад",
2156
2163
  cancel: "Отказ",
@@ -2707,7 +2714,7 @@ const ur = {
2707
2714
  "sl-si": "Словенски",
2708
2715
  "sv-se": "Шведски"
2709
2716
  }
2710
- }, cr = {
2717
+ }, kr = {
2711
2718
  button: {
2712
2719
  back: "Zpět",
2713
2720
  cancel: "Zrušit",
@@ -3265,7 +3272,7 @@ const ur = {
3265
3272
  "sl-si": "Slovinsky",
3266
3273
  "sv-se": "Švédsky"
3267
3274
  }
3268
- }, mr = {
3275
+ }, hr = {
3269
3276
  button: {
3270
3277
  back: "Tilbage",
3271
3278
  cancel: "Annuller",
@@ -3822,7 +3829,7 @@ const ur = {
3822
3829
  "sl-si": "Slovensk",
3823
3830
  "sv-se": "Svensk"
3824
3831
  }
3825
- }, gr = {
3832
+ }, vr = {
3826
3833
  button: {
3827
3834
  back: "Zurück",
3828
3835
  cancel: "Abbrechen",
@@ -4379,7 +4386,7 @@ const ur = {
4379
4386
  "sl-si": "Slowenisch",
4380
4387
  "sv-se": "Schwedisch"
4381
4388
  }
4382
- }, kr = {
4389
+ }, pr = {
4383
4390
  button: {
4384
4391
  back: "Zurück",
4385
4392
  cancel: "Abbrechen",
@@ -4936,7 +4943,7 @@ const ur = {
4936
4943
  "sl-si": "Slowenisch",
4937
4944
  "sv-se": "Schwedisch"
4938
4945
  }
4939
- }, hr = {
4946
+ }, fr = {
4940
4947
  button: {
4941
4948
  back: "Πίσω",
4942
4949
  cancel: "Άκυρο",
@@ -5493,7 +5500,7 @@ const ur = {
5493
5500
  "sl-si": "Σλοβενικά",
5494
5501
  "sv-se": "Σουηδικά"
5495
5502
  }
5496
- }, vr = {
5503
+ }, Ar = {
5497
5504
  button: {
5498
5505
  back: "Πίσω",
5499
5506
  cancel: "Άκυρο",
@@ -6050,7 +6057,7 @@ const ur = {
6050
6057
  "sl-si": "Σλοβενικά",
6051
6058
  "sv-se": "Σουηδικά"
6052
6059
  }
6053
- }, pr = {
6060
+ }, br = {
6054
6061
  button: {
6055
6062
  back: "Back",
6056
6063
  cancel: "Cancel",
@@ -6607,7 +6614,7 @@ const ur = {
6607
6614
  11: "November",
6608
6615
  12: "December"
6609
6616
  }
6610
- }, fr = {
6617
+ }, Cr = {
6611
6618
  button: {
6612
6619
  back: "Back",
6613
6620
  cancel: "Cancel",
@@ -7164,7 +7171,7 @@ const ur = {
7164
7171
  "sl-si": "Slovenian",
7165
7172
  "sv-se": "Swedish"
7166
7173
  }
7167
- }, Ar = {
7174
+ }, Ir = {
7168
7175
  button: {
7169
7176
  back: "Atrás",
7170
7177
  cancel: "Cancelar",
@@ -7721,7 +7728,7 @@ const ur = {
7721
7728
  11: "Noviembre",
7722
7729
  12: "Diciembre"
7723
7730
  }
7724
- }, br = {
7731
+ }, Sr = {
7725
7732
  button: {
7726
7733
  back: "Tagasi",
7727
7734
  cancel: "Tühista",
@@ -8278,7 +8285,7 @@ const ur = {
8278
8285
  "sl-si": "Sloveenia",
8279
8286
  "sv-se": "Rootsi Keel"
8280
8287
  }
8281
- }, Cr = {
8288
+ }, Nr = {
8282
8289
  button: {
8283
8290
  back: "Takaisin",
8284
8291
  cancel: "Peruuta",
@@ -8835,7 +8842,7 @@ const ur = {
8835
8842
  "sl-si": "Slovenia",
8836
8843
  "sv-se": "Ruotsi"
8837
8844
  }
8838
- }, Ir = {
8845
+ }, Tr = {
8839
8846
  button: {
8840
8847
  back: "Retour",
8841
8848
  cancel: "Annuler",
@@ -9392,7 +9399,7 @@ const ur = {
9392
9399
  11: "Novembre",
9393
9400
  12: "Décembre"
9394
9401
  }
9395
- }, Sr = {
9402
+ }, Mr = {
9396
9403
  button: {
9397
9404
  back: "Retour",
9398
9405
  cancel: "Annuler",
@@ -9949,7 +9956,7 @@ const ur = {
9949
9956
  "sl-si": "Slovène",
9950
9957
  "sv-se": "Suédois"
9951
9958
  }
9952
- }, Nr = {
9959
+ }, yr = {
9953
9960
  button: {
9954
9961
  back: "Siar",
9955
9962
  cancel: "Cealaigh",
@@ -10506,7 +10513,7 @@ const ur = {
10506
10513
  "sl-si": "Slóivéinis",
10507
10514
  "sv-se": "Sualainnis"
10508
10515
  }
10509
- }, Tr = {
10516
+ }, jr = {
10510
10517
  button: {
10511
10518
  back: "Natrag",
10512
10519
  cancel: "Odustani",
@@ -11063,7 +11070,7 @@ const ur = {
11063
11070
  "sl-si": "Slovenski",
11064
11071
  "sv-se": "Švedski"
11065
11072
  }
11066
- }, Mr = {
11073
+ }, Or = {
11067
11074
  button: {
11068
11075
  back: "Vissza",
11069
11076
  cancel: "Mégse",
@@ -11620,7 +11627,7 @@ const ur = {
11620
11627
  "sl-si": "Szlovén",
11621
11628
  "sv-se": "Svéd"
11622
11629
  }
11623
- }, yr = {
11630
+ }, zr = {
11624
11631
  button: {
11625
11632
  back: "Indietro",
11626
11633
  cancel: "Annulla",
@@ -12177,7 +12184,7 @@ const ur = {
12177
12184
  "sl-si": "Sloveno",
12178
12185
  "sv-se": "Svedese"
12179
12186
  }
12180
- }, jr = {
12187
+ }, Er = {
12181
12188
  button: {
12182
12189
  back: "Atgal",
12183
12190
  cancel: "Atšaukti",
@@ -12734,7 +12741,7 @@ const ur = {
12734
12741
  "sl-si": "Slovėnų",
12735
12742
  "sv-se": "Švedų"
12736
12743
  }
12737
- }, Or = {
12744
+ }, Br = {
12738
12745
  button: {
12739
12746
  back: "Aizmugure",
12740
12747
  cancel: "Atcelt",
@@ -13291,7 +13298,7 @@ const ur = {
13291
13298
  "sl-si": "Slovēņu",
13292
13299
  "sv-se": "Zviedru"
13293
13300
  }
13294
- }, zr = {
13301
+ }, Pr = {
13295
13302
  button: {
13296
13303
  back: "Lura",
13297
13304
  cancel: "Ikkanċella",
@@ -13848,7 +13855,7 @@ const ur = {
13848
13855
  "sl-si": "Sloven",
13849
13856
  "sv-se": "Svediż"
13850
13857
  }
13851
- }, Er = {
13858
+ }, Rr = {
13852
13859
  button: {
13853
13860
  back: "Terug",
13854
13861
  cancel: "Annuleren",
@@ -14405,7 +14412,7 @@ const ur = {
14405
14412
  "sl-si": "Sloveens",
14406
14413
  "sv-se": "Zweeds"
14407
14414
  }
14408
- }, Br = {
14415
+ }, wr = {
14409
14416
  button: {
14410
14417
  back: "Terug",
14411
14418
  cancel: "Annuleren",
@@ -14962,7 +14969,7 @@ const ur = {
14962
14969
  11: "November",
14963
14970
  12: "December"
14964
14971
  }
14965
- }, Pr = {
14972
+ }, Hr = {
14966
14973
  button: {
14967
14974
  back: "Tilbake",
14968
14975
  cancel: "Avbryt",
@@ -15519,7 +15526,7 @@ const ur = {
15519
15526
  "sl-si": "Slovensk",
15520
15527
  "sv-se": "Svensk"
15521
15528
  }
15522
- }, Rr = {
15529
+ }, Lr = {
15523
15530
  button: {
15524
15531
  back: "Wstecz",
15525
15532
  cancel: "Anuluj",
@@ -16076,7 +16083,7 @@ const ur = {
16076
16083
  "sl-si": "Słoweński",
16077
16084
  "sv-se": "Szwedzki"
16078
16085
  }
16079
- }, wr = {
16086
+ }, Gr = {
16080
16087
  button: {
16081
16088
  back: "Voltar",
16082
16089
  cancel: "Cancelar",
@@ -16633,7 +16640,7 @@ const ur = {
16633
16640
  11: "Novembro",
16634
16641
  12: "Dezembro"
16635
16642
  }
16636
- }, Hr = {
16643
+ }, Dr = {
16637
16644
  button: {
16638
16645
  back: "Înapoi",
16639
16646
  cancel: "Anulați",
@@ -17190,7 +17197,7 @@ const ur = {
17190
17197
  "sl-si": "Slovenă",
17191
17198
  "sv-se": "Suedez"
17192
17199
  }
17193
- }, Lr = {
17200
+ }, Ur = {
17194
17201
  button: {
17195
17202
  back: "Späť",
17196
17203
  cancel: "Zrušiť",
@@ -17747,7 +17754,7 @@ const ur = {
17747
17754
  "sl-si": "Slovensky",
17748
17755
  "sv-se": "Švédsky"
17749
17756
  }
17750
- }, Gr = {
17757
+ }, Fr = {
17751
17758
  button: {
17752
17759
  back: "Nazaj",
17753
17760
  cancel: "Prekliči",
@@ -18304,7 +18311,7 @@ const ur = {
18304
18311
  "sl-si": "Slovenščina",
18305
18312
  "sv-se": "Švedščina"
18306
18313
  }
18307
- }, Dr = {
18314
+ }, xr = {
18308
18315
  button: {
18309
18316
  back: "Tillbaka",
18310
18317
  cancel: "Avbryt",
@@ -18861,125 +18868,125 @@ const ur = {
18861
18868
  11: "November",
18862
18869
  12: "December"
18863
18870
  }
18864
- }, Qa = {
18865
- "bg-bg": ur,
18866
- "cs-cz": cr,
18867
- "da-dk": mr,
18868
- "de-at": gr,
18869
- "de-de": kr,
18870
- "el-gr": vr,
18871
- "el-cy": hr,
18872
- "en-gb": pr,
18873
- "en-us": fr,
18874
- "es-es": Ar,
18875
- "et-ee": br,
18876
- "fi-fi": Cr,
18877
- "fr-fr": Ir,
18878
- "fr-lu": Sr,
18879
- "ga-ie": Nr,
18880
- "hr-hr": Tr,
18881
- "hu-hu": Mr,
18882
- "it-it": yr,
18883
- "lt-lt": jr,
18884
- "lv-lv": Or,
18885
- "mt-mt": zr,
18886
- "nl-be": Er,
18887
- "nl-nl": Br,
18888
- "no-no": Pr,
18889
- "pl-pl": Rr,
18890
- "pt-pt": wr,
18891
- "ro-ro": Hr,
18892
- "sk-sk": Lr,
18893
- "sl-si": Gr,
18894
- "sv-se": Dr
18895
- }, Yn = (e, a) => {
18871
+ }, Xa = {
18872
+ "bg-bg": gr,
18873
+ "cs-cz": kr,
18874
+ "da-dk": hr,
18875
+ "de-at": vr,
18876
+ "de-de": pr,
18877
+ "el-gr": Ar,
18878
+ "el-cy": fr,
18879
+ "en-gb": br,
18880
+ "en-us": Cr,
18881
+ "es-es": Ir,
18882
+ "et-ee": Sr,
18883
+ "fi-fi": Nr,
18884
+ "fr-fr": Tr,
18885
+ "fr-lu": Mr,
18886
+ "ga-ie": yr,
18887
+ "hr-hr": jr,
18888
+ "hu-hu": Or,
18889
+ "it-it": zr,
18890
+ "lt-lt": Er,
18891
+ "lv-lv": Br,
18892
+ "mt-mt": Pr,
18893
+ "nl-be": Rr,
18894
+ "nl-nl": wr,
18895
+ "no-no": Hr,
18896
+ "pl-pl": Lr,
18897
+ "pt-pt": Gr,
18898
+ "ro-ro": Dr,
18899
+ "sk-sk": Ur,
18900
+ "sl-si": Fr,
18901
+ "sv-se": xr
18902
+ }, _n = (e, a) => {
18896
18903
  const n = Z(a).prompt[e];
18897
18904
  return n || (console.log(
18898
18905
  'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
18899
18906
  ), e);
18900
- }, Ur = (e, a) => {
18907
+ }, Kr = (e, a) => {
18901
18908
  const n = Z(a).subPrompt[e];
18902
18909
  return n || (console.log(
18903
18910
  'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
18904
18911
  ), e);
18905
- }, Fr = (e, a) => {
18912
+ }, Vr = (e, a) => {
18906
18913
  const n = Z(a).error[e];
18907
18914
  return n || (console.log(
18908
18915
  'Missing error for key: "' + e + '" in locale: "' + a + '"'
18909
18916
  ), e);
18910
- }, xr = (e, a) => {
18917
+ }, Wr = (e, a) => {
18911
18918
  const n = Z(a).hint[e];
18912
18919
  return n || (console.log(
18913
18920
  'Missing hint for key: "' + e + '" in locale: "' + a + '"'
18914
18921
  ), e);
18915
- }, ii = (e, a) => {
18922
+ }, ni = (e, a) => {
18916
18923
  const n = Z(a).text[e];
18917
18924
  return n || (console.log(
18918
18925
  'Missing text for key: "' + e + '" in locale: "' + a + '"'
18919
18926
  ), e);
18920
- }, Kr = (e, a) => {
18927
+ }, Jr = (e, a) => {
18921
18928
  const n = Z(a).title[e];
18922
18929
  return n || (console.log(
18923
18930
  'Missing title for key: "' + e + '" in locale: "' + a + '"'
18924
18931
  ), e);
18925
- }, Vr = (e, a) => {
18932
+ }, Zr = (e, a) => {
18926
18933
  const n = Z(a).subTitle[e];
18927
18934
  return n || (console.log(
18928
18935
  'Missing subTitle for key: "' + e + '" in locale: "' + a + '"'
18929
18936
  ), e);
18930
- }, Wr = (e, a) => {
18937
+ }, qr = (e, a) => {
18931
18938
  const n = Z(a).button[e];
18932
18939
  return n || (console.log(
18933
18940
  'Missing button for key: "' + e + '" in locale: "' + a + '"'
18934
18941
  ), e);
18935
- }, _n = (e, a) => {
18942
+ }, Qn = (e, a) => {
18936
18943
  if (!e)
18937
18944
  return "";
18938
18945
  const n = Z(a).option[e];
18939
18946
  return n || (console.log(
18940
18947
  'Missing option for key: "' + e + '" in locale: "' + a + '"'
18941
18948
  ), e);
18942
- }, Jr = (e, a) => {
18949
+ }, Yr = (e, a) => {
18943
18950
  if (!e)
18944
18951
  return "";
18945
18952
  const n = Z(a).notification[e];
18946
18953
  return n || (console.log(
18947
18954
  'Missing notification for key: "' + e + '" in locale: "' + a + '"'
18948
18955
  ), e);
18949
- }, Zr = (e, a) => {
18956
+ }, _r = (e, a) => {
18950
18957
  const n = Z(a).country[e];
18951
18958
  return n || (console.log(
18952
18959
  'Missing country for key: "' + e + '" in locale: "' + a + '"'
18953
18960
  ), e);
18954
- }, qr = (e, a) => {
18961
+ }, Qr = (e, a) => {
18955
18962
  const n = Z(a).usState[e];
18956
18963
  return n || (console.log(
18957
18964
  'Missing usState for key: "' + e + '" in locale: "' + a + '"'
18958
18965
  ), e);
18959
- }, Yr = (e, a) => {
18966
+ }, Xr = (e, a) => {
18960
18967
  const n = Z(a).caProvince[e];
18961
18968
  return n || (console.log(
18962
18969
  'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
18963
18970
  ), e);
18964
- }, _r = (e, a) => {
18971
+ }, $r = (e, a) => {
18965
18972
  const n = Z(a).month[e];
18966
18973
  return n || (console.log(
18967
18974
  'Missing month for key: "' + e + '" in locale: "' + a + '"'
18968
18975
  ), e);
18969
- }, Qr = (e, a) => {
18976
+ }, eo = (e, a) => {
18970
18977
  const n = Z(a).locale[e];
18971
18978
  return n || (console.log(
18972
18979
  'Missing locale for key: "' + e + '" in locale: "' + a + '"'
18973
18980
  ), e);
18974
- }, Z = (e = "en-us") => Qa[e] ? Qa[e] : (console.log(`Locale '${e}' not found. Using en-us`), Qa["en-us"]), st = () => {
18975
- const e = mt(void 0);
18981
+ }, Z = (e = "en-us") => Xa[e] ? Xa[e] : (console.log(`Locale '${e}' not found. Using en-us`), Xa["en-us"]), lt = () => {
18982
+ const e = gt(void 0);
18976
18983
  return [() => {
18977
- const n = gt(e);
18984
+ const n = kt(e);
18978
18985
  if (n === void 0)
18979
18986
  throw new Error("useCtx must be inside a Provider with a value");
18980
18987
  return n;
18981
18988
  }, e.Provider];
18982
- }, [$, Xr] = st(), $r = ({
18989
+ }, [$, ao] = lt(), io = ({
18983
18990
  data: e,
18984
18991
  language: a = "en-us",
18985
18992
  onSubmit: n,
@@ -18987,10 +18994,10 @@ const ur = {
18987
18994
  taxForms: s = ["DAC7"]
18988
18995
  }) => {
18989
18996
  const [o, d] = K(a), [u, m] = K(s), [l, v] = K(
18990
- Jn(e, u)
18997
+ Zn(e, u)
18991
18998
  ), [g, A] = K([r]), [p, S] = K(
18992
18999
  void 0
18993
- ), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } = da(
19000
+ ), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } = ua(
18994
19001
  l,
18995
19002
  u
18996
19003
  ), L = g[g.length - 1], ae = {
@@ -19003,17 +19010,17 @@ const ur = {
19003
19010
  regardedOwnerForeignTrustClassification: void 0,
19004
19011
  regardedOwnerForeignOtherClassification: void 0
19005
19012
  }, se = (z) => {
19006
- v(z), n(ir(z));
19007
- }, Ie = Fa(
19013
+ v(z), n(rr(z));
19014
+ }, Se = xa(
19008
19015
  (z) => {
19009
- v(Jn(z, u)), S(void 0), A([r]);
19016
+ v(Zn(z, u)), S(void 0), A([r]);
19010
19017
  },
19011
19018
  [u, r]
19012
- ), Se = (z) => {
19013
- const { accountHolderIsDisregarded: W, hasNoEUTaxId: ge } = da(z), ke = u.includes("DAC7");
19014
- return L === "AccountHolderClassification" ? ke ? "AccountHolderContact" : W ? "RegardedOwnerClassification" : "AccountHolderContact" : L === "AccountHolderContact" ? ke && z.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : L === "AccountHolderTax" ? ge && z.accountHolderIsIndividual === "yes" ? "AccountHolderTaxClarification" : "Summary" : L === "RegardedOwnerClassification" ? "RegardedOwnerContact" : L === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
19019
+ ), Ne = (z) => {
19020
+ const { accountHolderIsDisregarded: W, hasNoEUTaxId: ke } = ua(z), he = u.includes("DAC7");
19021
+ return L === "AccountHolderClassification" ? he ? "AccountHolderContact" : W ? "RegardedOwnerClassification" : "AccountHolderContact" : L === "AccountHolderContact" ? he && z.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : L === "AccountHolderTax" ? ke && z.accountHolderIsIndividual === "yes" ? "AccountHolderTaxClarification" : "Summary" : L === "RegardedOwnerClassification" ? "RegardedOwnerContact" : L === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
19015
19022
  }, le = (z) => {
19016
- const W = Se(z);
19023
+ const W = Ne(z);
19017
19024
  W === "Summary" && S(void 0), ue(W);
19018
19025
  }, de = (z) => {
19019
19026
  const W = {
@@ -19021,7 +19028,7 @@ const ur = {
19021
19028
  ...z
19022
19029
  };
19023
19030
  v(W), p === void 0 ? le(W) : A(["Summary"]);
19024
- }, Ne = (z) => {
19031
+ }, Te = (z) => {
19025
19032
  l.accountHolderUsAccountType !== z.accountHolderUsAccountType || l.accountHolderForeignAccountType !== z.accountHolderForeignAccountType ? de({
19026
19033
  ...z,
19027
19034
  ...ae
@@ -19041,10 +19048,10 @@ const ur = {
19041
19048
  isW8Ben: R,
19042
19049
  isW8BenE: P,
19043
19050
  isDac7: ee,
19044
- onPersistAccountHolderData: Ne,
19051
+ onPersistAccountHolderData: Te,
19045
19052
  onPersistCollectedData: de,
19046
19053
  onSubmitTaxDocumentation: se,
19047
- onResetTaxDocumentation: Ie,
19054
+ onResetTaxDocumentation: Se,
19048
19055
  editTo: V,
19049
19056
  onCancel: q,
19050
19057
  goTo: ue,
@@ -19057,7 +19064,7 @@ const ur = {
19057
19064
  supportedForms: u,
19058
19065
  setSupportedForms: m
19059
19066
  };
19060
- }, eo = ({
19067
+ }, no = ({
19061
19068
  data: e = {},
19062
19069
  onSubmit: a,
19063
19070
  language: n,
@@ -19065,9 +19072,9 @@ const ur = {
19065
19072
  step: s,
19066
19073
  children: o
19067
19074
  }) => /* @__PURE__ */ i.jsx(
19068
- Xr,
19075
+ ao,
19069
19076
  {
19070
- value: $r({
19077
+ value: io({
19071
19078
  data: e,
19072
19079
  onSubmit: a,
19073
19080
  language: n,
@@ -19076,39 +19083,39 @@ const ur = {
19076
19083
  }),
19077
19084
  children: o
19078
19085
  }
19079
- ), [O, ao] = st(), io = (e, a) => Object.keys(e).reduce(
19086
+ ), [O, to] = lt(), ro = (e, a) => Object.keys(e).reduce(
19080
19087
  (n, r) => {
19081
19088
  var s;
19082
19089
  if (a.has(r)) {
19083
- const o = (s = Xa[r]) == null ? void 0 : s.call(Xa, e);
19090
+ const o = (s = $a[r]) == null ? void 0 : s.call($a, e);
19084
19091
  o && (n[r] = o);
19085
19092
  }
19086
19093
  return n;
19087
19094
  },
19088
19095
  {}
19089
- ), Xa = {
19096
+ ), $a = {
19090
19097
  accountHolderVatIdentificationNumber: (e) => {
19091
19098
  const a = e.accountHolderVatIdentificationNumber;
19092
19099
  if (!E(a) && (a.length < 5 || a.length > 20))
19093
19100
  return "vatUnexpectedFormat";
19094
19101
  }
19095
- }, no = (e, a) => {
19102
+ }, oo = (e, a) => {
19096
19103
  const n = { ...e };
19097
19104
  for (; a < 5; ) {
19098
19105
  const r = a + 1;
19099
19106
  n[`accountHolderShowTaxResidence${a}`] = e[`accountHolderShowTaxResidence${r}`], n[`accountHolderTaxResidenceCountry${a}`] = e[`accountHolderTaxResidenceCountry${r}`], n[`accountHolderTaxResidenceForeignTin${a}`] = e[`accountHolderTaxResidenceForeignTin${r}`], n[`accountHolderTaxResidenceForeignTin${a}IsNotRequired`] = e[`accountHolderTaxResidenceForeignTin${r}IsNotRequired`], a++;
19100
19107
  }
19101
19108
  return { ...n, accountHolderShowTaxResidence5: void 0 };
19102
- }, to = () => {
19109
+ }, so = () => {
19103
19110
  const {
19104
19111
  language: e,
19105
19112
  data: a,
19106
19113
  supportedForms: n
19107
19114
  } = $(), [r, s] = K(a), [o, d] = K(!1), [u, m] = K(/* @__PURE__ */ new Set()), l = _(
19108
- () => ot(n),
19115
+ () => st(n),
19109
19116
  [n]
19110
19117
  ), v = _(
19111
- () => or(r, l),
19118
+ () => dr(r, l),
19112
19119
  [r, l]
19113
19120
  ), g = _(
19114
19121
  () => Object.fromEntries(
@@ -19116,28 +19123,28 @@ const ur = {
19116
19123
  ),
19117
19124
  [u]
19118
19125
  ), A = _(
19119
- () => rr(r, g),
19126
+ () => lr(r, g),
19120
19127
  [r, g]
19121
19128
  ), p = _(
19122
- () => tr(r, A, g),
19129
+ () => sr(r, A, g),
19123
19130
  [r, A, g]
19124
19131
  ), S = _(
19125
- () => io(r, u),
19132
+ () => ro(r, u),
19126
19133
  [r, u]
19127
19134
  );
19128
19135
  X(() => {
19129
19136
  s(a);
19130
19137
  }, [a]);
19131
- const N = Fa(
19138
+ const N = xa(
19132
19139
  (h, B) => {
19133
19140
  if (/accountHolderShowTaxResidence[234]/.test(h) && B === void 0) {
19134
19141
  const Y = parseInt(h.slice(-1));
19135
- B !== r[h] && s(no(r, Y));
19142
+ B !== r[h] && s(oo(r, Y));
19136
19143
  } else if (B !== r[h]) {
19137
19144
  const Y = {
19138
19145
  [h]: B
19139
19146
  };
19140
- s((he) => ({ ...he, ...Y }));
19147
+ s((ve) => ({ ...ve, ...Y }));
19141
19148
  }
19142
19149
  },
19143
19150
  [r]
@@ -19146,7 +19153,7 @@ const ur = {
19146
19153
  }, R = () => {
19147
19154
  d(!1);
19148
19155
  }, P = Object.keys(p).length === 0, ee = (h) => {
19149
- const B = Jt(r);
19156
+ const B = Zt(r);
19150
19157
  return B[h] ? B[h] : h;
19151
19158
  }, L = (h) => {
19152
19159
  const B = {
@@ -19161,16 +19168,16 @@ const ur = {
19161
19168
  };
19162
19169
  return B[h] ? B[h] : h;
19163
19170
  }, ae = (h) => {
19164
- const B = Kt();
19171
+ const B = Vt();
19165
19172
  return B[h] ? B[h] : h;
19166
- }, se = (h) => xr(ae(h), e), Ie = (h) => ii(h, e), Se = (h) => Kr(h, e), le = (h) => Vr(h, e), de = (h) => Fr(h, e), Ne = (h) => Qr(h, e), ue = (h) => Wr(h, e), V = (h) => Yn(ee(h), e), q = (h) => Jr(h, e), ie = (h) => Yn(ee(h), e) + (A[h] ? "*" : ""), z = (h) => Ur(L(h), e), W = Fa(
19173
+ }, se = (h) => Wr(ae(h), e), Se = (h) => ni(h, e), Ne = (h) => Jr(h, e), le = (h) => Zr(h, e), de = (h) => Vr(h, e), Te = (h) => eo(h, e), ue = (h) => qr(h, e), V = (h) => _n(ee(h), e), q = (h) => Yr(h, e), ie = (h) => _n(ee(h), e) + (A[h] ? "*" : ""), z = (h) => Kr(L(h), e), W = xa(
19167
19174
  (h) => {
19168
19175
  if (h)
19169
- return _n(h, e) ? _n(h, e) : h;
19176
+ return Qn(h, e) ? Qn(h, e) : h;
19170
19177
  },
19171
19178
  [e]
19172
- ), ge = Fa(
19173
- (h) => h ? Zr(h, e) : "",
19179
+ ), ke = xa(
19180
+ (h) => h ? _r(h, e) : "",
19174
19181
  [e]
19175
19182
  );
19176
19183
  return {
@@ -19187,23 +19194,23 @@ const ur = {
19187
19194
  exposeErrors: T,
19188
19195
  hideErrors: R,
19189
19196
  getLocalButton: ue,
19190
- getLocalCaProvince: (h) => h ? Yr(h, e) : "",
19191
- getLocalCountry: ge,
19197
+ getLocalCaProvince: (h) => h ? Xr(h, e) : "",
19198
+ getLocalCountry: ke,
19192
19199
  getLocalError: de,
19193
19200
  getLocalHint: se,
19194
19201
  getHintKey: ae,
19195
- getLocalLocale: Ne,
19202
+ getLocalLocale: Te,
19196
19203
  getLocalNotification: q,
19197
19204
  getLocalOption: W,
19198
19205
  getLocalPrompt: V,
19199
19206
  getPromptKey: ee,
19200
19207
  getLocalSubPrompt: z,
19201
19208
  getSubPromptKey: L,
19202
- getLocalText: Ie,
19203
- getLocalTitle: Se,
19209
+ getLocalText: Se,
19210
+ getLocalTitle: Ne,
19204
19211
  getLocalSubTitle: le,
19205
- getLocalUsState: (h) => h ? qr(h, e) : "",
19206
- getLocalMonth: (h) => h ? _r(h, e) : "",
19212
+ getLocalUsState: (h) => h ? Qr(h, e) : "",
19213
+ getLocalMonth: (h) => h ? $r(h, e) : "",
19207
19214
  getRequiredLocalPrompt: ie,
19208
19215
  notifiedFields: S,
19209
19216
  // (must be visible)
@@ -19220,7 +19227,7 @@ const ur = {
19220
19227
  u.has(h) || m((B) => /* @__PURE__ */ new Set([...B, h]));
19221
19228
  }
19222
19229
  };
19223
- }, Ae = ({ children: e }) => /* @__PURE__ */ i.jsx(ao, { value: to(), children: e }), Ua = ({ address: e, className: a }) => {
19230
+ }, be = ({ children: e }) => /* @__PURE__ */ i.jsx(to, { value: so(), children: e }), Fa = ({ address: e, className: a }) => {
19224
19231
  const { getLocalCountry: n, getLocalUsState: r, getLocalCaProvince: s } = O(), o = e.country === "US" ? r(e.state) : e.country === "CA" ? s(e.state) : e.state;
19225
19232
  return /* @__PURE__ */ i.jsxs("div", { className: ce(a, "address"), children: [
19226
19233
  /* @__PURE__ */ i.jsx("div", { children: e.street }),
@@ -19232,16 +19239,16 @@ const ur = {
19232
19239
  ] }),
19233
19240
  e.country && /* @__PURE__ */ i.jsx("div", { children: n(e.country) })
19234
19241
  ] });
19235
- }, Pe = ({
19242
+ }, Re = ({
19236
19243
  name: e,
19237
19244
  hint: a
19238
19245
  }) => {
19239
19246
  const { invalidFields: n, showErrors: r, getLocalError: s, getLocalHint: o } = O(), d = n[e] ? s(n[e]) : "";
19240
19247
  return d && r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) : a ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-hint", children: o(e) }) : null;
19241
- }, be = ({ children: e, title: a, actions: n }) => /* @__PURE__ */ i.jsxs(
19248
+ }, Ce = ({ children: e, title: a, actions: n, className: r }) => /* @__PURE__ */ i.jsxs(
19242
19249
  "form",
19243
19250
  {
19244
- className: ce("taxbit-page", `taxbit-form-${tt(a)}`),
19251
+ className: ce("taxbit-page", r),
19245
19252
  onSubmit: () => !1,
19246
19253
  children: [
19247
19254
  (a || n) && /* @__PURE__ */ i.jsxs("header", { className: "taxbit-page-header", children: [
@@ -19251,13 +19258,13 @@ const ur = {
19251
19258
  e
19252
19259
  ]
19253
19260
  }
19254
- ), ye = ({
19261
+ ), je = ({
19255
19262
  children: e,
19256
19263
  className: a
19257
- }) => /* @__PURE__ */ i.jsx("div", { className: ce(a, "taxbit-input-status"), children: e }), ro = ({ name: e }) => {
19264
+ }) => /* @__PURE__ */ i.jsx("div", { className: ce(a, "taxbit-input-status"), children: e }), lo = ({ name: e }) => {
19258
19265
  const { notifiedFields: a, getLocalNotification: n } = O(), r = a[e] ? n(a[e]) : "";
19259
19266
  return r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-notification", children: r }) : null;
19260
- }, Ve = ({
19267
+ }, We = ({
19261
19268
  label: e,
19262
19269
  subLabel: a,
19263
19270
  value: n,
@@ -19272,7 +19279,7 @@ const ur = {
19272
19279
  {
19273
19280
  className: ce(
19274
19281
  "taxbit-row",
19275
- o && `taxbit-question-${tt(o)}`,
19282
+ o && `taxbit-question-${ge(o)}`,
19276
19283
  o && m && u[o] && "taxbit-error",
19277
19284
  d
19278
19285
  ),
@@ -19311,11 +19318,11 @@ const ur = {
19311
19318
  a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
19312
19319
  ] }),
19313
19320
  r
19314
- ] }) : r, Be = [{ value: "yes" }, { value: "no" }], oo = () => {
19321
+ ] }) : r, Pe = [{ value: "yes" }, { value: "no" }], uo = () => {
19315
19322
  const { language: e, setLanguage: a } = $(), { getLocalLocale: n } = O(), r = (o) => {
19316
19323
  const d = o.target.value;
19317
19324
  a(d);
19318
- }, s = zt.map((o) => ({
19325
+ }, s = Et.map((o) => ({
19319
19326
  ...o,
19320
19327
  label: n(o.value)
19321
19328
  })).sort((o, d) => o.label.localeCompare(d.label));
@@ -19328,7 +19335,7 @@ const ur = {
19328
19335
  children: s.map((o) => /* @__PURE__ */ i.jsx("option", { value: o.value, children: o.label }, o.value))
19329
19336
  }
19330
19337
  );
19331
- }, Ce = ({
19338
+ }, Ie = ({
19332
19339
  onBack: e,
19333
19340
  onCancel: a,
19334
19341
  onNext: n,
@@ -19363,13 +19370,13 @@ const ur = {
19363
19370
  )
19364
19371
  ] })
19365
19372
  ] });
19366
- }, so = ({ label: e, subLabel: a, name: n, onClick: r }) => {
19373
+ }, co = ({ label: e, subLabel: a, name: n, onClick: r }) => {
19367
19374
  const { fields: s, setValue: o, getLocalPrompt: d, getLocalSubPrompt: u } = O(), m = (g) => {
19368
19375
  r && r(g), o(n, g);
19369
19376
  }, l = s[n], v = (g) => {
19370
19377
  m(g.target.checked ? "yes" : void 0);
19371
19378
  };
19372
- return /* @__PURE__ */ i.jsxs(ye, { children: [
19379
+ return /* @__PURE__ */ i.jsxs(je, { children: [
19373
19380
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-checkBox-label", children: [
19374
19381
  /* @__PURE__ */ i.jsx(
19375
19382
  "input",
@@ -19387,19 +19394,19 @@ const ur = {
19387
19394
  a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children: u(n) })
19388
19395
  ] })
19389
19396
  ] }),
19390
- /* @__PURE__ */ i.jsx(Pe, { name: n })
19397
+ /* @__PURE__ */ i.jsx(Re, { name: n })
19391
19398
  ] });
19392
- }, lo = (e) => {
19393
- const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ? Un(
19399
+ }, mo = (e) => {
19400
+ const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ? Fn(
19394
19401
  parseInt(o),
19395
19402
  u !== "" ? parseInt(u) : void 0
19396
- ) : Gn.length, l = Bt.map((S) => ({
19403
+ ) : Dn.length, l = Pt.map((S) => ({
19397
19404
  ...S,
19398
19405
  label: r(S.value)
19399
19406
  })), v = (S, N, T) => {
19400
19407
  if (!N)
19401
19408
  return !0;
19402
- const R = Un(
19409
+ const R = Fn(
19403
19410
  parseInt(N),
19404
19411
  F(T) ? parseInt(T) : void 0
19405
19412
  );
@@ -19427,11 +19434,11 @@ const ur = {
19427
19434
  `${o || ""}/${v(d, o, N) ? d : ""}/${N}`
19428
19435
  );
19429
19436
  },
19430
- dayOptions: Gn.slice(0, m),
19431
- birthYearOptions: xt,
19437
+ dayOptions: Dn.slice(0, m),
19438
+ birthYearOptions: Kt,
19432
19439
  monthOptions: l
19433
19440
  };
19434
- }, uo = ({
19441
+ }, go = ({
19435
19442
  name: e,
19436
19443
  className: a,
19437
19444
  hint: n
@@ -19446,8 +19453,8 @@ const ur = {
19446
19453
  dayOptions: v,
19447
19454
  monthOptions: g,
19448
19455
  birthYearOptions: A
19449
- } = lo(e);
19450
- return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19456
+ } = mo(e);
19457
+ return /* @__PURE__ */ i.jsxs(je, { className: a, children: [
19451
19458
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
19452
19459
  /* @__PURE__ */ i.jsxs(
19453
19460
  "select",
@@ -19498,15 +19505,15 @@ const ur = {
19498
19505
  }
19499
19506
  )
19500
19507
  ] }),
19501
- /* @__PURE__ */ i.jsx(Pe, { name: e, hint: n })
19508
+ /* @__PURE__ */ i.jsx(Re, { name: e, hint: n })
19502
19509
  ] });
19503
- }, co = ({ name: e, options: a }) => {
19510
+ }, ko = ({ name: e, options: a }) => {
19504
19511
  const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(), d = (l) => {
19505
19512
  r(e, l), s();
19506
19513
  }, u = n[e], m = (l) => {
19507
19514
  d(l.target.value);
19508
19515
  };
19509
- return /* @__PURE__ */ i.jsxs(ye, { children: [
19516
+ return /* @__PURE__ */ i.jsxs(je, { children: [
19510
19517
  /* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((l) => /* @__PURE__ */ i.jsxs(
19511
19518
  "div",
19512
19519
  {
@@ -19532,9 +19539,9 @@ const ur = {
19532
19539
  },
19533
19540
  l.value
19534
19541
  )) }),
19535
- /* @__PURE__ */ i.jsx(Pe, { name: e })
19542
+ /* @__PURE__ */ i.jsx(Re, { name: e })
19536
19543
  ] });
19537
- }, mo = ({
19544
+ }, ho = ({
19538
19545
  name: e,
19539
19546
  options: a,
19540
19547
  addBlank: n = !0,
@@ -19545,7 +19552,7 @@ const ur = {
19545
19552
  const { fields: d, setValue: u, getLocalOption: m } = O(), l = d[e], v = (g) => {
19546
19553
  s && s(), u(e, g.target.value);
19547
19554
  };
19548
- return /* @__PURE__ */ i.jsxs(ye, { className: r, children: [
19555
+ return /* @__PURE__ */ i.jsxs(je, { className: r, children: [
19549
19556
  /* @__PURE__ */ i.jsxs(
19550
19557
  "select",
19551
19558
  {
@@ -19560,9 +19567,9 @@ const ur = {
19560
19567
  ]
19561
19568
  }
19562
19569
  ),
19563
- /* @__PURE__ */ i.jsx(Pe, { name: e })
19570
+ /* @__PURE__ */ i.jsx(Re, { name: e })
19564
19571
  ] });
19565
- }, go = ({
19572
+ }, vo = ({
19566
19573
  name: e,
19567
19574
  className: a,
19568
19575
  onChange: n,
@@ -19575,7 +19582,7 @@ const ur = {
19575
19582
  const A = n ? n(g.target.value) : g.target.value;
19576
19583
  d && (u[d] === u[e] || !u[d]) && m(d, A), m(e, A);
19577
19584
  };
19578
- return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19585
+ return /* @__PURE__ */ i.jsxs(je, { className: a, children: [
19579
19586
  /* @__PURE__ */ i.jsx(
19580
19587
  "input",
19581
19588
  {
@@ -19587,14 +19594,14 @@ const ur = {
19587
19594
  disabled: o
19588
19595
  }
19589
19596
  ),
19590
- /* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
19597
+ /* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
19591
19598
  s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
19592
19599
  ] });
19593
- }, ko = ({ name: e }) => {
19600
+ }, po = ({ name: e }) => {
19594
19601
  const { fields: a, setValue: n, getLocalPrompt: r } = O(), s = a[e], o = () => {
19595
19602
  n(e, s === void 0 ? "yes" : void 0);
19596
19603
  };
19597
- return /* @__PURE__ */ i.jsxs(ye, { children: [
19604
+ return /* @__PURE__ */ i.jsxs(je, { children: [
19598
19605
  /* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
19599
19606
  "button",
19600
19607
  {
@@ -19606,9 +19613,9 @@ const ur = {
19606
19613
  children: r(e)
19607
19614
  }
19608
19615
  ) }),
19609
- /* @__PURE__ */ i.jsx(Pe, { name: e })
19616
+ /* @__PURE__ */ i.jsx(Re, { name: e })
19610
19617
  ] });
19611
- }, ho = ({ onClick: e }) => {
19618
+ }, fo = ({ onClick: e }) => {
19612
19619
  const { getLocalButton: a } = O(), [n, r] = K(!0), s = "hideShowButton", o = () => {
19613
19620
  r((d) => !d), e();
19614
19621
  };
@@ -19633,7 +19640,7 @@ const ur = {
19633
19640
  )
19634
19641
  }
19635
19642
  ) });
19636
- }, vo = ({
19643
+ }, Ao = ({
19637
19644
  value: e = "",
19638
19645
  mask: a = "•",
19639
19646
  onChange: n,
@@ -19643,10 +19650,10 @@ const ur = {
19643
19650
  }) => {
19644
19651
  const [d, u] = K(e), [m, l] = K(
19645
19652
  Array(e.length + 1).join(a)
19646
- ), v = Ln(), [g, A] = K([
19653
+ ), v = Gn(), [g, A] = K([
19647
19654
  0,
19648
19655
  0
19649
- ]), p = Ln(null);
19656
+ ]), p = Gn(null);
19650
19657
  X(() => {
19651
19658
  e !== d && (u(e), l(Array(e.length + 1).join(a)));
19652
19659
  }, [e, a, d]);
@@ -19682,7 +19689,7 @@ const ur = {
19682
19689
  disabled: r
19683
19690
  }
19684
19691
  );
19685
- }, po = ({
19692
+ }, bo = ({
19686
19693
  name: e,
19687
19694
  className: a,
19688
19695
  onChange: n,
@@ -19695,9 +19702,9 @@ const ur = {
19695
19702
  u(e, p);
19696
19703
  };
19697
19704
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
19698
- /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19705
+ /* @__PURE__ */ i.jsxs(je, { className: a, children: [
19699
19706
  /* @__PURE__ */ i.jsx(
19700
- vo,
19707
+ Ao,
19701
19708
  {
19702
19709
  value: v,
19703
19710
  onChange: g,
@@ -19707,10 +19714,10 @@ const ur = {
19707
19714
  disabled: o
19708
19715
  }
19709
19716
  ),
19710
- /* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
19717
+ /* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
19711
19718
  s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
19712
19719
  ] }),
19713
- /* @__PURE__ */ i.jsx(ho, { onClick: () => l((A) => !A) })
19720
+ /* @__PURE__ */ i.jsx(fo, { onClick: () => l((A) => !A) })
19714
19721
  ] });
19715
19722
  }, f = ({
19716
19723
  label: e,
@@ -19730,7 +19737,7 @@ const ur = {
19730
19737
  return X(() => {
19731
19738
  g ? u(n) : m(n);
19732
19739
  }, [g, n, u, m]), g ? /* @__PURE__ */ i.jsxs(
19733
- Ve,
19740
+ We,
19734
19741
  {
19735
19742
  name: n,
19736
19743
  label: e ? l(n) : void 0,
@@ -19738,7 +19745,7 @@ const ur = {
19738
19745
  onEdit: s,
19739
19746
  children: [
19740
19747
  r,
19741
- o ? /* @__PURE__ */ i.jsx(ro, { name: n }) : null
19748
+ o ? /* @__PURE__ */ i.jsx(lo, { name: n }) : null
19742
19749
  ]
19743
19750
  }
19744
19751
  ) : null;
@@ -19748,21 +19755,21 @@ const ur = {
19748
19755
  subLabel: n,
19749
19756
  onClick: r
19750
19757
  }) => /* @__PURE__ */ i.jsx(f, { name: e, children: /* @__PURE__ */ i.jsx(
19751
- so,
19758
+ co,
19752
19759
  {
19753
19760
  label: a,
19754
19761
  subLabel: n,
19755
19762
  name: e,
19756
19763
  onClick: r
19757
19764
  }
19758
- ) }), lt = ({
19765
+ ) }), dt = ({
19759
19766
  label: e,
19760
19767
  subLabel: a,
19761
19768
  name: n
19762
19769
  }) => {
19763
19770
  const { showErrors: r, invalidFields: s, getLocalError: o } = O(), d = s[n] ? o(s[n]) : "";
19764
- return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(ye, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) }) });
19765
- }, Me = ({
19771
+ return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(je, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) }) });
19772
+ }, ye = ({
19766
19773
  name: e,
19767
19774
  label: a,
19768
19775
  hint: n,
@@ -19770,7 +19777,7 @@ const ur = {
19770
19777
  onChange: s,
19771
19778
  disabled: o
19772
19779
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19773
- po,
19780
+ bo,
19774
19781
  {
19775
19782
  name: e,
19776
19783
  onChange: s,
@@ -19782,7 +19789,7 @@ const ur = {
19782
19789
  label: a,
19783
19790
  subLabel: n,
19784
19791
  options: r
19785
- }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(co, { name: e, options: r }) }), me = ({
19792
+ }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(ko, { name: e, options: r }) }), me = ({
19786
19793
  name: e,
19787
19794
  label: a,
19788
19795
  options: n,
@@ -19791,7 +19798,7 @@ const ur = {
19791
19798
  onChange: o,
19792
19799
  disabled: d
19793
19800
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19794
- mo,
19801
+ ho,
19795
19802
  {
19796
19803
  name: e,
19797
19804
  options: n,
@@ -19808,7 +19815,7 @@ const ur = {
19808
19815
  disabled: o,
19809
19816
  syncName: d
19810
19817
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19811
- go,
19818
+ vo,
19812
19819
  {
19813
19820
  name: e,
19814
19821
  onChange: s,
@@ -19816,20 +19823,21 @@ const ur = {
19816
19823
  disabled: o,
19817
19824
  syncName: d
19818
19825
  }
19819
- ) }), fo = () => {
19826
+ ) }), Co = () => {
19820
19827
  const { fields: e, getLocalTitle: a } = O(), { onPersistAccountHolderData: n, onCancel: r } = $();
19821
19828
  return /* @__PURE__ */ i.jsxs(
19822
- be,
19829
+ Ce,
19823
19830
  {
19824
19831
  title: a("accountHolderClassification"),
19825
- actions: /* @__PURE__ */ i.jsx(oo, {}),
19832
+ className: `taxbit-form-${ge("accountHolderClassification")}`,
19833
+ actions: /* @__PURE__ */ i.jsx(uo, {}),
19826
19834
  children: [
19827
19835
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
19828
19836
  /* @__PURE__ */ i.jsx(
19829
19837
  x,
19830
19838
  {
19831
19839
  name: "accountHolderUsPerson",
19832
- options: Be,
19840
+ options: Pe,
19833
19841
  label: !0
19834
19842
  }
19835
19843
  ),
@@ -19837,7 +19845,7 @@ const ur = {
19837
19845
  x,
19838
19846
  {
19839
19847
  name: "accountHolderIsEuResident",
19840
- options: Be,
19848
+ options: Pe,
19841
19849
  label: !0,
19842
19850
  subLabel: !0
19843
19851
  }
@@ -19846,7 +19854,7 @@ const ur = {
19846
19854
  x,
19847
19855
  {
19848
19856
  name: "accountHolderIsIndividual",
19849
- options: Be,
19857
+ options: Pe,
19850
19858
  label: !0,
19851
19859
  subLabel: !0
19852
19860
  }
@@ -19855,7 +19863,7 @@ const ur = {
19855
19863
  x,
19856
19864
  {
19857
19865
  name: "accountHolderUsAccountType",
19858
- options: et,
19866
+ options: at,
19859
19867
  label: !0
19860
19868
  }
19861
19869
  ),
@@ -19863,7 +19871,7 @@ const ur = {
19863
19871
  x,
19864
19872
  {
19865
19873
  name: "accountHolderUsSmllcElection",
19866
- options: Be,
19874
+ options: Pe,
19867
19875
  label: !0,
19868
19876
  subLabel: !0
19869
19877
  }
@@ -19872,7 +19880,7 @@ const ur = {
19872
19880
  x,
19873
19881
  {
19874
19882
  name: "accountHolderUsLlcClassification",
19875
- options: ri,
19883
+ options: oi,
19876
19884
  label: !0
19877
19885
  }
19878
19886
  ),
@@ -19881,7 +19889,7 @@ const ur = {
19881
19889
  x,
19882
19890
  {
19883
19891
  name: "accountHolderUsTrustEstateEin",
19884
- options: Be,
19892
+ options: Pe,
19885
19893
  label: !0
19886
19894
  }
19887
19895
  ),
@@ -19889,7 +19897,7 @@ const ur = {
19889
19897
  x,
19890
19898
  {
19891
19899
  name: "accountHolderForeignAccountType",
19892
- options: $n,
19900
+ options: et,
19893
19901
  label: !0
19894
19902
  }
19895
19903
  ),
@@ -19897,7 +19905,7 @@ const ur = {
19897
19905
  x,
19898
19906
  {
19899
19907
  name: "accountHolderForeignOtherClassification",
19900
- options: ni,
19908
+ options: ti,
19901
19909
  label: !0
19902
19910
  }
19903
19911
  ),
@@ -19905,13 +19913,13 @@ const ur = {
19905
19913
  x,
19906
19914
  {
19907
19915
  name: "accountHolderForeignTrustClassification",
19908
- options: ti,
19916
+ options: ri,
19909
19917
  label: !0
19910
19918
  }
19911
19919
  )
19912
19920
  ] }),
19913
19921
  /* @__PURE__ */ i.jsx(
19914
- Ce,
19922
+ Ie,
19915
19923
  {
19916
19924
  onCancel: r,
19917
19925
  onNext: () => n(e)
@@ -19920,7 +19928,7 @@ const ur = {
19920
19928
  ]
19921
19929
  }
19922
19930
  );
19923
- }, Ao = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(fo, {}) }), Ka = ({
19931
+ }, Io = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Co, {}) }), Va = ({
19924
19932
  prompt: e,
19925
19933
  prefix: a,
19926
19934
  showIf: n = !0
@@ -19933,19 +19941,19 @@ const ur = {
19933
19941
  getLocalUsState: u,
19934
19942
  hideField: m
19935
19943
  } = O(), l = r[`${a}Country`], v = _(
19936
- () => ua.map((p) => ({
19944
+ () => ca.map((p) => ({
19937
19945
  ...p,
19938
19946
  label: o(p.value)
19939
19947
  })).sort((p, S) => p.label.localeCompare(S.label)),
19940
19948
  [o]
19941
19949
  ), g = _(
19942
- () => Dt.map((p) => ({
19950
+ () => Ut.map((p) => ({
19943
19951
  ...p,
19944
19952
  label: u(p.value)
19945
19953
  })).sort((p, S) => p.label.localeCompare(S.label)),
19946
19954
  [u]
19947
19955
  ), A = _(
19948
- () => At.map((p) => ({
19956
+ () => bt.map((p) => ({
19949
19957
  ...p,
19950
19958
  label: d(p.value)
19951
19959
  })).sort((p, S) => p.label.localeCompare(S.label)),
@@ -19977,66 +19985,73 @@ const ur = {
19977
19985
  ),
19978
19986
  /* @__PURE__ */ i.jsx(Q, { name: `${a}Zip`, label: !0 })
19979
19987
  ] }) : null;
19980
- }, bo = ({
19988
+ }, So = ({
19981
19989
  name: e,
19982
19990
  label: a,
19983
19991
  subLabel: n
19984
- }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(uo, { name: e }) }), Co = () => {
19992
+ }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(go, { name: e }) }), No = () => {
19985
19993
  const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry: d, getLocalTitle: u } = O(), m = _(
19986
- () => ua.map((l) => ({
19994
+ () => ca.map((l) => ({
19987
19995
  ...l,
19988
19996
  label: d(l.value)
19989
19997
  })).sort((l, v) => l.label.localeCompare(v.label)),
19990
19998
  [d]
19991
19999
  );
19992
- return /* @__PURE__ */ i.jsxs(be, { title: u("accountHolderContactInformation"), children: [
19993
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
19994
- /* @__PURE__ */ i.jsx(
19995
- me,
19996
- {
19997
- label: !0,
19998
- name: "accountHolderCountryOfCitizenship",
19999
- options: m
20000
- }
20001
- ),
20002
- /* @__PURE__ */ i.jsx(
20003
- Q,
20004
- {
20005
- label: !0,
20006
- name: "accountHolderName",
20007
- syncName: "accountHolderFinancialAccountName"
20008
- }
20009
- ),
20010
- /* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderDbaName" }),
20011
- /* @__PURE__ */ i.jsx(bo, { name: "accountHolderDateOfBirth", label: !0 }),
20012
- /* @__PURE__ */ i.jsx(
20013
- Ka,
20014
- {
20015
- prompt: u("primaryAddress"),
20016
- prefix: "accountHolderAddress",
20017
- showIf: o.accountHolderIsEuResident === "yes" || s || r
20018
- }
20019
- ),
20020
- /* @__PURE__ */ i.jsx(D, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
20021
- /* @__PURE__ */ i.jsx(
20022
- Ka,
20023
- {
20024
- prompt: u("mailingAddress"),
20025
- prefix: "accountHolderMailingAddress",
20026
- showIf: o.accountHolderMailingAddressIsDifferent === "yes"
20027
- }
20028
- )
20029
- ] }),
20030
- /* @__PURE__ */ i.jsx(
20031
- Ce,
20032
- {
20033
- onCancel: n,
20034
- onBack: a,
20035
- onNext: () => e(o)
20036
- }
20037
- )
20038
- ] });
20039
- }, Io = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Co, {}) }), la = ({
20000
+ return /* @__PURE__ */ i.jsxs(
20001
+ Ce,
20002
+ {
20003
+ title: u("accountHolderContactInformation"),
20004
+ className: `taxbit-form-${ge("accountHolderContactInformation")}`,
20005
+ children: [
20006
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20007
+ /* @__PURE__ */ i.jsx(
20008
+ me,
20009
+ {
20010
+ label: !0,
20011
+ name: "accountHolderCountryOfCitizenship",
20012
+ options: m
20013
+ }
20014
+ ),
20015
+ /* @__PURE__ */ i.jsx(
20016
+ Q,
20017
+ {
20018
+ label: !0,
20019
+ name: "accountHolderName",
20020
+ syncName: "accountHolderFinancialAccountName"
20021
+ }
20022
+ ),
20023
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderDbaName" }),
20024
+ /* @__PURE__ */ i.jsx(So, { name: "accountHolderDateOfBirth", label: !0 }),
20025
+ /* @__PURE__ */ i.jsx(
20026
+ Va,
20027
+ {
20028
+ prompt: u("primaryAddress"),
20029
+ prefix: "accountHolderAddress",
20030
+ showIf: o.accountHolderIsEuResident === "yes" || s || r
20031
+ }
20032
+ ),
20033
+ /* @__PURE__ */ i.jsx(D, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
20034
+ /* @__PURE__ */ i.jsx(
20035
+ Va,
20036
+ {
20037
+ prompt: u("mailingAddress"),
20038
+ prefix: "accountHolderMailingAddress",
20039
+ showIf: o.accountHolderMailingAddressIsDifferent === "yes"
20040
+ }
20041
+ )
20042
+ ] }),
20043
+ /* @__PURE__ */ i.jsx(
20044
+ Ie,
20045
+ {
20046
+ onCancel: n,
20047
+ onBack: a,
20048
+ onNext: () => e(o)
20049
+ }
20050
+ )
20051
+ ]
20052
+ }
20053
+ );
20054
+ }, To = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(No, {}) }), da = ({
20040
20055
  index: e,
20041
20056
  showIf: a = !0,
20042
20057
  onShow: n,
@@ -20079,7 +20094,7 @@ const ur = {
20079
20094
  }
20080
20095
  ),
20081
20096
  /* @__PURE__ */ i.jsx(
20082
- Me,
20097
+ ye,
20083
20098
  {
20084
20099
  name: v,
20085
20100
  label: !0,
@@ -20094,11 +20109,11 @@ const ur = {
20094
20109
  onClick: m(v)
20095
20110
  }
20096
20111
  ),
20097
- r ? /* @__PURE__ */ i.jsx(Ve, { children: /* @__PURE__ */ i.jsx(ko, { name: A }) }) : null
20112
+ r ? /* @__PURE__ */ i.jsx(We, { children: /* @__PURE__ */ i.jsx(po, { name: A }) }) : null
20098
20113
  ]
20099
20114
  }
20100
20115
  )) : null;
20101
- }, So = () => {
20116
+ }, Mo = () => {
20102
20117
  const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), {
20103
20118
  fields: r,
20104
20119
  getLocalTitle: s,
@@ -20107,170 +20122,177 @@ const ur = {
20107
20122
  clearIfNotRequired: u,
20108
20123
  setValue: m
20109
20124
  } = O(), l = _(
20110
- () => Ct.map((g) => ({
20125
+ () => It.map((g) => ({
20111
20126
  ...g,
20112
20127
  label: d(g.value)
20113
20128
  })).sort((g, A) => g.label.localeCompare(A.label)),
20114
20129
  [d]
20115
20130
  ), v = _(
20116
- () => ua.map((g) => ({
20131
+ () => ca.map((g) => ({
20117
20132
  ...g,
20118
20133
  label: d(g.value)
20119
20134
  })).sort((g, A) => g.label.localeCompare(A.label)),
20120
20135
  [d]
20121
20136
  );
20122
- return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
20123
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20124
- /* @__PURE__ */ i.jsx(Me, { name: "accountHolderUsTin", label: !0 }),
20125
- /* @__PURE__ */ i.jsx(
20126
- Me,
20127
- {
20128
- name: "accountHolderForeignTin",
20129
- disabled: r.accountHolderForeignTinIsNotRequired === "yes",
20130
- label: !0
20131
- }
20132
- ),
20133
- /* @__PURE__ */ i.jsx(
20134
- D,
20135
- {
20136
- name: "accountHolderForeignTinIsNotRequired",
20137
- onClick: u("accountHolderForeignTin"),
20138
- label: !0
20139
- }
20140
- ),
20141
- /* @__PURE__ */ i.jsx(
20142
- Me,
20143
- {
20144
- name: "accountHolderFinancialAccountIdentifier",
20145
- label: !0,
20146
- subLabel: !0
20147
- }
20148
- ),
20149
- /* @__PURE__ */ i.jsx(Q, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
20150
- /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsEuResident === "yes", children: [
20151
- /* @__PURE__ */ i.jsx(
20152
- me,
20153
- {
20154
- name: "accountHolderVatCountry",
20155
- className: "taxbit-country",
20156
- options: l,
20157
- disabled: r.accountHolderVatIsNotRequired === "yes",
20158
- label: !0
20159
- }
20160
- ),
20161
- /* @__PURE__ */ i.jsx(
20162
- Me,
20163
- {
20164
- name: "accountHolderVatIdentificationNumber",
20165
- disabled: r.accountHolderVatIsNotRequired === "yes",
20166
- label: !0,
20167
- subLabel: !0
20168
- }
20169
- ),
20170
- /* @__PURE__ */ i.jsx(
20171
- D,
20172
- {
20173
- label: !0,
20174
- name: "accountHolderVatIsNotRequired",
20175
- onClick: u(
20176
- "accountHolderVatIdentificationNumber",
20177
- "accountHolderVatCountry"
20178
- )
20179
- }
20180
- )
20181
- ] }),
20182
- /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
20183
- /* @__PURE__ */ i.jsx(
20184
- me,
20185
- {
20186
- name: "accountHolderBusinessRegistrationCountry",
20187
- className: "taxbit-country",
20188
- options: v,
20189
- label: !0
20190
- }
20191
- ),
20192
- /* @__PURE__ */ i.jsx(
20193
- Me,
20194
- {
20195
- name: "accountHolderBusinessRegistrationNumber",
20196
- label: !0
20197
- }
20198
- )
20199
- ] }),
20200
- /* @__PURE__ */ i.jsxs(
20201
- oe,
20202
- {
20203
- title: s("taxResidences"),
20204
- subTitle: o("taxResidences"),
20205
- showIf: r.accountHolderIsIndividual !== void 0,
20206
- children: [
20207
- /* @__PURE__ */ i.jsx(lt, { name: "accountHolderTaxResidences" }),
20137
+ return /* @__PURE__ */ i.jsxs(
20138
+ Ce,
20139
+ {
20140
+ title: s("accountHolderTaxInformation"),
20141
+ className: `taxbit-form-${ge("accountHolderTaxInformation")}`,
20142
+ children: [
20143
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20144
+ /* @__PURE__ */ i.jsx(ye, { name: "accountHolderUsTin", label: !0 }),
20145
+ /* @__PURE__ */ i.jsx(
20146
+ ye,
20147
+ {
20148
+ name: "accountHolderForeignTin",
20149
+ disabled: r.accountHolderForeignTinIsNotRequired === "yes",
20150
+ label: !0
20151
+ }
20152
+ ),
20153
+ /* @__PURE__ */ i.jsx(
20154
+ D,
20155
+ {
20156
+ name: "accountHolderForeignTinIsNotRequired",
20157
+ onClick: u("accountHolderForeignTin"),
20158
+ label: !0
20159
+ }
20160
+ ),
20161
+ /* @__PURE__ */ i.jsx(
20162
+ ye,
20163
+ {
20164
+ name: "accountHolderFinancialAccountIdentifier",
20165
+ label: !0,
20166
+ subLabel: !0
20167
+ }
20168
+ ),
20169
+ /* @__PURE__ */ i.jsx(Q, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
20170
+ /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsEuResident === "yes", children: [
20208
20171
  /* @__PURE__ */ i.jsx(
20209
- la,
20172
+ me,
20210
20173
  {
20211
- index: 1,
20212
- showIf: r.accountHolderIsIndividual !== void 0,
20213
- onShow: () => {
20214
- r.accountHolderTaxResidenceCountry1 === void 0 && m(
20215
- "accountHolderTaxResidenceCountry1",
20216
- r.accountHolderAddressCountry
20217
- );
20218
- },
20219
- countryOptions: v,
20220
- more: !0
20174
+ name: "accountHolderVatCountry",
20175
+ className: "taxbit-country",
20176
+ options: l,
20177
+ disabled: r.accountHolderVatIsNotRequired === "yes",
20178
+ label: !0
20221
20179
  }
20222
20180
  ),
20223
20181
  /* @__PURE__ */ i.jsx(
20224
- la,
20182
+ ye,
20225
20183
  {
20226
- index: 2,
20227
- showIf: r.accountHolderShowTaxResidence2 === "yes",
20228
- countryOptions: v,
20229
- more: !0
20184
+ name: "accountHolderVatIdentificationNumber",
20185
+ disabled: r.accountHolderVatIsNotRequired === "yes",
20186
+ label: !0,
20187
+ subLabel: !0
20230
20188
  }
20231
20189
  ),
20232
20190
  /* @__PURE__ */ i.jsx(
20233
- la,
20191
+ D,
20234
20192
  {
20235
- index: 3,
20236
- showIf: r.accountHolderShowTaxResidence3 === "yes",
20237
- countryOptions: v,
20238
- more: !0
20193
+ label: !0,
20194
+ name: "accountHolderVatIsNotRequired",
20195
+ onClick: u(
20196
+ "accountHolderVatIdentificationNumber",
20197
+ "accountHolderVatCountry"
20198
+ )
20239
20199
  }
20240
- ),
20200
+ )
20201
+ ] }),
20202
+ /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
20241
20203
  /* @__PURE__ */ i.jsx(
20242
- la,
20204
+ me,
20243
20205
  {
20244
- index: 4,
20245
- showIf: r.accountHolderShowTaxResidence4 === "yes",
20246
- countryOptions: v,
20247
- more: !0
20206
+ name: "accountHolderBusinessRegistrationCountry",
20207
+ className: "taxbit-country",
20208
+ options: v,
20209
+ label: !0
20248
20210
  }
20249
20211
  ),
20250
20212
  /* @__PURE__ */ i.jsx(
20251
- la,
20213
+ ye,
20252
20214
  {
20253
- index: 5,
20254
- showIf: r.accountHolderShowTaxResidence5 === "yes",
20255
- countryOptions: v
20215
+ name: "accountHolderBusinessRegistrationNumber",
20216
+ label: !0
20256
20217
  }
20257
20218
  )
20258
- ]
20259
- }
20260
- )
20261
- ] }),
20262
- /* @__PURE__ */ i.jsx(
20263
- Ce,
20264
- {
20265
- onCancel: n,
20266
- onBack: a,
20267
- onNext: () => e(r)
20268
- }
20269
- )
20270
- ] });
20271
- }, No = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(So, {}) }), To = () => {
20219
+ ] }),
20220
+ /* @__PURE__ */ i.jsxs(
20221
+ oe,
20222
+ {
20223
+ title: s("taxResidences"),
20224
+ subTitle: o("taxResidences"),
20225
+ showIf: r.accountHolderIsIndividual !== void 0,
20226
+ children: [
20227
+ /* @__PURE__ */ i.jsx(dt, { name: "accountHolderTaxResidences" }),
20228
+ /* @__PURE__ */ i.jsx(
20229
+ da,
20230
+ {
20231
+ index: 1,
20232
+ showIf: r.accountHolderIsIndividual !== void 0,
20233
+ onShow: () => {
20234
+ r.accountHolderTaxResidenceCountry1 === void 0 && m(
20235
+ "accountHolderTaxResidenceCountry1",
20236
+ r.accountHolderAddressCountry
20237
+ );
20238
+ },
20239
+ countryOptions: v,
20240
+ more: !0
20241
+ }
20242
+ ),
20243
+ /* @__PURE__ */ i.jsx(
20244
+ da,
20245
+ {
20246
+ index: 2,
20247
+ showIf: r.accountHolderShowTaxResidence2 === "yes",
20248
+ countryOptions: v,
20249
+ more: !0
20250
+ }
20251
+ ),
20252
+ /* @__PURE__ */ i.jsx(
20253
+ da,
20254
+ {
20255
+ index: 3,
20256
+ showIf: r.accountHolderShowTaxResidence3 === "yes",
20257
+ countryOptions: v,
20258
+ more: !0
20259
+ }
20260
+ ),
20261
+ /* @__PURE__ */ i.jsx(
20262
+ da,
20263
+ {
20264
+ index: 4,
20265
+ showIf: r.accountHolderShowTaxResidence4 === "yes",
20266
+ countryOptions: v,
20267
+ more: !0
20268
+ }
20269
+ ),
20270
+ /* @__PURE__ */ i.jsx(
20271
+ da,
20272
+ {
20273
+ index: 5,
20274
+ showIf: r.accountHolderShowTaxResidence5 === "yes",
20275
+ countryOptions: v
20276
+ }
20277
+ )
20278
+ ]
20279
+ }
20280
+ )
20281
+ ] }),
20282
+ /* @__PURE__ */ i.jsx(
20283
+ Ie,
20284
+ {
20285
+ onCancel: n,
20286
+ onBack: a,
20287
+ onNext: () => e(r)
20288
+ }
20289
+ )
20290
+ ]
20291
+ }
20292
+ );
20293
+ }, yo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Mo, {}) }), jo = () => {
20272
20294
  const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = O(), r = _(
20273
- () => ua.map((s) => ({
20295
+ () => ca.map((s) => ({
20274
20296
  ...s,
20275
20297
  label: e(s.value)
20276
20298
  })).sort((s, o) => s.label.localeCompare(o.label)),
@@ -20294,159 +20316,194 @@ const ur = {
20294
20316
  ]
20295
20317
  }
20296
20318
  );
20297
- }, Mo = () => {
20319
+ }, Oo = () => {
20298
20320
  const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalTitle: s } = O();
20299
- return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
20300
- /* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(To, {}) }),
20301
- /* @__PURE__ */ i.jsx(
20302
- Ce,
20303
- {
20304
- onCancel: n,
20305
- onBack: a,
20306
- onNext: () => e(r)
20307
- }
20308
- )
20309
- ] });
20310
- }, yo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Mo, {}) }), jo = () => {
20321
+ return /* @__PURE__ */ i.jsxs(
20322
+ Ce,
20323
+ {
20324
+ title: s("accountHolderTaxInformation"),
20325
+ className: `taxbit-form-${ge("accountHolderTaxInformation")}`,
20326
+ children: [
20327
+ /* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(jo, {}) }),
20328
+ /* @__PURE__ */ i.jsx(
20329
+ Ie,
20330
+ {
20331
+ onCancel: n,
20332
+ onBack: a,
20333
+ onNext: () => e(r)
20334
+ }
20335
+ )
20336
+ ]
20337
+ }
20338
+ );
20339
+ }, zo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Oo, {}) }), Eo = () => {
20311
20340
  const { onPersistCollectedData: e, goBack: a } = $(), { fields: n } = O();
20312
- return /* @__PURE__ */ i.jsxs(be, { title: "exemptions", children: [
20313
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20314
- /* @__PURE__ */ i.jsx(me, { name: "exemptFatcaCode", options: Nt, label: !0 }),
20315
- /* @__PURE__ */ i.jsx(me, { name: "exemptPayeeCode", options: Rt, label: !0 })
20316
- ] }),
20317
- /* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
20318
- ] });
20319
- }, Oo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(jo, {}) }), zo = () => {
20320
- const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Be.map((d) => ({
20341
+ return /* @__PURE__ */ i.jsxs(
20342
+ Ce,
20343
+ {
20344
+ title: "exemptions",
20345
+ className: `taxbit-form-${ge("exemptions")}`,
20346
+ children: [
20347
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20348
+ /* @__PURE__ */ i.jsx(me, { name: "exemptFatcaCode", options: Tt, label: !0 }),
20349
+ /* @__PURE__ */ i.jsx(me, { name: "exemptPayeeCode", options: wt, label: !0 })
20350
+ ] }),
20351
+ /* @__PURE__ */ i.jsx(Ie, { onBack: a, onNext: () => e(n) })
20352
+ ]
20353
+ }
20354
+ );
20355
+ }, Bo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Eo, {}) }), Po = () => {
20356
+ const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Pe.map((d) => ({
20321
20357
  ...d,
20322
20358
  label: n(`usPerson_${d.value}`)
20323
20359
  }));
20324
- return /* @__PURE__ */ i.jsxs(be, { title: a("regardedOwnerClassification"), children: [
20325
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20326
- /* @__PURE__ */ i.jsx(
20327
- x,
20328
- {
20329
- name: "regardedOwnerUsPerson",
20330
- options: o,
20331
- label: !0
20332
- }
20333
- ),
20334
- /* @__PURE__ */ i.jsx(
20335
- x,
20336
- {
20337
- name: "regardedOwnerUsAccountType",
20338
- options: Lt,
20339
- label: !0
20340
- }
20341
- ),
20342
- /* @__PURE__ */ i.jsx(
20343
- x,
20344
- {
20345
- name: "regardedOwnerForeignAccountType",
20346
- options: yt,
20347
- label: !0
20348
- }
20349
- ),
20350
- /* @__PURE__ */ i.jsx(
20351
- x,
20352
- {
20353
- name: "regardedOwnerUsLlcClassification",
20354
- options: ri,
20355
- label: !0
20356
- }
20357
- ),
20358
- /* @__PURE__ */ i.jsx(Q, { name: "regardedOwnerUsOtherClassification", label: !0 }),
20359
- /* @__PURE__ */ i.jsx(
20360
- x,
20361
- {
20362
- name: "regardedOwnerUsTrustEstateEin",
20363
- options: Be,
20364
- label: !0
20365
- }
20366
- ),
20367
- /* @__PURE__ */ i.jsx(
20368
- x,
20369
- {
20370
- name: "regardedOwnerForeignOtherClassification",
20371
- options: ni,
20372
- label: !0
20373
- }
20374
- ),
20375
- /* @__PURE__ */ i.jsx(
20376
- x,
20377
- {
20378
- name: "regardedOwnerForeignTrustClassification",
20379
- options: ti,
20380
- label: !0
20381
- }
20382
- )
20383
- ] }),
20384
- /* @__PURE__ */ i.jsx(Ce, { onBack: s, onNext: () => r(e) })
20385
- ] });
20386
- }, Eo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(zo, {}) }), Bo = () => {
20360
+ return /* @__PURE__ */ i.jsxs(
20361
+ Ce,
20362
+ {
20363
+ title: a("regardedOwnerClassification"),
20364
+ className: `taxbit-form-${ge("regardedOwnerClassification")}`,
20365
+ children: [
20366
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20367
+ /* @__PURE__ */ i.jsx(
20368
+ x,
20369
+ {
20370
+ name: "regardedOwnerUsPerson",
20371
+ options: o,
20372
+ label: !0
20373
+ }
20374
+ ),
20375
+ /* @__PURE__ */ i.jsx(
20376
+ x,
20377
+ {
20378
+ name: "regardedOwnerUsAccountType",
20379
+ options: Gt,
20380
+ label: !0
20381
+ }
20382
+ ),
20383
+ /* @__PURE__ */ i.jsx(
20384
+ x,
20385
+ {
20386
+ name: "regardedOwnerForeignAccountType",
20387
+ options: jt,
20388
+ label: !0
20389
+ }
20390
+ ),
20391
+ /* @__PURE__ */ i.jsx(
20392
+ x,
20393
+ {
20394
+ name: "regardedOwnerUsLlcClassification",
20395
+ options: oi,
20396
+ label: !0
20397
+ }
20398
+ ),
20399
+ /* @__PURE__ */ i.jsx(Q, { name: "regardedOwnerUsOtherClassification", label: !0 }),
20400
+ /* @__PURE__ */ i.jsx(
20401
+ x,
20402
+ {
20403
+ name: "regardedOwnerUsTrustEstateEin",
20404
+ options: Pe,
20405
+ label: !0
20406
+ }
20407
+ ),
20408
+ /* @__PURE__ */ i.jsx(
20409
+ x,
20410
+ {
20411
+ name: "regardedOwnerForeignOtherClassification",
20412
+ options: ti,
20413
+ label: !0
20414
+ }
20415
+ ),
20416
+ /* @__PURE__ */ i.jsx(
20417
+ x,
20418
+ {
20419
+ name: "regardedOwnerForeignTrustClassification",
20420
+ options: ri,
20421
+ label: !0
20422
+ }
20423
+ )
20424
+ ] }),
20425
+ /* @__PURE__ */ i.jsx(Ie, { onBack: s, onNext: () => r(e) })
20426
+ ]
20427
+ }
20428
+ );
20429
+ }, Ro = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Po, {}) }), wo = () => {
20387
20430
  const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(), d = _(
20388
- () => ua.map((u) => ({
20431
+ () => ca.map((u) => ({
20389
20432
  ...u,
20390
20433
  label: s(u.value)
20391
20434
  })).sort((u, m) => u.label.localeCompare(m.label)),
20392
20435
  [s]
20393
20436
  );
20394
- return /* @__PURE__ */ i.jsxs(be, { title: o("regardedOwnerContactInformation"), children: [
20395
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20396
- /* @__PURE__ */ i.jsx(
20397
- me,
20398
- {
20399
- label: !0,
20400
- name: "regardedOwnerCountryOfCitizenship",
20401
- options: d
20402
- }
20403
- ),
20404
- /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerName" }),
20405
- /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerDbaName" }),
20406
- /* @__PURE__ */ i.jsx(
20407
- Ka,
20408
- {
20409
- prompt: "Permanent Address",
20410
- prefix: "regardedOwnerAddress"
20411
- }
20412
- ),
20413
- /* @__PURE__ */ i.jsx(D, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
20414
- /* @__PURE__ */ i.jsx(
20415
- Ka,
20416
- {
20417
- prompt: "Mailing Address",
20418
- prefix: "regardedOwnerMailingAddress",
20419
- showIf: r.regardedOwnerMailingAddressIsDifferent === "yes"
20420
- }
20421
- )
20422
- ] }),
20423
- /* @__PURE__ */ i.jsx(
20424
- Ce,
20425
- {
20426
- onCancel: n,
20427
- onBack: a,
20428
- onNext: () => e(r)
20429
- }
20430
- )
20431
- ] });
20432
- }, Po = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Ro = () => {
20437
+ return /* @__PURE__ */ i.jsxs(
20438
+ Ce,
20439
+ {
20440
+ title: o("regardedOwnerContactInformation"),
20441
+ className: `taxbit-form-${ge("regardedOwnerContactInformation")}`,
20442
+ children: [
20443
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20444
+ /* @__PURE__ */ i.jsx(
20445
+ me,
20446
+ {
20447
+ label: !0,
20448
+ name: "regardedOwnerCountryOfCitizenship",
20449
+ options: d
20450
+ }
20451
+ ),
20452
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerName" }),
20453
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerDbaName" }),
20454
+ /* @__PURE__ */ i.jsx(
20455
+ Va,
20456
+ {
20457
+ prompt: "Permanent Address",
20458
+ prefix: "regardedOwnerAddress"
20459
+ }
20460
+ ),
20461
+ /* @__PURE__ */ i.jsx(D, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
20462
+ /* @__PURE__ */ i.jsx(
20463
+ Va,
20464
+ {
20465
+ prompt: "Mailing Address",
20466
+ prefix: "regardedOwnerMailingAddress",
20467
+ showIf: r.regardedOwnerMailingAddressIsDifferent === "yes"
20468
+ }
20469
+ )
20470
+ ] }),
20471
+ /* @__PURE__ */ i.jsx(
20472
+ Ie,
20473
+ {
20474
+ onCancel: n,
20475
+ onBack: a,
20476
+ onNext: () => e(r)
20477
+ }
20478
+ )
20479
+ ]
20480
+ }
20481
+ );
20482
+ }, Ho = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(wo, {}) }), Lo = () => {
20433
20483
  const { onPersistCollectedData: e, goBack: a } = $(), { fields: n, getLocalTitle: r, clearIfNotRequired: s } = O();
20434
- return /* @__PURE__ */ i.jsxs(be, { title: r("regardedOwnerTaxInformation"), children: [
20435
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20436
- /* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerUsTin", label: !0 }),
20437
- /* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerForeignTin", label: !0 }),
20438
- /* @__PURE__ */ i.jsx(
20439
- D,
20440
- {
20441
- name: "regardedOwnerForeignTinIsNotRequired",
20442
- label: !0,
20443
- onClick: s("regardedOwnerForeignTin")
20444
- }
20445
- )
20446
- ] }),
20447
- /* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
20448
- ] });
20449
- }, wo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Ro, {}) }), te = ({ text: e }) => {
20484
+ return /* @__PURE__ */ i.jsxs(
20485
+ Ce,
20486
+ {
20487
+ title: r("regardedOwnerTaxInformation"),
20488
+ className: `taxbit-form-${ge("regardedOwnerTaxInformation")}`,
20489
+ children: [
20490
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20491
+ /* @__PURE__ */ i.jsx(ye, { name: "regardedOwnerUsTin", label: !0 }),
20492
+ /* @__PURE__ */ i.jsx(ye, { name: "regardedOwnerForeignTin", label: !0 }),
20493
+ /* @__PURE__ */ i.jsx(
20494
+ D,
20495
+ {
20496
+ name: "regardedOwnerForeignTinIsNotRequired",
20497
+ label: !0,
20498
+ onClick: s("regardedOwnerForeignTin")
20499
+ }
20500
+ )
20501
+ ] }),
20502
+ /* @__PURE__ */ i.jsx(Ie, { onBack: a, onNext: () => e(n) })
20503
+ ]
20504
+ }
20505
+ );
20506
+ }, Go = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Lo, {}) }), te = ({ text: e }) => {
20450
20507
  const n = ((r) => {
20451
20508
  if (!r)
20452
20509
  return "";
@@ -20454,7 +20511,7 @@ const ur = {
20454
20511
  return "*".repeat(s) + r.substring(s);
20455
20512
  })(e);
20456
20513
  return /* @__PURE__ */ i.jsx("span", { children: n });
20457
- }, Ho = () => {
20514
+ }, Do = () => {
20458
20515
  const { data: e, editTo: a, isW9: n, isW8: r } = $(), {
20459
20516
  getLocalTitle: s,
20460
20517
  getLocalOption: o,
@@ -20622,13 +20679,13 @@ const ur = {
20622
20679
  }
20623
20680
  ),
20624
20681
  e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ i.jsx(
20625
- Ve,
20682
+ We,
20626
20683
  {
20627
20684
  label: s("address") + "*",
20628
20685
  onEdit: () => a("AccountHolderContact"),
20629
20686
  name: "accountHolderAddressCountry",
20630
20687
  children: /* @__PURE__ */ i.jsx(
20631
- Ua,
20688
+ Fa,
20632
20689
  {
20633
20690
  address: {
20634
20691
  street: e == null ? void 0 : e.accountHolderAddressStreet,
@@ -20643,12 +20700,12 @@ const ur = {
20643
20700
  }
20644
20701
  ) : null,
20645
20702
  (e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
20646
- Ve,
20703
+ We,
20647
20704
  {
20648
20705
  label: s("mailingAddress"),
20649
20706
  onEdit: () => a("AccountHolderContact"),
20650
20707
  children: /* @__PURE__ */ i.jsx(
20651
- Ua,
20708
+ Fa,
20652
20709
  {
20653
20710
  address: {
20654
20711
  street: e == null ? void 0 : e.accountHolderMailingAddressStreet,
@@ -20756,7 +20813,7 @@ const ur = {
20756
20813
  title: s("taxResidences"),
20757
20814
  showIf: e.accountHolderIsEuResident === "yes" && e.accountHolderIsIndividual !== void 0,
20758
20815
  children: [
20759
- /* @__PURE__ */ i.jsx(lt, { name: "accountHolderTaxResidences" }),
20816
+ /* @__PURE__ */ i.jsx(dt, { name: "accountHolderTaxResidences" }),
20760
20817
  /* @__PURE__ */ i.jsx(
20761
20818
  f,
20762
20819
  {
@@ -20908,12 +20965,12 @@ const ur = {
20908
20965
  }
20909
20966
  ),
20910
20967
  !!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ i.jsx(
20911
- Ve,
20968
+ We,
20912
20969
  {
20913
20970
  label: s("address"),
20914
20971
  onEdit: () => a("RegardedOwnerContact"),
20915
20972
  children: /* @__PURE__ */ i.jsx(
20916
- Ua,
20973
+ Fa,
20917
20974
  {
20918
20975
  address: {
20919
20976
  street: e == null ? void 0 : e.regardedOwnerAddressStreet,
@@ -20928,12 +20985,12 @@ const ur = {
20928
20985
  }
20929
20986
  ),
20930
20987
  (n || r) && (e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
20931
- Ve,
20988
+ We,
20932
20989
  {
20933
20990
  label: s("mailingAddress"),
20934
20991
  onEdit: () => a("RegardedOwnerContact"),
20935
20992
  children: /* @__PURE__ */ i.jsx(
20936
- Ua,
20993
+ Fa,
20937
20994
  {
20938
20995
  address: {
20939
20996
  street: e == null ? void 0 : e.regardedOwnerMailingAddressStreet,
@@ -21005,58 +21062,65 @@ const ur = {
21005
21062
  }
21006
21063
  )
21007
21064
  ] });
21008
- }, dt = () => {
21065
+ }, ut = () => {
21009
21066
  const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s, fields: o } = O();
21010
- return /* @__PURE__ */ i.jsxs(be, { title: s("summary"), children: [
21011
- /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
21012
- /* @__PURE__ */ i.jsx(Ho, {}),
21013
- /* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
21014
- /* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
21015
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
21016
- /* @__PURE__ */ i.jsx(D, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
21017
- /* @__PURE__ */ i.jsx(D, { name: "iAmACitizenOfTheUs", label: !0 }),
21018
- /* @__PURE__ */ i.jsx(D, { name: "iAmExemptFromFatcaReporting", label: !0 }),
21019
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
21020
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
21021
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
21022
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
21023
- /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheInformationIsCorrectComplete", label: !0 }),
21024
- /* @__PURE__ */ i.jsx(D, { name: "iAuthorizeWithholdingAgent", label: !0 })
21025
- ] }),
21026
- /* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
21027
- /* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
21028
- /* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
21029
- /* @__PURE__ */ i.jsx(Q, { label: !0, name: "signature" })
21030
- ] })
21031
- ] }),
21032
- /* @__PURE__ */ i.jsx(
21033
- Ce,
21034
- {
21035
- onBack: e,
21036
- onSubmit: () => a(o)
21037
- }
21038
- )
21039
- ] });
21040
- }, Lo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(dt, {}) }), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21067
+ return /* @__PURE__ */ i.jsxs(
21068
+ Ce,
21069
+ {
21070
+ title: s("summary"),
21071
+ className: `taxbit-form-${ge("summary")}`,
21072
+ children: [
21073
+ /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
21074
+ /* @__PURE__ */ i.jsx(Do, {}),
21075
+ /* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
21076
+ /* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
21077
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
21078
+ /* @__PURE__ */ i.jsx(D, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
21079
+ /* @__PURE__ */ i.jsx(D, { name: "iAmACitizenOfTheUs", label: !0 }),
21080
+ /* @__PURE__ */ i.jsx(D, { name: "iAmExemptFromFatcaReporting", label: !0 }),
21081
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
21082
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
21083
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
21084
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
21085
+ /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheInformationIsCorrectComplete", label: !0 }),
21086
+ /* @__PURE__ */ i.jsx(D, { name: "iAuthorizeWithholdingAgent", label: !0 })
21087
+ ] }),
21088
+ /* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
21089
+ /* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
21090
+ /* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
21091
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "signature" })
21092
+ ] })
21093
+ ] }),
21094
+ /* @__PURE__ */ i.jsx(
21095
+ Ie,
21096
+ {
21097
+ onBack: e,
21098
+ onSubmit: () => a(o)
21099
+ }
21100
+ )
21101
+ ]
21102
+ }
21103
+ );
21104
+ }, Uo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(ut, {}) }), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21041
21105
  __proto__: null,
21042
- AccountHolderClassification: Ao,
21043
- AccountHolderContact: Io,
21044
- AccountHolderTax: No,
21045
- AccountHolderTaxClarification: yo,
21046
- Contents: dt,
21047
- Exemptions: Oo,
21048
- RegardedOwnerClassification: Eo,
21049
- RegardedOwnerContact: Po,
21050
- RegardedOwnerTax: wo,
21051
- Summary: Lo
21052
- }, Symbol.toStringTag, { value: "Module" })), ut = ({
21106
+ AccountHolderClassification: Io,
21107
+ AccountHolderContact: To,
21108
+ AccountHolderTax: yo,
21109
+ AccountHolderTaxClarification: zo,
21110
+ Contents: ut,
21111
+ Exemptions: Bo,
21112
+ RegardedOwnerClassification: Ro,
21113
+ RegardedOwnerContact: Ho,
21114
+ RegardedOwnerTax: Go,
21115
+ Summary: Uo
21116
+ }, Symbol.toStringTag, { value: "Module" })), ct = ({
21053
21117
  data: e,
21054
21118
  onSubmit: a,
21055
21119
  language: n,
21056
21120
  taxForms: r,
21057
21121
  complete: s
21058
21122
  }) => /* @__PURE__ */ i.jsx(
21059
- eo,
21123
+ no,
21060
21124
  {
21061
21125
  data: e,
21062
21126
  onSubmit: a,
@@ -21064,7 +21128,7 @@ const ur = {
21064
21128
  taxForms: r,
21065
21129
  step: s ? "Summary" : void 0,
21066
21130
  children: /* @__PURE__ */ i.jsx(
21067
- Uo,
21131
+ Ko,
21068
21132
  {
21069
21133
  language: n,
21070
21134
  taxForms: r,
@@ -21072,12 +21136,12 @@ const ur = {
21072
21136
  }
21073
21137
  )
21074
21138
  }
21075
- ), Do = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Uo = ({
21139
+ ), xo = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Ko = ({
21076
21140
  language: e = "en-us",
21077
- taxForms: a = Do,
21141
+ taxForms: a = xo,
21078
21142
  data: n
21079
21143
  }) => {
21080
- const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u = Go[r];
21144
+ const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u = Fo[r];
21081
21145
  return X(() => {
21082
21146
  s(e);
21083
21147
  }, [e, s]), X(() => {
@@ -21085,13 +21149,13 @@ const ur = {
21085
21149
  }, [a, o]), X(() => {
21086
21150
  n && d(n);
21087
21151
  }, [n, d]), /* @__PURE__ */ i.jsx(u, {});
21088
- }, Ko = ({
21152
+ }, Jo = ({
21089
21153
  data: e,
21090
21154
  onSubmit: a,
21091
21155
  language: n,
21092
21156
  complete: r
21093
21157
  }) => /* @__PURE__ */ i.jsx(
21094
- ut,
21158
+ ct,
21095
21159
  {
21096
21160
  data: e,
21097
21161
  language: n,
@@ -21099,7 +21163,7 @@ const ur = {
21099
21163
  complete: r,
21100
21164
  taxForms: ["DAC7"]
21101
21165
  }
21102
- ), Fo = ({
21166
+ ), Vo = ({
21103
21167
  staging: e,
21104
21168
  data: a,
21105
21169
  bearerToken: n,
@@ -21109,23 +21173,23 @@ const ur = {
21109
21173
  onSuccess: d
21110
21174
  }) => {
21111
21175
  var N;
21112
- const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } = sr(
21176
+ const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } = ur(
21113
21177
  n,
21114
21178
  e
21115
21179
  ), [A, p] = K(
21116
21180
  a
21117
21181
  );
21118
21182
  if (X(() => {
21119
- g && p({ ...g, ...a });
21183
+ g && p(rt(g, a));
21120
21184
  }, [a, g]), !m || m !== "NOT_SUBMITTED" && !g)
21121
- return /* @__PURE__ */ i.jsx("div", { children: ii("retrievingInterviewStatus", r) });
21185
+ return /* @__PURE__ */ i.jsx("div", { children: ni("retrievingInterviewStatus", r) });
21122
21186
  if (v)
21123
- return /* @__PURE__ */ i.jsx("div", { children: ii("interviewIsComplete", r) });
21187
+ return /* @__PURE__ */ i.jsx("div", { children: ni("interviewIsComplete", r) });
21124
21188
  const S = async (T) => {
21125
21189
  o && o(T), await l(T), d && d(T);
21126
21190
  };
21127
21191
  return /* @__PURE__ */ i.jsx(
21128
- ut,
21192
+ ct,
21129
21193
  {
21130
21194
  data: A,
21131
21195
  language: r,
@@ -21134,7 +21198,7 @@ const ur = {
21134
21198
  complete: ((N = u == null ? void 0 : u.DAC7Interview) == null ? void 0 : N.dataCollectionStatus) === "COMPLETE"
21135
21199
  }
21136
21200
  );
21137
- }, Vo = ({
21201
+ }, Zo = ({
21138
21202
  data: e,
21139
21203
  staging: a,
21140
21204
  bearerToken: n,
@@ -21142,7 +21206,7 @@ const ur = {
21142
21206
  onSubmit: s,
21143
21207
  onSuccess: o
21144
21208
  }) => /* @__PURE__ */ i.jsx(
21145
- Fo,
21209
+ Vo,
21146
21210
  {
21147
21211
  bearerToken: n,
21148
21212
  data: e,
@@ -21154,9 +21218,9 @@ const ur = {
21154
21218
  }
21155
21219
  );
21156
21220
  export {
21157
- Vo as TaxBitDAC7Form,
21158
- Ko as TaxBitDAC7FormUI,
21159
- Fo as TaxBitForm,
21160
- ut as TaxBitFormUI,
21161
- sr as useTaxBit
21221
+ Zo as TaxBitDAC7Form,
21222
+ Jo as TaxBitDAC7FormUI,
21223
+ Vo as TaxBitForm,
21224
+ ct as TaxBitFormUI,
21225
+ ur as useTaxBit
21162
21226
  };