@opendoor/partner-sdk-client-react 1.3.6-beta.124.1 → 1.3.6-beta.125.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +75 -75
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,7 +79,7 @@ function rr() {
|
|
|
79
79
|
}
|
|
80
80
|
return Se.jsx = f, Se.jsxs = f, Se;
|
|
81
81
|
}
|
|
82
|
-
var
|
|
82
|
+
var Ve = {};
|
|
83
83
|
/** @license React v17.0.2
|
|
84
84
|
* react-jsx-runtime.development.js
|
|
85
85
|
*
|
|
@@ -118,10 +118,10 @@ function nr() {
|
|
|
118
118
|
{
|
|
119
119
|
var N = $.ReactDebugCurrentFrame, G = N.getStackAddendum();
|
|
120
120
|
G !== "" && (d += "%s", y = y.concat([G]));
|
|
121
|
-
var
|
|
121
|
+
var V = y.map(function(A) {
|
|
122
122
|
return "" + A;
|
|
123
123
|
});
|
|
124
|
-
|
|
124
|
+
V.unshift("Warning: " + d), Function.prototype.apply.call(console[n], console, V);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
var J = !1;
|
|
@@ -135,7 +135,7 @@ function nr() {
|
|
|
135
135
|
function F(n) {
|
|
136
136
|
return n.displayName || "Context";
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function q(n) {
|
|
139
139
|
if (n == null)
|
|
140
140
|
return null;
|
|
141
141
|
if (typeof n.tag == "number" && P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
@@ -167,13 +167,13 @@ function nr() {
|
|
|
167
167
|
case c:
|
|
168
168
|
return oe(n, n.render, "ForwardRef");
|
|
169
169
|
case g:
|
|
170
|
-
return
|
|
170
|
+
return q(n.type);
|
|
171
171
|
case E:
|
|
172
|
-
return
|
|
172
|
+
return q(n._render);
|
|
173
173
|
case w: {
|
|
174
|
-
var N = n, G = N._payload,
|
|
174
|
+
var N = n, G = N._payload, V = N._init;
|
|
175
175
|
try {
|
|
176
|
-
return V(
|
|
176
|
+
return q(V(G));
|
|
177
177
|
} catch {
|
|
178
178
|
return null;
|
|
179
179
|
}
|
|
@@ -274,8 +274,8 @@ function nr() {
|
|
|
274
274
|
ve = !0;
|
|
275
275
|
var G = Error.prepareStackTrace;
|
|
276
276
|
Error.prepareStackTrace = void 0;
|
|
277
|
-
var
|
|
278
|
-
|
|
277
|
+
var V;
|
|
278
|
+
V = ee.current, ee.current = null, de();
|
|
279
279
|
try {
|
|
280
280
|
if (d) {
|
|
281
281
|
var A = function() {
|
|
@@ -328,7 +328,7 @@ function nr() {
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
} finally {
|
|
331
|
-
ve = !1, ee.current =
|
|
331
|
+
ve = !1, ee.current = V, R(), Error.prepareStackTrace = G;
|
|
332
332
|
}
|
|
333
333
|
var Ie = n ? n.displayName || n.name : "", dt = Ie ? pe(Ie) : "";
|
|
334
334
|
return typeof n == "function" && k.set(n, dt), dt;
|
|
@@ -362,9 +362,9 @@ function nr() {
|
|
|
362
362
|
case E:
|
|
363
363
|
return Y(n._render);
|
|
364
364
|
case w: {
|
|
365
|
-
var N = n, G = N._payload,
|
|
365
|
+
var N = n, G = N._payload, V = N._init;
|
|
366
366
|
try {
|
|
367
|
-
return x(
|
|
367
|
+
return x(V(G), d, y);
|
|
368
368
|
} catch {
|
|
369
369
|
}
|
|
370
370
|
}
|
|
@@ -381,9 +381,9 @@ function nr() {
|
|
|
381
381
|
}
|
|
382
382
|
function ke(n, d, y, N, G) {
|
|
383
383
|
{
|
|
384
|
-
var
|
|
384
|
+
var V = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
385
385
|
for (var A in n)
|
|
386
|
-
if (
|
|
386
|
+
if (V(n, A)) {
|
|
387
387
|
var T = void 0;
|
|
388
388
|
try {
|
|
389
389
|
if (typeof n[A] != "function") {
|
|
@@ -434,7 +434,7 @@ function nr() {
|
|
|
434
434
|
});
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function Vt(n, d) {
|
|
438
438
|
{
|
|
439
439
|
var y = function() {
|
|
440
440
|
nt || (nt = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
|
|
@@ -445,7 +445,7 @@ function nr() {
|
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
var
|
|
448
|
+
var qt = function(n, d, y, N, G, V, A) {
|
|
449
449
|
var T = {
|
|
450
450
|
// This tag allows us to uniquely identify this as a React Element
|
|
451
451
|
$$typeof: s,
|
|
@@ -455,7 +455,7 @@ function nr() {
|
|
|
455
455
|
ref: y,
|
|
456
456
|
props: A,
|
|
457
457
|
// Record the component responsible for creating this element.
|
|
458
|
-
_owner:
|
|
458
|
+
_owner: V
|
|
459
459
|
};
|
|
460
460
|
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
|
461
461
|
configurable: !1,
|
|
@@ -476,20 +476,20 @@ function nr() {
|
|
|
476
476
|
};
|
|
477
477
|
function Gt(n, d, y, N, G) {
|
|
478
478
|
{
|
|
479
|
-
var
|
|
479
|
+
var V, A = {}, T = null, me = null;
|
|
480
480
|
y !== void 0 && (T = "" + y), Ft(d) && (T = "" + d.key), Mt(d) && (me = d.ref, Wt(d, G));
|
|
481
|
-
for (
|
|
482
|
-
$e.call(d,
|
|
481
|
+
for (V in d)
|
|
482
|
+
$e.call(d, V) && !$t.hasOwnProperty(V) && (A[V] = d[V]);
|
|
483
483
|
if (n && n.defaultProps) {
|
|
484
484
|
var Q = n.defaultProps;
|
|
485
|
-
for (
|
|
486
|
-
A[
|
|
485
|
+
for (V in Q)
|
|
486
|
+
A[V] === void 0 && (A[V] = Q[V]);
|
|
487
487
|
}
|
|
488
488
|
if (T || me) {
|
|
489
489
|
var re = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
490
|
-
T && Ht(A, re), me &&
|
|
490
|
+
T && Ht(A, re), me && Vt(A, re);
|
|
491
491
|
}
|
|
492
|
-
return
|
|
492
|
+
return qt(n, T, me, G, N, Ee.current, A);
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
var Me = $.ReactCurrentOwner, at = $.ReactDebugCurrentFrame;
|
|
@@ -508,7 +508,7 @@ function nr() {
|
|
|
508
508
|
function st() {
|
|
509
509
|
{
|
|
510
510
|
if (Me.current) {
|
|
511
|
-
var n =
|
|
511
|
+
var n = q(Me.current.type);
|
|
512
512
|
if (n)
|
|
513
513
|
return `
|
|
514
514
|
|
|
@@ -543,7 +543,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
543
543
|
return;
|
|
544
544
|
ot[y] = !0;
|
|
545
545
|
var N = "";
|
|
546
|
-
n && n._owner && n._owner !== Me.current && (N = " It was passed a child from " +
|
|
546
|
+
n && n._owner && n._owner !== Me.current && (N = " It was passed a child from " + q(n._owner.type) + "."), Ne(n), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, N), Ne(null);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
function lt(n, d) {
|
|
@@ -560,7 +560,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
560
560
|
else if (n) {
|
|
561
561
|
var G = ie(n);
|
|
562
562
|
if (typeof G == "function" && G !== n.entries)
|
|
563
|
-
for (var
|
|
563
|
+
for (var V = G.call(n), A; !(A = V.next()).done; )
|
|
564
564
|
We(A.value) && it(A.value, d);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
@@ -580,11 +580,11 @@ Check the top-level render call using <` + y + ">.");
|
|
|
580
580
|
else
|
|
581
581
|
return;
|
|
582
582
|
if (y) {
|
|
583
|
-
var N =
|
|
583
|
+
var N = q(d);
|
|
584
584
|
ke(y, n.props, "prop", N, n);
|
|
585
585
|
} else if (d.PropTypes !== void 0 && !Fe) {
|
|
586
586
|
Fe = !0;
|
|
587
|
-
var G =
|
|
587
|
+
var G = q(d);
|
|
588
588
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
589
589
|
}
|
|
590
590
|
typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -602,7 +602,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
602
602
|
n.ref !== null && (Ne(n), P("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
function ct(n, d, y, N, G,
|
|
605
|
+
function ct(n, d, y, N, G, V) {
|
|
606
606
|
{
|
|
607
607
|
var A = le(n);
|
|
608
608
|
if (!A) {
|
|
@@ -611,9 +611,9 @@ Check the top-level render call using <` + y + ">.");
|
|
|
611
611
|
var me = Ut();
|
|
612
612
|
me ? T += me : T += st();
|
|
613
613
|
var Q;
|
|
614
|
-
n === null ? Q = "null" : Array.isArray(n) ? Q = "array" : n !== void 0 && n.$$typeof === s ? (Q = "<" + (
|
|
614
|
+
n === null ? Q = "null" : Array.isArray(n) ? Q = "array" : n !== void 0 && n.$$typeof === s ? (Q = "<" + (q(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof n, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, T);
|
|
615
615
|
}
|
|
616
|
-
var re = Gt(n, d, y, G,
|
|
616
|
+
var re = Gt(n, d, y, G, V);
|
|
617
617
|
if (re == null)
|
|
618
618
|
return re;
|
|
619
619
|
if (A) {
|
|
@@ -641,7 +641,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
641
641
|
var Xt = Jt, Qt = zt;
|
|
642
642
|
e.jsx = Xt, e.jsxs = Qt;
|
|
643
643
|
}();
|
|
644
|
-
}(
|
|
644
|
+
}(Ve)), Ve;
|
|
645
645
|
}
|
|
646
646
|
process.env.NODE_ENV === "production" ? Ze.exports = rr() : Ze.exports = nr();
|
|
647
647
|
var t = Ze.exports;
|
|
@@ -760,7 +760,7 @@ const Je = {
|
|
|
760
760
|
},
|
|
761
761
|
destroy() {
|
|
762
762
|
}
|
|
763
|
-
}, Xe = ze(null), Lt = ze(Je),
|
|
763
|
+
}, Xe = ze(null), Lt = ze(Je), Vo = ({
|
|
764
764
|
client: e,
|
|
765
765
|
children: r
|
|
766
766
|
}) => {
|
|
@@ -800,7 +800,7 @@ function At(e, r = {}) {
|
|
|
800
800
|
return p.observe(f), () => p.disconnect();
|
|
801
801
|
}, [e, r.immediate]), o;
|
|
802
802
|
}
|
|
803
|
-
const
|
|
803
|
+
const qe = {
|
|
804
804
|
// Colors
|
|
805
805
|
colorPrimary: "#235ca3",
|
|
806
806
|
colorPrimaryHover: "#1a4a82",
|
|
@@ -847,10 +847,10 @@ const Ve = {
|
|
|
847
847
|
colorCardBackgroundSelected: "#f0f5ff"
|
|
848
848
|
}, _r = {
|
|
849
849
|
/** Default theme — pill-shaped inputs, bold borders, Opendoor blue */
|
|
850
|
-
default:
|
|
850
|
+
default: qe,
|
|
851
851
|
/** Minimal theme — subtle borders, square corners, lighter shadows */
|
|
852
852
|
minimal: {
|
|
853
|
-
...
|
|
853
|
+
...qe,
|
|
854
854
|
colorBorder: "#d1d5db",
|
|
855
855
|
colorBorderFocus: "#235ca3",
|
|
856
856
|
colorFocusRing: "rgba(35, 92, 163, 0.15)",
|
|
@@ -870,7 +870,7 @@ const Ve = {
|
|
|
870
870
|
},
|
|
871
871
|
/** Rounded theme — large radii, soft shadows, spacious */
|
|
872
872
|
rounded: {
|
|
873
|
-
...
|
|
873
|
+
...qe,
|
|
874
874
|
colorBorder: "#e0e0e0",
|
|
875
875
|
colorBorderFocus: "#235ca3",
|
|
876
876
|
borderRadius: "16px",
|
|
@@ -885,7 +885,7 @@ function yr(e) {
|
|
|
885
885
|
const r = _r[(e == null ? void 0 : e.theme) ?? "default"];
|
|
886
886
|
return e != null && e.variables ? { ...r, ...e.variables } : r;
|
|
887
887
|
}
|
|
888
|
-
const
|
|
888
|
+
const qo = [
|
|
889
889
|
"confirm-home-details",
|
|
890
890
|
"ownership",
|
|
891
891
|
"sale-timeline",
|
|
@@ -980,7 +980,7 @@ const Cr = "_container_tu90h_8", kr = "_inputSection_tu90h_16", jr = "_inputWrap
|
|
|
980
980
|
}
|
|
981
981
|
)
|
|
982
982
|
}
|
|
983
|
-
),
|
|
983
|
+
), Vr = () => /* @__PURE__ */ t.jsxs(
|
|
984
984
|
"svg",
|
|
985
985
|
{
|
|
986
986
|
width: "20",
|
|
@@ -1026,7 +1026,7 @@ function Go({
|
|
|
1026
1026
|
onAddressSuggestionsComplete: O,
|
|
1027
1027
|
onError: L
|
|
1028
1028
|
}) {
|
|
1029
|
-
const U = Tt(), _ = Qe(), _e = Ae(b), [W, ie] = S(""), [$, P] = S([]), [X, J] = S(!1), [le, oe] = S(!1), [F,
|
|
1029
|
+
const U = Tt(), _ = Qe(), _e = Ae(b), [W, ie] = S(""), [$, P] = S([]), [X, J] = S(!1), [le, oe] = S(!1), [F, q] = S(null), [ce, ae] = S(!1), [v, j] = S(!1), [C, fe] = S({
|
|
1030
1030
|
street1: "",
|
|
1031
1031
|
street2: "",
|
|
1032
1032
|
city: "",
|
|
@@ -1045,10 +1045,10 @@ function Go({
|
|
|
1045
1045
|
g == null || g();
|
|
1046
1046
|
}, []), ue(() => {
|
|
1047
1047
|
if (!r || W.trim().length < 3 || ce) {
|
|
1048
|
-
W.trim().length === 0 && (P([]), J(!1),
|
|
1048
|
+
W.trim().length === 0 && (P([]), J(!1), q(null));
|
|
1049
1049
|
return;
|
|
1050
1050
|
}
|
|
1051
|
-
oe(!0),
|
|
1051
|
+
oe(!0), q(null);
|
|
1052
1052
|
const x = setTimeout(async () => {
|
|
1053
1053
|
var z, te, Ce;
|
|
1054
1054
|
(z = de.current) == null || z.call(de, W);
|
|
@@ -1057,7 +1057,7 @@ function Go({
|
|
|
1057
1057
|
P(ke.addresses), J(!0), (te = R.current) == null || te.call(R, ke.addresses);
|
|
1058
1058
|
} catch (ke) {
|
|
1059
1059
|
const Ee = ke instanceof Error ? ke : new Error("Failed to fetch address suggestions");
|
|
1060
|
-
|
|
1060
|
+
q(Ee.message), P([]), J(!0), (Ce = H.current) == null || Ce.call(H, Ee);
|
|
1061
1061
|
} finally {
|
|
1062
1062
|
oe(!1);
|
|
1063
1063
|
}
|
|
@@ -1073,7 +1073,7 @@ function Go({
|
|
|
1073
1073
|
const z = x.target.value;
|
|
1074
1074
|
ie(z), ae(!1), w == null || w({ street1: z });
|
|
1075
1075
|
}, ve = async (x) => {
|
|
1076
|
-
ae(!0), ie(yt(x)), P([]), J(!1),
|
|
1076
|
+
ae(!0), ie(yt(x)), P([]), J(!1), q(null), w == null || w(x), _.trackSell({
|
|
1077
1077
|
addressEntryV2: {
|
|
1078
1078
|
street1: x.street1,
|
|
1079
1079
|
city: x.city,
|
|
@@ -1087,7 +1087,7 @@ function Go({
|
|
|
1087
1087
|
await e(x);
|
|
1088
1088
|
} catch (z) {
|
|
1089
1089
|
const te = z instanceof Error ? z : new Error("Failed to process address");
|
|
1090
|
-
|
|
1090
|
+
q(te.message), L == null || L(te), ie(""), ae(!1);
|
|
1091
1091
|
}
|
|
1092
1092
|
}, k = () => {
|
|
1093
1093
|
_.trackPlatform({
|
|
@@ -1109,10 +1109,10 @@ function Go({
|
|
|
1109
1109
|
}, Y = async () => {
|
|
1110
1110
|
if (!C.street1 || !C.city || !C.state || !C.postalCode) {
|
|
1111
1111
|
const x = "Please fill in all required fields";
|
|
1112
|
-
|
|
1112
|
+
q(x), E == null || E(x);
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
|
-
oe(!0),
|
|
1115
|
+
oe(!0), q(null);
|
|
1116
1116
|
try {
|
|
1117
1117
|
const x = {
|
|
1118
1118
|
street1: C.street1,
|
|
@@ -1133,7 +1133,7 @@ function Go({
|
|
|
1133
1133
|
}), await e(x);
|
|
1134
1134
|
} catch (x) {
|
|
1135
1135
|
const z = x instanceof Error ? x : new Error("Failed to submit address");
|
|
1136
|
-
|
|
1136
|
+
q(z.message), L == null || L(z);
|
|
1137
1137
|
} finally {
|
|
1138
1138
|
oe(!1);
|
|
1139
1139
|
}
|
|
@@ -1317,7 +1317,7 @@ function Go({
|
|
|
1317
1317
|
role: he && !X ? "alert" : "listbox",
|
|
1318
1318
|
"aria-live": he && !X ? "polite" : void 0,
|
|
1319
1319
|
children: he ? /* @__PURE__ */ t.jsxs("div", { className: D.error, children: [
|
|
1320
|
-
/* @__PURE__ */ t.jsx("div", { className: D.errorIcon, children: /* @__PURE__ */ t.jsx(
|
|
1320
|
+
/* @__PURE__ */ t.jsx("div", { className: D.errorIcon, children: /* @__PURE__ */ t.jsx(Vr, {}) }),
|
|
1321
1321
|
/* @__PURE__ */ t.jsx("div", { children: F })
|
|
1322
1322
|
] }) : $.length > 0 ? $.map((x, z) => /* @__PURE__ */ t.jsx(
|
|
1323
1323
|
"div",
|
|
@@ -1348,8 +1348,8 @@ function Go({
|
|
|
1348
1348
|
s && /* @__PURE__ */ t.jsx(wr, {})
|
|
1349
1349
|
] });
|
|
1350
1350
|
}
|
|
1351
|
-
const
|
|
1352
|
-
container:
|
|
1351
|
+
const qr = "_container_rg8mk_3", Gr = "_title_rg8mk_7", Ur = "_addressCard_rg8mk_16", Yr = "_addressText_rg8mk_26", Zr = "_editLink_rg8mk_34", Kr = "_fieldGroup_rg8mk_47", zr = "_fieldLabel_rg8mk_51", Jr = "_input_rg8mk_60", Xr = "_checkboxRow_rg8mk_84", Qr = "_checkbox_rg8mk_84", en = "_checkboxLabel_rg8mk_101", tn = "_error_rg8mk_108", rn = "_actions_rg8mk_115", nn = "_confirmButton_rg8mk_120", ge = {
|
|
1352
|
+
container: qr,
|
|
1353
1353
|
title: Gr,
|
|
1354
1354
|
addressCard: Ur,
|
|
1355
1355
|
addressText: Yr,
|
|
@@ -2416,7 +2416,7 @@ const Pn = Be("kitchen", "home.kitchen_seller_score", "How would you describe yo
|
|
|
2416
2416
|
value: "true"
|
|
2417
2417
|
}
|
|
2418
2418
|
]
|
|
2419
|
-
},
|
|
2419
|
+
}, Vn = [
|
|
2420
2420
|
{
|
|
2421
2421
|
key: "seller.signed_listing_agreement",
|
|
2422
2422
|
label: "Do you currently have a written agreement with a real estate agent to sell your home?",
|
|
@@ -2433,7 +2433,7 @@ const Pn = Be("kitchen", "home.kitchen_seller_score", "How would you describe yo
|
|
|
2433
2433
|
{
|
|
2434
2434
|
key: "seller.listing_agent.full_name",
|
|
2435
2435
|
label: "Agent full name",
|
|
2436
|
-
description: "
|
|
2436
|
+
description: "Opendoor will email your agent with the offer.",
|
|
2437
2437
|
type: "string",
|
|
2438
2438
|
style: "input",
|
|
2439
2439
|
required: !0,
|
|
@@ -2461,13 +2461,13 @@ const Pn = Be("kitchen", "home.kitchen_seller_score", "How would you describe yo
|
|
|
2461
2461
|
showWhen: Ue
|
|
2462
2462
|
}
|
|
2463
2463
|
];
|
|
2464
|
-
function
|
|
2464
|
+
function qn(e) {
|
|
2465
2465
|
return {
|
|
2466
2466
|
id: "contact-info",
|
|
2467
2467
|
title: "You're one step from your offer.",
|
|
2468
2468
|
subtitle: "Create a free account to see your offer. No commitment to sell — just your number, email, and name.",
|
|
2469
2469
|
submitLabel: "See my offer",
|
|
2470
|
-
questions: e ? [...xt, ...
|
|
2470
|
+
questions: e ? [...xt, ...Vn] : [...xt]
|
|
2471
2471
|
};
|
|
2472
2472
|
}
|
|
2473
2473
|
const Gn = [
|
|
@@ -2491,7 +2491,7 @@ const Gn = [
|
|
|
2491
2491
|
function Rt(e) {
|
|
2492
2492
|
return [
|
|
2493
2493
|
...Gn,
|
|
2494
|
-
|
|
2494
|
+
qn(e == null ? void 0 : e.checkForAgent)
|
|
2495
2495
|
];
|
|
2496
2496
|
}
|
|
2497
2497
|
Rt();
|
|
@@ -2564,20 +2564,20 @@ const Un = ({
|
|
|
2564
2564
|
_.answers
|
|
2565
2565
|
), [X, J] = S(
|
|
2566
2566
|
((se = _.currentPage) == null ? void 0 : se.id) ?? ""
|
|
2567
|
-
), [le, oe] = S({}), [F,
|
|
2567
|
+
), [le, oe] = S({}), [F, q] = S(
|
|
2568
2568
|
_.visiblePages
|
|
2569
2569
|
);
|
|
2570
2570
|
ue(() => {
|
|
2571
2571
|
var H, de;
|
|
2572
|
-
P(_.answers), J(((H = _.currentPage) == null ? void 0 : H.id) ?? ""),
|
|
2572
|
+
P(_.answers), J(((H = _.currentPage) == null ? void 0 : H.id) ?? ""), q([..._.visiblePages]), oe({});
|
|
2573
2573
|
const K = [
|
|
2574
2574
|
_.on("answerChange", (R) => {
|
|
2575
2575
|
var ee;
|
|
2576
|
-
P(_.answers),
|
|
2576
|
+
P(_.answers), q([..._.visiblePages]), R.type === "answerChange" && ((ee = O.current) == null || ee.call(O, R.key, R.value));
|
|
2577
2577
|
}),
|
|
2578
2578
|
_.on("pageChange", (R) => {
|
|
2579
2579
|
var ee;
|
|
2580
|
-
R.type === "pageChange" && (J(R.pageId),
|
|
2580
|
+
R.type === "pageChange" && (J(R.pageId), q([..._.visiblePages]), oe({}), (ee = I.current) == null || ee.call(I, R.pageIndex, R.pageId));
|
|
2581
2581
|
}),
|
|
2582
2582
|
_.on("validationError", (R) => {
|
|
2583
2583
|
R.type === "validationError" && oe(R.errors);
|
|
@@ -2719,7 +2719,7 @@ const Un = ({
|
|
|
2719
2719
|
)
|
|
2720
2720
|
}
|
|
2721
2721
|
)
|
|
2722
|
-
] }), Qn = "_container_150ym_7", ea = "_layout_150ym_20", ta = "_layoutScrollable_150ym_27", ra = "_addressBar_150ym_43", na = "_addressIcon_150ym_51", aa = "_addressText_150ym_55", sa = "_contentSplit_150ym_61", oa = "_contentLeft_150ym_75", ia = "_contentRight_150ym_81", la = "_pageTitle_150ym_97", ca = "_pageSubtitle_150ym_105", da = "_pageContent_150ym_114", ua = "_navigation_150ym_122", ha = "_navigationButtons_150ym_136", ma = "_backButton_150ym_142", fa = "_nextButton_150ym_165", pa = "_progressBar_150ym_191", ga = "_progressBarFill_150ym_198", _a = "_radioCardGroup_150ym_206", ya = "_radioCard_150ym_206", ba = "_radioCardSelected_150ym_238", va = "_radioCardLabel_150ym_243", xa = "_radioCardDescription_150ym_249", wa = "_imageCardGroup_150ym_256", Ca = "_imageCard_150ym_256", ka = "_imageCardSelected_150ym_288", ja = "_imageCardPhoto_150ym_293", Na = "_imageCardLabel_150ym_300", Ia = "_imageCardDescription_150ym_307", Sa = "_fieldGroup_150ym_316", Ea = "_fieldLabel_150ym_322", Pa = "_fieldDescription_150ym_329", La = "_fieldSelect_150ym_336", Ta = "_fieldSelectError_150ym_362", Aa = "_fieldInputWrapper_150ym_366", Da = "_fieldInput_150ym_366", Oa = "_fieldInputError_150ym_404", Ra = "_fieldSuffix_150ym_408", Ba = "_fieldError_150ym_419", $a = "_checkboxCardGroup_150ym_428", Ma = "_checkboxCard_150ym_428", Fa = "_checkboxCardSelected_150ym_460", Wa = "_checkboxCardContent_150ym_465", Ha = "_checkboxCardLabel_150ym_472",
|
|
2722
|
+
] }), Qn = "_container_150ym_7", ea = "_layout_150ym_20", ta = "_layoutScrollable_150ym_27", ra = "_addressBar_150ym_43", na = "_addressIcon_150ym_51", aa = "_addressText_150ym_55", sa = "_contentSplit_150ym_61", oa = "_contentLeft_150ym_75", ia = "_contentRight_150ym_81", la = "_pageTitle_150ym_97", ca = "_pageSubtitle_150ym_105", da = "_pageContent_150ym_114", ua = "_navigation_150ym_122", ha = "_navigationButtons_150ym_136", ma = "_backButton_150ym_142", fa = "_nextButton_150ym_165", pa = "_progressBar_150ym_191", ga = "_progressBarFill_150ym_198", _a = "_radioCardGroup_150ym_206", ya = "_radioCard_150ym_206", ba = "_radioCardSelected_150ym_238", va = "_radioCardLabel_150ym_243", xa = "_radioCardDescription_150ym_249", wa = "_imageCardGroup_150ym_256", Ca = "_imageCard_150ym_256", ka = "_imageCardSelected_150ym_288", ja = "_imageCardPhoto_150ym_293", Na = "_imageCardLabel_150ym_300", Ia = "_imageCardDescription_150ym_307", Sa = "_fieldGroup_150ym_316", Ea = "_fieldLabel_150ym_322", Pa = "_fieldDescription_150ym_329", La = "_fieldSelect_150ym_336", Ta = "_fieldSelectError_150ym_362", Aa = "_fieldInputWrapper_150ym_366", Da = "_fieldInput_150ym_366", Oa = "_fieldInputError_150ym_404", Ra = "_fieldSuffix_150ym_408", Ba = "_fieldError_150ym_419", $a = "_checkboxCardGroup_150ym_428", Ma = "_checkboxCard_150ym_428", Fa = "_checkboxCardSelected_150ym_460", Wa = "_checkboxCardContent_150ym_465", Ha = "_checkboxCardLabel_150ym_472", Va = "_checkboxCardHelper_150ym_478", qa = "_checkboxIndicator_150ym_483", Ga = "_checkboxIndicatorChecked_150ym_495", Ua = "_currencyWrapper_150ym_503", Ya = "_currencyPrefix_150ym_509", Za = "_currencyInput_150ym_518", Ka = "_consentText_150ym_538", za = "_consentLink_150ym_546", Ja = "_ctaButton_150ym_551", Xa = "_toggleGroup_150ym_583", Qa = "_toggleLabel_150ym_587", es = "_toggleCheckbox_150ym_595", ts = "_toggleText_150ym_604", rs = "_searchableDropdown_150ym_612", ns = "_searchableDropdownToggle_150ym_622", as = "_searchableDropdownList_150ym_635", ss = "_searchableDropdownOption_150ym_644", os = "_searchableDropdownOptionSelected_150ym_662", is = "_searchableDropdownOptionHighlighted_150ym_667", ls = "_searchableDropdownEmpty_150ym_671", u = {
|
|
2723
2723
|
container: Qn,
|
|
2724
2724
|
layout: ea,
|
|
2725
2725
|
layoutScrollable: ta,
|
|
@@ -2764,8 +2764,8 @@ const Un = ({
|
|
|
2764
2764
|
checkboxCardSelected: Fa,
|
|
2765
2765
|
checkboxCardContent: Wa,
|
|
2766
2766
|
checkboxCardLabel: Ha,
|
|
2767
|
-
checkboxCardHelper:
|
|
2768
|
-
checkboxIndicator:
|
|
2767
|
+
checkboxCardHelper: Va,
|
|
2768
|
+
checkboxIndicator: qa,
|
|
2769
2769
|
checkboxIndicatorChecked: Ga,
|
|
2770
2770
|
currencyWrapper: Ua,
|
|
2771
2771
|
currencyPrefix: Ya,
|
|
@@ -3246,7 +3246,7 @@ const Ns = ({ question: e }) => {
|
|
|
3246
3246
|
a(e.key, v), l(!1), h(""), le(-1);
|
|
3247
3247
|
},
|
|
3248
3248
|
[e.key, a]
|
|
3249
|
-
),
|
|
3249
|
+
), q = (v) => {
|
|
3250
3250
|
if (!c) {
|
|
3251
3251
|
(v.key === "ArrowDown" || v.key === "Enter") && (v.preventDefault(), l(!0));
|
|
3252
3252
|
return;
|
|
@@ -3317,7 +3317,7 @@ const Ns = ({ question: e }) => {
|
|
|
3317
3317
|
h(v.target.value), le(-1), c || l(!0);
|
|
3318
3318
|
},
|
|
3319
3319
|
onFocus: () => l(!0),
|
|
3320
|
-
onKeyDown:
|
|
3320
|
+
onKeyDown: q,
|
|
3321
3321
|
placeholder: e.placeholder || "Select or search...",
|
|
3322
3322
|
"aria-label": e.label,
|
|
3323
3323
|
"aria-expanded": c,
|
|
@@ -3520,7 +3520,7 @@ const Ss = () => {
|
|
|
3520
3520
|
]
|
|
3521
3521
|
}
|
|
3522
3522
|
) });
|
|
3523
|
-
}, Ps = "_container_1qpea_7", Ls = "_root_1qpea_16", Ts = "_card_1qpea_31", As = "_titleLarge_1qpea_49", Ds = "_featuresList_1qpea_53", Os = "_stepLayout_1qpea_68", Rs = "_leftColumn_1qpea_60", Bs = "_introHeader_1qpea_81", $s = "_schedule_1qpea_87", Ms = "_subtitleLeft_1qpea_137", Fs = "_feature_1qpea_53", Ws = "_featureTitle_1qpea_156", Hs = "_featureDescription_1qpea_163",
|
|
3523
|
+
}, Ps = "_container_1qpea_7", Ls = "_root_1qpea_16", Ts = "_card_1qpea_31", As = "_titleLarge_1qpea_49", Ds = "_featuresList_1qpea_53", Os = "_stepLayout_1qpea_68", Rs = "_leftColumn_1qpea_60", Bs = "_introHeader_1qpea_81", $s = "_schedule_1qpea_87", Ms = "_subtitleLeft_1qpea_137", Fs = "_feature_1qpea_53", Ws = "_featureTitle_1qpea_156", Hs = "_featureDescription_1qpea_163", Vs = "_title_1qpea_49", qs = "_subtitle_1qpea_137", Gs = "_calendarHeader_1qpea_188", Us = "_calendarMonthLabel_1qpea_195", Ys = "_calendarNavButton_1qpea_201", Zs = "_calendarGrid_1qpea_221", Ks = "_calendarDayHeader_1qpea_227", zs = "_calendarDayAvailable_1qpea_236", Js = "_calendarDayDisabled_1qpea_237", Xs = "_calendarDaySelected_1qpea_238", Qs = "_timesHeader_1qpea_269", eo = "_timeRow_1qpea_276", to = "_timeButton_1qpea_283", ro = "_timeButtonSelected_1qpea_284", no = "_field_1qpea_307", ao = "_fieldLabel_1qpea_313", so = "_input_1qpea_319", oo = "_fieldset_1qpea_340", io = "_radioRow_1qpea_349", lo = "_radioOption_1qpea_354", co = "_faqBelowActions_1qpea_375", uo = "_faq_1qpea_375", ho = "_faqHeader_1qpea_386", mo = "_faqItem_1qpea_394", fo = "_faqQuestion_1qpea_403", po = "_faqAnswer_1qpea_419", go = "_faqChevron_1qpea_426", _o = "_errorText_1qpea_436", yo = "_linkInline_1qpea_442", bo = "_actionsRow_1qpea_448", vo = "_linkButton_1qpea_456", xo = "_primaryButton_1qpea_473", wo = "_successCheckCircle_1qpea_507", Co = "_summaryCard_1qpea_519", ko = "_summaryRow_1qpea_529", jo = "_summaryIcon_1qpea_537", m = {
|
|
3524
3524
|
container: Ps,
|
|
3525
3525
|
root: Ls,
|
|
3526
3526
|
card: Ts,
|
|
@@ -3534,8 +3534,8 @@ const Ss = () => {
|
|
|
3534
3534
|
feature: Fs,
|
|
3535
3535
|
featureTitle: Ws,
|
|
3536
3536
|
featureDescription: Hs,
|
|
3537
|
-
title:
|
|
3538
|
-
subtitle:
|
|
3537
|
+
title: Vs,
|
|
3538
|
+
subtitle: qs,
|
|
3539
3539
|
calendarHeader: Gs,
|
|
3540
3540
|
calendarMonthLabel: Us,
|
|
3541
3541
|
calendarNavButton: Ys,
|
|
@@ -3591,7 +3591,7 @@ function Ko({
|
|
|
3591
3591
|
onError: l,
|
|
3592
3592
|
supportPhone: b
|
|
3593
3593
|
}) {
|
|
3594
|
-
const g = Tt(), w = Ae(o), E = b || No, [I, O] = S(Io), [L, U] = S("select"), [_, _e] = S(null), [W, ie] = S(null), [$, P] = S(null), [X, J] = S(r ?? ""), [le, oe] = S(Ye(a ?? "")), [F,
|
|
3594
|
+
const g = Tt(), w = Ae(o), E = b || No, [I, O] = S(Io), [L, U] = S("select"), [_, _e] = S(null), [W, ie] = S(null), [$, P] = S(null), [X, J] = S(r ?? ""), [le, oe] = S(Ye(a ?? "")), [F, q] = S(null), [ce, ae] = S(""), [v, j] = S(!1), [C, fe] = S(null), se = Z(r);
|
|
3595
3595
|
se.current = r;
|
|
3596
3596
|
const K = Z(a);
|
|
3597
3597
|
K.current = a, ue(() => {
|
|
@@ -3793,7 +3793,7 @@ function Ko({
|
|
|
3793
3793
|
type: "radio",
|
|
3794
3794
|
name: "gate-code",
|
|
3795
3795
|
checked: F === !0,
|
|
3796
|
-
onChange: () =>
|
|
3796
|
+
onChange: () => q(!0),
|
|
3797
3797
|
disabled: v
|
|
3798
3798
|
}
|
|
3799
3799
|
),
|
|
@@ -3806,7 +3806,7 @@ function Ko({
|
|
|
3806
3806
|
type: "radio",
|
|
3807
3807
|
name: "gate-code",
|
|
3808
3808
|
checked: F === !1,
|
|
3809
|
-
onChange: () =>
|
|
3809
|
+
onChange: () => q(!1),
|
|
3810
3810
|
disabled: v
|
|
3811
3811
|
}
|
|
3812
3812
|
),
|
|
@@ -4127,9 +4127,9 @@ export {
|
|
|
4127
4127
|
Go as AddressEntry,
|
|
4128
4128
|
Yo as AddressMap,
|
|
4129
4129
|
Uo as AddressUnitConfirmation,
|
|
4130
|
-
|
|
4130
|
+
qo as DTC_ONBOARDING_PAGE_IDS,
|
|
4131
4131
|
Zo as DtcOnboardingFlow,
|
|
4132
|
-
|
|
4132
|
+
Vo as OpendoorProvider,
|
|
4133
4133
|
Ko as ScheduleAssessmentFlow,
|
|
4134
4134
|
_r as THEMES,
|
|
4135
4135
|
yr as resolveAppearance,
|