@taxbit/react-sdk 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Address/index.d.ts +1 -1
- package/dist/components/ErrorMessage/index.d.ts +1 -1
- package/dist/components/Page/index.d.ts +1 -1
- package/dist/components/Row/index.d.ts +1 -1
- package/dist/components/Section/index.d.ts +1 -1
- package/dist/contexts/FormUI/index.d.ts +3 -3
- package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
- package/dist/contexts/TaxDocumentation/index.d.ts +1 -1
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +7 -7
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +4 -4
- package/dist/hooks/useTaxBit/useTaxBit.d.ts +3 -3
- package/dist/paths/AddressInput/index.d.ts +1 -1
- package/dist/paths/FinancialAccountInput/index.d.ts +1 -1
- package/dist/paths/PlaceOfBirthInput/index.d.ts +1 -1
- package/dist/paths/ResidenceInput/index.d.ts +1 -1
- package/dist/paths/RowInput/CheckBoxRow/index.d.ts +1 -1
- package/dist/paths/RowInput/ErrorRow/index.d.ts +1 -1
- package/dist/paths/RowInput/RadioButtonRow/index.d.ts +1 -1
- package/dist/paths/RowInput/SelectRow/index.d.ts +1 -1
- package/dist/paths/RowInput/TextInputRow/index.d.ts +1 -1
- package/dist/paths/RowInput/VisibleRow/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/AccountHolderClassification/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/AccountHolderContact/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/AccountHolderTax/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/Exemptions/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/RegardedOwnerContact/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/RegardedOwnerTax/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/Summary/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -3
- package/dist/paths/TaxBitFormUI/TaxBitFormUI.d.ts +5 -5
- package/dist/paths/TaxBitFormUI/index.d.ts +1 -1
- package/dist/paths/VatInput/index.d.ts +1 -1
- package/dist/taxbit-react-sdk.es.js +570 -573
- package/dist/taxbit-react-sdk.umd.js +8 -8
- package/dist/types/TaxForm.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/ui/Actions/index.d.ts +1 -1
- package/dist/ui/CheckBox/index.d.ts +1 -1
- package/dist/utils/getSupportedFields.d.ts +2 -2
- package/dist/utils/getVisibleQuestions.d.ts +2 -2
- package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +4 -4
- package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +5 -5
- package/dist/widgets/TaxBitForm/index.d.ts +2 -2
- package/package.json +2 -3
- package/dist/types/Form.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import En, { createContext as oa, useContext as sa, useState as Z, useCallback as Ve, useMemo as ae, useEffect as X } from "react";
|
|
2
|
-
var
|
|
2
|
+
var tn = { exports: {} }, ve = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,18 +14,18 @@ function ca() {
|
|
|
14
14
|
if (Sn)
|
|
15
15
|
return ve;
|
|
16
16
|
Sn = 1;
|
|
17
|
-
var e = En, a = Symbol.for("react.element"),
|
|
17
|
+
var e = En, a = Symbol.for("react.element"), r = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function m(u, g, d) {
|
|
19
|
-
var
|
|
20
|
-
d !== void 0 && (
|
|
21
|
-
for (
|
|
22
|
-
|
|
19
|
+
var f, I = {}, y = null, F = null;
|
|
20
|
+
d !== void 0 && (y = "" + d), g.key !== void 0 && (y = "" + g.key), g.ref !== void 0 && (F = g.ref);
|
|
21
|
+
for (f in g)
|
|
22
|
+
t.call(g, f) && !s.hasOwnProperty(f) && (I[f] = g[f]);
|
|
23
23
|
if (u && u.defaultProps)
|
|
24
|
-
for (
|
|
25
|
-
|
|
26
|
-
return { $$typeof: a, type: u, key:
|
|
24
|
+
for (f in g = u.defaultProps, g)
|
|
25
|
+
I[f] === void 0 && (I[f] = g[f]);
|
|
26
|
+
return { $$typeof: a, type: u, key: y, ref: F, props: I, _owner: c.current };
|
|
27
27
|
}
|
|
28
|
-
return ve.Fragment =
|
|
28
|
+
return ve.Fragment = r, ve.jsx = m, ve.jsxs = m, ve;
|
|
29
29
|
}
|
|
30
30
|
var Me = {};
|
|
31
31
|
/**
|
|
@@ -40,7 +40,7 @@ var Me = {};
|
|
|
40
40
|
var bn;
|
|
41
41
|
function da() {
|
|
42
42
|
return bn || (bn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var e = En, a = Symbol.for("react.element"),
|
|
43
|
+
var e = En, a = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), u = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), V = Symbol.iterator, w = "@@iterator";
|
|
44
44
|
function G(i) {
|
|
45
45
|
if (i === null || typeof i != "object")
|
|
46
46
|
return null;
|
|
@@ -48,7 +48,7 @@ function da() {
|
|
|
48
48
|
return typeof o == "function" ? o : null;
|
|
49
49
|
}
|
|
50
50
|
var z = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function R(i) {
|
|
52
52
|
{
|
|
53
53
|
for (var o = arguments.length, l = new Array(o > 1 ? o - 1 : 0), C = 1; C < o; C++)
|
|
54
54
|
l[C - 1] = arguments[C];
|
|
@@ -57,10 +57,10 @@ function da() {
|
|
|
57
57
|
}
|
|
58
58
|
function ue(i, o, l) {
|
|
59
59
|
{
|
|
60
|
-
var C = z.ReactDebugCurrentFrame,
|
|
61
|
-
|
|
62
|
-
var N = l.map(function(
|
|
63
|
-
return String(
|
|
60
|
+
var C = z.ReactDebugCurrentFrame, b = C.getStackAddendum();
|
|
61
|
+
b !== "" && (o += "%s", l = l.concat([b]));
|
|
62
|
+
var N = l.map(function(S) {
|
|
63
|
+
return String(S);
|
|
64
64
|
});
|
|
65
65
|
N.unshift("Warning: " + o), Function.prototype.apply.call(console[i], console, N);
|
|
66
66
|
}
|
|
@@ -68,7 +68,7 @@ function da() {
|
|
|
68
68
|
var q = !1, Ae = !1, Ie = !1, Se = !1, be = !1, me;
|
|
69
69
|
me = Symbol.for("react.module.reference");
|
|
70
70
|
function ge(i) {
|
|
71
|
-
return !!(typeof i == "string" || typeof i == "function" || i ===
|
|
71
|
+
return !!(typeof i == "string" || typeof i == "function" || i === t || i === s || be || i === c || i === d || i === f || Se || i === F || q || Ae || Ie || typeof i == "object" && i !== null && (i.$$typeof === y || i.$$typeof === I || i.$$typeof === m || i.$$typeof === u || i.$$typeof === g || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
@@ -78,8 +78,8 @@ function da() {
|
|
|
78
78
|
var C = i.displayName;
|
|
79
79
|
if (C)
|
|
80
80
|
return C;
|
|
81
|
-
var
|
|
82
|
-
return
|
|
81
|
+
var b = o.displayName || o.name || "";
|
|
82
|
+
return b !== "" ? l + "(" + b + ")" : l;
|
|
83
83
|
}
|
|
84
84
|
function he(i) {
|
|
85
85
|
return i.displayName || "Context";
|
|
@@ -87,14 +87,14 @@ function da() {
|
|
|
87
87
|
function D(i) {
|
|
88
88
|
if (i == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof i.tag == "number" &&
|
|
90
|
+
if (typeof i.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
|
|
91
91
|
return i.displayName || i.name || null;
|
|
92
92
|
if (typeof i == "string")
|
|
93
93
|
return i;
|
|
94
94
|
switch (i) {
|
|
95
|
-
case r:
|
|
96
|
-
return "Fragment";
|
|
97
95
|
case t:
|
|
96
|
+
return "Fragment";
|
|
97
|
+
case r:
|
|
98
98
|
return "Portal";
|
|
99
99
|
case s:
|
|
100
100
|
return "Profiler";
|
|
@@ -102,7 +102,7 @@ function da() {
|
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case d:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case f:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof i == "object")
|
|
@@ -115,13 +115,13 @@ function da() {
|
|
|
115
115
|
return he(l._context) + ".Provider";
|
|
116
116
|
case g:
|
|
117
117
|
return ce(i, i.render, "ForwardRef");
|
|
118
|
-
case
|
|
118
|
+
case I:
|
|
119
119
|
var C = i.displayName || null;
|
|
120
120
|
return C !== null ? C : D(i.type) || "Memo";
|
|
121
|
-
case
|
|
122
|
-
var
|
|
121
|
+
case y: {
|
|
122
|
+
var b = i, N = b._payload, S = b._init;
|
|
123
123
|
try {
|
|
124
|
-
return D(
|
|
124
|
+
return D(S(N));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function da() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var Y = Object.assign, ee = 0, fe, O,
|
|
132
|
+
var Y = Object.assign, ee = 0, fe, O, k, se, Ne, h, L;
|
|
133
133
|
function J() {
|
|
134
134
|
}
|
|
135
135
|
J.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function He() {
|
|
137
137
|
{
|
|
138
138
|
if (ee === 0) {
|
|
139
|
-
fe = console.log, O = console.info,
|
|
139
|
+
fe = console.log, O = console.info, k = console.warn, se = console.error, Ne = console.group, h = console.groupCollapsed, L = console.groupEnd;
|
|
140
140
|
var i = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -156,7 +156,7 @@ function da() {
|
|
|
156
156
|
ee++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Be() {
|
|
160
160
|
{
|
|
161
161
|
if (ee--, ee === 0) {
|
|
162
162
|
var i = {
|
|
@@ -172,7 +172,7 @@ function da() {
|
|
|
172
172
|
value: O
|
|
173
173
|
}),
|
|
174
174
|
warn: Y({}, i, {
|
|
175
|
-
value:
|
|
175
|
+
value: k
|
|
176
176
|
}),
|
|
177
177
|
error: Y({}, i, {
|
|
178
178
|
value: se
|
|
@@ -181,24 +181,24 @@ function da() {
|
|
|
181
181
|
value: Ne
|
|
182
182
|
}),
|
|
183
183
|
groupCollapsed: Y({}, i, {
|
|
184
|
-
value:
|
|
184
|
+
value: h
|
|
185
185
|
}),
|
|
186
186
|
groupEnd: Y({}, i, {
|
|
187
187
|
value: L
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
ee < 0 &&
|
|
191
|
+
ee < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var Ye = z.ReactCurrentDispatcher, Je;
|
|
195
|
-
function
|
|
195
|
+
function xe(i, o, l) {
|
|
196
196
|
{
|
|
197
197
|
if (Je === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var C =
|
|
200
|
+
} catch (b) {
|
|
201
|
+
var C = b.stack.trim().match(/\n( *(at )?)/);
|
|
202
202
|
Je = C && C[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
@@ -207,8 +207,8 @@ function da() {
|
|
|
207
207
|
}
|
|
208
208
|
var Ze = !1, Pe;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
Pe = new
|
|
210
|
+
var Fn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
Pe = new Fn();
|
|
212
212
|
}
|
|
213
213
|
function sn(i, o) {
|
|
214
214
|
if (!i || Ze)
|
|
@@ -220,33 +220,33 @@ function da() {
|
|
|
220
220
|
}
|
|
221
221
|
var C;
|
|
222
222
|
Ze = !0;
|
|
223
|
-
var
|
|
223
|
+
var b = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var N;
|
|
226
|
-
N = Ye.current, Ye.current = null,
|
|
226
|
+
N = Ye.current, Ye.current = null, He();
|
|
227
227
|
try {
|
|
228
228
|
if (o) {
|
|
229
|
-
var
|
|
229
|
+
var S = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(S.prototype, "props", {
|
|
233
233
|
set: function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
}
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
|
-
Reflect.construct(
|
|
238
|
+
Reflect.construct(S, []);
|
|
239
239
|
} catch (ne) {
|
|
240
240
|
C = ne;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(i, [],
|
|
242
|
+
Reflect.construct(i, [], S);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
245
|
+
S.call();
|
|
246
246
|
} catch (ne) {
|
|
247
247
|
C = ne;
|
|
248
248
|
}
|
|
249
|
-
i.call(
|
|
249
|
+
i.call(S.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
@@ -259,26 +259,26 @@ function da() {
|
|
|
259
259
|
} catch (ne) {
|
|
260
260
|
if (ne && C && typeof ne.stack == "string") {
|
|
261
261
|
for (var A = ne.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), E = A.length - 1,
|
|
264
|
-
|
|
265
|
-
for (; E >= 1 &&
|
|
266
|
-
if (A[E] !==
|
|
267
|
-
if (E !== 1 ||
|
|
262
|
+
`), U = C.stack.split(`
|
|
263
|
+
`), E = A.length - 1, H = U.length - 1; E >= 1 && H >= 0 && A[E] !== U[H]; )
|
|
264
|
+
H--;
|
|
265
|
+
for (; E >= 1 && H >= 0; E--, H--)
|
|
266
|
+
if (A[E] !== U[H]) {
|
|
267
|
+
if (E !== 1 || H !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (E--,
|
|
269
|
+
if (E--, H--, H < 0 || A[E] !== U[H]) {
|
|
270
270
|
var j = `
|
|
271
271
|
` + A[E].replace(" at new ", " at ");
|
|
272
272
|
return i.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", i.displayName)), typeof i == "function" && Pe.set(i, j), j;
|
|
273
273
|
}
|
|
274
|
-
while (E >= 1 &&
|
|
274
|
+
while (E >= 1 && H >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
Ze = !1, Ye.current = N,
|
|
279
|
+
Ze = !1, Ye.current = N, Be(), Error.prepareStackTrace = b;
|
|
280
280
|
}
|
|
281
|
-
var Ce = i ? i.displayName || i.name : "", In = Ce ?
|
|
281
|
+
var Ce = i ? i.displayName || i.name : "", In = Ce ? xe(Ce) : "";
|
|
282
282
|
return typeof i == "function" && Pe.set(i, In), In;
|
|
283
283
|
}
|
|
284
284
|
function Dn(i, o, l) {
|
|
@@ -288,59 +288,59 @@ function da() {
|
|
|
288
288
|
var o = i.prototype;
|
|
289
289
|
return !!(o && o.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ke(i, o, l) {
|
|
292
292
|
if (i == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof i == "function")
|
|
295
295
|
return sn(i, Gn(i));
|
|
296
296
|
if (typeof i == "string")
|
|
297
|
-
return
|
|
297
|
+
return xe(i);
|
|
298
298
|
switch (i) {
|
|
299
299
|
case d:
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
300
|
+
return xe("Suspense");
|
|
301
|
+
case f:
|
|
302
|
+
return xe("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof i == "object")
|
|
305
305
|
switch (i.$$typeof) {
|
|
306
306
|
case g:
|
|
307
307
|
return Dn(i.render);
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var C = i,
|
|
308
|
+
case I:
|
|
309
|
+
return ke(i.type, o, l);
|
|
310
|
+
case y: {
|
|
311
|
+
var C = i, b = C._payload, N = C._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ke(N(b), o, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var Ue = Object.prototype.hasOwnProperty, cn = {}, dn = z.ReactDebugCurrentFrame;
|
|
321
|
+
function Fe(i) {
|
|
322
322
|
if (i) {
|
|
323
|
-
var o = i._owner, l =
|
|
323
|
+
var o = i._owner, l = ke(i.type, i._source, o ? o.type : null);
|
|
324
324
|
dn.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
326
|
dn.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Ln(i, o, l, C,
|
|
328
|
+
function Ln(i, o, l, C, b) {
|
|
329
329
|
{
|
|
330
|
-
var N = Function.call.bind(
|
|
331
|
-
for (var
|
|
332
|
-
if (N(i,
|
|
330
|
+
var N = Function.call.bind(Ue);
|
|
331
|
+
for (var S in i)
|
|
332
|
+
if (N(i, S)) {
|
|
333
333
|
var A = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof i[
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
335
|
+
if (typeof i[S] != "function") {
|
|
336
|
+
var U = Error((C || "React class") + ": " + l + " type `" + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[S] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw U.name = "Invariant Violation", U;
|
|
338
338
|
}
|
|
339
|
-
A = i[
|
|
339
|
+
A = i[S](o, S, C, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (E) {
|
|
341
341
|
A = E;
|
|
342
342
|
}
|
|
343
|
-
A && !(A instanceof Error) && (
|
|
343
|
+
A && !(A instanceof Error) && (Fe(b), R("%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).", C || "React class", l, S, typeof A), Fe(null)), A instanceof Error && !(A.message in cn) && (cn[A.message] = !0, Fe(b), R("Failed %s type: %s", l, A.message), Fe(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -366,7 +366,7 @@ function da() {
|
|
|
366
366
|
}
|
|
367
367
|
function un(i) {
|
|
368
368
|
if (Wn(i))
|
|
369
|
-
return
|
|
369
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(i)), ln(i);
|
|
370
370
|
}
|
|
371
371
|
var ye = z.ReactCurrentOwner, Vn = {
|
|
372
372
|
key: !0,
|
|
@@ -376,7 +376,7 @@ function da() {
|
|
|
376
376
|
}, mn, gn, $e;
|
|
377
377
|
$e = {};
|
|
378
378
|
function zn(i) {
|
|
379
|
-
if (
|
|
379
|
+
if (Ue.call(i, "ref")) {
|
|
380
380
|
var o = Object.getOwnPropertyDescriptor(i, "ref").get;
|
|
381
381
|
if (o && o.isReactWarning)
|
|
382
382
|
return !1;
|
|
@@ -384,7 +384,7 @@ function da() {
|
|
|
384
384
|
return i.ref !== void 0;
|
|
385
385
|
}
|
|
386
386
|
function qn(i) {
|
|
387
|
-
if (
|
|
387
|
+
if (Ue.call(i, "key")) {
|
|
388
388
|
var o = Object.getOwnPropertyDescriptor(i, "key").get;
|
|
389
389
|
if (o && o.isReactWarning)
|
|
390
390
|
return !1;
|
|
@@ -394,13 +394,13 @@ function da() {
|
|
|
394
394
|
function Yn(i, o) {
|
|
395
395
|
if (typeof i.ref == "string" && ye.current && o && ye.current.stateNode !== o) {
|
|
396
396
|
var l = D(ye.current.type);
|
|
397
|
-
$e[l] || (
|
|
397
|
+
$e[l] || (R('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', D(ye.current.type), i.ref), $e[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function Jn(i, o) {
|
|
401
401
|
{
|
|
402
402
|
var l = function() {
|
|
403
|
-
mn || (mn = !0,
|
|
403
|
+
mn || (mn = !0, R("%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)", o));
|
|
404
404
|
};
|
|
405
405
|
l.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
406
406
|
get: l,
|
|
@@ -411,7 +411,7 @@ function da() {
|
|
|
411
411
|
function Zn(i, o) {
|
|
412
412
|
{
|
|
413
413
|
var l = function() {
|
|
414
|
-
gn || (gn = !0,
|
|
414
|
+
gn || (gn = !0, R("%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)", o));
|
|
415
415
|
};
|
|
416
416
|
l.isReactWarning = !0, Object.defineProperty(i, "ref", {
|
|
417
417
|
get: l,
|
|
@@ -419,7 +419,7 @@ function da() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var _n = function(i, o, l, C,
|
|
422
|
+
var _n = function(i, o, l, C, b, N, S) {
|
|
423
423
|
var A = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: a,
|
|
@@ -427,7 +427,7 @@ function da() {
|
|
|
427
427
|
type: i,
|
|
428
428
|
key: o,
|
|
429
429
|
ref: l,
|
|
430
|
-
props:
|
|
430
|
+
props: S,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
432
|
_owner: N
|
|
433
433
|
};
|
|
@@ -445,31 +445,31 @@ function da() {
|
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
|
-
value:
|
|
448
|
+
value: b
|
|
449
449
|
}), Object.freeze && (Object.freeze(A.props), Object.freeze(A)), A;
|
|
450
450
|
};
|
|
451
|
-
function $n(i, o, l, C,
|
|
451
|
+
function $n(i, o, l, C, b) {
|
|
452
452
|
{
|
|
453
|
-
var N,
|
|
454
|
-
l !== void 0 && (un(l), A = "" + l), qn(o) && (un(o.key), A = "" + o.key), zn(o) && (
|
|
453
|
+
var N, S = {}, A = null, U = null;
|
|
454
|
+
l !== void 0 && (un(l), A = "" + l), qn(o) && (un(o.key), A = "" + o.key), zn(o) && (U = o.ref, Yn(o, b));
|
|
455
455
|
for (N in o)
|
|
456
|
-
|
|
456
|
+
Ue.call(o, N) && !Vn.hasOwnProperty(N) && (S[N] = o[N]);
|
|
457
457
|
if (i && i.defaultProps) {
|
|
458
458
|
var E = i.defaultProps;
|
|
459
459
|
for (N in E)
|
|
460
|
-
|
|
460
|
+
S[N] === void 0 && (S[N] = E[N]);
|
|
461
461
|
}
|
|
462
|
-
if (A ||
|
|
463
|
-
var
|
|
464
|
-
A && Jn(
|
|
462
|
+
if (A || U) {
|
|
463
|
+
var H = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
|
|
464
|
+
A && Jn(S, H), U && Zn(S, H);
|
|
465
465
|
}
|
|
466
|
-
return _n(i, A,
|
|
466
|
+
return _n(i, A, U, b, C, ye.current, S);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
var Qe = z.ReactCurrentOwner, hn = z.ReactDebugCurrentFrame;
|
|
470
470
|
function pe(i) {
|
|
471
471
|
if (i) {
|
|
472
|
-
var o = i._owner, l =
|
|
472
|
+
var o = i._owner, l = ke(i.type, i._source, o ? o.type : null);
|
|
473
473
|
hn.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
475
|
hn.setExtraStackFrame(null);
|
|
@@ -525,7 +525,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
525
525
|
return;
|
|
526
526
|
pn[l] = !0;
|
|
527
527
|
var C = "";
|
|
528
|
-
i && i._owner && i._owner !== Qe.current && (C = " It was passed a child from " + D(i._owner.type) + "."), pe(i),
|
|
528
|
+
i && i._owner && i._owner !== Qe.current && (C = " It was passed a child from " + D(i._owner.type) + "."), pe(i), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, C), pe(null);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
function Tn(i, o) {
|
|
@@ -540,10 +540,10 @@ Check the top-level render call using <` + l + ">.");
|
|
|
540
540
|
else if (en(i))
|
|
541
541
|
i._store && (i._store.validated = !0);
|
|
542
542
|
else if (i) {
|
|
543
|
-
var
|
|
544
|
-
if (typeof
|
|
545
|
-
for (var N =
|
|
546
|
-
en(
|
|
543
|
+
var b = G(i);
|
|
544
|
+
if (typeof b == "function" && b !== i.entries)
|
|
545
|
+
for (var N = b.call(i), S; !(S = N.next()).done; )
|
|
546
|
+
en(S.value) && Cn(S.value, o);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
}
|
|
@@ -557,7 +557,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
557
557
|
l = o.propTypes;
|
|
558
558
|
else if (typeof o == "object" && (o.$$typeof === g || // Note: Memo only checks outer props here.
|
|
559
559
|
// Inner props are checked in the reconciler.
|
|
560
|
-
o.$$typeof ===
|
|
560
|
+
o.$$typeof === I))
|
|
561
561
|
l = o.propTypes;
|
|
562
562
|
else
|
|
563
563
|
return;
|
|
@@ -566,10 +566,10 @@ Check the top-level render call using <` + l + ">.");
|
|
|
566
566
|
Ln(l, i.props, "prop", C, i);
|
|
567
567
|
} else if (o.PropTypes !== void 0 && !Xe) {
|
|
568
568
|
Xe = !0;
|
|
569
|
-
var
|
|
570
|
-
|
|
569
|
+
var b = D(o);
|
|
570
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
571
571
|
}
|
|
572
|
-
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved &&
|
|
572
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function na(i) {
|
|
@@ -577,28 +577,28 @@ Check the top-level render call using <` + l + ">.");
|
|
|
577
577
|
for (var o = Object.keys(i.props), l = 0; l < o.length; l++) {
|
|
578
578
|
var C = o[l];
|
|
579
579
|
if (C !== "children" && C !== "key") {
|
|
580
|
-
pe(i),
|
|
580
|
+
pe(i), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), pe(null);
|
|
581
581
|
break;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
i.ref !== null && (pe(i),
|
|
584
|
+
i.ref !== null && (pe(i), R("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
function An(i, o, l, C,
|
|
587
|
+
function An(i, o, l, C, b, N) {
|
|
588
588
|
{
|
|
589
|
-
var
|
|
590
|
-
if (!
|
|
589
|
+
var S = ge(i);
|
|
590
|
+
if (!S) {
|
|
591
591
|
var A = "";
|
|
592
592
|
(i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
593
|
-
var
|
|
594
|
-
|
|
593
|
+
var U = Qn(b);
|
|
594
|
+
U ? A += U : A += fn();
|
|
595
595
|
var E;
|
|
596
|
-
i === null ? E = "null" : _e(i) ? E = "array" : i !== void 0 && i.$$typeof === a ? (E = "<" + (D(i.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : E = typeof i,
|
|
596
|
+
i === null ? E = "null" : _e(i) ? E = "array" : i !== void 0 && i.$$typeof === a ? (E = "<" + (D(i.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : E = typeof i, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, A);
|
|
597
597
|
}
|
|
598
|
-
var
|
|
599
|
-
if (
|
|
600
|
-
return
|
|
601
|
-
if (
|
|
598
|
+
var H = $n(i, o, l, b, N);
|
|
599
|
+
if (H == null)
|
|
600
|
+
return H;
|
|
601
|
+
if (S) {
|
|
602
602
|
var j = o.children;
|
|
603
603
|
if (j !== void 0)
|
|
604
604
|
if (C)
|
|
@@ -607,11 +607,11 @@ Check the top-level render call using <` + l + ">.");
|
|
|
607
607
|
Tn(j[Ce], i);
|
|
608
608
|
Object.freeze && Object.freeze(j);
|
|
609
609
|
} else
|
|
610
|
-
|
|
610
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
611
|
else
|
|
612
612
|
Tn(j, i);
|
|
613
613
|
}
|
|
614
|
-
return i ===
|
|
614
|
+
return i === t ? na(H) : ea(H), H;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
function aa(i, o, l) {
|
|
@@ -620,24 +620,24 @@ Check the top-level render call using <` + l + ">.");
|
|
|
620
620
|
function ia(i, o, l) {
|
|
621
621
|
return An(i, o, l, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
Me.Fragment =
|
|
623
|
+
var ra = ia, ta = aa;
|
|
624
|
+
Me.Fragment = t, Me.jsx = ra, Me.jsxs = ta;
|
|
625
625
|
}()), Me;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var n =
|
|
627
|
+
process.env.NODE_ENV === "production" ? tn.exports = ca() : tn.exports = da();
|
|
628
|
+
var n = tn.exports;
|
|
629
629
|
const wn = () => {
|
|
630
630
|
const e = oa(void 0);
|
|
631
631
|
return [() => {
|
|
632
|
-
const
|
|
633
|
-
if (
|
|
632
|
+
const r = sa(e);
|
|
633
|
+
if (r === void 0)
|
|
634
634
|
throw new Error("useCtx must be inside a Provider with a value");
|
|
635
|
-
return
|
|
635
|
+
return r;
|
|
636
636
|
}, e.Provider];
|
|
637
|
-
}, [W, la] = wn(),
|
|
637
|
+
}, [W, la] = wn(), Rn = (...e) => e.filter(Boolean).join(" "), ua = (e) => {
|
|
638
638
|
try {
|
|
639
|
-
const a = (/* @__PURE__ */ new Date()).getUTCFullYear(),
|
|
640
|
-
return
|
|
639
|
+
const a = (/* @__PURE__ */ new Date()).getUTCFullYear(), r = e.substring(e.length - 4, e.length), t = a - Number(r);
|
|
640
|
+
return t > -1 && t < 131;
|
|
641
641
|
} catch {
|
|
642
642
|
return !1;
|
|
643
643
|
}
|
|
@@ -648,18 +648,18 @@ const wn = () => {
|
|
|
648
648
|
day: "2-digit",
|
|
649
649
|
year: "numeric"
|
|
650
650
|
});
|
|
651
|
-
},
|
|
652
|
-
const a = (e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes",
|
|
651
|
+
}, v = (e) => e === void 0 || e === "", on = (e) => !v(e), Te = (e) => {
|
|
652
|
+
const a = (e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes", r = (e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no", t = r && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), c = r && ((e == null ? void 0 : e.accountHolderForeignAccountType) !== "individual" && (e == null ? void 0 : e.accountHolderForeignAccountType) !== "disregardedEntity" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) !== "individual"), s = (e == null ? void 0 : e.accountHolderIsIndividual) !== void 0, m = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", u = on(e == null ? void 0 : e.accountHolderFinancialAccountIdentifier) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5);
|
|
653
653
|
return {
|
|
654
654
|
accountHolderIsDisregarded: m,
|
|
655
655
|
hasNoTaxId: u,
|
|
656
656
|
isDac7: s,
|
|
657
657
|
isW9: a,
|
|
658
|
-
isW8:
|
|
659
|
-
isW8Ben:
|
|
658
|
+
isW8: r,
|
|
659
|
+
isW8Ben: t,
|
|
660
660
|
isW8BenE: c
|
|
661
661
|
};
|
|
662
|
-
},
|
|
662
|
+
}, Hn = (e, a) => {
|
|
663
663
|
switch (e) {
|
|
664
664
|
case "individual":
|
|
665
665
|
return "nameOfIndividual";
|
|
@@ -682,7 +682,7 @@ const wn = () => {
|
|
|
682
682
|
default:
|
|
683
683
|
return "name";
|
|
684
684
|
}
|
|
685
|
-
},
|
|
685
|
+
}, Bn = (e) => {
|
|
686
686
|
switch (e) {
|
|
687
687
|
case "individual":
|
|
688
688
|
return "nameOfIndividual";
|
|
@@ -695,10 +695,10 @@ const wn = () => {
|
|
|
695
695
|
default:
|
|
696
696
|
return "name";
|
|
697
697
|
}
|
|
698
|
-
}, ha = (e) => e.accountHolderUsAccountType !== void 0 ?
|
|
698
|
+
}, ha = (e) => e.accountHolderUsAccountType !== void 0 ? Hn(
|
|
699
699
|
e.accountHolderUsAccountType,
|
|
700
700
|
e.accountHolderUsSmllcElection
|
|
701
|
-
) : e.accountHolderForeignAccountType !== void 0 ?
|
|
701
|
+
) : e.accountHolderForeignAccountType !== void 0 ? Bn(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfBusiness" : "name", fa = (e) => e.regardedOwnerUsPerson === "yes" ? Hn(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? Bn(e.regardedOwnerForeignAccountType) : "name", pa = (e) => ({
|
|
702
702
|
accountHolderIsIndividual: "isIndividual",
|
|
703
703
|
accountHolderUsPerson: "usPerson",
|
|
704
704
|
accountHolderUsAccountType: "usAccountType",
|
|
@@ -883,8 +883,8 @@ const wn = () => {
|
|
|
883
883
|
exemptFatcaCode: e.includes("W-9")
|
|
884
884
|
}), Ta = (e, a) => {
|
|
885
885
|
const {
|
|
886
|
-
accountHolderIsDisregarded:
|
|
887
|
-
isW9:
|
|
886
|
+
accountHolderIsDisregarded: r,
|
|
887
|
+
isW9: t,
|
|
888
888
|
isW8BenE: c,
|
|
889
889
|
isW8: s,
|
|
890
890
|
hasNoTaxId: m
|
|
@@ -950,13 +950,13 @@ const wn = () => {
|
|
|
950
950
|
accountHolderTaxResidenceForeignTin5IsNotRequired: e.accountHolderShowTaxResidence5 === "yes",
|
|
951
951
|
// Regarded Owner Account Classification
|
|
952
952
|
regardedOwnerUsPerson: !0,
|
|
953
|
-
regardedOwnerUsAccountType:
|
|
954
|
-
regardedOwnerUsLlcClassification:
|
|
955
|
-
regardedOwnerUsOtherClassification:
|
|
956
|
-
regardedOwnerUsTrustEstateEin:
|
|
957
|
-
regardedOwnerForeignAccountType:
|
|
958
|
-
regardedOwnerForeignOtherClassification:
|
|
959
|
-
regardedOwnerForeignTrustClassification:
|
|
953
|
+
regardedOwnerUsAccountType: r && (e.regardedOwnerUsPerson === "yes" || !u.regardedOwnerUsPerson),
|
|
954
|
+
regardedOwnerUsLlcClassification: r && e.regardedOwnerUsAccountType === "llc",
|
|
955
|
+
regardedOwnerUsOtherClassification: r && e.regardedOwnerUsAccountType === "other",
|
|
956
|
+
regardedOwnerUsTrustEstateEin: r && e.regardedOwnerUsAccountType === "trustEstate",
|
|
957
|
+
regardedOwnerForeignAccountType: r && e.regardedOwnerUsPerson === "no" || !u.regardedOwnerUsPerson,
|
|
958
|
+
regardedOwnerForeignOtherClassification: r && e.regardedOwnerForeignAccountType === "other",
|
|
959
|
+
regardedOwnerForeignTrustClassification: r && e.regardedOwnerForeignAccountType === "trust",
|
|
960
960
|
// Regarded Owner Contact Information
|
|
961
961
|
regardedOwnerAddressCity: !0,
|
|
962
962
|
regardedOwnerAddressCountry: !0,
|
|
@@ -964,36 +964,36 @@ const wn = () => {
|
|
|
964
964
|
regardedOwnerAddressStreet2: !0,
|
|
965
965
|
regardedOwnerAddressStreet: !0,
|
|
966
966
|
regardedOwnerAddressZip: !0,
|
|
967
|
-
regardedOwnerCountryOfCitizenship:
|
|
968
|
-
regardedOwnerDateOfBirth:
|
|
969
|
-
regardedOwnerDbaName:
|
|
970
|
-
regardedOwnerName:
|
|
971
|
-
regardedOwnerMailingAddressIsDifferent:
|
|
972
|
-
regardedOwnerMailingAddressCity:
|
|
973
|
-
regardedOwnerMailingAddressCountry:
|
|
974
|
-
regardedOwnerMailingAddressState:
|
|
975
|
-
regardedOwnerMailingAddressStreet2:
|
|
976
|
-
regardedOwnerMailingAddressStreet:
|
|
977
|
-
regardedOwnerMailingAddressZip:
|
|
967
|
+
regardedOwnerCountryOfCitizenship: r && e.regardedOwnerUsPerson !== void 0,
|
|
968
|
+
regardedOwnerDateOfBirth: r && e.regardedOwnerUsPerson !== void 0,
|
|
969
|
+
regardedOwnerDbaName: r && e.regardedOwnerUsPerson !== void 0,
|
|
970
|
+
regardedOwnerName: r && e.regardedOwnerUsPerson !== void 0,
|
|
971
|
+
regardedOwnerMailingAddressIsDifferent: r && e.regardedOwnerUsPerson !== void 0,
|
|
972
|
+
regardedOwnerMailingAddressCity: r && e.regardedOwnerUsPerson !== void 0,
|
|
973
|
+
regardedOwnerMailingAddressCountry: r && e.regardedOwnerUsPerson !== void 0,
|
|
974
|
+
regardedOwnerMailingAddressState: r && e.regardedOwnerUsPerson !== void 0,
|
|
975
|
+
regardedOwnerMailingAddressStreet2: r && e.regardedOwnerUsPerson !== void 0,
|
|
976
|
+
regardedOwnerMailingAddressStreet: r && e.regardedOwnerUsPerson !== void 0,
|
|
977
|
+
regardedOwnerMailingAddressZip: r && e.regardedOwnerUsPerson !== void 0,
|
|
978
978
|
// Regarded Owner Tax Numbers
|
|
979
|
-
regardedOwnerUsTin:
|
|
980
|
-
regardedOwnerForeignTin:
|
|
981
|
-
regardedOwnerForeignTinIsNotRequired:
|
|
979
|
+
regardedOwnerUsTin: r && e.regardedOwnerUsPerson !== void 0,
|
|
980
|
+
regardedOwnerForeignTin: r && e.regardedOwnerUsPerson === "no",
|
|
981
|
+
regardedOwnerForeignTinIsNotRequired: r && e.regardedOwnerUsPerson === "no",
|
|
982
982
|
exemptPayeeCode: e.accountHolderUsAccountType !== void 0,
|
|
983
983
|
exemptFatcaCode: e.accountHolderUsAccountType !== void 0,
|
|
984
984
|
signature: !0,
|
|
985
985
|
iCertifyToAll: !0,
|
|
986
986
|
iAcknowlegeESignIsOk: !0,
|
|
987
|
-
iAmExemptFromFatcaReporting:
|
|
988
|
-
iAmNotSubjectToBackupWithholding:
|
|
989
|
-
iAmACitizenOfTheUs:
|
|
987
|
+
iAmExemptFromFatcaReporting: t,
|
|
988
|
+
iAmNotSubjectToBackupWithholding: t,
|
|
989
|
+
iAmACitizenOfTheUs: t,
|
|
990
990
|
iAuthorizeWithholdingAgent: c,
|
|
991
991
|
iConfirmIncomeIsNonUs: s,
|
|
992
992
|
iConfirmTheEntityIsTheBeneficialOwner: s,
|
|
993
993
|
iConfirmTheBeneficialOwnerIsExempt: s,
|
|
994
|
-
iConfirmTheTaxIdIsCorrect:
|
|
994
|
+
iConfirmTheTaxIdIsCorrect: t,
|
|
995
995
|
iConfirmTheEntityIsNotAUsPerson: s,
|
|
996
|
-
iHaveLegalCapacityToSign:
|
|
996
|
+
iHaveLegalCapacityToSign: t
|
|
997
997
|
};
|
|
998
998
|
return Object.fromEntries(
|
|
999
999
|
Object.keys(g).map((d) => [
|
|
@@ -1085,18 +1085,18 @@ const wn = () => {
|
|
|
1085
1085
|
signature: e.signature,
|
|
1086
1086
|
document_type: "COMPREHENSIVE"
|
|
1087
1087
|
}), Sa = ({
|
|
1088
|
-
|
|
1088
|
+
data: e,
|
|
1089
1089
|
onSubmit: a,
|
|
1090
|
-
|
|
1091
|
-
|
|
1090
|
+
language: r = "en-us",
|
|
1091
|
+
taxForms: t = ["DAC7", "W-8BEN", "W-8BEN-E", "W-9"]
|
|
1092
1092
|
}) => {
|
|
1093
|
-
const [c, s] = Z(
|
|
1093
|
+
const [c, s] = Z(r), [m, u] = Z(t), g = Aa(e), [d, f] = Z(
|
|
1094
1094
|
g
|
|
1095
|
-
), [
|
|
1095
|
+
), [I, y] = Z([
|
|
1096
1096
|
"AccountHolderClassification"
|
|
1097
|
-
]), [
|
|
1097
|
+
]), [F, V] = Z(
|
|
1098
1098
|
void 0
|
|
1099
|
-
), { isW9: w, isW8: G, isW8Ben: z, isW8BenE:
|
|
1099
|
+
), { isW9: w, isW8: G, isW8Ben: z, isW8BenE: R, isDac7: ue } = Te(d), q = I[I.length - 1], Ae = q || "AccountHolderClassification", Ie = {
|
|
1100
1100
|
regardedOwnerUsPerson: void 0,
|
|
1101
1101
|
regardedOwnerUsAccountType: void 0,
|
|
1102
1102
|
regardedOwnerUsLlcClassification: void 0,
|
|
@@ -1106,49 +1106,49 @@ const wn = () => {
|
|
|
1106
1106
|
regardedOwnerForeignTrustClassification: void 0,
|
|
1107
1107
|
regardedOwnerForeignOtherClassification: void 0
|
|
1108
1108
|
}, Se = (O) => {
|
|
1109
|
-
const
|
|
1109
|
+
const k = {
|
|
1110
1110
|
...d,
|
|
1111
1111
|
...O
|
|
1112
1112
|
};
|
|
1113
|
-
|
|
1114
|
-
const se = Ia(
|
|
1113
|
+
f(k);
|
|
1114
|
+
const se = Ia(k);
|
|
1115
1115
|
a({
|
|
1116
1116
|
...se,
|
|
1117
1117
|
signature_timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1118
1118
|
});
|
|
1119
1119
|
}, be = Ve(() => {
|
|
1120
|
-
|
|
1120
|
+
f(g), V(void 0), y(["AccountHolderClassification"]);
|
|
1121
1121
|
}, [g]), me = (O) => {
|
|
1122
|
-
const { accountHolderIsDisregarded:
|
|
1123
|
-
return q === "AccountHolderClassification" ? se ? "AccountHolderContact" :
|
|
1122
|
+
const { accountHolderIsDisregarded: k, isDac7: se, hasNoTaxId: Ne } = Te(O);
|
|
1123
|
+
return q === "AccountHolderClassification" ? se ? "AccountHolderContact" : k ? "RegardedOwnerClassification" : "AccountHolderContact" : q === "AccountHolderContact" ? se && O.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : q === "AccountHolderTax" ? Ne ? "AccountHolderTaxClarification" : "Summary" : q === "RegardedOwnerClassification" ? "RegardedOwnerContact" : q === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
|
|
1124
1124
|
}, ge = (O) => {
|
|
1125
|
-
const
|
|
1126
|
-
|
|
1125
|
+
const k = me(O);
|
|
1126
|
+
k === "Summary" && V(void 0), D(k);
|
|
1127
1127
|
}, ce = (O) => {
|
|
1128
|
-
const
|
|
1128
|
+
const k = {
|
|
1129
1129
|
...d,
|
|
1130
1130
|
...O
|
|
1131
1131
|
};
|
|
1132
|
-
|
|
1132
|
+
f(k), F === void 0 ? ge(k) : y(["Summary"]);
|
|
1133
1133
|
}, he = (O) => {
|
|
1134
1134
|
d.accountHolderUsAccountType !== O.accountHolderUsAccountType || d.accountHolderForeignAccountType !== O.accountHolderForeignAccountType ? ce({
|
|
1135
1135
|
...O,
|
|
1136
1136
|
...Ie
|
|
1137
1137
|
}) : ce(O);
|
|
1138
1138
|
}, D = (O) => {
|
|
1139
|
-
|
|
1139
|
+
y([...I, O]);
|
|
1140
1140
|
}, Y = (O) => {
|
|
1141
|
-
|
|
1142
|
-
}, ee =
|
|
1143
|
-
|
|
1144
|
-
} : void 0, fe =
|
|
1145
|
-
|
|
1141
|
+
y([O]), V(d);
|
|
1142
|
+
}, ee = F !== void 0 ? () => {
|
|
1143
|
+
f(F), V(void 0), y(["Summary"]);
|
|
1144
|
+
} : void 0, fe = I.length > 1 ? () => {
|
|
1145
|
+
y(I.slice(0, I.length - 1));
|
|
1146
1146
|
} : void 0;
|
|
1147
1147
|
return {
|
|
1148
1148
|
isW9: w,
|
|
1149
1149
|
isW8: G,
|
|
1150
1150
|
isW8Ben: z,
|
|
1151
|
-
isW8BenE:
|
|
1151
|
+
isW8BenE: R,
|
|
1152
1152
|
isDac7: ue,
|
|
1153
1153
|
onPersistAccountHolderData: he,
|
|
1154
1154
|
onPersistCollectedData: ce,
|
|
@@ -1169,21 +1169,21 @@ const wn = () => {
|
|
|
1169
1169
|
}, ba = ({
|
|
1170
1170
|
data: e = {},
|
|
1171
1171
|
onSubmit: a,
|
|
1172
|
-
language:
|
|
1173
|
-
|
|
1172
|
+
language: r,
|
|
1173
|
+
taxForms: t,
|
|
1174
1174
|
children: c
|
|
1175
1175
|
}) => /* @__PURE__ */ n.jsx(
|
|
1176
1176
|
la,
|
|
1177
1177
|
{
|
|
1178
1178
|
value: Sa({
|
|
1179
|
-
|
|
1179
|
+
data: e,
|
|
1180
1180
|
onSubmit: a,
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
language: r,
|
|
1182
|
+
taxForms: t
|
|
1183
1183
|
}),
|
|
1184
1184
|
children: c
|
|
1185
1185
|
}
|
|
1186
|
-
), [
|
|
1186
|
+
), [M, Na] = wn(), ya = {
|
|
1187
1187
|
button: {
|
|
1188
1188
|
back: "Zurück",
|
|
1189
1189
|
cancel: "Abbrechen",
|
|
@@ -2280,7 +2280,7 @@ const wn = () => {
|
|
|
2280
2280
|
},
|
|
2281
2281
|
option: {
|
|
2282
2282
|
usPerson_yes: "Yes. I am a US Person",
|
|
2283
|
-
usPerson_no: "No
|
|
2283
|
+
usPerson_no: "No. I am not a US person",
|
|
2284
2284
|
regardedOwnerUsPerson_yes: "Yes. The regarded owner is a US Person",
|
|
2285
2285
|
regardedOwnerUsPerson_no: "No, The regarded owner is not a US person",
|
|
2286
2286
|
isIndividual_yes: "Yes. I am an individual",
|
|
@@ -4093,7 +4093,7 @@ const wn = () => {
|
|
|
4093
4093
|
SK: "Saskatchewan",
|
|
4094
4094
|
YT: "Territorio Yukón"
|
|
4095
4095
|
}
|
|
4096
|
-
},
|
|
4096
|
+
}, Ra = {
|
|
4097
4097
|
button: {
|
|
4098
4098
|
back: "Terug",
|
|
4099
4099
|
cancel: "Annuleren",
|
|
@@ -4578,7 +4578,7 @@ const wn = () => {
|
|
|
4578
4578
|
SK: "Saskatchewan",
|
|
4579
4579
|
YT: "Yukon"
|
|
4580
4580
|
}
|
|
4581
|
-
},
|
|
4581
|
+
}, Ha = {
|
|
4582
4582
|
button: {
|
|
4583
4583
|
back: "Tilbake",
|
|
4584
4584
|
cancel: "Avbryt",
|
|
@@ -5063,7 +5063,7 @@ const wn = () => {
|
|
|
5063
5063
|
SK: "Saskatchewan",
|
|
5064
5064
|
YT: "Yukon-territoriet"
|
|
5065
5065
|
}
|
|
5066
|
-
},
|
|
5066
|
+
}, Ba = {
|
|
5067
5067
|
button: {
|
|
5068
5068
|
back: "Tillbaka",
|
|
5069
5069
|
cancel: "Avbryt",
|
|
@@ -5553,66 +5553,66 @@ const wn = () => {
|
|
|
5553
5553
|
"de-de": ya,
|
|
5554
5554
|
"en-gb": va,
|
|
5555
5555
|
"it-it": wa,
|
|
5556
|
-
"nl-nl":
|
|
5557
|
-
"no-no":
|
|
5558
|
-
"sv-se":
|
|
5556
|
+
"nl-nl": Ra,
|
|
5557
|
+
"no-no": Ha,
|
|
5558
|
+
"sv-se": Ba,
|
|
5559
5559
|
"fr-fr": Ea,
|
|
5560
5560
|
"es-es": Oa
|
|
5561
5561
|
}, Nn = (e, a = "en-us") => {
|
|
5562
|
-
const
|
|
5563
|
-
return
|
|
5562
|
+
const r = $[a].prompt[e];
|
|
5563
|
+
return r || (console.log(
|
|
5564
5564
|
'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
|
|
5565
5565
|
), e);
|
|
5566
|
-
},
|
|
5567
|
-
const
|
|
5568
|
-
return
|
|
5566
|
+
}, xa = (e, a = "en-us") => {
|
|
5567
|
+
const r = $[a].subPrompt[e];
|
|
5568
|
+
return r || (console.log(
|
|
5569
5569
|
'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
|
|
5570
5570
|
), e);
|
|
5571
5571
|
}, Pa = (e, a = "en-us") => {
|
|
5572
|
-
const
|
|
5573
|
-
return
|
|
5572
|
+
const r = $[a].error[e];
|
|
5573
|
+
return r || (console.log(
|
|
5574
5574
|
'Missing error for key: "' + e + '" in locale: "' + a + '"'
|
|
5575
5575
|
), e);
|
|
5576
|
-
},
|
|
5577
|
-
const
|
|
5578
|
-
return
|
|
5576
|
+
}, ka = (e, a = "en-us") => {
|
|
5577
|
+
const r = $[a].hint[e];
|
|
5578
|
+
return r || (console.log(
|
|
5579
5579
|
'Missing hint for key: "' + e + '" in locale: "' + a + '"'
|
|
5580
5580
|
), e);
|
|
5581
|
-
},
|
|
5582
|
-
const
|
|
5583
|
-
return
|
|
5581
|
+
}, Ua = (e, a = "en-us") => {
|
|
5582
|
+
const r = $[a].text[e];
|
|
5583
|
+
return r || (console.log(
|
|
5584
5584
|
'Missing text for key: "' + e + '" in locale: "' + a + '"'
|
|
5585
5585
|
), e);
|
|
5586
|
-
},
|
|
5587
|
-
const
|
|
5588
|
-
return
|
|
5586
|
+
}, Fa = (e, a = "en-us") => {
|
|
5587
|
+
const r = $[a].title[e];
|
|
5588
|
+
return r || (console.log(
|
|
5589
5589
|
'Missing title for key: "' + e + '" in locale: "' + a + '"'
|
|
5590
5590
|
), e);
|
|
5591
5591
|
}, Da = (e, a = "en-us") => {
|
|
5592
|
-
const
|
|
5593
|
-
return
|
|
5592
|
+
const r = $[a].button[e];
|
|
5593
|
+
return r || (console.log(
|
|
5594
5594
|
'Missing button for key: "' + e + '" in locale: "' + a + '"'
|
|
5595
5595
|
), e);
|
|
5596
5596
|
}, yn = (e, a = "en-us") => {
|
|
5597
5597
|
if (!e)
|
|
5598
5598
|
return "";
|
|
5599
|
-
const
|
|
5600
|
-
return
|
|
5599
|
+
const r = $[a].option[e];
|
|
5600
|
+
return r || (console.log(
|
|
5601
5601
|
'Missing option for key: "' + e + '" in locale: "' + a + '"'
|
|
5602
5602
|
), e);
|
|
5603
5603
|
}, Ga = (e, a = "en-us") => {
|
|
5604
|
-
const
|
|
5605
|
-
return
|
|
5604
|
+
const r = $[a].country[e];
|
|
5605
|
+
return r || (console.log(
|
|
5606
5606
|
'Missing country for key: "' + e + '" in locale: "' + a + '"'
|
|
5607
5607
|
), e);
|
|
5608
5608
|
}, La = (e, a = "en-us") => {
|
|
5609
|
-
const
|
|
5610
|
-
return
|
|
5609
|
+
const r = $[a].usState[e];
|
|
5610
|
+
return r || (console.log(
|
|
5611
5611
|
'Missing usState for key: "' + e + '" in locale: "' + a + '"'
|
|
5612
5612
|
), e);
|
|
5613
5613
|
}, ja = (e, a = "en-us") => {
|
|
5614
|
-
const
|
|
5615
|
-
return
|
|
5614
|
+
const r = $[a].caProvince[e];
|
|
5615
|
+
return r || (console.log(
|
|
5616
5616
|
'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
|
|
5617
5617
|
), e);
|
|
5618
5618
|
}, De = [
|
|
@@ -5633,20 +5633,20 @@ const wn = () => {
|
|
|
5633
5633
|
"987654321",
|
|
5634
5634
|
"098765432"
|
|
5635
5635
|
], Ge = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, nn = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, an = /^\d{5}$|^\d{5}-\d{4}$/, Le = (e, a) => {
|
|
5636
|
-
if (a.accountHolderAddressCountry === "US" &&
|
|
5636
|
+
if (a.accountHolderAddressCountry === "US" && v(e))
|
|
5637
5637
|
return "required";
|
|
5638
5638
|
}, T = (e) => {
|
|
5639
|
-
if (
|
|
5639
|
+
if (v(e))
|
|
5640
5640
|
return "required";
|
|
5641
|
-
}, je = (e) => (a,
|
|
5642
|
-
if (
|
|
5641
|
+
}, je = (e) => (a, r) => {
|
|
5642
|
+
if (v(a) && (on(r[`accountHolderTaxResidenceForeignTin${e}`]) || r[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes"))
|
|
5643
5643
|
return "required";
|
|
5644
|
-
}, Ke = (e) => (a,
|
|
5645
|
-
if (
|
|
5646
|
-
|
|
5644
|
+
}, Ke = (e) => (a, r) => {
|
|
5645
|
+
if (v(a) && on(r[`accountHolderTaxResidenceCountry${e}`]) && v(
|
|
5646
|
+
r[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
5647
5647
|
))
|
|
5648
5648
|
return "required";
|
|
5649
|
-
},
|
|
5649
|
+
}, rn = {
|
|
5650
5650
|
accountHolderUsPerson: T,
|
|
5651
5651
|
accountHolderIsEuResident: T,
|
|
5652
5652
|
accountHolderIsIndividual: T,
|
|
@@ -5663,7 +5663,7 @@ const wn = () => {
|
|
|
5663
5663
|
accountHolderDbaName: (e, a) => {
|
|
5664
5664
|
if (a.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
5665
5665
|
a.accountHolderUsAccountType
|
|
5666
|
-
) &&
|
|
5666
|
+
) && v(e))
|
|
5667
5667
|
return "required";
|
|
5668
5668
|
},
|
|
5669
5669
|
accountHolderDateOfBirth: (e, a) => {
|
|
@@ -5686,12 +5686,12 @@ const wn = () => {
|
|
|
5686
5686
|
accountHolderAddressCity: T,
|
|
5687
5687
|
accountHolderAddressZip: (e, a) => {
|
|
5688
5688
|
if (a.accountHolderAddressCountry === "US") {
|
|
5689
|
-
if (
|
|
5689
|
+
if (v(e))
|
|
5690
5690
|
return "required";
|
|
5691
5691
|
if (!an.test(e))
|
|
5692
5692
|
return "mustBeFiveOrNineDigits";
|
|
5693
5693
|
} else if (a.accountHolderAddressCountry === "CA") {
|
|
5694
|
-
if (
|
|
5694
|
+
if (v(e))
|
|
5695
5695
|
return "required";
|
|
5696
5696
|
if (e.length !== 6)
|
|
5697
5697
|
return "mustBeSixCharacters";
|
|
@@ -5705,12 +5705,12 @@ const wn = () => {
|
|
|
5705
5705
|
accountHolderMailingAddressCity: T,
|
|
5706
5706
|
accountHolderMailingAddressZip: (e, a) => {
|
|
5707
5707
|
if (a.accountHolderMailingAddressCountry === "US") {
|
|
5708
|
-
if (
|
|
5708
|
+
if (v(e))
|
|
5709
5709
|
return "required";
|
|
5710
5710
|
if (!an.test(e))
|
|
5711
5711
|
return "mustBeFiveOrNineDigits";
|
|
5712
5712
|
} else if (a.accountHolderMailingAddressCountry === "CA") {
|
|
5713
|
-
if (
|
|
5713
|
+
if (v(e))
|
|
5714
5714
|
return "required";
|
|
5715
5715
|
if (e.length !== 6)
|
|
5716
5716
|
return "mustBeSixCharacters";
|
|
@@ -5741,18 +5741,18 @@ const wn = () => {
|
|
|
5741
5741
|
accountHolderVatIdentificationNumber: T,
|
|
5742
5742
|
accountHolderVatCountry: T,
|
|
5743
5743
|
accountHolderCityOfBirth: (e, a) => {
|
|
5744
|
-
const { hasNoTaxId:
|
|
5745
|
-
if (
|
|
5744
|
+
const { hasNoTaxId: r } = Te(a);
|
|
5745
|
+
if (r && v(e))
|
|
5746
5746
|
return "required";
|
|
5747
5747
|
},
|
|
5748
5748
|
accountHolderCountryOfBirth: (e, a) => {
|
|
5749
|
-
const { hasNoTaxId:
|
|
5750
|
-
if (
|
|
5749
|
+
const { hasNoTaxId: r } = Te(a);
|
|
5750
|
+
if (r && v(e))
|
|
5751
5751
|
return "required";
|
|
5752
5752
|
},
|
|
5753
5753
|
accountHolderTaxResidenceCountry1: T,
|
|
5754
5754
|
accountHolderTaxResidenceForeignTin1: (e, a) => {
|
|
5755
|
-
if (
|
|
5755
|
+
if (v(a.accountHolderTaxResidenceForeignTin1IsNotRequired) && v(e))
|
|
5756
5756
|
return "required";
|
|
5757
5757
|
},
|
|
5758
5758
|
accountHolderTaxResidenceCountry2: je("2"),
|
|
@@ -5776,7 +5776,7 @@ const wn = () => {
|
|
|
5776
5776
|
regardedOwnerDbaName: (e, a) => {
|
|
5777
5777
|
if (a.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
5778
5778
|
a.regardedOwnerUsAccountType
|
|
5779
|
-
) &&
|
|
5779
|
+
) && v(e))
|
|
5780
5780
|
return "required";
|
|
5781
5781
|
},
|
|
5782
5782
|
regardedOwnerDateOfBirth: T,
|
|
@@ -5786,7 +5786,7 @@ const wn = () => {
|
|
|
5786
5786
|
regardedOwnerAddressCity: T,
|
|
5787
5787
|
regardedOwnerAddressZip: (e, a) => {
|
|
5788
5788
|
if (a.regardedOwnerAddressCountry === "US") {
|
|
5789
|
-
if (
|
|
5789
|
+
if (v(e))
|
|
5790
5790
|
return "required";
|
|
5791
5791
|
if (!/^\d{5}$|^\d{5}-\d{4}|^\d{9}$/.test(e))
|
|
5792
5792
|
return "mustBeFiveOrNineDigits";
|
|
@@ -5798,12 +5798,12 @@ const wn = () => {
|
|
|
5798
5798
|
regardedOwnerMailingAddressCity: T,
|
|
5799
5799
|
regardedOwnerMailingAddressZip: (e, a) => {
|
|
5800
5800
|
if (a.regardedOwnerMailingAddressCountry === "US") {
|
|
5801
|
-
if (
|
|
5801
|
+
if (v(e))
|
|
5802
5802
|
return "required";
|
|
5803
5803
|
if (!an.test(e))
|
|
5804
5804
|
return "mustBeFiveOrNineDigits";
|
|
5805
5805
|
} else if (a.regardedOwnerMailingAddressCountry === "CA") {
|
|
5806
|
-
if (
|
|
5806
|
+
if (v(e))
|
|
5807
5807
|
return "required";
|
|
5808
5808
|
if (e.length !== 6)
|
|
5809
5809
|
return "mustBeSixCharacters";
|
|
@@ -5828,12 +5828,12 @@ const wn = () => {
|
|
|
5828
5828
|
return "mustBeNineDigits";
|
|
5829
5829
|
},
|
|
5830
5830
|
regardedOwnerForeignTin: (e, a) => {
|
|
5831
|
-
const { isW8:
|
|
5832
|
-
if (
|
|
5831
|
+
const { isW8: r } = Te(a);
|
|
5832
|
+
if (r && (e === void 0 || e === "") && a.regardedOwnerForeignTinIsNotRequired !== "yes")
|
|
5833
5833
|
return "required";
|
|
5834
5834
|
},
|
|
5835
5835
|
signature: (e, a) => {
|
|
5836
|
-
if (
|
|
5836
|
+
if (v(e))
|
|
5837
5837
|
return "required";
|
|
5838
5838
|
if (e !== a.accountHolderName && (a.accountHolderUsAccountType === "individual" || a.accountHolderForeignAccountType === "individual"))
|
|
5839
5839
|
return "mustMatchName";
|
|
@@ -5845,64 +5845,64 @@ const wn = () => {
|
|
|
5845
5845
|
const {
|
|
5846
5846
|
language: e,
|
|
5847
5847
|
data: a,
|
|
5848
|
-
supportedForms:
|
|
5849
|
-
} = W(), [
|
|
5848
|
+
supportedForms: r
|
|
5849
|
+
} = W(), [t, c] = Z(a), [s, m] = Z({}), [u, g] = Z(!1), [d, f] = Z(
|
|
5850
5850
|
/* @__PURE__ */ new Set()
|
|
5851
|
-
),
|
|
5852
|
-
() => Ta(
|
|
5853
|
-
[
|
|
5854
|
-
),
|
|
5855
|
-
(
|
|
5856
|
-
if (L !==
|
|
5851
|
+
), I = ae(
|
|
5852
|
+
() => Ta(t, r),
|
|
5853
|
+
[t, r]
|
|
5854
|
+
), y = Ve(
|
|
5855
|
+
(h, L) => {
|
|
5856
|
+
if (L !== t[h]) {
|
|
5857
5857
|
const J = {
|
|
5858
|
-
...
|
|
5859
|
-
[
|
|
5858
|
+
...t,
|
|
5859
|
+
[h]: L
|
|
5860
5860
|
};
|
|
5861
5861
|
c(J);
|
|
5862
5862
|
}
|
|
5863
5863
|
},
|
|
5864
|
-
[
|
|
5864
|
+
[t]
|
|
5865
5865
|
);
|
|
5866
5866
|
X(() => {
|
|
5867
|
-
const
|
|
5868
|
-
var
|
|
5867
|
+
const h = Object.keys(t).reduce((L, J) => {
|
|
5868
|
+
var He;
|
|
5869
5869
|
if (d.has(J)) {
|
|
5870
|
-
const
|
|
5871
|
-
|
|
5870
|
+
const Be = (He = rn[J]) == null ? void 0 : He.call(rn, t[J], t);
|
|
5871
|
+
Be && (L[J] = Be);
|
|
5872
5872
|
}
|
|
5873
5873
|
return L;
|
|
5874
5874
|
}, {});
|
|
5875
|
-
m(
|
|
5876
|
-
}, [
|
|
5877
|
-
const
|
|
5875
|
+
m(h);
|
|
5876
|
+
}, [t, d]);
|
|
5877
|
+
const F = () => {
|
|
5878
5878
|
g(!0);
|
|
5879
5879
|
}, V = () => {
|
|
5880
5880
|
g(!1);
|
|
5881
|
-
}, w = Object.keys(s).length === 0, G = Ka(), z = pa(
|
|
5881
|
+
}, w = Object.keys(s).length === 0, G = Ka(), z = pa(t), R = {
|
|
5882
5882
|
accountHolderUsSmllcElection: "smllcElection"
|
|
5883
|
-
}, ue = (
|
|
5884
|
-
(
|
|
5885
|
-
if (
|
|
5886
|
-
return yn(
|
|
5883
|
+
}, ue = (h) => z[h] ? z[h] : h, q = (h) => R[h] ? R[h] : (console.log("No subPrompt key found for key: ", h), h), Ae = (h) => G[h] ? G[h] : h, Ie = (h) => ka(Ae(h), e), Se = (h) => Ua(h, e), be = (h) => Fa(h, e), me = (h) => Pa(h, e), ge = (h) => Da(h, e), ce = (h) => Nn(ue(h), e), he = (h) => Nn(ue(h), e) + (s[h] ? "*" : ""), D = (h) => xa(q(h), e), Y = Ve(
|
|
5884
|
+
(h) => {
|
|
5885
|
+
if (h)
|
|
5886
|
+
return yn(h, e) ? yn(h, e) : h;
|
|
5887
5887
|
},
|
|
5888
5888
|
[e]
|
|
5889
5889
|
), ee = Ve(
|
|
5890
|
-
(
|
|
5890
|
+
(h) => h ? Ga(h, e) : "",
|
|
5891
5891
|
[e]
|
|
5892
|
-
), fe = (
|
|
5893
|
-
accountHolderDbaName: !!
|
|
5894
|
-
|
|
5892
|
+
), fe = (h) => h ? La(h, e) : "", O = (h) => h ? ja(h, e) : "", k = {
|
|
5893
|
+
accountHolderDbaName: !!t.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
5894
|
+
t.accountHolderUsAccountType
|
|
5895
5895
|
)
|
|
5896
5896
|
};
|
|
5897
5897
|
return {
|
|
5898
|
-
fields:
|
|
5899
|
-
setValue:
|
|
5898
|
+
fields: t,
|
|
5899
|
+
setValue: y,
|
|
5900
5900
|
errors: s,
|
|
5901
5901
|
isErrorFree: w,
|
|
5902
5902
|
showErrors: u,
|
|
5903
|
-
exposeErrors:
|
|
5903
|
+
exposeErrors: F,
|
|
5904
5904
|
hideErrors: V,
|
|
5905
|
-
requiredFields:
|
|
5905
|
+
requiredFields: k,
|
|
5906
5906
|
getLocalButton: ge,
|
|
5907
5907
|
getLocalCaProvince: O,
|
|
5908
5908
|
getLocalCountry: ee,
|
|
@@ -5915,22 +5915,22 @@ const wn = () => {
|
|
|
5915
5915
|
getLocalTitle: be,
|
|
5916
5916
|
getLocalUsState: fe,
|
|
5917
5917
|
getRequiredLocalPrompt: he,
|
|
5918
|
-
visibleQuestions:
|
|
5919
|
-
hideField: (
|
|
5920
|
-
d.has(
|
|
5918
|
+
visibleQuestions: I,
|
|
5919
|
+
hideField: (h) => {
|
|
5920
|
+
d.has(h) && f((L) => new Set([...L].filter((J) => J !== h))), y(h, void 0);
|
|
5921
5921
|
},
|
|
5922
|
-
showField: (
|
|
5923
|
-
d.has(
|
|
5922
|
+
showField: (h) => {
|
|
5923
|
+
d.has(h) || f((L) => /* @__PURE__ */ new Set([...L, h]));
|
|
5924
5924
|
}
|
|
5925
5925
|
};
|
|
5926
|
-
}, ie = ({ children: e }) => /* @__PURE__ */ n.jsx(Na, { value: Wa(), children: e }),
|
|
5926
|
+
}, ie = ({ children: e }) => /* @__PURE__ */ n.jsx(Na, { value: Wa(), children: e }), re = ({
|
|
5927
5927
|
onBack: e,
|
|
5928
5928
|
onCancel: a,
|
|
5929
|
-
onNext:
|
|
5930
|
-
onSubmit:
|
|
5929
|
+
onNext: r,
|
|
5930
|
+
onSubmit: t,
|
|
5931
5931
|
onReset: c
|
|
5932
5932
|
}) => {
|
|
5933
|
-
const { isErrorFree: s, exposeErrors: m, getLocalButton: u } =
|
|
5933
|
+
const { isErrorFree: s, exposeErrors: m, getLocalButton: u } = M(), g = s ? r : m, d = s ? t : m;
|
|
5934
5934
|
return /* @__PURE__ */ n.jsxs("div", { className: "taxbit-stepActions", children: [
|
|
5935
5935
|
/* @__PURE__ */ n.jsxs("div", { className: "taxbit-secondaryActions", children: [
|
|
5936
5936
|
a && /* @__PURE__ */ n.jsx("button", { onClick: a, tabIndex: -1, children: u("cancel") }),
|
|
@@ -5938,12 +5938,12 @@ const wn = () => {
|
|
|
5938
5938
|
c && /* @__PURE__ */ n.jsx("button", { onClick: c, children: u("reset") })
|
|
5939
5939
|
] }),
|
|
5940
5940
|
/* @__PURE__ */ n.jsxs("div", { className: "taxbit-primaryActions", children: [
|
|
5941
|
-
|
|
5942
|
-
|
|
5941
|
+
r && /* @__PURE__ */ n.jsx("button", { onClick: g, children: u("next") }),
|
|
5942
|
+
t && /* @__PURE__ */ n.jsx("button", { onClick: d, children: u("submit") })
|
|
5943
5943
|
] })
|
|
5944
5944
|
] });
|
|
5945
5945
|
}, We = ({ address: e, className: a }) => {
|
|
5946
|
-
const { getLocalCountry:
|
|
5946
|
+
const { getLocalCountry: r, getLocalUsState: t, getLocalCaProvince: c } = M(), s = e.country === "US" ? t(e.state) : e.country === "CA" ? c(e.state) : e.state;
|
|
5947
5947
|
return /* @__PURE__ */ n.jsxs("div", { className: `${a} address`, children: [
|
|
5948
5948
|
/* @__PURE__ */ n.jsx("div", { children: e.street }),
|
|
5949
5949
|
e.street2 && /* @__PURE__ */ n.jsx("div", { children: e.street2 }),
|
|
@@ -5952,31 +5952,31 @@ const wn = () => {
|
|
|
5952
5952
|
e.state && `, ${s}`,
|
|
5953
5953
|
e.zip && `, ${e.zip}`
|
|
5954
5954
|
] }),
|
|
5955
|
-
e.country && /* @__PURE__ */ n.jsx("div", { children:
|
|
5955
|
+
e.country && /* @__PURE__ */ n.jsx("div", { children: r(e.country) })
|
|
5956
5956
|
] });
|
|
5957
5957
|
}, Ee = ({
|
|
5958
5958
|
name: e,
|
|
5959
5959
|
hint: a
|
|
5960
5960
|
}) => {
|
|
5961
|
-
const { errors:
|
|
5962
|
-
return m &&
|
|
5961
|
+
const { errors: r, showErrors: t, getLocalError: c, getLocalHint: s } = M(), m = r[e] ? c(r[e]) : "";
|
|
5962
|
+
return m && t ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-errorMessage", children: m }) : a ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-hint", children: s(e) }) : null;
|
|
5963
5963
|
}, we = ({
|
|
5964
5964
|
children: e,
|
|
5965
5965
|
className: a
|
|
5966
|
-
}) => /* @__PURE__ */ n.jsx("div", { className:
|
|
5966
|
+
}) => /* @__PURE__ */ n.jsx("div", { className: Rn(a, "taxbit-inputStatus"), children: e }), te = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: "taxbit-page", children: e }), P = ({
|
|
5967
5967
|
label: e,
|
|
5968
5968
|
subLabel: a,
|
|
5969
|
-
value:
|
|
5970
|
-
children:
|
|
5969
|
+
value: r,
|
|
5970
|
+
children: t,
|
|
5971
5971
|
onEdit: c,
|
|
5972
5972
|
name: s,
|
|
5973
5973
|
className: m
|
|
5974
5974
|
}) => {
|
|
5975
|
-
const { errors: u, showErrors: g, getLocalButton: d } =
|
|
5975
|
+
const { errors: u, showErrors: g, getLocalButton: d } = M();
|
|
5976
5976
|
return /* @__PURE__ */ n.jsxs(
|
|
5977
5977
|
"div",
|
|
5978
5978
|
{
|
|
5979
|
-
className:
|
|
5979
|
+
className: Rn(
|
|
5980
5980
|
"taxbit-row",
|
|
5981
5981
|
s && g && u[s] && "taxbit-error",
|
|
5982
5982
|
m
|
|
@@ -5987,26 +5987,26 @@ const wn = () => {
|
|
|
5987
5987
|
a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: a })
|
|
5988
5988
|
] }),
|
|
5989
5989
|
/* @__PURE__ */ n.jsxs("div", { className: "taxbit-rowContent", children: [
|
|
5990
|
-
|
|
5990
|
+
t ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: t }) : /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: r }),
|
|
5991
5991
|
c && /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowActions", children: /* @__PURE__ */ n.jsx("button", { onClick: c, className: "taxbit-rowActionButton", children: d("edit") }) })
|
|
5992
5992
|
] })
|
|
5993
5993
|
]
|
|
5994
5994
|
}
|
|
5995
5995
|
);
|
|
5996
|
-
}, Q = ({ title: e, showIf: a = !0, children:
|
|
5996
|
+
}, Q = ({ title: e, showIf: a = !0, children: r }) => a ? /* @__PURE__ */ n.jsxs("div", { className: "taxbit-section", children: [
|
|
5997
5997
|
e && /* @__PURE__ */ n.jsx("div", { className: "taxbit-sectionTitle", children: e }),
|
|
5998
|
-
|
|
5999
|
-
] }) :
|
|
5998
|
+
r
|
|
5999
|
+
] }) : r, oe = ({
|
|
6000
6000
|
title: e,
|
|
6001
6001
|
subtitle: a
|
|
6002
6002
|
}) => /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
6003
6003
|
/* @__PURE__ */ n.jsx("h3", { className: "taxbit-title", children: e }),
|
|
6004
6004
|
a && /* @__PURE__ */ n.jsx("p", { children: a })
|
|
6005
|
-
] }),
|
|
6006
|
-
const { fields:
|
|
6007
|
-
c(
|
|
6008
|
-
}, g = r
|
|
6009
|
-
u(
|
|
6005
|
+
] }), xn = ({ label: e, subLabel: a, name: r }) => {
|
|
6006
|
+
const { fields: t, setValue: c, getLocalPrompt: s, getLocalSubPrompt: m } = M(), u = (f) => {
|
|
6007
|
+
c(r, f);
|
|
6008
|
+
}, g = t[r], d = (f) => {
|
|
6009
|
+
u(f.target.checked ? "yes" : void 0);
|
|
6010
6010
|
};
|
|
6011
6011
|
return /* @__PURE__ */ n.jsxs(we, { children: [
|
|
6012
6012
|
/* @__PURE__ */ n.jsxs("div", { className: "taxbit-checkBox-label", children: [
|
|
@@ -6014,24 +6014,24 @@ const wn = () => {
|
|
|
6014
6014
|
"input",
|
|
6015
6015
|
{
|
|
6016
6016
|
type: "checkbox",
|
|
6017
|
-
id:
|
|
6018
|
-
name:
|
|
6017
|
+
id: r,
|
|
6018
|
+
name: r,
|
|
6019
6019
|
checked: g === "yes",
|
|
6020
6020
|
onChange: d,
|
|
6021
6021
|
className: "taxbit-checkBox"
|
|
6022
6022
|
}
|
|
6023
6023
|
),
|
|
6024
|
-
/* @__PURE__ */ n.jsxs("label", { htmlFor:
|
|
6025
|
-
e && s(
|
|
6026
|
-
a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: m(
|
|
6024
|
+
/* @__PURE__ */ n.jsxs("label", { htmlFor: r, children: [
|
|
6025
|
+
e && s(r),
|
|
6026
|
+
a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: m(r) })
|
|
6027
6027
|
] })
|
|
6028
6028
|
] }),
|
|
6029
|
-
/* @__PURE__ */ n.jsx(Ee, { name:
|
|
6029
|
+
/* @__PURE__ */ n.jsx(Ee, { name: r })
|
|
6030
6030
|
] });
|
|
6031
6031
|
}, Va = ({ name: e, options: a }) => {
|
|
6032
|
-
const { fields:
|
|
6033
|
-
|
|
6034
|
-
}, u =
|
|
6032
|
+
const { fields: r, setValue: t, hideErrors: c, getLocalOption: s } = M(), m = (d) => {
|
|
6033
|
+
t(e, d), c();
|
|
6034
|
+
}, u = r[e], g = (d) => {
|
|
6035
6035
|
m(d.target.value);
|
|
6036
6036
|
};
|
|
6037
6037
|
return /* @__PURE__ */ n.jsxs(we, { children: [
|
|
@@ -6054,14 +6054,14 @@ const wn = () => {
|
|
|
6054
6054
|
}, le = ({
|
|
6055
6055
|
name: e,
|
|
6056
6056
|
options: a,
|
|
6057
|
-
addBlank:
|
|
6058
|
-
className:
|
|
6057
|
+
addBlank: r = !0,
|
|
6058
|
+
className: t,
|
|
6059
6059
|
onChange: c
|
|
6060
6060
|
}) => {
|
|
6061
|
-
const { fields: s, setValue: m, getLocalOption: u } =
|
|
6062
|
-
c && c(), m(e,
|
|
6061
|
+
const { fields: s, setValue: m, getLocalOption: u } = M(), g = s[e], d = (f) => {
|
|
6062
|
+
c && c(), m(e, f.target.value);
|
|
6063
6063
|
};
|
|
6064
|
-
return /* @__PURE__ */ n.jsxs(we, { className:
|
|
6064
|
+
return /* @__PURE__ */ n.jsxs(we, { className: t, children: [
|
|
6065
6065
|
/* @__PURE__ */ n.jsxs(
|
|
6066
6066
|
"select",
|
|
6067
6067
|
{
|
|
@@ -6070,8 +6070,8 @@ const wn = () => {
|
|
|
6070
6070
|
value: g,
|
|
6071
6071
|
className: "taxbit-select",
|
|
6072
6072
|
children: [
|
|
6073
|
-
|
|
6074
|
-
a.map((
|
|
6073
|
+
r && /* @__PURE__ */ n.jsx("option", { value: "" }),
|
|
6074
|
+
a.map((f) => /* @__PURE__ */ n.jsx("option", { value: f.value, children: "label" in f ? f.label : u(f.value) }, f.value))
|
|
6075
6075
|
]
|
|
6076
6076
|
}
|
|
6077
6077
|
),
|
|
@@ -6080,11 +6080,11 @@ const wn = () => {
|
|
|
6080
6080
|
}, _ = ({
|
|
6081
6081
|
name: e,
|
|
6082
6082
|
className: a,
|
|
6083
|
-
onChange:
|
|
6084
|
-
hint:
|
|
6083
|
+
onChange: r,
|
|
6084
|
+
hint: t
|
|
6085
6085
|
}) => {
|
|
6086
|
-
const { fields: c, setValue: s } =
|
|
6087
|
-
const d =
|
|
6086
|
+
const { fields: c, setValue: s } = M(), m = c[e] || "", u = (g) => {
|
|
6087
|
+
const d = r ? r(g.target.value) : g.target.value;
|
|
6088
6088
|
s(e, d);
|
|
6089
6089
|
};
|
|
6090
6090
|
return /* @__PURE__ */ n.jsxs(we, { className: a, children: [
|
|
@@ -6098,11 +6098,11 @@ const wn = () => {
|
|
|
6098
6098
|
className: "taxbit-input"
|
|
6099
6099
|
}
|
|
6100
6100
|
),
|
|
6101
|
-
/* @__PURE__ */ n.jsx(Ee, { name: e, hint:
|
|
6101
|
+
/* @__PURE__ */ n.jsx(Ee, { name: e, hint: t })
|
|
6102
6102
|
] });
|
|
6103
6103
|
}, za = ({ name: e }) => {
|
|
6104
|
-
const { fields: a, setValue:
|
|
6105
|
-
|
|
6104
|
+
const { fields: a, setValue: r, getLocalPrompt: t } = M(), c = a[e], s = () => {
|
|
6105
|
+
r(e, c === void 0 ? "yes" : void 0);
|
|
6106
6106
|
};
|
|
6107
6107
|
return /* @__PURE__ */ n.jsxs(we, { children: [
|
|
6108
6108
|
/* @__PURE__ */ n.jsx("div", { className: "taxbit-checkBox-label", children: /* @__PURE__ */ n.jsx(
|
|
@@ -6113,7 +6113,7 @@ const wn = () => {
|
|
|
6113
6113
|
name: e,
|
|
6114
6114
|
onClick: s,
|
|
6115
6115
|
className: "taxbit-toggle-button",
|
|
6116
|
-
children:
|
|
6116
|
+
children: t(e)
|
|
6117
6117
|
}
|
|
6118
6118
|
) }),
|
|
6119
6119
|
/* @__PURE__ */ n.jsx(Ee, { name: e })
|
|
@@ -6412,7 +6412,7 @@ const wn = () => {
|
|
|
6412
6412
|
"SE",
|
|
6413
6413
|
"SI",
|
|
6414
6414
|
"SK"
|
|
6415
|
-
],
|
|
6415
|
+
], Re = Ja.map((e) => ({
|
|
6416
6416
|
value: e
|
|
6417
6417
|
})), _a = Za.map((e) => ({
|
|
6418
6418
|
value: e
|
|
@@ -6453,7 +6453,7 @@ const wn = () => {
|
|
|
6453
6453
|
{ value: "partnership" },
|
|
6454
6454
|
{ value: "trust" },
|
|
6455
6455
|
{ value: "other" }
|
|
6456
|
-
],
|
|
6456
|
+
], kn = [
|
|
6457
6457
|
{ value: "simpleTrust" },
|
|
6458
6458
|
{ value: "complexTrust" },
|
|
6459
6459
|
{ value: "grantorTrust" }
|
|
@@ -6484,11 +6484,11 @@ const wn = () => {
|
|
|
6484
6484
|
{ value: "trustEstate" },
|
|
6485
6485
|
{ value: "other" },
|
|
6486
6486
|
{ value: "disregardedEntity" }
|
|
6487
|
-
],
|
|
6487
|
+
], Un = [
|
|
6488
6488
|
{ value: "cCorporation" },
|
|
6489
6489
|
{ value: "sCorporation" },
|
|
6490
6490
|
{ value: "partnership" }
|
|
6491
|
-
],
|
|
6491
|
+
], ri = [
|
|
6492
6492
|
{ value: "individual" },
|
|
6493
6493
|
{ value: "llc" },
|
|
6494
6494
|
{ value: "cCorporation" },
|
|
@@ -6496,7 +6496,7 @@ const wn = () => {
|
|
|
6496
6496
|
{ value: "partnership" },
|
|
6497
6497
|
{ value: "trustEstate" },
|
|
6498
6498
|
{ value: "other" }
|
|
6499
|
-
],
|
|
6499
|
+
], ti = [
|
|
6500
6500
|
"AL",
|
|
6501
6501
|
"AK",
|
|
6502
6502
|
"AS",
|
|
@@ -6557,13 +6557,13 @@ const wn = () => {
|
|
|
6557
6557
|
"WV",
|
|
6558
6558
|
"WI",
|
|
6559
6559
|
"WY"
|
|
6560
|
-
], oi =
|
|
6560
|
+
], oi = ti.map((e) => ({
|
|
6561
6561
|
value: e
|
|
6562
6562
|
})), de = [{ value: "yes" }, { value: "no" }], p = ({
|
|
6563
6563
|
label: e,
|
|
6564
6564
|
subLabel: a,
|
|
6565
|
-
name:
|
|
6566
|
-
children:
|
|
6565
|
+
name: r,
|
|
6566
|
+
children: t,
|
|
6567
6567
|
onEdit: c
|
|
6568
6568
|
}) => {
|
|
6569
6569
|
const {
|
|
@@ -6572,62 +6572,62 @@ const wn = () => {
|
|
|
6572
6572
|
hideField: u,
|
|
6573
6573
|
getRequiredLocalPrompt: g,
|
|
6574
6574
|
getLocalSubPrompt: d
|
|
6575
|
-
} =
|
|
6575
|
+
} = M(), f = !!s[r];
|
|
6576
6576
|
if (X(() => {
|
|
6577
|
-
|
|
6578
|
-
}, [
|
|
6577
|
+
f ? m(r) : u(r);
|
|
6578
|
+
}, [f, r, m, u]), f)
|
|
6579
6579
|
return /* @__PURE__ */ n.jsx(
|
|
6580
6580
|
P,
|
|
6581
6581
|
{
|
|
6582
|
-
name:
|
|
6583
|
-
label: e ? g(
|
|
6584
|
-
subLabel: a ? d(
|
|
6582
|
+
name: r,
|
|
6583
|
+
label: e ? g(r) : void 0,
|
|
6584
|
+
subLabel: a ? d(r) : void 0,
|
|
6585
6585
|
onEdit: c,
|
|
6586
|
-
children:
|
|
6586
|
+
children: t
|
|
6587
6587
|
}
|
|
6588
6588
|
);
|
|
6589
|
-
},
|
|
6589
|
+
}, x = ({
|
|
6590
6590
|
name: e,
|
|
6591
6591
|
label: a,
|
|
6592
|
-
subLabel:
|
|
6593
|
-
}) => /* @__PURE__ */ n.jsx(p, { name: e, children: /* @__PURE__ */ n.jsx(
|
|
6592
|
+
subLabel: r
|
|
6593
|
+
}) => /* @__PURE__ */ n.jsx(p, { name: e, children: /* @__PURE__ */ n.jsx(xn, { label: a, subLabel: r, name: e }) }), B = ({
|
|
6594
6594
|
name: e,
|
|
6595
6595
|
label: a,
|
|
6596
|
-
subLabel:
|
|
6597
|
-
options:
|
|
6598
|
-
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel:
|
|
6596
|
+
subLabel: r,
|
|
6597
|
+
options: t
|
|
6598
|
+
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ n.jsx(Va, { name: e, options: t }) }), ze = ({
|
|
6599
6599
|
name: e,
|
|
6600
6600
|
label: a,
|
|
6601
|
-
options:
|
|
6602
|
-
subLabel:
|
|
6601
|
+
options: r,
|
|
6602
|
+
subLabel: t,
|
|
6603
6603
|
addBlank: c,
|
|
6604
6604
|
onChange: s
|
|
6605
|
-
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel:
|
|
6605
|
+
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: t, children: /* @__PURE__ */ n.jsx(
|
|
6606
6606
|
le,
|
|
6607
6607
|
{
|
|
6608
6608
|
name: e,
|
|
6609
|
-
options:
|
|
6609
|
+
options: r,
|
|
6610
6610
|
addBlank: c,
|
|
6611
6611
|
onChange: s
|
|
6612
6612
|
}
|
|
6613
6613
|
) }), K = ({
|
|
6614
6614
|
name: e,
|
|
6615
6615
|
label: a,
|
|
6616
|
-
hint:
|
|
6617
|
-
subLabel:
|
|
6616
|
+
hint: r,
|
|
6617
|
+
subLabel: t,
|
|
6618
6618
|
onChange: c
|
|
6619
|
-
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel:
|
|
6620
|
-
const { fields: e, getLocalTitle: a, getLocalOption:
|
|
6619
|
+
}) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: t, children: /* @__PURE__ */ n.jsx(_, { name: e, onChange: c, hint: r }) }), si = () => {
|
|
6620
|
+
const { fields: e, getLocalTitle: a, getLocalOption: r } = M(), { onPersistAccountHolderData: t, onCancel: c } = W(), s = de.map((u) => ({
|
|
6621
6621
|
...u,
|
|
6622
|
-
label:
|
|
6622
|
+
label: r(`usPerson_${u.value}`)
|
|
6623
6623
|
})), m = de.map((u) => ({
|
|
6624
6624
|
...u,
|
|
6625
|
-
label:
|
|
6625
|
+
label: r(`isIndividual_${u.value}`)
|
|
6626
6626
|
}));
|
|
6627
|
-
return /* @__PURE__ */ n.jsxs(
|
|
6627
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
6628
6628
|
/* @__PURE__ */ n.jsx(oe, { title: a("accountHolderClassification") }),
|
|
6629
6629
|
/* @__PURE__ */ n.jsx(
|
|
6630
|
-
|
|
6630
|
+
B,
|
|
6631
6631
|
{
|
|
6632
6632
|
name: "accountHolderUsPerson",
|
|
6633
6633
|
options: s,
|
|
@@ -6635,7 +6635,7 @@ const wn = () => {
|
|
|
6635
6635
|
}
|
|
6636
6636
|
),
|
|
6637
6637
|
/* @__PURE__ */ n.jsx(
|
|
6638
|
-
|
|
6638
|
+
B,
|
|
6639
6639
|
{
|
|
6640
6640
|
name: "accountHolderIsEuResident",
|
|
6641
6641
|
options: de,
|
|
@@ -6643,7 +6643,7 @@ const wn = () => {
|
|
|
6643
6643
|
}
|
|
6644
6644
|
),
|
|
6645
6645
|
/* @__PURE__ */ n.jsx(
|
|
6646
|
-
|
|
6646
|
+
B,
|
|
6647
6647
|
{
|
|
6648
6648
|
name: "accountHolderIsIndividual",
|
|
6649
6649
|
options: m,
|
|
@@ -6651,7 +6651,7 @@ const wn = () => {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
),
|
|
6653
6653
|
/* @__PURE__ */ n.jsx(
|
|
6654
|
-
|
|
6654
|
+
B,
|
|
6655
6655
|
{
|
|
6656
6656
|
name: "accountHolderUsAccountType",
|
|
6657
6657
|
options: ii,
|
|
@@ -6659,7 +6659,7 @@ const wn = () => {
|
|
|
6659
6659
|
}
|
|
6660
6660
|
),
|
|
6661
6661
|
/* @__PURE__ */ n.jsx(
|
|
6662
|
-
|
|
6662
|
+
B,
|
|
6663
6663
|
{
|
|
6664
6664
|
name: "accountHolderUsSmllcElection",
|
|
6665
6665
|
options: de,
|
|
@@ -6668,16 +6668,16 @@ const wn = () => {
|
|
|
6668
6668
|
}
|
|
6669
6669
|
),
|
|
6670
6670
|
/* @__PURE__ */ n.jsx(
|
|
6671
|
-
|
|
6671
|
+
B,
|
|
6672
6672
|
{
|
|
6673
6673
|
name: "accountHolderUsLlcClassification",
|
|
6674
|
-
options:
|
|
6674
|
+
options: Un,
|
|
6675
6675
|
label: !0
|
|
6676
6676
|
}
|
|
6677
6677
|
),
|
|
6678
6678
|
/* @__PURE__ */ n.jsx(K, { name: "accountHolderUsOtherClassification", label: !0 }),
|
|
6679
6679
|
/* @__PURE__ */ n.jsx(
|
|
6680
|
-
|
|
6680
|
+
B,
|
|
6681
6681
|
{
|
|
6682
6682
|
name: "accountHolderUsTrustEstateEin",
|
|
6683
6683
|
options: de,
|
|
@@ -6685,7 +6685,7 @@ const wn = () => {
|
|
|
6685
6685
|
}
|
|
6686
6686
|
),
|
|
6687
6687
|
/* @__PURE__ */ n.jsx(
|
|
6688
|
-
|
|
6688
|
+
B,
|
|
6689
6689
|
{
|
|
6690
6690
|
name: "accountHolderForeignAccountType",
|
|
6691
6691
|
options: Xa,
|
|
@@ -6693,7 +6693,7 @@ const wn = () => {
|
|
|
6693
6693
|
}
|
|
6694
6694
|
),
|
|
6695
6695
|
/* @__PURE__ */ n.jsx(
|
|
6696
|
-
|
|
6696
|
+
B,
|
|
6697
6697
|
{
|
|
6698
6698
|
name: "accountHolderForeignOtherClassification",
|
|
6699
6699
|
options: Pn,
|
|
@@ -6701,42 +6701,42 @@ const wn = () => {
|
|
|
6701
6701
|
}
|
|
6702
6702
|
),
|
|
6703
6703
|
/* @__PURE__ */ n.jsx(
|
|
6704
|
-
|
|
6704
|
+
B,
|
|
6705
6705
|
{
|
|
6706
6706
|
name: "accountHolderForeignTrustClassification",
|
|
6707
|
-
options:
|
|
6707
|
+
options: kn,
|
|
6708
6708
|
label: !0
|
|
6709
6709
|
}
|
|
6710
6710
|
),
|
|
6711
6711
|
/* @__PURE__ */ n.jsx(
|
|
6712
|
-
|
|
6712
|
+
re,
|
|
6713
6713
|
{
|
|
6714
6714
|
onCancel: c,
|
|
6715
|
-
onNext: () =>
|
|
6715
|
+
onNext: () => t(e)
|
|
6716
6716
|
}
|
|
6717
6717
|
)
|
|
6718
6718
|
] });
|
|
6719
6719
|
}, ci = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(si, {}) }), qe = ({
|
|
6720
6720
|
prompt: e,
|
|
6721
6721
|
prefix: a,
|
|
6722
|
-
showIf:
|
|
6722
|
+
showIf: r = !0
|
|
6723
6723
|
}) => {
|
|
6724
6724
|
const {
|
|
6725
|
-
fields:
|
|
6725
|
+
fields: t,
|
|
6726
6726
|
hideErrors: c,
|
|
6727
6727
|
getLocalCountry: s,
|
|
6728
6728
|
getLocalCaProvince: m,
|
|
6729
6729
|
getLocalUsState: u,
|
|
6730
6730
|
getRequiredLocalPrompt: g,
|
|
6731
6731
|
hideField: d,
|
|
6732
|
-
showField:
|
|
6733
|
-
} =
|
|
6734
|
-
() =>
|
|
6732
|
+
showField: f
|
|
6733
|
+
} = M(), I = t[`${a}Country`], y = ae(
|
|
6734
|
+
() => Re.map((w) => ({
|
|
6735
6735
|
...w,
|
|
6736
6736
|
label: s(w.value)
|
|
6737
6737
|
})).sort((w, G) => w.label.localeCompare(G.label)),
|
|
6738
6738
|
[s]
|
|
6739
|
-
),
|
|
6739
|
+
), F = ae(
|
|
6740
6740
|
() => oi.map((w) => ({
|
|
6741
6741
|
...w,
|
|
6742
6742
|
label: u(w.value)
|
|
@@ -6750,8 +6750,8 @@ const wn = () => {
|
|
|
6750
6750
|
[m]
|
|
6751
6751
|
);
|
|
6752
6752
|
if (X(() => {
|
|
6753
|
-
|
|
6754
|
-
}, [
|
|
6753
|
+
r ? (f(`${a}Country`), f(`${a}Street`), f(`${a}Street2`), f(`${a}City`), f(`${a}State`)) : (d(`${a}Country`), d(`${a}Street`), d(`${a}Street2`), d(`${a}City`), d(`${a}State`));
|
|
6754
|
+
}, [r, f, d, a]), r)
|
|
6755
6755
|
return /* @__PURE__ */ n.jsxs(Q, { title: e, children: [
|
|
6756
6756
|
/* @__PURE__ */ n.jsx(
|
|
6757
6757
|
P,
|
|
@@ -6762,7 +6762,7 @@ const wn = () => {
|
|
|
6762
6762
|
le,
|
|
6763
6763
|
{
|
|
6764
6764
|
name: `${a}Country`,
|
|
6765
|
-
options:
|
|
6765
|
+
options: y,
|
|
6766
6766
|
onChange: c
|
|
6767
6767
|
}
|
|
6768
6768
|
)
|
|
@@ -6792,8 +6792,8 @@ const wn = () => {
|
|
|
6792
6792
|
)}/${g("accountHolderAddressState")}`,
|
|
6793
6793
|
children: [
|
|
6794
6794
|
/* @__PURE__ */ n.jsx(_, { name: `${a}City`, className: "taxbit-city" }),
|
|
6795
|
-
|
|
6796
|
-
|
|
6795
|
+
I !== "CA" && I !== "US" && /* @__PURE__ */ n.jsx(_, { name: `${a}State`, className: "taxbit-state" }),
|
|
6796
|
+
I === "CA" && /* @__PURE__ */ n.jsx(
|
|
6797
6797
|
le,
|
|
6798
6798
|
{
|
|
6799
6799
|
name: `${a}State`,
|
|
@@ -6801,12 +6801,12 @@ const wn = () => {
|
|
|
6801
6801
|
options: V
|
|
6802
6802
|
}
|
|
6803
6803
|
),
|
|
6804
|
-
|
|
6804
|
+
I === "US" && /* @__PURE__ */ n.jsx(
|
|
6805
6805
|
le,
|
|
6806
6806
|
{
|
|
6807
6807
|
name: `${a}State`,
|
|
6808
6808
|
className: "taxbit-state",
|
|
6809
|
-
options:
|
|
6809
|
+
options: F
|
|
6810
6810
|
}
|
|
6811
6811
|
)
|
|
6812
6812
|
]
|
|
@@ -6822,14 +6822,14 @@ const wn = () => {
|
|
|
6822
6822
|
)
|
|
6823
6823
|
] });
|
|
6824
6824
|
}, di = () => {
|
|
6825
|
-
const { onPersistCollectedData: e, goBack: a, onCancel:
|
|
6826
|
-
() =>
|
|
6825
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: r, isW9: t, isW8: c } = W(), { fields: s, getLocalCountry: m, getLocalTitle: u } = M(), g = ae(
|
|
6826
|
+
() => Re.map((d) => ({
|
|
6827
6827
|
...d,
|
|
6828
6828
|
label: m(d.value)
|
|
6829
|
-
})).sort((d,
|
|
6829
|
+
})).sort((d, f) => d.label.localeCompare(f.label)),
|
|
6830
6830
|
[m]
|
|
6831
6831
|
);
|
|
6832
|
-
return /* @__PURE__ */ n.jsxs(
|
|
6832
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
6833
6833
|
/* @__PURE__ */ n.jsx(oe, { title: u("accountHolderContactInformation") }),
|
|
6834
6834
|
/* @__PURE__ */ n.jsx(
|
|
6835
6835
|
ze,
|
|
@@ -6855,10 +6855,10 @@ const wn = () => {
|
|
|
6855
6855
|
{
|
|
6856
6856
|
prompt: u("permanentAddress"),
|
|
6857
6857
|
prefix: "accountHolderAddress",
|
|
6858
|
-
showIf: s.accountHolderIsEuResident === "yes" || c ||
|
|
6858
|
+
showIf: s.accountHolderIsEuResident === "yes" || c || t
|
|
6859
6859
|
}
|
|
6860
6860
|
),
|
|
6861
|
-
/* @__PURE__ */ n.jsx(
|
|
6861
|
+
/* @__PURE__ */ n.jsx(x, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
|
|
6862
6862
|
/* @__PURE__ */ n.jsx(
|
|
6863
6863
|
qe,
|
|
6864
6864
|
{
|
|
@@ -6868,9 +6868,9 @@ const wn = () => {
|
|
|
6868
6868
|
}
|
|
6869
6869
|
),
|
|
6870
6870
|
/* @__PURE__ */ n.jsx(
|
|
6871
|
-
|
|
6871
|
+
re,
|
|
6872
6872
|
{
|
|
6873
|
-
onCancel:
|
|
6873
|
+
onCancel: r,
|
|
6874
6874
|
onBack: a,
|
|
6875
6875
|
onNext: () => e(s)
|
|
6876
6876
|
}
|
|
@@ -6879,8 +6879,8 @@ const wn = () => {
|
|
|
6879
6879
|
}, li = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(di, {}) }), Oe = ({
|
|
6880
6880
|
index: e,
|
|
6881
6881
|
showIf: a = !0,
|
|
6882
|
-
more:
|
|
6883
|
-
countryOptions:
|
|
6882
|
+
more: r,
|
|
6883
|
+
countryOptions: t
|
|
6884
6884
|
}) => {
|
|
6885
6885
|
const {
|
|
6886
6886
|
fields: c,
|
|
@@ -6888,22 +6888,22 @@ const wn = () => {
|
|
|
6888
6888
|
showField: m,
|
|
6889
6889
|
getRequiredLocalPrompt: u,
|
|
6890
6890
|
getLocalTitle: g
|
|
6891
|
-
} =
|
|
6891
|
+
} = M(), d = `accountHolderTaxResidenceCountry${e}`, f = `accountHolderTaxResidenceForeignTin${e}`, I = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, y = `accountHolderShowTaxResidence${e + 1}`, F = `taxResidence${e}`;
|
|
6892
6892
|
if (X(() => {
|
|
6893
|
-
a ? (m(d), m(
|
|
6893
|
+
a ? (m(d), m(f), m(y), m(I)) : (s(d), s(f), s(y), s(I));
|
|
6894
6894
|
}, [
|
|
6895
6895
|
a,
|
|
6896
6896
|
m,
|
|
6897
6897
|
s,
|
|
6898
6898
|
d,
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6899
|
+
f,
|
|
6900
|
+
y,
|
|
6901
|
+
I
|
|
6902
6902
|
]), a)
|
|
6903
6903
|
return /* @__PURE__ */ n.jsxs(
|
|
6904
6904
|
Q,
|
|
6905
6905
|
{
|
|
6906
|
-
title: g(
|
|
6906
|
+
title: g(F),
|
|
6907
6907
|
showIf: c.accountHolderIsIndividual !== void 0,
|
|
6908
6908
|
children: [
|
|
6909
6909
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -6911,35 +6911,35 @@ const wn = () => {
|
|
|
6911
6911
|
{
|
|
6912
6912
|
label: `${u(
|
|
6913
6913
|
d
|
|
6914
|
-
)}/${u(
|
|
6914
|
+
)}/${u(f)}`,
|
|
6915
6915
|
children: [
|
|
6916
6916
|
/* @__PURE__ */ n.jsx(
|
|
6917
6917
|
le,
|
|
6918
6918
|
{
|
|
6919
6919
|
name: d,
|
|
6920
6920
|
className: "taxbit-country",
|
|
6921
|
-
options:
|
|
6921
|
+
options: t
|
|
6922
6922
|
}
|
|
6923
6923
|
),
|
|
6924
|
-
/* @__PURE__ */ n.jsx(_, { name:
|
|
6924
|
+
/* @__PURE__ */ n.jsx(_, { name: f })
|
|
6925
6925
|
]
|
|
6926
6926
|
}
|
|
6927
6927
|
),
|
|
6928
|
-
/* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(
|
|
6929
|
-
|
|
6928
|
+
/* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(xn, { label: !0, name: I }) }),
|
|
6929
|
+
r ? /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(za, { name: y }) }) : null
|
|
6930
6930
|
]
|
|
6931
6931
|
}
|
|
6932
6932
|
);
|
|
6933
6933
|
}, ui = ({ countryOptions: e, showIf: a }) => {
|
|
6934
|
-
const { showField:
|
|
6934
|
+
const { showField: r, getRequiredLocalPrompt: t } = M();
|
|
6935
6935
|
return X(() => {
|
|
6936
|
-
|
|
6937
|
-
}, [
|
|
6936
|
+
r("accountHolderVatCountry"), r("accountHolderVatIdentificationNumber");
|
|
6937
|
+
}, [r]), /* @__PURE__ */ n.jsx(Q, { showIf: a, children: /* @__PURE__ */ n.jsxs(
|
|
6938
6938
|
P,
|
|
6939
6939
|
{
|
|
6940
|
-
label: `${
|
|
6940
|
+
label: `${t(
|
|
6941
6941
|
"accountHolderVatCountry"
|
|
6942
|
-
)}/${
|
|
6942
|
+
)}/${t("accountHolderVatIdentificationNumber")}`,
|
|
6943
6943
|
children: [
|
|
6944
6944
|
/* @__PURE__ */ n.jsx(
|
|
6945
6945
|
le,
|
|
@@ -6954,15 +6954,15 @@ const wn = () => {
|
|
|
6954
6954
|
}
|
|
6955
6955
|
) });
|
|
6956
6956
|
}, mi = ({ showIf: e }) => {
|
|
6957
|
-
const { showField: a, getRequiredLocalPrompt:
|
|
6957
|
+
const { showField: a, getRequiredLocalPrompt: r } = M();
|
|
6958
6958
|
return X(() => {
|
|
6959
6959
|
a("accountHolderFinancialAccountIdentifier"), a("accountHolderFinancialAccountName");
|
|
6960
6960
|
}, [a]), /* @__PURE__ */ n.jsx(Q, { showIf: e, children: /* @__PURE__ */ n.jsxs(
|
|
6961
6961
|
P,
|
|
6962
6962
|
{
|
|
6963
|
-
label: `${
|
|
6963
|
+
label: `${r(
|
|
6964
6964
|
"accountHolderFinancialAccountIdentifier"
|
|
6965
|
-
)}/${
|
|
6965
|
+
)}/${r("accountHolderFinancialAccountName")}`,
|
|
6966
6966
|
children: [
|
|
6967
6967
|
/* @__PURE__ */ n.jsx(_, { name: "accountHolderFinancialAccountIdentifier" }),
|
|
6968
6968
|
/* @__PURE__ */ n.jsx(_, { name: "accountHolderFinancialAccountName" })
|
|
@@ -6970,37 +6970,37 @@ const wn = () => {
|
|
|
6970
6970
|
}
|
|
6971
6971
|
) });
|
|
6972
6972
|
}, gi = () => {
|
|
6973
|
-
const { onPersistCollectedData: e, goBack: a, onCancel:
|
|
6973
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalTitle: c, getLocalCountry: s } = M(), m = ae(
|
|
6974
6974
|
() => _a.map((g) => ({
|
|
6975
6975
|
...g,
|
|
6976
6976
|
label: s(g.value)
|
|
6977
6977
|
})).sort((g, d) => g.label.localeCompare(d.label)),
|
|
6978
6978
|
[s]
|
|
6979
6979
|
), u = ae(
|
|
6980
|
-
() =>
|
|
6980
|
+
() => Re.map((g) => ({
|
|
6981
6981
|
...g,
|
|
6982
6982
|
label: s(g.value)
|
|
6983
6983
|
})).sort((g, d) => g.label.localeCompare(d.label)),
|
|
6984
6984
|
[s]
|
|
6985
6985
|
);
|
|
6986
|
-
return /* @__PURE__ */ n.jsxs(
|
|
6986
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
6987
6987
|
/* @__PURE__ */ n.jsx(oe, { title: c("accountHolderTaxInformation") }),
|
|
6988
6988
|
/* @__PURE__ */ n.jsx(K, { name: "accountHolderUsTin", label: !0 }),
|
|
6989
6989
|
/* @__PURE__ */ n.jsx(K, { name: "accountHolderForeignTin", label: !0 }),
|
|
6990
|
-
/* @__PURE__ */ n.jsx(
|
|
6990
|
+
/* @__PURE__ */ n.jsx(x, { name: "accountHolderForeignTinIsNotRequired", label: !0 }),
|
|
6991
6991
|
/* @__PURE__ */ n.jsx(mi, {}),
|
|
6992
6992
|
/* @__PURE__ */ n.jsx(
|
|
6993
6993
|
ui,
|
|
6994
6994
|
{
|
|
6995
6995
|
countryOptions: m,
|
|
6996
|
-
showIf:
|
|
6996
|
+
showIf: t.accountHolderIsEuResident === "yes"
|
|
6997
6997
|
}
|
|
6998
6998
|
),
|
|
6999
6999
|
/* @__PURE__ */ n.jsx(
|
|
7000
7000
|
Oe,
|
|
7001
7001
|
{
|
|
7002
7002
|
index: 1,
|
|
7003
|
-
showIf:
|
|
7003
|
+
showIf: t.accountHolderIsIndividual !== void 0,
|
|
7004
7004
|
countryOptions: m,
|
|
7005
7005
|
more: !0
|
|
7006
7006
|
}
|
|
@@ -7009,7 +7009,7 @@ const wn = () => {
|
|
|
7009
7009
|
Oe,
|
|
7010
7010
|
{
|
|
7011
7011
|
index: 2,
|
|
7012
|
-
showIf:
|
|
7012
|
+
showIf: t.accountHolderShowTaxResidence2 === "yes",
|
|
7013
7013
|
countryOptions: u,
|
|
7014
7014
|
more: !0
|
|
7015
7015
|
}
|
|
@@ -7018,7 +7018,7 @@ const wn = () => {
|
|
|
7018
7018
|
Oe,
|
|
7019
7019
|
{
|
|
7020
7020
|
index: 3,
|
|
7021
|
-
showIf:
|
|
7021
|
+
showIf: t.accountHolderShowTaxResidence3 === "yes",
|
|
7022
7022
|
countryOptions: u,
|
|
7023
7023
|
more: !0
|
|
7024
7024
|
}
|
|
@@ -7027,7 +7027,7 @@ const wn = () => {
|
|
|
7027
7027
|
Oe,
|
|
7028
7028
|
{
|
|
7029
7029
|
index: 4,
|
|
7030
|
-
showIf:
|
|
7030
|
+
showIf: t.accountHolderShowTaxResidence4 === "yes",
|
|
7031
7031
|
countryOptions: u,
|
|
7032
7032
|
more: !0
|
|
7033
7033
|
}
|
|
@@ -7036,36 +7036,36 @@ const wn = () => {
|
|
|
7036
7036
|
Oe,
|
|
7037
7037
|
{
|
|
7038
7038
|
index: 5,
|
|
7039
|
-
showIf:
|
|
7039
|
+
showIf: t.accountHolderShowTaxResidence5 === "yes",
|
|
7040
7040
|
countryOptions: u
|
|
7041
7041
|
}
|
|
7042
7042
|
),
|
|
7043
7043
|
/* @__PURE__ */ n.jsx(
|
|
7044
|
-
|
|
7044
|
+
re,
|
|
7045
7045
|
{
|
|
7046
|
-
onCancel:
|
|
7046
|
+
onCancel: r,
|
|
7047
7047
|
onBack: a,
|
|
7048
|
-
onNext: () => e(
|
|
7048
|
+
onNext: () => e(t)
|
|
7049
7049
|
}
|
|
7050
7050
|
)
|
|
7051
7051
|
] });
|
|
7052
7052
|
}, hi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(gi, {}) }), fi = () => {
|
|
7053
|
-
const { onPersistCollectedData: e, goBack: a } = W(), { fields:
|
|
7054
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7053
|
+
const { onPersistCollectedData: e, goBack: a } = W(), { fields: r } = M();
|
|
7054
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7055
7055
|
/* @__PURE__ */ n.jsx(oe, { title: "exemptions" }),
|
|
7056
7056
|
/* @__PURE__ */ n.jsx(ze, { name: "exemptFatcaCode", options: Qa, label: !0 }),
|
|
7057
7057
|
/* @__PURE__ */ n.jsx(ze, { name: "exemptPayeeCode", options: ai, label: !0 }),
|
|
7058
|
-
/* @__PURE__ */ n.jsx(
|
|
7058
|
+
/* @__PURE__ */ n.jsx(re, { onBack: a, onNext: () => e(r) })
|
|
7059
7059
|
] });
|
|
7060
7060
|
}, pi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(fi, {}) }), Ci = () => {
|
|
7061
|
-
const { fields: e, getLocalTitle: a, getLocalOption:
|
|
7061
|
+
const { fields: e, getLocalTitle: a, getLocalOption: r } = M(), { onPersistCollectedData: t, goBack: c } = W(), s = de.map((m) => ({
|
|
7062
7062
|
...m,
|
|
7063
|
-
label:
|
|
7063
|
+
label: r(`usPerson_${m.value}`)
|
|
7064
7064
|
}));
|
|
7065
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7065
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7066
7066
|
/* @__PURE__ */ n.jsx(oe, { title: a("regardedOwnerClassification") }),
|
|
7067
7067
|
/* @__PURE__ */ n.jsx(
|
|
7068
|
-
|
|
7068
|
+
B,
|
|
7069
7069
|
{
|
|
7070
7070
|
name: "regardedOwnerUsPerson",
|
|
7071
7071
|
options: s,
|
|
@@ -7073,15 +7073,15 @@ const wn = () => {
|
|
|
7073
7073
|
}
|
|
7074
7074
|
),
|
|
7075
7075
|
/* @__PURE__ */ n.jsx(
|
|
7076
|
-
|
|
7076
|
+
B,
|
|
7077
7077
|
{
|
|
7078
7078
|
name: "regardedOwnerUsAccountType",
|
|
7079
|
-
options:
|
|
7079
|
+
options: ri,
|
|
7080
7080
|
label: !0
|
|
7081
7081
|
}
|
|
7082
7082
|
),
|
|
7083
7083
|
/* @__PURE__ */ n.jsx(
|
|
7084
|
-
|
|
7084
|
+
B,
|
|
7085
7085
|
{
|
|
7086
7086
|
name: "regardedOwnerForeignAccountType",
|
|
7087
7087
|
options: ei,
|
|
@@ -7089,16 +7089,16 @@ const wn = () => {
|
|
|
7089
7089
|
}
|
|
7090
7090
|
),
|
|
7091
7091
|
/* @__PURE__ */ n.jsx(
|
|
7092
|
-
|
|
7092
|
+
B,
|
|
7093
7093
|
{
|
|
7094
7094
|
name: "regardedOwnerUsLlcClassification",
|
|
7095
|
-
options:
|
|
7095
|
+
options: Un,
|
|
7096
7096
|
label: !0
|
|
7097
7097
|
}
|
|
7098
7098
|
),
|
|
7099
7099
|
/* @__PURE__ */ n.jsx(K, { name: "regardedOwnerUsOtherClassification", label: !0 }),
|
|
7100
7100
|
/* @__PURE__ */ n.jsx(
|
|
7101
|
-
|
|
7101
|
+
B,
|
|
7102
7102
|
{
|
|
7103
7103
|
name: "regardedOwnerUsTrustEstateEin",
|
|
7104
7104
|
options: de,
|
|
@@ -7106,7 +7106,7 @@ const wn = () => {
|
|
|
7106
7106
|
}
|
|
7107
7107
|
),
|
|
7108
7108
|
/* @__PURE__ */ n.jsx(
|
|
7109
|
-
|
|
7109
|
+
B,
|
|
7110
7110
|
{
|
|
7111
7111
|
name: "regardedOwnerForeignOtherClassification",
|
|
7112
7112
|
options: Pn,
|
|
@@ -7114,24 +7114,24 @@ const wn = () => {
|
|
|
7114
7114
|
}
|
|
7115
7115
|
),
|
|
7116
7116
|
/* @__PURE__ */ n.jsx(
|
|
7117
|
-
|
|
7117
|
+
B,
|
|
7118
7118
|
{
|
|
7119
7119
|
name: "regardedOwnerForeignTrustClassification",
|
|
7120
|
-
options:
|
|
7120
|
+
options: kn,
|
|
7121
7121
|
label: !0
|
|
7122
7122
|
}
|
|
7123
7123
|
),
|
|
7124
|
-
/* @__PURE__ */ n.jsx(
|
|
7124
|
+
/* @__PURE__ */ n.jsx(re, { onBack: c, onNext: () => t(e) })
|
|
7125
7125
|
] });
|
|
7126
7126
|
}, Ti = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Ci, {}) }), Ai = () => {
|
|
7127
|
-
const { onPersistCollectedData: e, goBack: a, onCancel:
|
|
7128
|
-
() =>
|
|
7127
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalCountry: c, getLocalTitle: s } = M(), m = ae(
|
|
7128
|
+
() => Re.map((u) => ({
|
|
7129
7129
|
...u,
|
|
7130
7130
|
label: c(u.value)
|
|
7131
7131
|
})).sort((u, g) => u.label.localeCompare(g.label)),
|
|
7132
7132
|
[c]
|
|
7133
7133
|
);
|
|
7134
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7134
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7135
7135
|
/* @__PURE__ */ n.jsx(oe, { title: s("regardedOwnerContactInformation") }),
|
|
7136
7136
|
/* @__PURE__ */ n.jsx(
|
|
7137
7137
|
ze,
|
|
@@ -7144,37 +7144,37 @@ const wn = () => {
|
|
|
7144
7144
|
/* @__PURE__ */ n.jsx(K, { label: !0, name: "regardedOwnerName" }),
|
|
7145
7145
|
/* @__PURE__ */ n.jsx(K, { label: !0, name: "regardedOwnerDbaName" }),
|
|
7146
7146
|
/* @__PURE__ */ n.jsx(qe, { prompt: "Permanent Address", prefix: "regardedOwnerAddress" }),
|
|
7147
|
-
/* @__PURE__ */ n.jsx(
|
|
7147
|
+
/* @__PURE__ */ n.jsx(x, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
|
|
7148
7148
|
/* @__PURE__ */ n.jsx(
|
|
7149
7149
|
qe,
|
|
7150
7150
|
{
|
|
7151
7151
|
prompt: "Mailing Address",
|
|
7152
7152
|
prefix: "regardedOwnerMailingAddress",
|
|
7153
|
-
showIf:
|
|
7153
|
+
showIf: t.regardedOwnerMailingAddressIsDifferent === "yes"
|
|
7154
7154
|
}
|
|
7155
7155
|
),
|
|
7156
7156
|
/* @__PURE__ */ n.jsx(
|
|
7157
|
-
|
|
7157
|
+
re,
|
|
7158
7158
|
{
|
|
7159
|
-
onCancel:
|
|
7159
|
+
onCancel: r,
|
|
7160
7160
|
onBack: a,
|
|
7161
|
-
onNext: () => e(
|
|
7161
|
+
onNext: () => e(t)
|
|
7162
7162
|
}
|
|
7163
7163
|
)
|
|
7164
7164
|
] });
|
|
7165
7165
|
}, Ii = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Ai, {}) }), Si = () => {
|
|
7166
|
-
const { onPersistCollectedData: e, goBack: a } = W(), { fields:
|
|
7167
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7168
|
-
/* @__PURE__ */ n.jsx(oe, { title:
|
|
7166
|
+
const { onPersistCollectedData: e, goBack: a } = W(), { fields: r, getLocalTitle: t } = M();
|
|
7167
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7168
|
+
/* @__PURE__ */ n.jsx(oe, { title: t("regardedOwnerTaxInformation") }),
|
|
7169
7169
|
/* @__PURE__ */ n.jsx(K, { name: "regardedOwnerUsTin", label: !0 }),
|
|
7170
7170
|
/* @__PURE__ */ n.jsx(K, { name: "regardedOwnerForeignTin", label: !0 }),
|
|
7171
|
-
/* @__PURE__ */ n.jsx(
|
|
7172
|
-
/* @__PURE__ */ n.jsx(
|
|
7171
|
+
/* @__PURE__ */ n.jsx(x, { name: "regardedOwnerForeignTinIsNotRequired", label: !0 }),
|
|
7172
|
+
/* @__PURE__ */ n.jsx(re, { onBack: a, onNext: () => e(r) })
|
|
7173
7173
|
] });
|
|
7174
7174
|
}, bi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Si, {}) }), Ni = () => {
|
|
7175
|
-
const { data: e, editTo: a } = W(), { getLocalTitle:
|
|
7175
|
+
const { data: e, editTo: a } = W(), { getLocalTitle: r, getLocalOption: t, getLocalCountry: c, getLocalText: s } = M();
|
|
7176
7176
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
7177
|
-
/* @__PURE__ */ n.jsxs(Q, { title:
|
|
7177
|
+
/* @__PURE__ */ n.jsxs(Q, { title: r("accountHolder"), children: [
|
|
7178
7178
|
/* @__PURE__ */ n.jsx(
|
|
7179
7179
|
p,
|
|
7180
7180
|
{
|
|
@@ -7226,7 +7226,7 @@ const wn = () => {
|
|
|
7226
7226
|
label: !0,
|
|
7227
7227
|
onEdit: () => a("AccountHolderClassification"),
|
|
7228
7228
|
name: "accountHolderIsEuResident",
|
|
7229
|
-
children:
|
|
7229
|
+
children: t(e == null ? void 0 : e.accountHolderIsEuResident)
|
|
7230
7230
|
}
|
|
7231
7231
|
),
|
|
7232
7232
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7235,7 +7235,7 @@ const wn = () => {
|
|
|
7235
7235
|
label: !0,
|
|
7236
7236
|
onEdit: () => a("AccountHolderClassification"),
|
|
7237
7237
|
name: "accountHolderIsIndividual",
|
|
7238
|
-
children:
|
|
7238
|
+
children: t(e == null ? void 0 : e.accountHolderIsIndividual)
|
|
7239
7239
|
}
|
|
7240
7240
|
),
|
|
7241
7241
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7244,7 +7244,7 @@ const wn = () => {
|
|
|
7244
7244
|
label: !0,
|
|
7245
7245
|
onEdit: () => a("AccountHolderClassification"),
|
|
7246
7246
|
name: "accountHolderUsPerson",
|
|
7247
|
-
children:
|
|
7247
|
+
children: t(e == null ? void 0 : e.accountHolderUsPerson)
|
|
7248
7248
|
}
|
|
7249
7249
|
),
|
|
7250
7250
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7253,7 +7253,7 @@ const wn = () => {
|
|
|
7253
7253
|
label: !0,
|
|
7254
7254
|
onEdit: () => a("AccountHolderClassification"),
|
|
7255
7255
|
name: "accountHolderUsPerson",
|
|
7256
|
-
children:
|
|
7256
|
+
children: t(e == null ? void 0 : e.accountHolderUsPerson)
|
|
7257
7257
|
}
|
|
7258
7258
|
),
|
|
7259
7259
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7262,7 +7262,7 @@ const wn = () => {
|
|
|
7262
7262
|
label: !0,
|
|
7263
7263
|
onEdit: () => a("AccountHolderClassification"),
|
|
7264
7264
|
name: "accountHolderUsAccountType",
|
|
7265
|
-
children:
|
|
7265
|
+
children: t(e == null ? void 0 : e.accountHolderUsAccountType)
|
|
7266
7266
|
}
|
|
7267
7267
|
),
|
|
7268
7268
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7271,7 +7271,7 @@ const wn = () => {
|
|
|
7271
7271
|
label: !0,
|
|
7272
7272
|
onEdit: () => a("AccountHolderClassification"),
|
|
7273
7273
|
name: "accountHolderUsLlcClassification",
|
|
7274
|
-
children:
|
|
7274
|
+
children: t(e == null ? void 0 : e.accountHolderUsLlcClassification)
|
|
7275
7275
|
}
|
|
7276
7276
|
),
|
|
7277
7277
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7289,7 +7289,7 @@ const wn = () => {
|
|
|
7289
7289
|
label: !0,
|
|
7290
7290
|
onEdit: () => a("AccountHolderClassification"),
|
|
7291
7291
|
name: "accountHolderUsTrustEstateEin",
|
|
7292
|
-
children:
|
|
7292
|
+
children: t(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
|
|
7293
7293
|
}
|
|
7294
7294
|
),
|
|
7295
7295
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7298,7 +7298,7 @@ const wn = () => {
|
|
|
7298
7298
|
label: !0,
|
|
7299
7299
|
onEdit: () => a("AccountHolderClassification"),
|
|
7300
7300
|
name: "accountHolderForeignAccountType",
|
|
7301
|
-
children:
|
|
7301
|
+
children: t(e == null ? void 0 : e.accountHolderForeignAccountType)
|
|
7302
7302
|
}
|
|
7303
7303
|
),
|
|
7304
7304
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7307,7 +7307,7 @@ const wn = () => {
|
|
|
7307
7307
|
label: !0,
|
|
7308
7308
|
onEdit: () => a("AccountHolderClassification"),
|
|
7309
7309
|
name: "accountHolderForeignTrustClassification",
|
|
7310
|
-
children:
|
|
7310
|
+
children: t(e == null ? void 0 : e.accountHolderForeignTrustClassification)
|
|
7311
7311
|
}
|
|
7312
7312
|
),
|
|
7313
7313
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7316,7 +7316,7 @@ const wn = () => {
|
|
|
7316
7316
|
label: !0,
|
|
7317
7317
|
onEdit: () => a("AccountHolderClassification"),
|
|
7318
7318
|
name: "accountHolderForeignOtherClassification",
|
|
7319
|
-
children:
|
|
7319
|
+
children: t(e == null ? void 0 : e.accountHolderForeignOtherClassification)
|
|
7320
7320
|
}
|
|
7321
7321
|
),
|
|
7322
7322
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7331,7 +7331,7 @@ const wn = () => {
|
|
|
7331
7331
|
e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ n.jsx(
|
|
7332
7332
|
P,
|
|
7333
7333
|
{
|
|
7334
|
-
label:
|
|
7334
|
+
label: r("address"),
|
|
7335
7335
|
onEdit: () => a("AccountHolderContact"),
|
|
7336
7336
|
children: /* @__PURE__ */ n.jsx(
|
|
7337
7337
|
We,
|
|
@@ -7351,7 +7351,7 @@ const wn = () => {
|
|
|
7351
7351
|
(e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ n.jsx(
|
|
7352
7352
|
P,
|
|
7353
7353
|
{
|
|
7354
|
-
label:
|
|
7354
|
+
label: r("mailingAddress"),
|
|
7355
7355
|
onEdit: () => a("AccountHolderContact"),
|
|
7356
7356
|
children: /* @__PURE__ */ n.jsx(
|
|
7357
7357
|
We,
|
|
@@ -7425,7 +7425,7 @@ const wn = () => {
|
|
|
7425
7425
|
/* @__PURE__ */ n.jsxs(
|
|
7426
7426
|
Q,
|
|
7427
7427
|
{
|
|
7428
|
-
title:
|
|
7428
|
+
title: r("taxResidences"),
|
|
7429
7429
|
showIf: e.accountHolderIsEuResident === "yes" && e.accountHolderIsIndividual !== void 0,
|
|
7430
7430
|
children: [
|
|
7431
7431
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7485,7 +7485,7 @@ const wn = () => {
|
|
|
7485
7485
|
/* @__PURE__ */ n.jsxs(
|
|
7486
7486
|
Q,
|
|
7487
7487
|
{
|
|
7488
|
-
title:
|
|
7488
|
+
title: r("regardedOwner"),
|
|
7489
7489
|
showIf: e.regardedOwnerUsPerson !== void 0,
|
|
7490
7490
|
children: [
|
|
7491
7491
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7521,7 +7521,7 @@ const wn = () => {
|
|
|
7521
7521
|
label: !0,
|
|
7522
7522
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
7523
7523
|
name: "regardedOwnerUsAccountType",
|
|
7524
|
-
children:
|
|
7524
|
+
children: t(e == null ? void 0 : e.regardedOwnerUsAccountType)
|
|
7525
7525
|
}
|
|
7526
7526
|
),
|
|
7527
7527
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7530,13 +7530,13 @@ const wn = () => {
|
|
|
7530
7530
|
label: !0,
|
|
7531
7531
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
7532
7532
|
name: "regardedOwnerForeignAccountType",
|
|
7533
|
-
children:
|
|
7533
|
+
children: t(e == null ? void 0 : e.regardedOwnerForeignAccountType)
|
|
7534
7534
|
}
|
|
7535
7535
|
),
|
|
7536
7536
|
e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ n.jsx(
|
|
7537
7537
|
P,
|
|
7538
7538
|
{
|
|
7539
|
-
label:
|
|
7539
|
+
label: r("address"),
|
|
7540
7540
|
onEdit: () => a("RegardedOwnerContact"),
|
|
7541
7541
|
children: /* @__PURE__ */ n.jsx(
|
|
7542
7542
|
We,
|
|
@@ -7556,7 +7556,7 @@ const wn = () => {
|
|
|
7556
7556
|
(e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ n.jsx(
|
|
7557
7557
|
P,
|
|
7558
7558
|
{
|
|
7559
|
-
label:
|
|
7559
|
+
label: r("mailingAddress"),
|
|
7560
7560
|
onEdit: () => a("RegardedOwnerContact"),
|
|
7561
7561
|
children: /* @__PURE__ */ n.jsx(
|
|
7562
7562
|
We,
|
|
@@ -7632,29 +7632,29 @@ const wn = () => {
|
|
|
7632
7632
|
)
|
|
7633
7633
|
] });
|
|
7634
7634
|
}, yi = () => {
|
|
7635
|
-
const { goBack: e, onSubmitTaxDocumentation: a, isW8:
|
|
7636
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7635
|
+
const { goBack: e, onSubmitTaxDocumentation: a, isW8: r, isW9: t } = W(), { fields: c, getLocalTitle: s } = M();
|
|
7636
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7637
7637
|
/* @__PURE__ */ n.jsx(oe, { title: s("summary") }),
|
|
7638
7638
|
/* @__PURE__ */ n.jsx(Ni, {}),
|
|
7639
|
-
/* @__PURE__ */ n.jsxs(Q, { title: "Certify", showIf:
|
|
7640
|
-
/* @__PURE__ */ n.jsx(
|
|
7641
|
-
/* @__PURE__ */ n.jsx(
|
|
7642
|
-
/* @__PURE__ */ n.jsx(
|
|
7643
|
-
/* @__PURE__ */ n.jsx(
|
|
7644
|
-
/* @__PURE__ */ n.jsx(
|
|
7645
|
-
/* @__PURE__ */ n.jsx(
|
|
7646
|
-
/* @__PURE__ */ n.jsx(
|
|
7647
|
-
/* @__PURE__ */ n.jsx(
|
|
7648
|
-
/* @__PURE__ */ n.jsx(
|
|
7649
|
-
/* @__PURE__ */ n.jsx(
|
|
7639
|
+
/* @__PURE__ */ n.jsxs(Q, { title: "Certify", showIf: t || r, children: [
|
|
7640
|
+
/* @__PURE__ */ n.jsx(x, { name: "iCertifyToAll", label: !0 }),
|
|
7641
|
+
/* @__PURE__ */ n.jsx(x, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
|
|
7642
|
+
/* @__PURE__ */ n.jsx(x, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
|
|
7643
|
+
/* @__PURE__ */ n.jsx(x, { name: "iAmACitizenOfTheUs", label: !0 }),
|
|
7644
|
+
/* @__PURE__ */ n.jsx(x, { name: "iAmExemptFromFatcaReporting", label: !0 }),
|
|
7645
|
+
/* @__PURE__ */ n.jsx(x, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
|
|
7646
|
+
/* @__PURE__ */ n.jsx(x, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
|
|
7647
|
+
/* @__PURE__ */ n.jsx(x, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
|
|
7648
|
+
/* @__PURE__ */ n.jsx(x, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
|
|
7649
|
+
/* @__PURE__ */ n.jsx(x, { name: "iAuthorizeWithholdingAgent", label: !0 })
|
|
7650
7650
|
] }),
|
|
7651
|
-
/* @__PURE__ */ n.jsxs(Q, { title: "Acknowledge and Sign", showIf:
|
|
7652
|
-
/* @__PURE__ */ n.jsx(
|
|
7653
|
-
/* @__PURE__ */ n.jsx(
|
|
7651
|
+
/* @__PURE__ */ n.jsxs(Q, { title: "Acknowledge and Sign", showIf: t || r, children: [
|
|
7652
|
+
/* @__PURE__ */ n.jsx(x, { name: "iAcknowlegeESignIsOk", label: !0 }),
|
|
7653
|
+
/* @__PURE__ */ n.jsx(x, { name: "iHaveLegalCapacityToSign", label: !0 }),
|
|
7654
7654
|
/* @__PURE__ */ n.jsx(K, { label: !0, name: "signature" })
|
|
7655
7655
|
] }),
|
|
7656
7656
|
/* @__PURE__ */ n.jsx(
|
|
7657
|
-
|
|
7657
|
+
re,
|
|
7658
7658
|
{
|
|
7659
7659
|
onBack: e,
|
|
7660
7660
|
onSubmit: () => a(c)
|
|
@@ -7665,24 +7665,24 @@ const wn = () => {
|
|
|
7665
7665
|
const {
|
|
7666
7666
|
getLocalCountry: e,
|
|
7667
7667
|
hideField: a,
|
|
7668
|
-
showField:
|
|
7669
|
-
getRequiredLocalPrompt:
|
|
7668
|
+
showField: r,
|
|
7669
|
+
getRequiredLocalPrompt: t,
|
|
7670
7670
|
getLocalTitle: c
|
|
7671
|
-
} =
|
|
7672
|
-
() =>
|
|
7671
|
+
} = M(), s = ae(
|
|
7672
|
+
() => Re.map((m) => ({
|
|
7673
7673
|
...m,
|
|
7674
7674
|
label: e(m.value)
|
|
7675
7675
|
})).sort((m, u) => m.label.localeCompare(u.label)),
|
|
7676
7676
|
[e]
|
|
7677
7677
|
);
|
|
7678
7678
|
return X(() => {
|
|
7679
|
-
|
|
7680
|
-
}, [
|
|
7679
|
+
r("accountHolderCityOfBirth"), r("accountHolderCountryOfBirth");
|
|
7680
|
+
}, [r, a]), /* @__PURE__ */ n.jsx(Q, { title: c("placeOfBirth"), children: /* @__PURE__ */ n.jsxs(
|
|
7681
7681
|
P,
|
|
7682
7682
|
{
|
|
7683
|
-
label: `${
|
|
7683
|
+
label: `${t(
|
|
7684
7684
|
"accountHolderCityOfBirth"
|
|
7685
|
-
)}/${
|
|
7685
|
+
)}/${t("accountHolderCountryOfBirth")}`,
|
|
7686
7686
|
children: [
|
|
7687
7687
|
/* @__PURE__ */ n.jsx(_, { name: "accountHolderCityOfBirth" }),
|
|
7688
7688
|
/* @__PURE__ */ n.jsx(
|
|
@@ -7697,41 +7697,41 @@ const wn = () => {
|
|
|
7697
7697
|
}
|
|
7698
7698
|
) });
|
|
7699
7699
|
}, Oi = () => {
|
|
7700
|
-
const { onPersistCollectedData: e, goBack: a, onCancel:
|
|
7701
|
-
return /* @__PURE__ */ n.jsxs(
|
|
7700
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalTitle: c } = M();
|
|
7701
|
+
return /* @__PURE__ */ n.jsxs(te, { children: [
|
|
7702
7702
|
/* @__PURE__ */ n.jsx(oe, { title: c("accountHolderTaxInformation") }),
|
|
7703
7703
|
/* @__PURE__ */ n.jsx(Mi, {}),
|
|
7704
7704
|
/* @__PURE__ */ n.jsx(
|
|
7705
|
-
|
|
7705
|
+
re,
|
|
7706
7706
|
{
|
|
7707
|
-
onCancel:
|
|
7707
|
+
onCancel: r,
|
|
7708
7708
|
onBack: a,
|
|
7709
|
-
onNext: () => e(
|
|
7709
|
+
onNext: () => e(t)
|
|
7710
7710
|
}
|
|
7711
7711
|
)
|
|
7712
7712
|
] });
|
|
7713
7713
|
}, Ei = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Oi, {}) }), wi = ({
|
|
7714
|
-
|
|
7714
|
+
data: e,
|
|
7715
7715
|
onSubmit: a,
|
|
7716
|
-
|
|
7717
|
-
|
|
7716
|
+
language: r,
|
|
7717
|
+
taxForms: t
|
|
7718
7718
|
}) => /* @__PURE__ */ n.jsx(
|
|
7719
7719
|
ba,
|
|
7720
7720
|
{
|
|
7721
7721
|
data: e,
|
|
7722
7722
|
onSubmit: a,
|
|
7723
|
-
language:
|
|
7724
|
-
|
|
7725
|
-
children: /* @__PURE__ */ n.jsx(
|
|
7723
|
+
language: r,
|
|
7724
|
+
taxForms: t,
|
|
7725
|
+
children: /* @__PURE__ */ n.jsx(Hi, { language: r, taxForms: t })
|
|
7726
7726
|
}
|
|
7727
|
-
),
|
|
7727
|
+
), Ri = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Hi = ({
|
|
7728
7728
|
language: e = "en-us",
|
|
7729
|
-
|
|
7729
|
+
taxForms: a = Ri
|
|
7730
7730
|
}) => {
|
|
7731
|
-
const { stepName:
|
|
7731
|
+
const { stepName: r, setLanguage: t, setSupportedForms: c } = W();
|
|
7732
7732
|
X(() => {
|
|
7733
|
-
|
|
7734
|
-
}, [e,
|
|
7733
|
+
t(e);
|
|
7734
|
+
}, [e, t]), X(() => {
|
|
7735
7735
|
c(a);
|
|
7736
7736
|
}, [a, c]);
|
|
7737
7737
|
const m = {
|
|
@@ -7744,7 +7744,7 @@ const wn = () => {
|
|
|
7744
7744
|
RegardedOwnerContact: Ii,
|
|
7745
7745
|
RegardedOwnerTax: bi,
|
|
7746
7746
|
Summary: vi
|
|
7747
|
-
}[
|
|
7747
|
+
}[r];
|
|
7748
7748
|
return /* @__PURE__ */ n.jsx(m, {});
|
|
7749
7749
|
}, vn = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Mn = {
|
|
7750
7750
|
taxDocumentation: {
|
|
@@ -7755,71 +7755,68 @@ const wn = () => {
|
|
|
7755
7755
|
}
|
|
7756
7756
|
}, On = ({ bearerToken: e }) => new Headers({
|
|
7757
7757
|
Authorization: `Bearer ${e}`
|
|
7758
|
-
}),
|
|
7759
|
-
const [
|
|
7760
|
-
const
|
|
7758
|
+
}), Bi = (e, a) => {
|
|
7759
|
+
const [r, t] = Z(), [c, s] = Z(), m = a ? "STAGING" : "PRODUCTION", u = Mn.taxDocumentation.post(m), g = Mn.taxDocumentationStatus.get(m), d = (f) => {
|
|
7760
|
+
const I = {
|
|
7761
7761
|
method: "POST",
|
|
7762
|
-
headers: On({ bearerToken:
|
|
7763
|
-
body: JSON.stringify(
|
|
7762
|
+
headers: On({ bearerToken: e }),
|
|
7763
|
+
body: JSON.stringify(f)
|
|
7764
7764
|
};
|
|
7765
|
-
fetch(
|
|
7766
|
-
|
|
7765
|
+
fetch(u, I).then((y) => {
|
|
7766
|
+
y.status === 200 && s("submitted");
|
|
7767
7767
|
});
|
|
7768
7768
|
};
|
|
7769
7769
|
return X(() => {
|
|
7770
|
-
const
|
|
7770
|
+
const f = {
|
|
7771
7771
|
method: "GET",
|
|
7772
|
-
headers: On({ bearerToken:
|
|
7772
|
+
headers: On({ bearerToken: e })
|
|
7773
7773
|
};
|
|
7774
|
-
fetch(
|
|
7775
|
-
|
|
7774
|
+
fetch(g, f).then((I) => I.json()).then((I) => {
|
|
7775
|
+
t(I.form_status.Dac7Individual.status);
|
|
7776
7776
|
});
|
|
7777
|
-
}, [
|
|
7778
|
-
|
|
7779
|
-
|
|
7777
|
+
}, [e, g, c]), {
|
|
7778
|
+
submitForm: d,
|
|
7779
|
+
formStatus: r
|
|
7780
7780
|
};
|
|
7781
|
-
},
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
bearerToken:
|
|
7785
|
-
language:
|
|
7786
|
-
|
|
7781
|
+
}, xi = ({
|
|
7782
|
+
staging: e,
|
|
7783
|
+
data: a,
|
|
7784
|
+
bearerToken: r,
|
|
7785
|
+
language: t,
|
|
7786
|
+
taxForms: c
|
|
7787
7787
|
}) => {
|
|
7788
|
-
const {
|
|
7789
|
-
e,
|
|
7790
|
-
t
|
|
7791
|
-
);
|
|
7788
|
+
const { formStatus: s, submitForm: m } = Bi(r, e);
|
|
7792
7789
|
return s ? s === "UNDOCUMENTED" || s === "INVALID" ? /* @__PURE__ */ n.jsx(
|
|
7793
7790
|
wi,
|
|
7794
7791
|
{
|
|
7795
|
-
|
|
7796
|
-
|
|
7792
|
+
data: a,
|
|
7793
|
+
language: t,
|
|
7797
7794
|
onSubmit: (u) => m(u),
|
|
7798
|
-
|
|
7795
|
+
taxForms: c
|
|
7799
7796
|
}
|
|
7800
7797
|
) : /* @__PURE__ */ n.jsxs("div", { children: [
|
|
7801
7798
|
'Documentation was already submitted: "',
|
|
7802
7799
|
s,
|
|
7803
7800
|
'"'
|
|
7804
7801
|
] }) : /* @__PURE__ */ n.jsx("div", { children: "Loading..." });
|
|
7805
|
-
},
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
bearerToken:
|
|
7809
|
-
language:
|
|
7802
|
+
}, ki = ({
|
|
7803
|
+
data: e,
|
|
7804
|
+
staging: a,
|
|
7805
|
+
bearerToken: r,
|
|
7806
|
+
language: t
|
|
7810
7807
|
}) => /* @__PURE__ */ n.jsx(
|
|
7811
|
-
|
|
7808
|
+
xi,
|
|
7812
7809
|
{
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7810
|
+
bearerToken: r,
|
|
7811
|
+
data: e,
|
|
7812
|
+
language: t,
|
|
7813
|
+
taxForms: ["DAC7"],
|
|
7814
|
+
staging: a
|
|
7818
7815
|
}
|
|
7819
7816
|
);
|
|
7820
7817
|
export {
|
|
7821
|
-
|
|
7822
|
-
|
|
7818
|
+
ki as TaxBitDAC7Form,
|
|
7819
|
+
xi as TaxBitForm,
|
|
7823
7820
|
wi as TaxBitFormUI,
|
|
7824
|
-
|
|
7821
|
+
Bi as useTaxBit
|
|
7825
7822
|
};
|