@opendoor/partner-sdk-client-vue 1.3.1 → 1.3.2-beta.110.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.
Files changed (2) hide show
  1. package/dist/index.js +295 -286
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, computed as w, provide as ge, ref as L, watch as ee, onUnmounted as oe, renderSlot as de, inject as Z, openBlock as d, createElementBlock as y, normalizeClass as e, createElementVNode as t, onMounted as be, normalizeStyle as X, createCommentVNode as E, Fragment as j, toDisplayString as _, renderList as Q, withKeys as Se, withModifiers as De, createBlock as K, unref as M, withDirectives as Ee, vModelText as qe, resolveDynamicComponent as Be, createTextVNode as me, Teleport as Ne, createVNode as ue, useSlots as Oe, withCtx as He } from "vue";
1
+ import { defineComponent as F, computed as w, provide as be, ref as L, watch as ee, onUnmounted as oe, renderSlot as de, inject as Z, openBlock as d, createElementBlock as y, normalizeClass as e, createElementVNode as t, onMounted as ce, normalizeStyle as X, createCommentVNode as E, Fragment as j, toDisplayString as _, renderList as Q, withKeys as Se, withModifiers as De, createBlock as K, unref as M, withDirectives as Ee, vModelText as qe, resolveDynamicComponent as Be, createTextVNode as ge, Teleport as Ge, createVNode as ue, useSlots as Oe, withCtx as He } from "vue";
2
2
  import { NOOP_TRACKING as Ie, TrackingClient as je } from "@opendoor/partner-sdk-client-js-core/internal/tracking";
3
3
  import { resolveAppearance as Ve } from "@opendoor/partner-sdk-client-js-core";
4
4
  import { DTC_ONBOARDING_PAGE_IDS as ar, OpendoorClient as lr, THEMES as or, resolveAppearance as rr } from "@opendoor/partner-sdk-client-js-core";
@@ -9,19 +9,19 @@ const Qo = /* @__PURE__ */ F({
9
9
  client: {}
10
10
  },
11
11
  setup(s) {
12
- const n = s, i = w(() => n.client);
13
- ge("opendoor-client", i);
14
- const r = L(Ie);
15
- return ge("opendoor-tracking", r), ee(
12
+ const n = s, r = w(() => n.client);
13
+ be("opendoor-client", r);
14
+ const i = L(Ie);
15
+ return be("opendoor-tracking", i), ee(
16
16
  () => n.client,
17
17
  () => {
18
- r.value !== Ie && r.value.destroy();
18
+ i.value !== Ie && i.value.destroy();
19
19
  const l = new je(n.client.environment);
20
- r.value = l;
20
+ i.value = l;
21
21
  },
22
22
  { immediate: !0 }
23
23
  ), oe(() => {
24
- r.value !== Ie && r.value.destroy();
24
+ i.value !== Ie && i.value.destroy();
25
25
  }), (l, o) => de(l.$slots, "default");
26
26
  }
27
27
  });
@@ -33,25 +33,25 @@ function Pe() {
33
33
  );
34
34
  return s;
35
35
  }
36
- function ce(s) {
37
- const n = Ve(s), i = {};
38
- for (const [r, l] of Object.entries(n)) {
39
- const o = r.replace(/([A-Z])/g, "-$1").toLowerCase();
40
- i[`--od-${o}`] = l;
36
+ function ve(s) {
37
+ const n = Ve(s), r = {};
38
+ for (const [i, l] of Object.entries(n)) {
39
+ const o = i.replace(/([A-Z])/g, "-$1").toLowerCase();
40
+ r[`--od-${o}`] = l;
41
41
  }
42
- return i;
42
+ return r;
43
43
  }
44
44
  const xe = /* @__PURE__ */ F({
45
45
  __name: "PoweredByOpendoor",
46
46
  setup(s) {
47
- return (n, i) => (d(), y("div", {
47
+ return (n, r) => (d(), y("div", {
48
48
  class: e(n.$style.attribution),
49
49
  "data-testid": "od-attribution"
50
50
  }, [
51
51
  t("span", {
52
52
  class: e(n.$style.text)
53
53
  }, "Powered by", 2),
54
- i[0] || (i[0] = t("svg", {
54
+ r[0] || (r[0] = t("svg", {
55
55
  width: "75",
56
56
  height: "16",
57
57
  viewBox: "0 0 112.574 24.0002",
@@ -71,10 +71,10 @@ const xe = /* @__PURE__ */ F({
71
71
  attribution: Ue,
72
72
  text: Ze
73
73
  }, V = (s, n) => {
74
- const i = s.__vccOpts || s;
75
- for (const [r, l] of n)
76
- i[r] = l;
77
- return i;
74
+ const r = s.__vccOpts || s;
75
+ for (const [i, l] of n)
76
+ r[i] = l;
77
+ return r;
78
78
  }, We = {
79
79
  $style: ze
80
80
  }, Ke = /* @__PURE__ */ V(xe, [["__cssModules", We]]), Qe = ["value", "placeholder", "disabled", "aria-controls", "aria-expanded"], Ye = ["disabled", "aria-label"], Xe = ["id", "role", "aria-live"], Je = ["onClick", "onKeydown"], et = ["for"], tt = ["id", "value", "disabled"], st = ["for"], nt = ["id", "value", "disabled"], at = ["for"], lt = ["id", "value", "disabled"], ot = ["for"], rt = ["id", "value", "disabled"], it = ["for"], ut = ["id", "value", "disabled"], dt = ["disabled"], ct = /* @__PURE__ */ F({
@@ -92,26 +92,26 @@ const xe = /* @__PURE__ */ F({
92
92
  },
93
93
  emits: ["address-select", "ready", "change", "validation-error", "address-suggestions-start", "address-suggestions-complete", "error"],
94
94
  setup(s, { emit: n }) {
95
- let i = 0;
96
- const r = s, l = n, o = Pe(), c = `ae-${++i}`, u = L(""), p = L([]), f = L(!1), $ = L(!1), g = L(null), h = L(!1), I = L(!1), B = L(null), q = L(null), O = L(null), T = L({
95
+ let r = 0;
96
+ const i = s, l = n, o = Pe(), c = `ae-${++r}`, u = L(""), p = L([]), f = L(!1), $ = L(!1), g = L(null), h = L(!1), I = L(!1), A = L(null), q = L(null), O = L(null), B = L({
97
97
  street1: "",
98
98
  street2: "",
99
99
  city: "",
100
100
  state: "",
101
101
  postalCode: ""
102
- }), R = w(() => ce(r.appearance)), U = w(
102
+ }), R = w(() => ve(i.appearance)), U = w(
103
103
  () => f.value && !$.value && u.value.trim().length >= 3 && p.value.length === 0 && !h.value
104
104
  );
105
- let G = null, D = 0;
105
+ let N = null, D = 0;
106
106
  ee(u, (b) => {
107
107
  if (I.value) return;
108
- if (l("change", { street1: b }), G && clearTimeout(G), !r.enableAddressSuggestions || b.trim().length < 3) {
108
+ if (l("change", { street1: b }), N && clearTimeout(N), !i.enableAddressSuggestions || b.trim().length < 3) {
109
109
  D += 1, p.value = [], f.value = !1, g.value = null, $.value = !1;
110
110
  return;
111
111
  }
112
112
  $.value = !0, g.value = null;
113
113
  const v = b.trim(), k = ++D;
114
- G = setTimeout(async () => {
114
+ N = setTimeout(async () => {
115
115
  l("address-suggestions-start", v);
116
116
  try {
117
117
  const S = await o.value.getAddressSuggestions(v);
@@ -119,12 +119,12 @@ const xe = /* @__PURE__ */ F({
119
119
  p.value = S.addresses, f.value = !0, l("address-suggestions-complete", S.addresses);
120
120
  } catch (S) {
121
121
  if (k !== D) return;
122
- const A = S instanceof Error ? S : new Error("Failed to fetch address suggestions");
123
- g.value = A.message, p.value = [], f.value = !0, l("error", A);
122
+ const T = S instanceof Error ? S : new Error("Failed to fetch address suggestions");
123
+ g.value = T.message, p.value = [], f.value = !0, l("error", T);
124
124
  } finally {
125
125
  k === D && ($.value = !1);
126
126
  }
127
- }, r.debounceMs);
127
+ }, i.debounceMs);
128
128
  });
129
129
  function x(b) {
130
130
  const v = [b.street1];
@@ -143,8 +143,8 @@ const xe = /* @__PURE__ */ F({
143
143
  h.value = !0, f.value = !1;
144
144
  }
145
145
  function J(b, v) {
146
- T.value[b] = v;
147
- const k = T.value;
146
+ B.value[b] = v;
147
+ const k = B.value;
148
148
  l("change", {
149
149
  street1: k.street1,
150
150
  ...k.street2 ? { street2: k.street2 } : {},
@@ -154,7 +154,7 @@ const xe = /* @__PURE__ */ F({
154
154
  });
155
155
  }
156
156
  async function z() {
157
- const b = T.value.street1.trim(), v = T.value.city.trim(), k = T.value.state.trim(), S = T.value.postalCode.trim(), A = T.value.street2.trim();
157
+ const b = B.value.street1.trim(), v = B.value.city.trim(), k = B.value.state.trim(), S = B.value.postalCode.trim(), T = B.value.street2.trim();
158
158
  if (!b || !v || !k || !S) {
159
159
  const P = "Please fill in all required fields";
160
160
  g.value = P, l("validation-error", P);
@@ -164,7 +164,7 @@ const xe = /* @__PURE__ */ F({
164
164
  try {
165
165
  l("address-select", {
166
166
  street1: b,
167
- street2: A || void 0,
167
+ street2: T || void 0,
168
168
  city: v,
169
169
  state: k,
170
170
  postalCode: S
@@ -189,13 +189,13 @@ const xe = /* @__PURE__ */ F({
189
189
  function se(b) {
190
190
  q.value && !q.value.contains(b.target) && O.value && !O.value.contains(b.target) && (f.value = !1);
191
191
  }
192
- return be(() => {
192
+ return ce(() => {
193
193
  document.addEventListener("mousedown", se), l("ready");
194
194
  }), oe(() => {
195
- document.removeEventListener("mousedown", se), G && clearTimeout(G), D += 1;
195
+ document.removeEventListener("mousedown", se), N && clearTimeout(N), D += 1;
196
196
  }), (b, v) => (d(), y("div", {
197
197
  ref_key: "containerRef",
198
- ref: B,
198
+ ref: A,
199
199
  class: e(b.$style.container),
200
200
  style: X(R.value)
201
201
  }, [
@@ -214,7 +214,7 @@ const xe = /* @__PURE__ */ F({
214
214
  id: `${c}-street1`,
215
215
  class: e(b.$style.manualFormInput),
216
216
  type: "text",
217
- value: T.value.street1,
217
+ value: B.value.street1,
218
218
  disabled: s.disabled,
219
219
  placeholder: "123 Main St",
220
220
  onInput: v[0] || (v[0] = (k) => J("street1", k.target.value))
@@ -231,7 +231,7 @@ const xe = /* @__PURE__ */ F({
231
231
  id: `${c}-street2`,
232
232
  class: e(b.$style.manualFormInput),
233
233
  type: "text",
234
- value: T.value.street2,
234
+ value: B.value.street2,
235
235
  disabled: s.disabled,
236
236
  placeholder: "Apt 4B",
237
237
  onInput: v[1] || (v[1] = (k) => J("street2", k.target.value))
@@ -248,7 +248,7 @@ const xe = /* @__PURE__ */ F({
248
248
  id: `${c}-city`,
249
249
  class: e(b.$style.manualFormInput),
250
250
  type: "text",
251
- value: T.value.city,
251
+ value: B.value.city,
252
252
  disabled: s.disabled,
253
253
  placeholder: "Austin",
254
254
  onInput: v[2] || (v[2] = (k) => J("city", k.target.value))
@@ -268,7 +268,7 @@ const xe = /* @__PURE__ */ F({
268
268
  id: `${c}-state`,
269
269
  class: e(b.$style.manualFormInput),
270
270
  type: "text",
271
- value: T.value.state,
271
+ value: B.value.state,
272
272
  disabled: s.disabled,
273
273
  placeholder: "TX",
274
274
  maxlength: "2",
@@ -286,7 +286,7 @@ const xe = /* @__PURE__ */ F({
286
286
  id: `${c}-postalCode`,
287
287
  class: e(b.$style.manualFormInput),
288
288
  type: "text",
289
- value: T.value.postalCode,
289
+ value: B.value.postalCode,
290
290
  disabled: s.disabled,
291
291
  placeholder: "78701",
292
292
  maxlength: "5",
@@ -459,10 +459,10 @@ const xe = /* @__PURE__ */ F({
459
459
  role: "option",
460
460
  "aria-selected": !1,
461
461
  tabindex: "0",
462
- onClick: (A) => Y(k),
462
+ onClick: (T) => Y(k),
463
463
  onKeydown: [
464
- Se(De((A) => Y(k), ["prevent"]), ["enter"]),
465
- Se(De((A) => Y(k), ["prevent"]), ["space"])
464
+ Se(De((T) => Y(k), ["prevent"]), ["enter"]),
465
+ Se(De((T) => Y(k), ["prevent"]), ["space"])
466
466
  ]
467
467
  }, _(x(k)), 43, Je))), 128)) : U.value ? (d(), y("button", {
468
468
  key: 2,
@@ -500,12 +500,12 @@ const xe = /* @__PURE__ */ F({
500
500
  submitButton: Tt
501
501
  }, Pt = {
502
502
  $style: Bt
503
- }, Yo = /* @__PURE__ */ V(ct, [["__cssModules", Pt]]), Ft = "https://api.mapbox.com/geocoding/v5/mapbox.places", Rt = "https://api.mapbox.com/styles/v1/mapbox/light-v11/static", Gt = "pk.eyJ1Ijoib3BlbmRvb3IiLCJhIjoiWXJ2bTJiRSJ9.lsnjT9yTNyyVzKRIzqxnqg", Nt = "https://images.opendoor.com/source/s3/imgdrop-production/2026-02-1771546296495-06570.png?service=partner-sdk";
504
- function Ot(s, n, i) {
505
- return s.startsWith("http://") || s.startsWith("https://") ? `url-${encodeURIComponent(s)}(${n},${i})` : `${s}(${n},${i})`;
503
+ }, Yo = /* @__PURE__ */ V(ct, [["__cssModules", Pt]]), Ft = "https://api.mapbox.com/geocoding/v5/mapbox.places", Rt = "https://api.mapbox.com/styles/v1/mapbox/light-v11/static", Nt = "pk.eyJ1Ijoib3BlbmRvb3IiLCJhIjoiWXJ2bTJiRSJ9.lsnjT9yTNyyVzKRIzqxnqg", Gt = "https://images.opendoor.com/source/s3/imgdrop-production/2026-02-1771546296495-06570.png?service=partner-sdk";
504
+ function Ot(s, n, r) {
505
+ return s.startsWith("http://") || s.startsWith("https://") ? `url-${encodeURIComponent(s)}(${n},${r})` : `${s}(${n},${r})`;
506
506
  }
507
507
  function Ht(s, n) {
508
- const i = (n == null ? void 0 : n.mapboxAccessToken) ?? Gt, r = (n == null ? void 0 : n.mapPinMarker) ?? Nt, l = (n == null ? void 0 : n.width) ?? 640, o = (n == null ? void 0 : n.height) ?? 320, c = (n == null ? void 0 : n.zoom) ?? 14, u = L(void 0), p = L("loading");
508
+ const r = (n == null ? void 0 : n.mapboxAccessToken) ?? Nt, i = (n == null ? void 0 : n.mapPinMarker) ?? Gt, l = (n == null ? void 0 : n.width) ?? 640, o = (n == null ? void 0 : n.height) ?? 320, c = (n == null ? void 0 : n.zoom) ?? 14, u = L(void 0), p = L("loading");
509
509
  let f = null;
510
510
  return ee(
511
511
  () => [
@@ -515,7 +515,7 @@ function Ht(s, n) {
515
515
  s.value.postalCode
516
516
  ],
517
517
  async () => {
518
- var I, B;
518
+ var I, A;
519
519
  f && f.abort();
520
520
  const $ = new AbortController();
521
521
  f = $, p.value = "loading";
@@ -526,20 +526,20 @@ function Ht(s, n) {
526
526
  g.postalCode
527
527
  ].join(" ");
528
528
  try {
529
- const q = `${Ft}/${encodeURIComponent(h)}.json?access_token=${i}&limit=1`, O = await fetch(q, { signal: $.signal });
529
+ const q = `${Ft}/${encodeURIComponent(h)}.json?access_token=${r}&limit=1`, O = await fetch(q, { signal: $.signal });
530
530
  if (!O.ok) {
531
531
  $.signal.aborted || (p.value = "error");
532
532
  return;
533
533
  }
534
- const T = await O.json();
534
+ const B = await O.json();
535
535
  if ($.signal.aborted) return;
536
- const R = (B = (I = T.features) == null ? void 0 : I[0]) == null ? void 0 : B.center;
536
+ const R = (A = (I = B.features) == null ? void 0 : I[0]) == null ? void 0 : A.center;
537
537
  if (!R) {
538
538
  p.value = "error";
539
539
  return;
540
540
  }
541
- const [U, G] = R, D = Ot(r, U, G);
542
- u.value = `${Rt}/${D}/${U},${G},${c}/${l}x${o}@2x?access_token=${i}&attribution=false&logo=false`, p.value = "loaded";
541
+ const [U, N] = R, D = Ot(i, U, N);
542
+ u.value = `${Rt}/${D}/${U},${N},${c}/${l}x${o}@2x?access_token=${r}&attribution=false&logo=false`, p.value = "loaded";
543
543
  } catch (q) {
544
544
  if (q instanceof DOMException && q.name === "AbortError") return;
545
545
  $.signal.aborted || (p.value = "error");
@@ -564,24 +564,24 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
564
564
  },
565
565
  emits: ["load", "error"],
566
566
  setup(s, { emit: n }) {
567
- const i = s, r = n, l = w(() => {
568
- const f = ce(i.appearance);
569
- return i.borderRadius && (f["border-radius"] = i.borderRadius), f;
567
+ const r = s, i = n, l = w(() => {
568
+ const f = ve(r.appearance);
569
+ return r.borderRadius && (f["border-radius"] = r.borderRadius), f;
570
570
  }), { url: o, status: c } = Ht(
571
- w(() => i.address),
571
+ w(() => r.address),
572
572
  {
573
- mapboxAccessToken: i.mapboxAccessToken,
574
- mapPinMarker: i.mapPinMarker,
575
- width: i.width,
576
- height: i.height,
577
- zoom: i.zoom
573
+ mapboxAccessToken: r.mapboxAccessToken,
574
+ mapPinMarker: r.mapPinMarker,
575
+ width: r.width,
576
+ height: r.height,
577
+ zoom: r.zoom
578
578
  }
579
579
  ), u = L(!1);
580
580
  ee(c, (f) => {
581
- f === "loading" && (u.value = !1), f === "error" && r("error", new Error("Failed to load map for address"));
581
+ f === "loading" && (u.value = !1), f === "error" && i("error", new Error("Failed to load map for address"));
582
582
  });
583
583
  function p() {
584
- u.value = !0, r("load");
584
+ u.value = !0, i("load");
585
585
  }
586
586
  return (f, $) => (d(), y("div", {
587
587
  class: e(f.$style.container),
@@ -610,21 +610,21 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
610
610
  },
611
611
  emits: ["confirm", "edit", "ready", "error"],
612
612
  setup(s, { emit: n }) {
613
- const i = s, r = n, l = L(""), o = L(!1), c = L(null), u = w(() => ce(i.appearance)), p = w(() => {
614
- const h = i.address;
613
+ const r = s, i = n, l = L(""), o = L(!1), c = L(null), u = w(() => ve(r.appearance)), p = w(() => {
614
+ const h = r.address;
615
615
  return `${h.street1 + (h.street2 ? ` ${h.street2}` : "")}, ${h.city}, ${h.state} ${h.postalCode}`;
616
616
  });
617
617
  function f() {
618
618
  if (!o.value && !l.value.trim()) {
619
619
  const h = "Please enter a unit number or select 'No unit number'";
620
- c.value = h, r("error", new Error(h));
620
+ c.value = h, i("error", new Error(h));
621
621
  return;
622
622
  }
623
623
  if (c.value = null, o.value) {
624
- const { street2: h, ...I } = i.address;
625
- r("confirm", I);
624
+ const { street2: h, ...I } = r.address;
625
+ i("confirm", I);
626
626
  } else
627
- r("confirm", { ...i.address, street2: l.value.trim() });
627
+ i("confirm", { ...r.address, street2: l.value.trim() });
628
628
  }
629
629
  function $() {
630
630
  o.value = !o.value, o.value && (l.value = "", c.value = null);
@@ -632,8 +632,8 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
632
632
  function g() {
633
633
  c.value && (c.value = null);
634
634
  }
635
- return be(() => {
636
- r("ready");
635
+ return ce(() => {
636
+ i("ready");
637
637
  }), (h, I) => (d(), y("div", {
638
638
  class: e(h.$style.container),
639
639
  style: X(u.value)
@@ -650,7 +650,7 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
650
650
  t("button", {
651
651
  class: e(h.$style.editLink),
652
652
  type: "button",
653
- onClick: I[0] || (I[0] = (B) => r("edit"))
653
+ onClick: I[0] || (I[0] = (A) => i("edit"))
654
654
  }, " Edit ", 2)
655
655
  ], 2),
656
656
  t("div", {
@@ -662,7 +662,7 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
662
662
  }, " Unit number, apt, or floor* ", 2),
663
663
  Ee(t("input", {
664
664
  id: "od-unit-number",
665
- "onUpdate:modelValue": I[1] || (I[1] = (B) => l.value = B),
665
+ "onUpdate:modelValue": I[1] || (I[1] = (A) => l.value = A),
666
666
  class: e(h.$style.input),
667
667
  type: "text",
668
668
  placeholder: "#1234",
@@ -723,7 +723,7 @@ const jt = ["src"], Vt = /* @__PURE__ */ F({
723
723
  }, ys = {
724
724
  $style: vs
725
725
  }, Jo = /* @__PURE__ */ V(Yt, [["__cssModules", ys]]);
726
- function Ae(s, n, i, r, l, o) {
726
+ function Ae(s, n, r, i, l, o) {
727
727
  const c = [
728
728
  s.on("answerChange", (u) => {
729
729
  var p;
@@ -731,10 +731,10 @@ function Ae(s, n, i, r, l, o) {
731
731
  }),
732
732
  s.on("pageChange", (u) => {
733
733
  var p;
734
- u.type === "pageChange" && (i.value = u.pageId, l.value = [...s.visiblePages], r.value = {}, (p = o.onPageChange) == null || p.call(o, u.pageIndex, u.pageId));
734
+ u.type === "pageChange" && (r.value = u.pageId, l.value = [...s.visiblePages], i.value = {}, (p = o.onPageChange) == null || p.call(o, u.pageIndex, u.pageId));
735
735
  }),
736
736
  s.on("validationError", (u) => {
737
- u.type === "validationError" && (r.value = u.errors);
737
+ u.type === "validationError" && (i.value = u.errors);
738
738
  }),
739
739
  s.on("submit", (u) => {
740
740
  u.type === "submit" && o.onSubmit(u.answers);
@@ -743,21 +743,21 @@ function Ae(s, n, i, r, l, o) {
743
743
  return () => c.forEach((u) => u());
744
744
  }
745
745
  function ps(s) {
746
- var R, U, G;
746
+ var R, U, N;
747
747
  let n = Me({
748
748
  initialAnswers: s.getInitialAnswers(),
749
749
  skipPages: (R = s.getSkipPages) == null ? void 0 : R.call(s)
750
750
  });
751
- const i = L(n.answers), r = L(((U = n.currentPage) == null ? void 0 : U.id) ?? ""), l = L({}), o = L(n.visiblePages);
751
+ const r = L(n.answers), i = L(((U = n.currentPage) == null ? void 0 : U.id) ?? ""), l = L({}), o = L(n.visiblePages);
752
752
  let c = Ae(
753
753
  n,
754
- i,
755
754
  r,
755
+ i,
756
756
  l,
757
757
  o,
758
758
  s
759
759
  );
760
- (G = s.onReady) == null || G.call(s), ee(
760
+ (N = s.onReady) == null || N.call(s), ee(
761
761
  () => {
762
762
  var D;
763
763
  return (((D = s.getSkipPages) == null ? void 0 : D.call(s)) ?? []).join("|");
@@ -767,10 +767,10 @@ function ps(s) {
767
767
  c(), n.destroy(), n = Me({
768
768
  initialAnswers: s.getInitialAnswers(),
769
769
  skipPages: (D = s.getSkipPages) == null ? void 0 : D.call(s)
770
- }), i.value = n.answers, r.value = ((x = n.currentPage) == null ? void 0 : x.id) ?? "", l.value = {}, o.value = n.visiblePages, c = Ae(
770
+ }), r.value = n.answers, i.value = ((x = n.currentPage) == null ? void 0 : x.id) ?? "", l.value = {}, o.value = n.visiblePages, c = Ae(
771
771
  n,
772
- i,
773
772
  r,
773
+ i,
774
774
  l,
775
775
  o,
776
776
  s
@@ -783,22 +783,22 @@ function ps(s) {
783
783
  });
784
784
  const p = w(() => {
785
785
  const D = o.value.findIndex(
786
- (x) => x.id === r.value
786
+ (x) => x.id === i.value
787
787
  );
788
788
  return D >= 0 ? D : 0;
789
789
  }), f = w(
790
790
  () => o.value[p.value]
791
- ), $ = w(() => r.value ? (i.value, n.getVisibleQuestionsForCurrentPage()) : []), g = w(() => o.value.length <= 1 ? 0 : Math.min(
791
+ ), $ = w(() => i.value ? (r.value, n.getVisibleQuestionsForCurrentPage()) : []), g = w(() => o.value.length <= 1 ? 0 : Math.min(
792
792
  1,
793
793
  Math.max(0, p.value / (o.value.length - 1))
794
794
  )), h = w(() => p.value === 0), I = w(
795
795
  () => o.value.length > 0 && p.value === o.value.length - 1
796
796
  );
797
- function B(D, x) {
797
+ function A(D, x) {
798
798
  n.setAnswer(D, x);
799
799
  }
800
800
  function q(D) {
801
- return i.value[D];
801
+ return r.value[D];
802
802
  }
803
803
  function O() {
804
804
  var x;
@@ -815,7 +815,7 @@ function ps(s) {
815
815
  console.error("[DtcOnboardingFlow] onError callback threw:", Y);
816
816
  }
817
817
  }
818
- function T() {
818
+ function B() {
819
819
  n.goToPrev();
820
820
  }
821
821
  return oe(() => {
@@ -826,15 +826,15 @@ function ps(s) {
826
826
  currentPageIndex: p,
827
827
  visiblePages: o,
828
828
  visibleQuestions: $,
829
- answers: i,
829
+ answers: r,
830
830
  validationErrors: l,
831
831
  progress: g,
832
832
  isFirstPage: h,
833
833
  isLastPage: I,
834
- setAnswer: B,
834
+ setAnswer: A,
835
835
  getAnswer: q,
836
836
  goToNext: O,
837
- goToPrev: T
837
+ goToPrev: B
838
838
  };
839
839
  }
840
840
  const fs = /* @__PURE__ */ F({
@@ -849,28 +849,28 @@ const fs = /* @__PURE__ */ F({
849
849
  onError: { type: Function }
850
850
  },
851
851
  setup(s) {
852
- const n = s, i = ps({
852
+ const n = s, r = ps({
853
853
  getInitialAnswers: () => n.initialAnswers,
854
854
  getSkipPages: () => n.skipPages,
855
- onSubmit: (r) => n.onSubmit(r),
856
- onPageChange: (r, l) => {
855
+ onSubmit: (i) => n.onSubmit(i),
856
+ onPageChange: (i, l) => {
857
857
  var o;
858
- return (o = n.onPageChange) == null ? void 0 : o.call(n, r, l);
858
+ return (o = n.onPageChange) == null ? void 0 : o.call(n, i, l);
859
859
  },
860
- onAnswerChange: (r, l) => {
860
+ onAnswerChange: (i, l) => {
861
861
  var o;
862
- return (o = n.onAnswerChange) == null ? void 0 : o.call(n, r, l);
862
+ return (o = n.onAnswerChange) == null ? void 0 : o.call(n, i, l);
863
863
  },
864
864
  onReady: () => {
865
- var r;
866
- return (r = n.onReady) == null ? void 0 : r.call(n);
865
+ var i;
866
+ return (i = n.onReady) == null ? void 0 : i.call(n);
867
867
  },
868
- onError: (r) => {
868
+ onError: (i) => {
869
869
  var l;
870
- return (l = n.onError) == null ? void 0 : l.call(n, r);
870
+ return (l = n.onError) == null ? void 0 : l.call(n, i);
871
871
  }
872
872
  });
873
- return ge("dtc-onboarding", i), (r, l) => de(r.$slots, "default");
873
+ return be("dtc-onboarding", r), (i, l) => de(i.$slots, "default");
874
874
  }
875
875
  }), hs = ["src"], ms = /* @__PURE__ */ F({
876
876
  __name: "DtcHeader",
@@ -880,18 +880,18 @@ const fs = /* @__PURE__ */ F({
880
880
  },
881
881
  emits: ["close"],
882
882
  setup(s, { emit: n }) {
883
- const i = n;
884
- return (r, l) => (d(), y("header", {
885
- class: e(r.$style.header)
883
+ const r = n;
884
+ return (i, l) => (d(), y("header", {
885
+ class: e(i.$style.header)
886
886
  }, [
887
887
  t("div", {
888
- class: e(r.$style.headerLogos)
888
+ class: e(i.$style.headerLogos)
889
889
  }, [
890
890
  s.partnerLogoUrl ? (d(), y("img", {
891
891
  key: 0,
892
892
  src: s.partnerLogoUrl,
893
893
  alt: "Partner",
894
- class: e(r.$style.headerPartnerLogo)
894
+ class: e(i.$style.headerPartnerLogo)
895
895
  }, null, 10, hs)) : E("", !0),
896
896
  (d(), y("svg", {
897
897
  width: "90",
@@ -901,7 +901,7 @@ const fs = /* @__PURE__ */ F({
901
901
  xmlns: "http://www.w3.org/2000/svg",
902
902
  "aria-label": "Opendoor",
903
903
  role: "img",
904
- class: e(r.$style.headerOpendoorLogo)
904
+ class: e(i.$style.headerOpendoorLogo)
905
905
  }, [...l[1] || (l[1] = [
906
906
  t("path", {
907
907
  d: "M21.8975 5.53219C22.0296 5.51725 22.144 5.62372 22.1396 5.7568L22.0928 7.21773H22.2148C23.2408 6.33834 24.6088 5.53316 26.3184 5.53316C28.6383 5.53337 31.1045 7.07197 31.1045 11.542C31.1044 16.6229 28.1252 18.8456 24.0469 18.8457C23.5341 18.8457 22.7277 18.748 22.1904 18.6015C22.1904 18.6015 22.2148 19.2369 22.2148 20.0918V23.4072C22.2148 23.5083 22.1393 23.593 22.0391 23.6045L18.5527 23.999C18.4349 24.0122 18.332 23.9191 18.332 23.8007V6.11324C18.332 6.01204 18.4082 5.92743 18.5088 5.91597L21.8975 5.53219ZM8.35254 1.33101C12.5528 1.33111 16.5088 3.8474 16.5088 9.90523C16.5088 16.3784 12.0884 18.8457 8.15625 18.8457C3.95617 18.8455 0 16.1584 0 10.2959C9.43202e-05 3.87138 4.42045 1.33101 8.35254 1.33101ZM38.9141 5.53219C42.245 5.53219 44.3351 7.17875 44.4541 11.4853C44.4565 11.5689 44.3887 11.6395 44.3047 11.6396H36.5518C36.4679 11.6398 36.4004 11.7102 36.4023 11.7939C36.5116 15.6741 38.0191 16.7451 40.502 16.7451C41.7135 16.745 42.6903 16.4632 43.5078 16.1005C43.5679 16.0738 43.6377 16.0896 43.6807 16.1396L44.0059 16.5214C44.0548 16.579 44.0546 16.6649 44.0029 16.7197C43.1121 17.6594 41.298 18.8457 38.9141 18.8457C34.6647 18.8457 32.54 16.3051 32.54 12.1523C32.5401 7.90199 35.6904 5.53219 38.9141 5.53219ZM71.8682 0.000935719C72.0069 -0.0114562 72.1257 0.100879 72.1191 0.240194C72.0964 0.716622 72.0527 1.87639 72.0527 3.13863V18.2412C72.0527 18.3558 71.9689 18.4538 71.8555 18.4697L68.5049 18.8437C68.3628 18.8638 68.2375 18.75 68.2432 18.6064L68.292 17.2578H68.1943C67.1441 18.1614 65.7768 18.8456 64.0674 18.8457C61.6496 18.8457 59.2804 17.087 59.2803 12.6416C59.2803 7.56051 62.5533 5.53219 66.3633 5.53219C67.0224 5.5322 67.706 5.65511 68.2188 5.80172C68.2188 5.80172 68.1699 4.89765 68.1699 4.01851V0.598592C68.1699 0.495514 68.2491 0.40955 68.3516 0.40035L71.8682 0.000935719ZM80.29 5.53219C83.831 5.53235 86.9325 7.65789 86.9326 12.1035C86.9326 16.7934 83.66 18.8455 80.29 18.8457C76.7489 18.8457 73.6719 16.6956 73.6719 12.2255C73.672 7.53545 76.993 5.53219 80.29 5.53219ZM94.8555 5.53219C98.3966 5.53219 101.498 7.65772 101.498 12.1035C101.498 16.7936 98.2258 18.8457 94.8555 18.8457C91.3146 18.8456 88.2373 16.6956 88.2373 12.2255C88.2375 7.53549 91.5587 5.53222 94.8555 5.53219ZM49.54 5.52828C49.6571 5.51515 49.7585 5.60852 49.7549 5.72652L49.707 7.26656H49.8047C51.0989 6.33849 52.7115 5.53219 54.4941 5.53219C56.5697 5.53235 57.6932 6.6075 57.6934 8.80562V18.3593C57.6931 18.4662 57.6057 18.5527 57.499 18.5527H53.9795C53.8728 18.5527 53.7854 18.4662 53.7852 18.3593V9.75875C53.7852 8.26873 53.2482 7.80466 52.1006 7.80465C51.2456 7.80465 50.3663 7.9998 49.8291 8.12203V18.3593C49.8289 18.4661 49.7423 18.5526 49.6357 18.5527H46.1396C46.033 18.5527 45.9465 18.4662 45.9463 18.3593V6.11324C45.9463 6.01204 46.0226 5.92724 46.123 5.91597L49.54 5.52828ZM110.574 5.53219C111.746 5.53219 112.574 6.1674 112.574 7.36422C112.574 8.53675 111.722 9.29195 110.77 9.29195C109.721 9.29192 109.354 8.85463 108.89 8.09762C108.743 7.82894 108.596 7.78023 108.376 7.78023C107.937 7.78032 107.375 8.09738 107.033 8.415V18.3222C107.033 18.4491 106.93 18.5527 106.803 18.5527H103.38C103.253 18.5527 103.15 18.4491 103.15 18.3222V6.11324C103.15 6.01203 103.226 5.92743 103.326 5.91597L106.703 5.53707C106.842 5.52148 106.963 5.63273 106.959 5.77242L106.911 7.41305H107.009C107.766 6.60703 109.158 5.53219 110.574 5.53219ZM80.2158 6.48531C78.6774 6.48551 77.7744 7.60933 77.7744 11.8105C77.7744 16.818 78.5799 17.8924 80.3623 17.8925C81.8279 17.8925 82.8291 17.0378 82.8291 12.3476C82.8291 7.41346 81.8766 6.48531 80.2158 6.48531ZM94.7822 6.48531C93.2437 6.48537 92.3399 7.60905 92.3398 11.8105C92.3398 16.8181 93.1462 17.8924 94.9287 17.8925C96.3942 17.8925 97.3955 17.0378 97.3955 12.3476C97.3955 7.41346 96.443 6.48531 94.7822 6.48531ZM24.1934 7.65816C23.2165 7.65816 22.6057 7.95117 22.2148 8.09762V16.9892C22.6546 17.5022 23.3141 17.8691 24.1445 17.8691C26.0737 17.8691 27.0996 16.8424 27.0996 12.372C27.0996 8.8791 26.0493 7.65823 24.1934 7.65816ZM8.20605 2.35738C5.83698 2.35738 4.63965 4.01812 4.63965 9.78316C4.63965 15.4746 5.56842 17.8203 8.30371 17.8203C10.7211 17.8201 11.8691 16.1825 11.8691 10.4423C11.8691 4.72668 10.8919 2.35759 8.20605 2.35738ZM66.2656 6.50972C64.5074 6.50972 63.2861 7.80421 63.2861 11.8349C63.2861 15.67 64.2631 16.916 66.1191 16.916C67.1198 16.9159 67.7791 16.5256 68.1699 16.3789V7.53512C67.7548 7.02239 67.1689 6.50989 66.2656 6.50972ZM38.7188 6.4609C37.4732 6.46096 36.4961 7.63335 36.3984 10.7109L40.5752 10.4912C40.5752 7.53568 40.1842 6.4609 38.7188 6.4609Z",
@@ -912,9 +912,9 @@ const fs = /* @__PURE__ */ F({
912
912
  s.showCloseButton ? (d(), y("button", {
913
913
  key: 0,
914
914
  type: "button",
915
- class: e(r.$style.headerCloseButton),
915
+ class: e(i.$style.headerCloseButton),
916
916
  "aria-label": "Close",
917
- onClick: l[0] || (l[0] = (o) => i("close"))
917
+ onClick: l[0] || (l[0] = (o) => r("close"))
918
918
  }, [...l[2] || (l[2] = [
919
919
  t("svg", {
920
920
  width: "24",
@@ -957,12 +957,12 @@ const fs = /* @__PURE__ */ F({
957
957
  },
958
958
  setup(s) {
959
959
  const n = Z("dtc-onboarding");
960
- let i = null;
960
+ let r = null;
961
961
  oe(() => {
962
- i && clearTimeout(i);
962
+ r && clearTimeout(r);
963
963
  });
964
- function r(o, c) {
965
- n.setAnswer(o.key, c), o.autoAdvance && (i && clearTimeout(i), i = setTimeout(() => n.goToNext(), 150));
964
+ function i(o, c) {
965
+ n.setAnswer(o.key, c), o.autoAdvance && (r && clearTimeout(r), r = setTimeout(() => n.goToNext(), 150));
966
966
  }
967
967
  function l(o, c, u) {
968
968
  var $, g;
@@ -971,7 +971,7 @@ const fs = /* @__PURE__ */ F({
971
971
  let f = null;
972
972
  if (o.key === "ArrowDown" || o.key === "ArrowRight" ? (o.preventDefault(), f = (c + 1) % p.length) : (o.key === "ArrowUp" || o.key === "ArrowLeft") && (o.preventDefault(), f = (c - 1 + p.length) % p.length), f !== null) {
973
973
  const h = ($ = o.currentTarget.closest('[role="radiogroup"]')) == null ? void 0 : $.querySelectorAll('[role="radio"]');
974
- (g = h == null ? void 0 : h[f]) == null || g.focus(), r(u, p[f].value);
974
+ (g = h == null ? void 0 : h[f]) == null || g.focus(), i(u, p[f].value);
975
975
  }
976
976
  }
977
977
  return (o, c) => (d(), y("div", {
@@ -989,7 +989,7 @@ const fs = /* @__PURE__ */ F({
989
989
  o.$style.radioCard,
990
990
  M(n).getAnswer(s.question.key) === u.value ? o.$style.radioCardSelected : ""
991
991
  ]),
992
- onClick: (f) => r(s.question, u.value),
992
+ onClick: (f) => i(s.question, u.value),
993
993
  onKeydown: (f) => l(f, p, s.question)
994
994
  }, [
995
995
  t("span", {
@@ -1016,9 +1016,9 @@ const fs = /* @__PURE__ */ F({
1016
1016
  fieldError: Bs
1017
1017
  }, Fs = {
1018
1018
  $style: Ps
1019
- }, Rs = /* @__PURE__ */ V(Ds, [["__cssModules", Fs]]), Gs = "https://images.opendoor.com/source/s3/imgdrop-production", Ns = "service=reception-fe&dpr=2&fit=scale-down";
1019
+ }, Rs = /* @__PURE__ */ V(Ds, [["__cssModules", Fs]]), Ns = "https://images.opendoor.com/source/s3/imgdrop-production", Gs = "service=reception-fe&dpr=2&fit=scale-down";
1020
1020
  function H(s, n = "3:2-sm") {
1021
- return `${Gs}/${s}?${Ns}&preset=${n}`;
1021
+ return `${Ns}/${s}?${Gs}&preset=${n}`;
1022
1022
  }
1023
1023
  const Os = {
1024
1024
  // Kitchen
@@ -1052,12 +1052,12 @@ const Os = {
1052
1052
  },
1053
1053
  setup(s) {
1054
1054
  const n = Z("dtc-onboarding");
1055
- let i = null;
1055
+ let r = null;
1056
1056
  oe(() => {
1057
- i && clearTimeout(i);
1057
+ r && clearTimeout(r);
1058
1058
  });
1059
- function r(o, c) {
1060
- n.setAnswer(o.key, c), o.autoAdvance && (i && clearTimeout(i), i = setTimeout(() => n.goToNext(), 300));
1059
+ function i(o, c) {
1060
+ n.setAnswer(o.key, c), o.autoAdvance && (r && clearTimeout(r), r = setTimeout(() => n.goToNext(), 300));
1061
1061
  }
1062
1062
  function l(o) {
1063
1063
  return o ? Os[o] : void 0;
@@ -1076,7 +1076,7 @@ const Os = {
1076
1076
  o.$style.imageCard,
1077
1077
  M(n).getAnswer(s.question.key) === u.value ? o.$style.imageCardSelected : ""
1078
1078
  ]),
1079
- onClick: (p) => r(s.question, u.value)
1079
+ onClick: (p) => i(s.question, u.value)
1080
1080
  }, [
1081
1081
  l(u.imageId) ? (d(), y("img", {
1082
1082
  key: 0,
@@ -1122,19 +1122,19 @@ const Os = {
1122
1122
  question: {}
1123
1123
  },
1124
1124
  setup(s) {
1125
- const n = s, i = Z("dtc-onboarding"), r = w(
1126
- () => i.getAnswer(n.question.key) ?? []
1125
+ const n = s, r = Z("dtc-onboarding"), i = w(
1126
+ () => r.getAnswer(n.question.key) ?? []
1127
1127
  ), l = w(
1128
- () => i.validationErrors.value[n.question.key]
1128
+ () => r.validationErrors.value[n.question.key]
1129
1129
  );
1130
1130
  function o(c) {
1131
1131
  var f;
1132
1132
  const u = (f = n.question.options) == null ? void 0 : f.find(($) => $.value === c);
1133
1133
  if (u != null && u.exclusive) {
1134
- i.setAnswer(n.question.key, [c]);
1134
+ r.setAnswer(n.question.key, [c]);
1135
1135
  return;
1136
1136
  }
1137
- const p = r.value.filter(
1137
+ const p = i.value.filter(
1138
1138
  ($) => {
1139
1139
  var g, h;
1140
1140
  return !((h = (g = n.question.options) == null ? void 0 : g.find((I) => I.value === $)) != null && h.exclusive);
@@ -1142,9 +1142,9 @@ const Os = {
1142
1142
  );
1143
1143
  if (p.includes(c)) {
1144
1144
  const $ = p.filter((g) => g !== c);
1145
- i.setAnswer(n.question.key, $.length > 0 ? $ : void 0);
1145
+ r.setAnswer(n.question.key, $.length > 0 ? $ : void 0);
1146
1146
  } else
1147
- i.setAnswer(n.question.key, [...p, c]);
1147
+ r.setAnswer(n.question.key, [...p, c]);
1148
1148
  }
1149
1149
  return (c, u) => (d(), y("div", {
1150
1150
  class: e(c.$style.checkboxCardGroup),
@@ -1155,10 +1155,10 @@ const Os = {
1155
1155
  key: String(p.value),
1156
1156
  type: "button",
1157
1157
  role: "checkbox",
1158
- "aria-checked": r.value.includes(String(p.value)),
1158
+ "aria-checked": i.value.includes(String(p.value)),
1159
1159
  class: e([
1160
1160
  c.$style.checkboxCard,
1161
- r.value.includes(String(p.value)) ? c.$style.checkboxCardSelected : ""
1161
+ i.value.includes(String(p.value)) ? c.$style.checkboxCardSelected : ""
1162
1162
  ]),
1163
1163
  onClick: (f) => o(String(p.value))
1164
1164
  }, [
@@ -1176,10 +1176,10 @@ const Os = {
1176
1176
  t("span", {
1177
1177
  class: e([
1178
1178
  c.$style.checkboxIndicator,
1179
- r.value.includes(String(p.value)) ? c.$style.checkboxIndicatorChecked : ""
1179
+ i.value.includes(String(p.value)) ? c.$style.checkboxIndicatorChecked : ""
1180
1180
  ])
1181
1181
  }, [
1182
- r.value.includes(String(p.value)) ? (d(), y("svg", nn, [...u[0] || (u[0] = [
1182
+ i.value.includes(String(p.value)) ? (d(), y("svg", nn, [...u[0] || (u[0] = [
1183
1183
  t("path", {
1184
1184
  d: "M2 6l3 3 5-5",
1185
1185
  stroke: "currentColor",
@@ -1216,12 +1216,12 @@ const Os = {
1216
1216
  },
1217
1217
  setup(s) {
1218
1218
  let n = 0;
1219
- const i = s, r = Z("dtc-onboarding"), l = `dd-${++n}`, o = w(() => r.getAnswer(i.question.key)), c = w(
1220
- () => r.validationErrors.value[i.question.key]
1219
+ const r = s, i = Z("dtc-onboarding"), l = `dd-${++n}`, o = w(() => i.getAnswer(r.question.key)), c = w(
1220
+ () => i.validationErrors.value[r.question.key]
1221
1221
  );
1222
1222
  function u(p) {
1223
1223
  const f = p.target.value;
1224
- i.question.type === "number" && f !== "" ? r.setAnswer(i.question.key, Number(f)) : r.setAnswer(i.question.key, f || void 0);
1224
+ r.question.type === "number" && f !== "" ? i.setAnswer(r.question.key, Number(f)) : i.setAnswer(r.question.key, f || void 0);
1225
1225
  }
1226
1226
  return (p, f) => (d(), y("div", {
1227
1227
  class: e(p.$style.fieldGroup)
@@ -1272,20 +1272,20 @@ const Os = {
1272
1272
  },
1273
1273
  setup(s) {
1274
1274
  let n = 0;
1275
- const i = s, r = Z("dtc-onboarding"), l = `ti-${++n}`, o = w(() => r.getAnswer(i.question.key)), c = w(
1276
- () => r.validationErrors.value[i.question.key]
1275
+ const r = s, i = Z("dtc-onboarding"), l = `ti-${++n}`, o = w(() => i.getAnswer(r.question.key)), c = w(
1276
+ () => i.validationErrors.value[r.question.key]
1277
1277
  ), u = w(
1278
1278
  () => o.value !== void 0 && o.value !== null ? String(o.value) : ""
1279
- ), p = w(() => i.question.type === "number" ? "text" : i.question.style === "email" ? "email" : "text"), f = w(
1280
- () => i.question.type === "number" ? "numeric" : void 0
1279
+ ), p = w(() => r.question.type === "number" ? "text" : r.question.style === "email" ? "email" : "text"), f = w(
1280
+ () => r.question.type === "number" ? "numeric" : void 0
1281
1281
  );
1282
1282
  function $(g) {
1283
1283
  const h = g.target.value;
1284
- if (i.question.type === "number") {
1285
- const I = h.replace(/[^0-9.]/g, ""), B = I === "" ? void 0 : Number(I), q = B !== void 0 && isNaN(B) ? void 0 : B;
1286
- r.setAnswer(i.question.key, q);
1284
+ if (r.question.type === "number") {
1285
+ const I = h.replace(/[^0-9.]/g, ""), A = I === "" ? void 0 : Number(I), q = A !== void 0 && isNaN(A) ? void 0 : A;
1286
+ i.setAnswer(r.question.key, q);
1287
1287
  } else
1288
- r.setAnswer(i.question.key, h || void 0);
1288
+ i.setAnswer(r.question.key, h || void 0);
1289
1289
  }
1290
1290
  return (g, h) => (d(), y("div", {
1291
1291
  class: e(g.$style.fieldGroup)
@@ -1325,10 +1325,10 @@ const Os = {
1325
1325
  }, _(c.value), 11, Pn)) : E("", !0)
1326
1326
  ], 2));
1327
1327
  }
1328
- }), Rn = "_fieldGroup_1jlim_2", Gn = "_fieldLabel_1jlim_8", Nn = "_fieldDescription_1jlim_15", On = "_fieldInputWrapper_1jlim_22", Hn = "_fieldInput_1jlim_22", jn = "_fieldInputError_1jlim_60", Vn = "_fieldSuffix_1jlim_64", xn = "_fieldError_1jlim_73", Un = {
1328
+ }), Rn = "_fieldGroup_1jlim_2", Nn = "_fieldLabel_1jlim_8", Gn = "_fieldDescription_1jlim_15", On = "_fieldInputWrapper_1jlim_22", Hn = "_fieldInput_1jlim_22", jn = "_fieldInputError_1jlim_60", Vn = "_fieldSuffix_1jlim_64", xn = "_fieldError_1jlim_73", Un = {
1329
1329
  fieldGroup: Rn,
1330
- fieldLabel: Gn,
1331
- fieldDescription: Nn,
1330
+ fieldLabel: Nn,
1331
+ fieldDescription: Gn,
1332
1332
  fieldInputWrapper: On,
1333
1333
  fieldInput: Hn,
1334
1334
  fieldInputError: jn,
@@ -1343,15 +1343,15 @@ const Os = {
1343
1343
  },
1344
1344
  setup(s) {
1345
1345
  let n = 0;
1346
- const i = s, r = Z("dtc-onboarding"), l = `ci-${++n}`, o = w(() => r.getAnswer(i.question.key)), c = w(
1347
- () => r.validationErrors.value[i.question.key]
1346
+ const r = s, i = Z("dtc-onboarding"), l = `ci-${++n}`, o = w(() => i.getAnswer(r.question.key)), c = w(
1347
+ () => i.validationErrors.value[r.question.key]
1348
1348
  ), u = w(
1349
1349
  () => o.value !== void 0 && o.value !== null ? String(o.value) : ""
1350
1350
  );
1351
1351
  function p(f) {
1352
1352
  const $ = f.target.value.replace(/[^0-9]/g, ""), g = $ === "" ? void 0 : Number($);
1353
- r.setAnswer(
1354
- i.question.key,
1353
+ i.setAnswer(
1354
+ r.question.key,
1355
1355
  g !== void 0 && isNaN(g) ? void 0 : g
1356
1356
  );
1357
1357
  }
@@ -1405,10 +1405,10 @@ const Os = {
1405
1405
  },
1406
1406
  setup(s) {
1407
1407
  let n = 0;
1408
- const i = s, r = Z("dtc-onboarding"), l = `pi-${++n}`, o = w(
1409
- () => r.getAnswer(i.question.key) ?? ""
1408
+ const r = s, i = Z("dtc-onboarding"), l = `pi-${++n}`, o = w(
1409
+ () => i.getAnswer(r.question.key) ?? ""
1410
1410
  ), c = w(
1411
- () => r.validationErrors.value[i.question.key]
1411
+ () => i.validationErrors.value[r.question.key]
1412
1412
  );
1413
1413
  function u(f) {
1414
1414
  const $ = f.replace(/\D/g, "").slice(0, 10);
@@ -1416,7 +1416,7 @@ const Os = {
1416
1416
  }
1417
1417
  function p(f) {
1418
1418
  const g = f.target.value.replace(/\D/g, "").slice(0, 10);
1419
- r.setAnswer(i.question.key, g || void 0);
1419
+ i.setAnswer(r.question.key, g || void 0);
1420
1420
  }
1421
1421
  return (f, $) => (d(), y("div", {
1422
1422
  class: e(f.$style.fieldGroup)
@@ -1457,13 +1457,13 @@ const Os = {
1457
1457
  question: {}
1458
1458
  },
1459
1459
  setup(s) {
1460
- const n = s, i = Z("dtc-onboarding"), r = Z("dtc-consent-slots", {}), l = w(
1461
- () => i.getAnswer(n.question.key)
1460
+ const n = s, r = Z("dtc-onboarding"), i = Z("dtc-consent-slots", {}), l = w(
1461
+ () => r.getAnswer(n.question.key)
1462
1462
  ), o = w(() => n.question.label), c = w(
1463
- () => n.question.key === "seller.sms_opt_in" && !!r["sms-consent-text"]
1463
+ () => n.question.key === "seller.sms_opt_in" && !!i["sms-consent-text"]
1464
1464
  );
1465
1465
  function u(p) {
1466
- i.setAnswer(
1466
+ r.setAnswer(
1467
1467
  n.question.key,
1468
1468
  p.target.checked
1469
1469
  );
@@ -1485,9 +1485,9 @@ const Os = {
1485
1485
  }, [
1486
1486
  c.value ? (d(), K(Be(() => {
1487
1487
  var $, g;
1488
- return (g = ($ = M(r))["sms-consent-text"]) == null ? void 0 : g.call($);
1488
+ return (g = ($ = M(i))["sms-consent-text"]) == null ? void 0 : g.call($);
1489
1489
  }), { key: 0 })) : (d(), y(j, { key: 1 }, [
1490
- me(_(o.value), 1)
1490
+ ge(_(o.value), 1)
1491
1491
  ], 64))
1492
1492
  ], 2)
1493
1493
  ], 2)
@@ -1500,51 +1500,51 @@ const Os = {
1500
1500
  toggleText: La
1501
1501
  }, Sa = {
1502
1502
  $style: Ia
1503
- }, Da = /* @__PURE__ */ V(Ca, [["__cssModules", Sa]]), Ea = ["value", "placeholder", "aria-label", "aria-expanded", "aria-invalid", "aria-describedby", "aria-controls", "aria-activedescendant"], qa = ["id", "aria-selected", "onClick"], Ma = ["id"], Te = 4, he = 8, Aa = 240, Ta = 80, Ba = /* @__PURE__ */ F({
1503
+ }, Da = /* @__PURE__ */ V(Ca, [["__cssModules", Sa]]), Ea = ["value", "placeholder", "aria-label", "aria-expanded", "aria-invalid", "aria-describedby", "aria-controls", "aria-activedescendant"], qa = ["id", "aria-selected", "onClick"], Ma = ["id"], Te = 4, me = 8, Aa = 240, Ta = 80, Ba = /* @__PURE__ */ F({
1504
1504
  __name: "SearchableDropdownInput",
1505
1505
  props: {
1506
1506
  question: {}
1507
1507
  },
1508
1508
  setup(s) {
1509
1509
  let n = 0;
1510
- function i(v) {
1510
+ function r(v) {
1511
1511
  const k = {};
1512
1512
  for (let S = v; S; S = S.parentElement) {
1513
- const A = S.style;
1514
- for (let P = 0; P < A.length; P++) {
1515
- const W = A[P];
1516
- W.startsWith("--od-") && !(W in k) && (k[W] = A.getPropertyValue(W));
1513
+ const T = S.style;
1514
+ for (let P = 0; P < T.length; P++) {
1515
+ const W = T[P];
1516
+ W.startsWith("--od-") && !(W in k) && (k[W] = T.getPropertyValue(W));
1517
1517
  }
1518
1518
  }
1519
1519
  return k;
1520
1520
  }
1521
- const r = s, l = Z("dtc-onboarding"), o = Z(
1521
+ const i = s, l = Z("dtc-onboarding"), o = Z(
1522
1522
  "opendoor-client",
1523
1523
  void 0
1524
- ), c = `sd-${++n}`, u = `${c}-${r.question.key}-listbox`, p = `${c}-${r.question.key}-combobox`, f = w(
1525
- () => l.getAnswer(r.question.key)
1524
+ ), c = `sd-${++n}`, u = `${c}-${i.question.key}-listbox`, p = `${c}-${i.question.key}-combobox`, f = w(
1525
+ () => l.getAnswer(i.question.key)
1526
1526
  ), $ = w(
1527
- () => l.validationErrors.value[r.question.key]
1528
- ), g = L(""), h = L(!1), I = L([]), B = L(!1), q = L(-1), O = L(null), T = L(null), R = L(null), U = L(null), G = L({});
1527
+ () => l.validationErrors.value[i.question.key]
1528
+ ), g = L(""), h = L(!1), I = L([]), A = L(!1), q = L(-1), O = L(null), B = L(null), R = L(null), U = L(null), N = L({});
1529
1529
  ee(
1530
- [() => r.question.dataSource, () => r.question.options, () => o == null ? void 0 : o.value],
1530
+ [() => i.question.dataSource, () => i.question.options, () => o == null ? void 0 : o.value],
1531
1531
  (v, k, S) => {
1532
- let A = !1;
1532
+ let T = !1;
1533
1533
  S(() => {
1534
- A = !0;
1535
- }), r.question.dataSource === "homebuilders" && (o != null && o.value) ? (B.value = !0, o.value.getHomebuilders().then((P) => {
1536
- A || (I.value = P.homebuilders.map((W) => ({
1534
+ T = !0;
1535
+ }), i.question.dataSource === "homebuilders" && (o != null && o.value) ? (A.value = !0, o.value.getHomebuilders().then((P) => {
1536
+ T || (I.value = P.homebuilders.map((W) => ({
1537
1537
  label: W.displayName,
1538
1538
  value: W.identifier
1539
1539
  })));
1540
1540
  }).catch(() => {
1541
- A || (r.question.options ? I.value = r.question.options.map((P) => ({
1541
+ T || (i.question.options ? I.value = i.question.options.map((P) => ({
1542
1542
  label: P.label,
1543
1543
  value: String(P.value)
1544
1544
  })) : I.value = []);
1545
1545
  }).finally(() => {
1546
- A || (B.value = !1);
1547
- })) : r.question.options ? I.value = r.question.options.map((P) => ({
1546
+ T || (A.value = !1);
1547
+ })) : i.question.options ? I.value = i.question.options.map((P) => ({
1548
1548
  label: P.label,
1549
1549
  value: String(P.value)
1550
1550
  })) : I.value = [];
@@ -1562,7 +1562,7 @@ const Os = {
1562
1562
  }
1563
1563
  );
1564
1564
  function Y(v) {
1565
- l.setAnswer(r.question.key, v), h.value = !1, g.value = "", q.value = -1;
1565
+ l.setAnswer(i.question.key, v), h.value = !1, g.value = "", q.value = -1;
1566
1566
  }
1567
1567
  function re(v) {
1568
1568
  g.value = v.target.value, q.value = -1, h.value || (h.value = !0);
@@ -1588,16 +1588,16 @@ const Os = {
1588
1588
  }
1589
1589
  }
1590
1590
  function z() {
1591
- const v = T.value;
1591
+ const v = B.value;
1592
1592
  if (!v) return;
1593
- const k = v.getBoundingClientRect(), S = window.visualViewport, A = (S == null ? void 0 : S.height) ?? window.innerHeight, P = (S == null ? void 0 : S.width) ?? window.innerWidth, W = (S == null ? void 0 : S.offsetTop) ?? 0, ve = (S == null ? void 0 : S.offsetLeft) ?? 0, ye = W + A - k.bottom - Te - he, Ce = Math.max(
1593
+ const k = v.getBoundingClientRect(), S = window.visualViewport, T = (S == null ? void 0 : S.height) ?? window.innerHeight, P = (S == null ? void 0 : S.width) ?? window.innerWidth, W = (S == null ? void 0 : S.offsetTop) ?? 0, ye = (S == null ? void 0 : S.offsetLeft) ?? 0, pe = W + T - k.bottom - Te - me, Ce = Math.max(
1594
1594
  Ta,
1595
- Math.min(Aa, ye)
1596
- ), pe = Math.min(k.width, P - he * 2), ke = ve + he, _e = ve + P - pe - he, we = Math.max(ke, Math.min(k.left, _e));
1595
+ Math.min(Aa, pe)
1596
+ ), fe = Math.min(k.width, P - me * 2), ke = ye + me, _e = ye + P - fe - me, we = Math.max(ke, Math.min(k.left, _e));
1597
1597
  U.value = {
1598
1598
  top: k.bottom + window.scrollY + Te,
1599
1599
  left: we + window.scrollX,
1600
- width: pe,
1600
+ width: fe,
1601
1601
  maxHeight: Ce
1602
1602
  };
1603
1603
  }
@@ -1610,7 +1610,7 @@ const Os = {
1610
1610
  right: "auto",
1611
1611
  width: `${v.width}px`,
1612
1612
  maxHeight: `${v.maxHeight}px`,
1613
- ...G.value
1613
+ ...N.value
1614
1614
  } : { display: "none" };
1615
1615
  });
1616
1616
  let te = null;
@@ -1623,14 +1623,14 @@ const Os = {
1623
1623
  window.removeEventListener("scroll", z, !0), window.removeEventListener("resize", z), v == null || v.removeEventListener("resize", z), v == null || v.removeEventListener("scroll", z), te !== null && (window.clearTimeout(te), te = null);
1624
1624
  }
1625
1625
  ee(h, (v) => {
1626
- v ? (T.value && (G.value = i(T.value)), z(), ie(), te = window.setTimeout(z, 300)) : (U.value = null, se());
1626
+ v ? (B.value && (N.value = r(B.value)), z(), ie(), te = window.setTimeout(z, 300)) : (U.value = null, se());
1627
1627
  });
1628
1628
  function b(v) {
1629
- var S, A;
1629
+ var S, T;
1630
1630
  const k = v.target;
1631
- (S = O.value) != null && S.contains(k) || (A = R.value) != null && A.contains(k) || (h.value = !1);
1631
+ (S = O.value) != null && S.contains(k) || (T = R.value) != null && T.contains(k) || (h.value = !1);
1632
1632
  }
1633
- return be(() => {
1633
+ return ce(() => {
1634
1634
  document.addEventListener("mousedown", b);
1635
1635
  }), oe(() => {
1636
1636
  document.removeEventListener("mousedown", b), se();
@@ -1641,7 +1641,7 @@ const Os = {
1641
1641
  }, [
1642
1642
  t("div", {
1643
1643
  ref_key: "anchorRef",
1644
- ref: T,
1644
+ ref: B,
1645
1645
  class: e(v.$style.searchableDropdown)
1646
1646
  }, [
1647
1647
  t("input", {
@@ -1685,7 +1685,7 @@ const Os = {
1685
1685
  ], -1)
1686
1686
  ])], 2)
1687
1687
  ], 2),
1688
- h.value ? (d(), K(Ne, {
1688
+ h.value ? (d(), K(Ge, {
1689
1689
  key: 0,
1690
1690
  to: "body"
1691
1691
  }, [
@@ -1697,22 +1697,22 @@ const Os = {
1697
1697
  id: u,
1698
1698
  style: X(ae.value)
1699
1699
  }, [
1700
- B.value ? (d(), y("div", {
1700
+ A.value ? (d(), y("div", {
1701
1701
  key: 0,
1702
1702
  class: e(v.$style.searchableDropdownEmpty)
1703
1703
  }, " Loading... ", 2)) : D.value.length === 0 ? (d(), y("div", {
1704
1704
  key: 1,
1705
1705
  class: e(v.$style.searchableDropdownEmpty)
1706
- }, " No results found ", 2)) : (d(!0), y(j, { key: 2 }, Q(D.value, (S, A) => (d(), y("button", {
1706
+ }, " No results found ", 2)) : (d(!0), y(j, { key: 2 }, Q(D.value, (S, T) => (d(), y("button", {
1707
1707
  key: S.value,
1708
- id: `${u}-option-${A}`,
1708
+ id: `${u}-option-${T}`,
1709
1709
  type: "button",
1710
1710
  role: "option",
1711
1711
  "aria-selected": S.value === f.value,
1712
1712
  class: e([
1713
1713
  v.$style.searchableDropdownOption,
1714
1714
  S.value === f.value ? v.$style.searchableDropdownOptionSelected : "",
1715
- A === q.value ? v.$style.searchableDropdownOptionHighlighted : ""
1715
+ T === q.value ? v.$style.searchableDropdownOptionHighlighted : ""
1716
1716
  ]),
1717
1717
  onMousedown: k[2] || (k[2] = De(() => {
1718
1718
  }, ["prevent"])),
@@ -1728,12 +1728,12 @@ const Os = {
1728
1728
  }, _($.value), 11, Ma)) : E("", !0)
1729
1729
  ], 2));
1730
1730
  }
1731
- }), Pa = "_fieldGroup_1adip_2", Fa = "_searchableDropdown_1adip_8", Ra = "_fieldInput_1adip_14", Ga = "_searchableDropdownToggle_1adip_40", Na = "_searchableDropdownList_1adip_53", Oa = "_searchableDropdownOption_1adip_62", Ha = "_searchableDropdownOptionSelected_1adip_80", ja = "_searchableDropdownOptionHighlighted_1adip_85", Va = "_searchableDropdownEmpty_1adip_89", xa = "_fieldError_1adip_95", Ua = {
1731
+ }), Pa = "_fieldGroup_1adip_2", Fa = "_searchableDropdown_1adip_8", Ra = "_fieldInput_1adip_14", Na = "_searchableDropdownToggle_1adip_40", Ga = "_searchableDropdownList_1adip_53", Oa = "_searchableDropdownOption_1adip_62", Ha = "_searchableDropdownOptionSelected_1adip_80", ja = "_searchableDropdownOptionHighlighted_1adip_85", Va = "_searchableDropdownEmpty_1adip_89", xa = "_fieldError_1adip_95", Ua = {
1732
1732
  fieldGroup: Pa,
1733
1733
  searchableDropdown: Fa,
1734
1734
  fieldInput: Ra,
1735
- searchableDropdownToggle: Ga,
1736
- searchableDropdownList: Na,
1735
+ searchableDropdownToggle: Na,
1736
+ searchableDropdownList: Ga,
1737
1737
  searchableDropdownOption: Oa,
1738
1738
  searchableDropdownOptionSelected: Ha,
1739
1739
  searchableDropdownOptionHighlighted: ja,
@@ -1744,7 +1744,7 @@ const Os = {
1744
1744
  }, za = /* @__PURE__ */ V(Ba, [["__cssModules", Za]]), Wa = ["aria-label"], Ka = /* @__PURE__ */ F({
1745
1745
  __name: "DtcPage",
1746
1746
  setup(s) {
1747
- const n = Z("dtc-onboarding"), i = Z("dtc-consent-slots", {}), r = L(null);
1747
+ const n = Z("dtc-onboarding"), r = Z("dtc-consent-slots", {}), i = L(null);
1748
1748
  return ee(
1749
1749
  () => {
1750
1750
  var l;
@@ -1752,14 +1752,14 @@ const Os = {
1752
1752
  },
1753
1753
  () => {
1754
1754
  var l, o, c;
1755
- (o = (l = r.value) == null ? void 0 : l.scrollTo) == null || o.call(l, { top: 0, behavior: "smooth" }), (c = r.value) == null || c.focus();
1755
+ (o = (l = i.value) == null ? void 0 : l.scrollTo) == null || o.call(l, { top: 0, behavior: "smooth" }), (c = i.value) == null || c.focus();
1756
1756
  }
1757
1757
  ), (l, o) => {
1758
1758
  var c;
1759
1759
  return M(n).currentPage.value ? (d(), y("div", {
1760
1760
  key: 0,
1761
1761
  ref_key: "containerRef",
1762
- ref: r,
1762
+ ref: i,
1763
1763
  class: e(l.$style.pageContent),
1764
1764
  tabindex: "-1",
1765
1765
  role: "region",
@@ -1803,28 +1803,28 @@ const Os = {
1803
1803
  class: e(l.$style.ctaButton),
1804
1804
  onClick: o[0] || (o[0] = (u) => M(n).goToNext())
1805
1805
  }, _(M(n).currentPage.value.submitLabel ?? "Next"), 3),
1806
- M(i)["contact-consent-text"] ? (d(), K(Be(() => {
1806
+ M(r)["contact-consent-text"] ? (d(), K(Be(() => {
1807
1807
  var u, p;
1808
- return (p = (u = M(i))["contact-consent-text"]) == null ? void 0 : p.call(u);
1808
+ return (p = (u = M(r))["contact-consent-text"]) == null ? void 0 : p.call(u);
1809
1809
  }), { key: 0 })) : (d(), y("p", {
1810
1810
  key: 1,
1811
1811
  class: e(l.$style.consentText)
1812
1812
  }, [
1813
- me(" By pressing “" + _(M(n).currentPage.value.submitLabel ?? "Next") + ",” I agree to Opendoor’s ", 1),
1813
+ ge(" By pressing “" + _(M(n).currentPage.value.submitLabel ?? "Next") + ",” I agree to Opendoor’s ", 1),
1814
1814
  t("a", {
1815
1815
  href: "https://www.opendoor.com/terms",
1816
1816
  target: "_blank",
1817
1817
  rel: "noopener noreferrer",
1818
1818
  class: e(l.$style.consentLink)
1819
1819
  }, "Terms of Service", 2),
1820
- o[1] || (o[1] = me(" and ", -1)),
1820
+ o[1] || (o[1] = ge(" and ", -1)),
1821
1821
  t("a", {
1822
1822
  href: "https://www.opendoor.com/privacy",
1823
1823
  target: "_blank",
1824
1824
  rel: "noopener noreferrer",
1825
1825
  class: e(l.$style.consentLink)
1826
1826
  }, "Privacy Policy", 2),
1827
- o[2] || (o[2] = me(". ", -1))
1827
+ o[2] || (o[2] = ge(". ", -1))
1828
1828
  ], 2))
1829
1829
  ], 64)) : E("", !0)
1830
1830
  ], 10, Wa)) : E("", !0);
@@ -1843,19 +1843,19 @@ const Os = {
1843
1843
  progress: {}
1844
1844
  },
1845
1845
  setup(s) {
1846
- const n = s, i = w(
1846
+ const n = s, r = w(
1847
1847
  () => Math.min(100, Math.max(0, n.progress * 100))
1848
1848
  );
1849
- return (r, l) => (d(), y("div", {
1850
- class: e(r.$style.progressBar),
1849
+ return (i, l) => (d(), y("div", {
1850
+ class: e(i.$style.progressBar),
1851
1851
  role: "progressbar",
1852
- "aria-valuenow": i.value,
1852
+ "aria-valuenow": r.value,
1853
1853
  "aria-valuemin": 0,
1854
1854
  "aria-valuemax": 100
1855
1855
  }, [
1856
1856
  t("div", {
1857
- class: e(r.$style.progressBarFill),
1858
- style: X({ width: `${i.value}%` })
1857
+ class: e(i.$style.progressBarFill),
1858
+ style: X({ width: `${r.value}%` })
1859
1859
  }, null, 6)
1860
1860
  ], 10, nl));
1861
1861
  }
@@ -1867,18 +1867,18 @@ const Os = {
1867
1867
  }, ul = /* @__PURE__ */ V(al, [["__cssModules", il]]), dl = { key: 1 }, cl = /* @__PURE__ */ F({
1868
1868
  __name: "DtcNavigation",
1869
1869
  setup(s) {
1870
- const n = Z("dtc-onboarding"), i = w(
1870
+ const n = Z("dtc-onboarding"), r = w(
1871
1871
  () => {
1872
1872
  var l;
1873
1873
  return ((l = n.currentPage.value) == null ? void 0 : l.submitLabel) ?? "Next";
1874
1874
  }
1875
- ), r = w(
1875
+ ), i = w(
1876
1876
  () => {
1877
1877
  var l;
1878
1878
  return ((l = n.currentPage.value) == null ? void 0 : l.id) === "contact-info";
1879
1879
  }
1880
1880
  );
1881
- return (l, o) => r.value ? E("", !0) : (d(), y("nav", {
1881
+ return (l, o) => i.value ? E("", !0) : (d(), y("nav", {
1882
1882
  key: 0,
1883
1883
  class: e(l.$style.navigation),
1884
1884
  "aria-label": "Page navigation"
@@ -1913,7 +1913,7 @@ const Os = {
1913
1913
  type: "button",
1914
1914
  class: e(l.$style.nextButton),
1915
1915
  onClick: o[1] || (o[1] = (c) => M(n).goToNext())
1916
- }, _(i.value), 3)
1916
+ }, _(r.value), 3)
1917
1917
  ], 2)
1918
1918
  ], 2));
1919
1919
  }
@@ -1930,7 +1930,7 @@ const Os = {
1930
1930
  address: {}
1931
1931
  },
1932
1932
  setup(s) {
1933
- const n = s, i = Z("dtc-onboarding"), r = w(
1933
+ const n = s, r = Z("dtc-onboarding"), i = w(
1934
1934
  () => [
1935
1935
  n.address.street1,
1936
1936
  n.address.street2,
@@ -1939,7 +1939,7 @@ const Os = {
1939
1939
  n.address.postalCode
1940
1940
  ].filter(Boolean).join(", ")
1941
1941
  );
1942
- return (l, o) => M(i).currentPage.value ? (d(), y("div", {
1942
+ return (l, o) => M(r).currentPage.value ? (d(), y("div", {
1943
1943
  key: 0,
1944
1944
  class: e(l.$style.layout)
1945
1945
  }, [
@@ -1967,7 +1967,7 @@ const Os = {
1967
1967
  ])], 2)),
1968
1968
  t("span", {
1969
1969
  class: e(l.$style.addressText)
1970
- }, _(r.value), 3)
1970
+ }, _(i.value), 3)
1971
1971
  ], 2),
1972
1972
  t("div", {
1973
1973
  class: e(l.$style.contentSplit)
@@ -1977,11 +1977,11 @@ const Os = {
1977
1977
  }, [
1978
1978
  t("h1", {
1979
1979
  class: e(l.$style.pageTitle)
1980
- }, _(M(i).currentPage.value.title), 3),
1981
- M(i).currentPage.value.subtitle ? (d(), y("p", {
1980
+ }, _(M(r).currentPage.value.title), 3),
1981
+ M(r).currentPage.value.subtitle ? (d(), y("p", {
1982
1982
  key: 0,
1983
1983
  class: e(l.$style.pageSubtitle)
1984
- }, _(M(i).currentPage.value.subtitle), 3)) : E("", !0)
1984
+ }, _(M(r).currentPage.value.subtitle), 3)) : E("", !0)
1985
1985
  ], 2),
1986
1986
  t("div", {
1987
1987
  class: e(l.$style.contentRight)
@@ -2018,9 +2018,9 @@ const Os = {
2018
2018
  },
2019
2019
  emits: ["submit", "page-change", "answer-change", "ready", "error"],
2020
2020
  setup(s, { emit: n }) {
2021
- const i = s, r = Oe();
2022
- ge("dtc-consent-slots", r);
2023
- const l = n, o = w(() => ce(i.appearance));
2021
+ const r = s, i = Oe();
2022
+ be("dtc-consent-slots", i);
2023
+ const l = n, o = w(() => ve(r.appearance));
2024
2024
  function c(h) {
2025
2025
  l("submit", h);
2026
2026
  }
@@ -2038,7 +2038,7 @@ const Os = {
2038
2038
  }
2039
2039
  function g() {
2040
2040
  var h;
2041
- (h = i.onClose) == null || h.call(i);
2041
+ (h = r.onClose) == null || h.call(r);
2042
2042
  }
2043
2043
  return (h, I) => (d(), y("div", {
2044
2044
  class: e(h.$style.container),
@@ -2069,7 +2069,7 @@ const Os = {
2069
2069
  container: Bl
2070
2070
  }, Fl = {
2071
2071
  $style: Pl
2072
- }, er = /* @__PURE__ */ V(Tl, [["__cssModules", Fl]]), Rl = ["disabled"], Gl = ["value", "disabled"], Nl = ["checked", "disabled"], Ol = ["checked", "disabled"], Hl = ["disabled"], jl = ["disabled"], Vl = ["disabled"], xl = ["disabled"], Ul = ["disabled"], Zl = ["disabled", "aria-pressed", "onClick"], zl = ["onClick"], Wl = ["disabled"], Kl = /* @__PURE__ */ F({
2072
+ }, er = /* @__PURE__ */ V(Tl, [["__cssModules", Fl]]), Rl = ["disabled"], Nl = ["value", "disabled"], Gl = ["checked", "disabled"], Ol = ["checked", "disabled"], Hl = ["disabled"], jl = ["disabled"], Vl = ["disabled"], xl = ["disabled"], Ul = ["disabled"], Zl = ["disabled", "aria-pressed", "onClick"], zl = ["onClick"], Wl = ["disabled"], Kl = /* @__PURE__ */ F({
2073
2073
  __name: "ScheduleAssessmentFlow",
2074
2074
  props: {
2075
2075
  offerId: {},
@@ -2080,43 +2080,52 @@ const Os = {
2080
2080
  },
2081
2081
  emits: ["scheduled", "done", "ready", "error"],
2082
2082
  setup(s, { emit: n }) {
2083
- const i = s, r = n, l = Pe(), o = w(() => ce(i.appearance)), c = L("select"), u = L(!0), p = L(null), f = L([]), $ = L("UTC"), g = L(null), h = L(null), I = L(null), B = L(i.customerName ?? ""), q = L(S(i.customerPhone ?? "")), O = L(null), T = L(""), R = L(!1), U = L(null);
2084
- be(async () => {
2083
+ const r = s, i = n, l = Pe(), o = w(() => ve(r.appearance)), c = L("select"), u = L(!0), p = L(null), f = L([]), $ = L("UTC"), g = L(null), h = L(null), I = L(null), A = L(r.customerName ?? ""), q = L(S(r.customerPhone ?? "")), O = L(null), B = L(""), R = L(!1), U = L(null);
2084
+ ce(async () => {
2085
+ if (!(r.customerName && r.customerPhone))
2086
+ try {
2087
+ const a = await l.value.getCustomerContact({
2088
+ opendoorOfferRequestId: r.offerId
2089
+ });
2090
+ !r.customerName && !A.value && a.fullName && (A.value = a.fullName), !r.customerPhone && !q.value && a.phoneNumber && (q.value = S(a.phoneNumber));
2091
+ } catch {
2092
+ }
2093
+ }), ce(async () => {
2085
2094
  try {
2086
2095
  const a = await l.value.getAssessmentSlots({
2087
- offerId: i.offerId
2096
+ offerId: r.offerId
2088
2097
  });
2089
2098
  if (f.value = a.availableSlots, $.value = a.timezone, a.availableSlots.length > 0)
2090
2099
  g.value = P(
2091
- A(a.availableSlots[0], a.timezone)
2100
+ T(a.availableSlots[0], a.timezone)
2092
2101
  );
2093
2102
  else {
2094
2103
  const m = /* @__PURE__ */ new Date();
2095
2104
  g.value = { year: m.getFullYear(), month: m.getMonth() };
2096
2105
  }
2097
- u.value = !1, r("ready");
2106
+ u.value = !1, i("ready");
2098
2107
  } catch (a) {
2099
2108
  const m = a instanceof Error ? a : new Error(String(a));
2100
2109
  p.value = m;
2101
2110
  const C = /* @__PURE__ */ new Date();
2102
- g.value = { year: C.getFullYear(), month: C.getMonth() }, u.value = !1, r("error", m);
2111
+ g.value = { year: C.getFullYear(), month: C.getMonth() }, u.value = !1, i("error", m);
2103
2112
  }
2104
2113
  });
2105
- const G = w(() => {
2114
+ const N = w(() => {
2106
2115
  const a = /* @__PURE__ */ new Map();
2107
2116
  for (const m of f.value) {
2108
- const C = A(m, $.value), N = a.get(C) ?? [];
2109
- N.push(m), a.set(C, N);
2117
+ const C = T(m, $.value), G = a.get(C) ?? [];
2118
+ G.push(m), a.set(C, G);
2110
2119
  }
2111
2120
  return a;
2112
2121
  }), D = w(() => g.value ? Ce(g.value) : []), x = w(
2113
- () => g.value ? ve(g.value) : ""
2122
+ () => g.value ? ye(g.value) : ""
2114
2123
  ), Y = w(
2115
- () => g.value ? pe(g.value, G.value) : !1
2124
+ () => g.value ? fe(g.value, N.value) : !1
2116
2125
  ), re = w(
2117
- () => g.value ? ke(g.value, G.value) : !1
2126
+ () => g.value ? ke(g.value, N.value) : !1
2118
2127
  ), J = w(
2119
- () => h.value ? G.value.get(h.value) ?? [] : []
2128
+ () => h.value ? N.value.get(h.value) ?? [] : []
2120
2129
  ), z = w(() => {
2121
2130
  const a = J.value[0];
2122
2131
  return a ? $e(new Date(a), $.value) : null;
@@ -2124,14 +2133,14 @@ const Os = {
2124
2133
  () => I.value ? new Date(I.value) : null
2125
2134
  );
2126
2135
  function te(a) {
2127
- a && G.value.has(a.key) && (h.value = a.key, I.value = null);
2136
+ a && N.value.has(a.key) && (h.value = a.key, I.value = null);
2128
2137
  }
2129
2138
  function ie(a) {
2130
2139
  g.value && (g.value = W(g.value, a));
2131
2140
  }
2132
2141
  const se = w(() => {
2133
2142
  const a = q.value.replace(/\D/g, "");
2134
- return !R.value && B.value.trim().length > 0 && a.length >= 10 && O.value !== null && (!O.value || T.value.trim().length > 0);
2143
+ return !R.value && A.value.trim().length > 0 && a.length >= 10 && O.value !== null && (!O.value || B.value.trim().length > 0);
2135
2144
  });
2136
2145
  function b(a) {
2137
2146
  const m = a.target;
@@ -2141,22 +2150,22 @@ const Os = {
2141
2150
  if (!(!se.value || !I.value)) {
2142
2151
  R.value = !0, U.value = null;
2143
2152
  try {
2144
- const a = O.value ? `Customer: ${B.value.trim()}. Access instructions: ${T.value.trim()}` : `Customer: ${B.value.trim()}. No gate code or entry restrictions.`, m = await l.value.scheduleAssessment({
2145
- offerId: i.offerId,
2153
+ const a = O.value ? `Customer: ${A.value.trim()}. Access instructions: ${B.value.trim()}` : `Customer: ${A.value.trim()}. No gate code or entry restrictions.`, m = await l.value.scheduleAssessment({
2154
+ offerId: r.offerId,
2146
2155
  selectedInspectionTime: I.value,
2147
2156
  reminderPhone: q.value.replace(/\D/g, ""),
2148
2157
  notes: a
2149
2158
  });
2150
2159
  c.value = "success";
2151
2160
  try {
2152
- r("scheduled", m.visitId);
2161
+ i("scheduled", m.visitId);
2153
2162
  } catch (C) {
2154
- const N = C instanceof Error ? C : new Error(String(C));
2155
- r("error", N);
2163
+ const G = C instanceof Error ? C : new Error(String(C));
2164
+ i("error", G);
2156
2165
  }
2157
2166
  } catch (a) {
2158
2167
  const m = a instanceof Error ? a : new Error(String(a));
2159
- U.value = m.message, r("error", m);
2168
+ U.value = m.message, i("error", m);
2160
2169
  } finally {
2161
2170
  R.value = !1;
2162
2171
  }
@@ -2169,7 +2178,7 @@ const Os = {
2169
2178
  const m = a.replace(/\D/g, "").slice(0, 10);
2170
2179
  return m.length === 0 ? "" : m.length <= 3 ? `(${m}` : m.length <= 6 ? `(${m.slice(0, 3)}) ${m.slice(3)}` : `(${m.slice(0, 3)}) ${m.slice(3, 6)}-${m.slice(6)}`;
2171
2180
  }
2172
- function A(a, m) {
2181
+ function T(a, m) {
2173
2182
  return new Intl.DateTimeFormat("en-CA", {
2174
2183
  timeZone: m,
2175
2184
  year: "numeric",
@@ -2178,14 +2187,14 @@ const Os = {
2178
2187
  }).format(new Date(a));
2179
2188
  }
2180
2189
  function P(a) {
2181
- const [m, C] = a.split("-").map((N) => parseInt(N, 10));
2190
+ const [m, C] = a.split("-").map((G) => parseInt(G, 10));
2182
2191
  return { year: m, month: C - 1 };
2183
2192
  }
2184
2193
  function W(a, m) {
2185
- const C = a.year * 12 + a.month + m, N = Math.floor(C / 12), ne = C - N * 12;
2186
- return { year: N, month: ne };
2194
+ const C = a.year * 12 + a.month + m, G = Math.floor(C / 12), ne = C - G * 12;
2195
+ return { year: G, month: ne };
2187
2196
  }
2188
- function ve({ year: a, month: m }) {
2197
+ function ye({ year: a, month: m }) {
2189
2198
  return new Date(Date.UTC(a, m, 1)).toLocaleString(void 0, {
2190
2199
  timeZone: "UTC",
2191
2200
  month: "long",
@@ -2200,7 +2209,7 @@ const Os = {
2200
2209
  day: "numeric"
2201
2210
  }).format(a);
2202
2211
  }
2203
- function ye(a, m) {
2212
+ function pe(a, m) {
2204
2213
  return new Intl.DateTimeFormat(void 0, {
2205
2214
  timeZone: m,
2206
2215
  hour: "numeric",
@@ -2209,28 +2218,28 @@ const Os = {
2209
2218
  }).format(a);
2210
2219
  }
2211
2220
  function Ce({ year: a, month: m }) {
2212
- const C = new Date(Date.UTC(a, m, 1)).getUTCDay(), N = new Date(Date.UTC(a, m + 1, 0)).getUTCDate(), ne = Math.ceil((C + N) / 7) * 7, le = [], Re = String(a).padStart(4, "0"), Ge = String(m + 1).padStart(2, "0");
2221
+ const C = new Date(Date.UTC(a, m, 1)).getUTCDay(), G = new Date(Date.UTC(a, m + 1, 0)).getUTCDate(), ne = Math.ceil((C + G) / 7) * 7, le = [], Re = String(a).padStart(4, "0"), Ne = String(m + 1).padStart(2, "0");
2213
2222
  for (let Le = 0; Le < ne; Le++) {
2214
- const fe = Le - C + 1;
2215
- fe < 1 || fe > N ? le.push(null) : le.push({
2216
- key: `${Re}-${Ge}-${String(fe).padStart(2, "0")}`,
2217
- day: fe
2223
+ const he = Le - C + 1;
2224
+ he < 1 || he > G ? le.push(null) : le.push({
2225
+ key: `${Re}-${Ne}-${String(he).padStart(2, "0")}`,
2226
+ day: he
2218
2227
  });
2219
2228
  }
2220
2229
  return le;
2221
2230
  }
2222
- function pe(a, m) {
2231
+ function fe(a, m) {
2223
2232
  for (const C of m.keys()) {
2224
- const [N, ne] = C.split("-").map((le) => parseInt(le, 10));
2225
- if (N < a.year || N === a.year && ne - 1 < a.month)
2233
+ const [G, ne] = C.split("-").map((le) => parseInt(le, 10));
2234
+ if (G < a.year || G === a.year && ne - 1 < a.month)
2226
2235
  return !0;
2227
2236
  }
2228
2237
  return !1;
2229
2238
  }
2230
2239
  function ke(a, m) {
2231
2240
  for (const C of m.keys()) {
2232
- const [N, ne] = C.split("-").map((le) => parseInt(le, 10));
2233
- if (N > a.year || N === a.year && ne - 1 > a.month)
2241
+ const [G, ne] = C.split("-").map((le) => parseInt(le, 10));
2242
+ if (G > a.year || G === a.year && ne - 1 > a.month)
2234
2243
  return !0;
2235
2244
  }
2236
2245
  return !1;
@@ -2318,7 +2327,7 @@ const Os = {
2318
2327
  ])], 2),
2319
2328
  t("h2", {
2320
2329
  class: e(a.$style.title)
2321
- }, _(B.value ? `${k(B.value)}, your assessment is scheduled!` : "Your assessment is scheduled!"), 3),
2330
+ }, _(A.value ? `${k(A.value)}, your assessment is scheduled!` : "Your assessment is scheduled!"), 3),
2322
2331
  t("p", {
2323
2332
  class: e(a.$style.subtitle)
2324
2333
  }, " A calendar invite has been sent to your email address. ", 2),
@@ -2374,7 +2383,7 @@ const Os = {
2374
2383
  }, null, -1),
2375
2384
  t("path", { d: "M8 4.5V8l2.5 1.5" }, null, -1)
2376
2385
  ])], 2)),
2377
- t("span", null, _(ye(ae.value, $.value)), 1)
2386
+ t("span", null, _(pe(ae.value, $.value)), 1)
2378
2387
  ], 2)
2379
2388
  ], 64)) : E("", !0),
2380
2389
  s.address ? (d(), y("div", {
@@ -2406,7 +2415,7 @@ const Os = {
2406
2415
  t("button", {
2407
2416
  type: "button",
2408
2417
  class: e(a.$style.primaryButton),
2409
- onClick: m[0] || (m[0] = (C) => r("done"))
2418
+ onClick: m[0] || (m[0] = (C) => i("done"))
2410
2419
  }, " Done ", 2)
2411
2420
  ], 2)
2412
2421
  ], 6)) : c.value === "confirm" ? (d(), y("div", {
@@ -2430,10 +2439,10 @@ const Os = {
2430
2439
  Ee(t("input", {
2431
2440
  class: e(a.$style.input),
2432
2441
  type: "text",
2433
- "onUpdate:modelValue": m[1] || (m[1] = (C) => B.value = C),
2442
+ "onUpdate:modelValue": m[1] || (m[1] = (C) => A.value = C),
2434
2443
  disabled: R.value
2435
2444
  }, null, 10, Rl), [
2436
- [qe, B.value]
2445
+ [qe, A.value]
2437
2446
  ])
2438
2447
  ], 2),
2439
2448
  t("label", {
@@ -2451,7 +2460,7 @@ const Os = {
2451
2460
  value: q.value,
2452
2461
  disabled: R.value,
2453
2462
  onInput: b
2454
- }, null, 42, Gl)
2463
+ }, null, 42, Nl)
2455
2464
  ], 2),
2456
2465
  t("fieldset", {
2457
2466
  class: e(a.$style.fieldset)
@@ -2471,7 +2480,7 @@ const Os = {
2471
2480
  checked: O.value === !0,
2472
2481
  disabled: R.value,
2473
2482
  onChange: m[2] || (m[2] = (C) => O.value = !0)
2474
- }, null, 40, Nl),
2483
+ }, null, 40, Gl),
2475
2484
  m[13] || (m[13] = t("span", null, "Yes", -1))
2476
2485
  ], 2),
2477
2486
  t("label", {
@@ -2499,10 +2508,10 @@ const Os = {
2499
2508
  class: e(a.$style.input),
2500
2509
  type: "text",
2501
2510
  placeholder: "Gate code, directions, etc.",
2502
- "onUpdate:modelValue": m[4] || (m[4] = (C) => T.value = C),
2511
+ "onUpdate:modelValue": m[4] || (m[4] = (C) => B.value = C),
2503
2512
  disabled: R.value
2504
2513
  }, null, 10, Hl), [
2505
- [qe, T.value]
2514
+ [qe, B.value]
2506
2515
  ])
2507
2516
  ], 2)) : E("", !0),
2508
2517
  U.value ? (d(), y("p", {
@@ -2636,13 +2645,13 @@ const Os = {
2636
2645
  key: C,
2637
2646
  class: e(a.$style.calendarDayHeader)
2638
2647
  }, _(C), 3)), 64)),
2639
- (d(!0), y(j, null, Q(D.value, (C, N) => (d(), y("button", {
2640
- key: C ? C.key : `empty-${x.value}-${N}`,
2648
+ (d(!0), y(j, null, Q(D.value, (C, G) => (d(), y("button", {
2649
+ key: C ? C.key : `empty-${x.value}-${G}`,
2641
2650
  type: "button",
2642
2651
  class: e(
2643
- C && h.value === C.key ? a.$style.calendarDaySelected : C && G.value.has(C.key) ? a.$style.calendarDayAvailable : a.$style.calendarDayDisabled
2652
+ C && h.value === C.key ? a.$style.calendarDaySelected : C && N.value.has(C.key) ? a.$style.calendarDayAvailable : a.$style.calendarDayDisabled
2644
2653
  ),
2645
- disabled: !C || !G.value.has(C.key),
2654
+ disabled: !C || !N.value.has(C.key),
2646
2655
  "aria-pressed": !!(C && h.value === C.key),
2647
2656
  onClick: (ne) => te(C)
2648
2657
  }, _(C ? C.day : ""), 11, Zl))), 128))
@@ -2660,8 +2669,8 @@ const Os = {
2660
2669
  class: e(
2661
2670
  C === I.value ? a.$style.timeButtonSelected : a.$style.timeButton
2662
2671
  ),
2663
- onClick: (N) => I.value = C
2664
- }, _(ye(new Date(C), $.value)), 11, zl))), 128))
2672
+ onClick: (G) => I.value = C
2673
+ }, _(pe(new Date(C), $.value)), 11, zl))), 128))
2665
2674
  ], 2)
2666
2675
  ], 64)) : E("", !0),
2667
2676
  t("button", {
@@ -2675,7 +2684,7 @@ const Os = {
2675
2684
  ], 2)
2676
2685
  ], 6));
2677
2686
  }
2678
- }), Ql = "_root_1lu6h_2", Yl = "_card_1lu6h_13", Xl = "_titleLarge_1lu6h_30", Jl = "_featuresList_1lu6h_34", eo = "_stepLayout_1lu6h_45", to = "_leftColumn_1lu6h_52", so = "_introHeader_1lu6h_58", no = "_schedule_1lu6h_64", ao = "_subtitleLeft_1lu6h_109", lo = "_feature_1lu6h_34", oo = "_featureTitle_1lu6h_128", ro = "_featureDescription_1lu6h_135", io = "_title_1lu6h_30", uo = "_subtitle_1lu6h_109", co = "_calendarHeader_1lu6h_160", vo = "_calendarMonthLabel_1lu6h_167", yo = "_calendarNavButton_1lu6h_173", po = "_calendarGrid_1lu6h_193", fo = "_calendarDayHeader_1lu6h_199", ho = "_calendarDayAvailable_1lu6h_208", mo = "_calendarDayDisabled_1lu6h_209", go = "_calendarDaySelected_1lu6h_210", bo = "_timesHeader_1lu6h_241", $o = "_timeRow_1lu6h_248", Co = "_timeButton_1lu6h_255", ko = "_timeButtonSelected_1lu6h_256", _o = "_field_1lu6h_279", wo = "_fieldLabel_1lu6h_285", Lo = "_input_1lu6h_291", Io = "_fieldset_1lu6h_312", So = "_radioRow_1lu6h_321", Do = "_radioOption_1lu6h_326", Eo = "_faqBelowActions_1lu6h_346", qo = "_faq_1lu6h_346", Mo = "_faqHeader_1lu6h_357", Ao = "_faqItem_1lu6h_365", To = "_faqQuestion_1lu6h_374", Bo = "_faqAnswer_1lu6h_390", Po = "_faqChevron_1lu6h_397", Fo = "_errorText_1lu6h_407", Ro = "_actionsRow_1lu6h_413", Go = "_linkButton_1lu6h_421", No = "_primaryButton_1lu6h_438", Oo = "_successCheckCircle_1lu6h_471", Ho = "_summaryCard_1lu6h_483", jo = "_summaryRow_1lu6h_493", Vo = "_summaryIcon_1lu6h_501", xo = {
2687
+ }), Ql = "_root_1lu6h_2", Yl = "_card_1lu6h_13", Xl = "_titleLarge_1lu6h_30", Jl = "_featuresList_1lu6h_34", eo = "_stepLayout_1lu6h_45", to = "_leftColumn_1lu6h_52", so = "_introHeader_1lu6h_58", no = "_schedule_1lu6h_64", ao = "_subtitleLeft_1lu6h_109", lo = "_feature_1lu6h_34", oo = "_featureTitle_1lu6h_128", ro = "_featureDescription_1lu6h_135", io = "_title_1lu6h_30", uo = "_subtitle_1lu6h_109", co = "_calendarHeader_1lu6h_160", vo = "_calendarMonthLabel_1lu6h_167", yo = "_calendarNavButton_1lu6h_173", po = "_calendarGrid_1lu6h_193", fo = "_calendarDayHeader_1lu6h_199", ho = "_calendarDayAvailable_1lu6h_208", mo = "_calendarDayDisabled_1lu6h_209", go = "_calendarDaySelected_1lu6h_210", bo = "_timesHeader_1lu6h_241", $o = "_timeRow_1lu6h_248", Co = "_timeButton_1lu6h_255", ko = "_timeButtonSelected_1lu6h_256", _o = "_field_1lu6h_279", wo = "_fieldLabel_1lu6h_285", Lo = "_input_1lu6h_291", Io = "_fieldset_1lu6h_312", So = "_radioRow_1lu6h_321", Do = "_radioOption_1lu6h_326", Eo = "_faqBelowActions_1lu6h_346", qo = "_faq_1lu6h_346", Mo = "_faqHeader_1lu6h_357", Ao = "_faqItem_1lu6h_365", To = "_faqQuestion_1lu6h_374", Bo = "_faqAnswer_1lu6h_390", Po = "_faqChevron_1lu6h_397", Fo = "_errorText_1lu6h_407", Ro = "_actionsRow_1lu6h_413", No = "_linkButton_1lu6h_421", Go = "_primaryButton_1lu6h_438", Oo = "_successCheckCircle_1lu6h_471", Ho = "_summaryCard_1lu6h_483", jo = "_summaryRow_1lu6h_493", Vo = "_summaryIcon_1lu6h_501", xo = {
2679
2688
  root: Ql,
2680
2689
  card: Yl,
2681
2690
  titleLarge: Xl,
@@ -2717,8 +2726,8 @@ const Os = {
2717
2726
  faqChevron: Po,
2718
2727
  errorText: Fo,
2719
2728
  actionsRow: Ro,
2720
- linkButton: Go,
2721
- primaryButton: No,
2729
+ linkButton: No,
2730
+ primaryButton: Go,
2722
2731
  successCheckCircle: Oo,
2723
2732
  summaryCard: Ho,
2724
2733
  summaryRow: jo,