@opendoor/partner-sdk-client-vue 1.3.0 → 1.3.1-beta.108.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.d.ts CHANGED
@@ -8,6 +8,9 @@ import { ComputedRef } from 'vue';
8
8
  import { CreateOfferRequest } from '../../client-js-core/src/index.ts';
9
9
  import { CreateOfferResponse } from '../../client-js-core/src/index.ts';
10
10
  import { DefineComponent } from 'vue';
11
+ import { DTC_ONBOARDING_PAGE_IDS } from '../../client-js-core/src/index.ts';
12
+ import { DtcOnboardingPageId } from '../../client-js-core/src/index.ts';
13
+ import { DtcOnboardingPageId as DtcOnboardingPageId_2 } from '../../../../client-js-core/src/index.ts';
11
14
  import { ExtractPropTypes } from 'vue';
12
15
  import { OpendoorAppearance } from '../../client-js-core/src/index.ts';
13
16
  import { OpendoorAppearance as OpendoorAppearance_2 } from '../../../../client-js-core/src/index.ts';
@@ -277,6 +280,8 @@ export { CreateOfferRequest }
277
280
 
278
281
  export { CreateOfferResponse }
279
282
 
283
+ export { DTC_ONBOARDING_PAGE_IDS }
284
+
280
285
  export declare const DtcOnboardingFlow: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_5<{
281
286
  /** The selected address for the offer. */
282
287
  address: Address_2;
@@ -291,9 +296,10 @@ initialAnswers?: Record<string, AnswerValue>;
291
296
  * partner already knows the answers and the question shouldn't be asked
292
297
  * (e.g. a homebuilder partner doesn't need to ask "Are you working with
293
298
  * a homebuilder?"). For any **required** questions on a skipped page,
294
- * pair this with `initialAnswers`.
299
+ * pair this with `initialAnswers`. Valid IDs are exported as
300
+ * `DTC_ONBOARDING_PAGE_IDS` from `@opendoor/partner-sdk-client-js-core`.
295
301
  */
296
- skipPages?: string[];
302
+ skipPages?: readonly DtcOnboardingPageId_2[];
297
303
  /**
298
304
  * Called when the close (X) button is clicked.
299
305
  * When provided, the close button is rendered in the header.
@@ -324,9 +330,10 @@ initialAnswers?: Record<string, AnswerValue>;
324
330
  * partner already knows the answers and the question shouldn't be asked
325
331
  * (e.g. a homebuilder partner doesn't need to ask "Are you working with
326
332
  * a homebuilder?"). For any **required** questions on a skipped page,
327
- * pair this with `initialAnswers`.
333
+ * pair this with `initialAnswers`. Valid IDs are exported as
334
+ * `DTC_ONBOARDING_PAGE_IDS` from `@opendoor/partner-sdk-client-js-core`.
328
335
  */
329
- skipPages?: string[];
336
+ skipPages?: readonly DtcOnboardingPageId_2[];
330
337
  /**
331
338
  * Called when the close (X) button is clicked.
332
339
  * When provided, the close button is rendered in the header.
@@ -347,6 +354,8 @@ onReady?: (() => any) | undefined;
347
354
  appearance: OpendoorAppearance_2;
348
355
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
349
356
 
357
+ export { DtcOnboardingPageId }
358
+
350
359
  export { OpendoorAppearance }
351
360
 
352
361
  export { OpendoorClient }
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
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 D, Fragment as O, toDisplayString as _, renderList as Q, withKeys as Se, withModifiers as Ee, createBlock as K, unref as M, withDirectives as De, vModelText as qe, resolveDynamicComponent as Be, createTextVNode as me, Teleport as He, createVNode as ue, useSlots as je, withCtx as Ne } from "vue";
2
- import { NOOP_TRACKING as Ie, TrackingClient as Oe } from "@opendoor/partner-sdk-client-js-core/internal/tracking";
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";
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
- import { OpendoorClient as ar, THEMES as lr, resolveAppearance as or } from "@opendoor/partner-sdk-client-js-core";
4
+ import { DTC_ONBOARDING_PAGE_IDS as ar, OpendoorClient as lr, THEMES as or, resolveAppearance as rr } from "@opendoor/partner-sdk-client-js-core";
5
5
  import { createDtcOnboardingFlow as Me } from "@opendoor/partner-sdk-client-js-core/internal/questionnaire";
6
6
  const Qo = /* @__PURE__ */ F({
7
7
  __name: "OpendoorProvider",
@@ -16,7 +16,7 @@ const Qo = /* @__PURE__ */ F({
16
16
  () => n.client,
17
17
  () => {
18
18
  r.value !== Ie && r.value.destroy();
19
- const l = new Oe(n.client.environment);
19
+ const l = new je(n.client.environment);
20
20
  r.value = l;
21
21
  },
22
22
  { immediate: !0 }
@@ -93,7 +93,7 @@ const xe = /* @__PURE__ */ F({
93
93
  emits: ["address-select", "ready", "change", "validation-error", "address-suggestions-start", "address-suggestions-complete", "error"],
94
94
  setup(s, { emit: n }) {
95
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), j = L(null), T = L({
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({
97
97
  street1: "",
98
98
  street2: "",
99
99
  city: "",
@@ -102,27 +102,27 @@ const xe = /* @__PURE__ */ F({
102
102
  }), R = w(() => ce(r.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, E = 0;
105
+ let G = null, D = 0;
106
106
  ee(u, (b) => {
107
107
  if (I.value) return;
108
108
  if (l("change", { street1: b }), G && clearTimeout(G), !r.enableAddressSuggestions || b.trim().length < 3) {
109
- E += 1, p.value = [], f.value = !1, g.value = null, $.value = !1;
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
- const v = b.trim(), k = ++E;
113
+ const v = b.trim(), k = ++D;
114
114
  G = setTimeout(async () => {
115
115
  l("address-suggestions-start", v);
116
116
  try {
117
117
  const S = await o.value.getAddressSuggestions(v);
118
- if (k !== E) return;
118
+ if (k !== D) return;
119
119
  p.value = S.addresses, f.value = !0, l("address-suggestions-complete", S.addresses);
120
120
  } catch (S) {
121
- if (k !== E) return;
121
+ if (k !== D) return;
122
122
  const A = S instanceof Error ? S : new Error("Failed to fetch address suggestions");
123
123
  g.value = A.message, p.value = [], f.value = !0, l("error", A);
124
124
  } finally {
125
- k === E && ($.value = !1);
125
+ k === D && ($.value = !1);
126
126
  }
127
127
  }, r.debounceMs);
128
128
  });
@@ -187,12 +187,12 @@ const xe = /* @__PURE__ */ F({
187
187
  u.value = v, I.value = !1;
188
188
  }
189
189
  function se(b) {
190
- q.value && !q.value.contains(b.target) && j.value && !j.value.contains(b.target) && (f.value = !1);
190
+ q.value && !q.value.contains(b.target) && O.value && !O.value.contains(b.target) && (f.value = !1);
191
191
  }
192
192
  return be(() => {
193
193
  document.addEventListener("mousedown", se), l("ready");
194
194
  }), oe(() => {
195
- document.removeEventListener("mousedown", se), G && clearTimeout(G), E += 1;
195
+ document.removeEventListener("mousedown", se), G && clearTimeout(G), D += 1;
196
196
  }), (b, v) => (d(), y("div", {
197
197
  ref_key: "containerRef",
198
198
  ref: B,
@@ -298,7 +298,7 @@ const xe = /* @__PURE__ */ F({
298
298
  key: 0,
299
299
  class: e(b.$style.error),
300
300
  role: "alert"
301
- }, _(g.value), 3)) : D("", !0),
301
+ }, _(g.value), 3)) : E("", !0),
302
302
  t("button", {
303
303
  class: e(b.$style.submitButton),
304
304
  type: "button",
@@ -333,7 +333,7 @@ const xe = /* @__PURE__ */ F({
333
333
  }, [
334
334
  t("input", {
335
335
  ref_key: "inputRef",
336
- ref: j,
336
+ ref: O,
337
337
  value: u.value,
338
338
  class: e(b.$style.input),
339
339
  placeholder: s.placeholderText,
@@ -352,7 +352,7 @@ const xe = /* @__PURE__ */ F({
352
352
  class: e(b.$style.inputIcon)
353
353
  }, [
354
354
  de(b.$slots, "input-icon")
355
- ], 2)) : D("", !0),
355
+ ], 2)) : E("", !0),
356
356
  s.showButton ? (d(), y("button", {
357
357
  key: 1,
358
358
  class: e(b.$style.button),
@@ -361,7 +361,7 @@ const xe = /* @__PURE__ */ F({
361
361
  type: "button",
362
362
  onClick: ae
363
363
  }, [
364
- $.value ? (d(), y(O, { key: 0 }, [
364
+ $.value ? (d(), y(j, { key: 0 }, [
365
365
  t("span", null, _(s.buttonText), 1),
366
366
  (d(), y("svg", {
367
367
  class: e(b.$style.spinner),
@@ -386,7 +386,7 @@ const xe = /* @__PURE__ */ F({
386
386
  "stroke-linecap": "round"
387
387
  }, null, -1)
388
388
  ])], 2))
389
- ], 64)) : (d(), y(O, { key: 1 }, [
389
+ ], 64)) : (d(), y(j, { key: 1 }, [
390
390
  t("span", null, _(s.buttonText), 1),
391
391
  de(b.$slots, "button-icon", {}, () => [
392
392
  v[6] || (v[6] = t("svg", {
@@ -406,7 +406,7 @@ const xe = /* @__PURE__ */ F({
406
406
  ], -1))
407
407
  ])
408
408
  ], 64))
409
- ], 10, Ye)) : D("", !0)
409
+ ], 10, Ye)) : E("", !0)
410
410
  ], 2),
411
411
  f.value || g.value ? (d(), y("div", {
412
412
  key: 0,
@@ -417,7 +417,7 @@ const xe = /* @__PURE__ */ F({
417
417
  role: g.value ? "alert" : "listbox",
418
418
  "aria-live": g.value ? "polite" : void 0
419
419
  }, [
420
- g.value ? (d(), y(O, { key: 0 }, [
420
+ g.value ? (d(), y(j, { key: 0 }, [
421
421
  t("div", {
422
422
  class: e(b.$style.error)
423
423
  }, [
@@ -447,13 +447,13 @@ const xe = /* @__PURE__ */ F({
447
447
  ])], 2),
448
448
  t("div", null, _(g.value), 1)
449
449
  ], 2),
450
- h.value ? D("", !0) : (d(), y("button", {
450
+ h.value ? E("", !0) : (d(), y("button", {
451
451
  key: 0,
452
452
  type: "button",
453
453
  class: e(b.$style.manualLink),
454
454
  onClick: re
455
455
  }, _(s.manualEntryText), 3))
456
- ], 64)) : p.value.length > 0 ? (d(!0), y(O, { key: 1 }, Q(p.value, (k, S) => (d(), y("div", {
456
+ ], 64)) : p.value.length > 0 ? (d(!0), y(j, { key: 1 }, Q(p.value, (k, S) => (d(), y("div", {
457
457
  key: `${k.street1}-${k.city}-${k.postalCode}-${S}`,
458
458
  class: e(b.$style.suggestion),
459
459
  role: "option",
@@ -461,21 +461,21 @@ const xe = /* @__PURE__ */ F({
461
461
  tabindex: "0",
462
462
  onClick: (A) => Y(k),
463
463
  onKeydown: [
464
- Se(Ee((A) => Y(k), ["prevent"]), ["enter"]),
465
- Se(Ee((A) => Y(k), ["prevent"]), ["space"])
464
+ Se(De((A) => Y(k), ["prevent"]), ["enter"]),
465
+ Se(De((A) => Y(k), ["prevent"]), ["space"])
466
466
  ]
467
467
  }, _(x(k)), 43, Je))), 128)) : U.value ? (d(), y("button", {
468
468
  key: 2,
469
469
  type: "button",
470
470
  class: e(b.$style.manualLink),
471
471
  onClick: re
472
- }, _(s.manualEntryText), 3)) : D("", !0)
473
- ], 10, Xe)) : D("", !0)
472
+ }, _(s.manualEntryText), 3)) : E("", !0)
473
+ ], 10, Xe)) : E("", !0)
474
474
  ], 2)),
475
- s.showAttribution ? (d(), K(Ke, { key: 2 })) : D("", !0)
475
+ s.showAttribution ? (d(), K(Ke, { key: 2 })) : E("", !0)
476
476
  ], 6));
477
477
  }
478
- }), vt = "_container_1r0nf_9", yt = "_inputSection_1r0nf_17", pt = "_inputWrapper_1r0nf_23", ft = "_input_1r0nf_17", ht = "_inputIcon_1r0nf_64", mt = "_button_1r0nf_81", gt = "_spinner_1r0nf_122", bt = "_spin_1r0nf_122", $t = "_suggestions_1r0nf_137", Ct = "_errorState_1r0nf_151", kt = "_suggestion_1r0nf_137", _t = "_error_1r0nf_151", wt = "_errorIcon_1r0nf_200", Lt = "_errorBorder_1r0nf_214", It = "_manualLink_1r0nf_224", St = "_manualForm_1r0nf_246", Et = "_slideIn_1r0nf_1", Dt = "_manualFormField_1r0nf_261", qt = "_manualFormLabel_1r0nf_265", Mt = "_manualFormInput_1r0nf_274", At = "_formRow_1r0nf_295", Tt = "_submitButton_1r0nf_303", Bt = {
478
+ }), vt = "_container_1r0nf_9", yt = "_inputSection_1r0nf_17", pt = "_inputWrapper_1r0nf_23", ft = "_input_1r0nf_17", ht = "_inputIcon_1r0nf_64", mt = "_button_1r0nf_81", gt = "_spinner_1r0nf_122", bt = "_spin_1r0nf_122", $t = "_suggestions_1r0nf_137", Ct = "_errorState_1r0nf_151", kt = "_suggestion_1r0nf_137", _t = "_error_1r0nf_151", wt = "_errorIcon_1r0nf_200", Lt = "_errorBorder_1r0nf_214", It = "_manualLink_1r0nf_224", St = "_manualForm_1r0nf_246", Dt = "_slideIn_1r0nf_1", Et = "_manualFormField_1r0nf_261", qt = "_manualFormLabel_1r0nf_265", Mt = "_manualFormInput_1r0nf_274", At = "_formRow_1r0nf_295", Tt = "_submitButton_1r0nf_303", Bt = {
479
479
  container: vt,
480
480
  inputSection: yt,
481
481
  inputWrapper: pt,
@@ -492,20 +492,20 @@ const xe = /* @__PURE__ */ F({
492
492
  errorBorder: Lt,
493
493
  manualLink: It,
494
494
  manualForm: St,
495
- slideIn: Et,
496
- manualFormField: Dt,
495
+ slideIn: Dt,
496
+ manualFormField: Et,
497
497
  manualFormLabel: qt,
498
498
  manualFormInput: Mt,
499
499
  formRow: At,
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", Ht = "https://images.opendoor.com/source/s3/imgdrop-production/2026-02-1771546296495-06570.png?service=partner-sdk";
504
- function jt(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", 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
505
  return s.startsWith("http://") || s.startsWith("https://") ? `url-${encodeURIComponent(s)}(${n},${i})` : `${s}(${n},${i})`;
506
506
  }
507
- function Nt(s, n) {
508
- const i = (n == null ? void 0 : n.mapboxAccessToken) ?? Gt, r = (n == null ? void 0 : n.mapPinMarker) ?? Ht, 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");
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");
509
509
  let f = null;
510
510
  return ee(
511
511
  () => [
@@ -526,20 +526,20 @@ function Nt(s, n) {
526
526
  g.postalCode
527
527
  ].join(" ");
528
528
  try {
529
- const q = `${Ft}/${encodeURIComponent(h)}.json?access_token=${i}&limit=1`, j = await fetch(q, { signal: $.signal });
530
- if (!j.ok) {
529
+ const q = `${Ft}/${encodeURIComponent(h)}.json?access_token=${i}&limit=1`, O = await fetch(q, { signal: $.signal });
530
+ if (!O.ok) {
531
531
  $.signal.aborted || (p.value = "error");
532
532
  return;
533
533
  }
534
- const T = await j.json();
534
+ const T = await O.json();
535
535
  if ($.signal.aborted) return;
536
536
  const R = (B = (I = T.features) == null ? void 0 : I[0]) == null ? void 0 : B.center;
537
537
  if (!R) {
538
538
  p.value = "error";
539
539
  return;
540
540
  }
541
- const [U, G] = R, E = jt(r, U, G);
542
- u.value = `${Rt}/${E}/${U},${G},${c}/${l}x${o}@2x?access_token=${i}&attribution=false&logo=false`, p.value = "loaded";
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";
543
543
  } catch (q) {
544
544
  if (q instanceof DOMException && q.name === "AbortError") return;
545
545
  $.signal.aborted || (p.value = "error");
@@ -550,7 +550,7 @@ function Nt(s, n) {
550
550
  f && f.abort();
551
551
  }), { url: u, status: p };
552
552
  }
553
- const Ot = ["src"], Vt = /* @__PURE__ */ F({
553
+ const jt = ["src"], Vt = /* @__PURE__ */ F({
554
554
  __name: "AddressMap",
555
555
  props: {
556
556
  address: {},
@@ -567,7 +567,7 @@ const Ot = ["src"], Vt = /* @__PURE__ */ F({
567
567
  const i = s, r = n, l = w(() => {
568
568
  const f = ce(i.appearance);
569
569
  return i.borderRadius && (f["border-radius"] = i.borderRadius), f;
570
- }), { url: o, status: c } = Nt(
570
+ }), { url: o, status: c } = Ht(
571
571
  w(() => i.address),
572
572
  {
573
573
  mapboxAccessToken: i.mapboxAccessToken,
@@ -593,7 +593,7 @@ const Ot = ["src"], Vt = /* @__PURE__ */ F({
593
593
  alt: "Map",
594
594
  class: e([f.$style.mapImage, u.value ? f.$style.mapImageLoaded : ""]),
595
595
  onLoad: p
596
- }, null, 42, Ot)) : D("", !0)
596
+ }, null, 42, jt)) : E("", !0)
597
597
  ], 6));
598
598
  }
599
599
  }), xt = "_container_iumdj_4", Ut = "_mapImage_iumdj_14", Zt = "_mapImageLoaded_iumdj_23", zt = {
@@ -660,7 +660,7 @@ const Ot = ["src"], Vt = /* @__PURE__ */ F({
660
660
  class: e(h.$style.fieldLabel),
661
661
  for: "od-unit-number"
662
662
  }, " Unit number, apt, or floor* ", 2),
663
- De(t("input", {
663
+ Ee(t("input", {
664
664
  id: "od-unit-number",
665
665
  "onUpdate:modelValue": I[1] || (I[1] = (B) => l.value = B),
666
666
  class: e(h.$style.input),
@@ -693,7 +693,7 @@ const Ot = ["src"], Vt = /* @__PURE__ */ F({
693
693
  id: "od-unit-error",
694
694
  class: e(h.$style.error),
695
695
  role: "alert"
696
- }, _(c.value), 3)) : D("", !0),
696
+ }, _(c.value), 3)) : E("", !0),
697
697
  t("div", {
698
698
  class: e(h.$style.actions)
699
699
  }, [
@@ -759,14 +759,14 @@ function ps(s) {
759
759
  );
760
760
  (G = s.onReady) == null || G.call(s), ee(
761
761
  () => {
762
- var E;
763
- return (((E = s.getSkipPages) == null ? void 0 : E.call(s)) ?? []).join("|");
762
+ var D;
763
+ return (((D = s.getSkipPages) == null ? void 0 : D.call(s)) ?? []).join("|");
764
764
  },
765
765
  () => {
766
- var E, x;
766
+ var D, x;
767
767
  c(), n.destroy(), n = Me({
768
768
  initialAnswers: s.getInitialAnswers(),
769
- skipPages: (E = s.getSkipPages) == null ? void 0 : E.call(s)
769
+ skipPages: (D = s.getSkipPages) == null ? void 0 : D.call(s)
770
770
  }), i.value = n.answers, r.value = ((x = n.currentPage) == null ? void 0 : x.id) ?? "", l.value = {}, o.value = n.visiblePages, c = Ae(
771
771
  n,
772
772
  i,
@@ -778,14 +778,14 @@ function ps(s) {
778
778
  }
779
779
  );
780
780
  let u = s.getInitialAnswers();
781
- ee(s.getInitialAnswers, (E) => {
782
- E && E !== u && (u = E, n.setAnswers(E));
781
+ ee(s.getInitialAnswers, (D) => {
782
+ D && D !== u && (u = D, n.setAnswers(D));
783
783
  });
784
784
  const p = w(() => {
785
- const E = o.value.findIndex(
785
+ const D = o.value.findIndex(
786
786
  (x) => x.id === r.value
787
787
  );
788
- return E >= 0 ? E : 0;
788
+ return D >= 0 ? D : 0;
789
789
  }), f = w(
790
790
  () => o.value[p.value]
791
791
  ), $ = w(() => r.value ? (i.value, n.getVisibleQuestionsForCurrentPage()) : []), g = w(() => o.value.length <= 1 ? 0 : Math.min(
@@ -794,21 +794,21 @@ function ps(s) {
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(E, x) {
798
- n.setAnswer(E, x);
797
+ function B(D, x) {
798
+ n.setAnswer(D, x);
799
799
  }
800
- function q(E) {
801
- return i.value[E];
800
+ function q(D) {
801
+ return i.value[D];
802
802
  }
803
- function j() {
803
+ function O() {
804
804
  var x;
805
- const E = n.goToNext();
806
- if (!E.valid)
805
+ const D = n.goToNext();
806
+ if (!D.valid)
807
807
  try {
808
808
  (x = s.onError) == null || x.call(
809
809
  s,
810
810
  new Error(
811
- `Validation failed: ${Object.values(E.errors).join(", ")}`
811
+ `Validation failed: ${Object.values(D.errors).join(", ")}`
812
812
  )
813
813
  );
814
814
  } catch (Y) {
@@ -833,7 +833,7 @@ function ps(s) {
833
833
  isLastPage: I,
834
834
  setAnswer: B,
835
835
  getAnswer: q,
836
- goToNext: j,
836
+ goToNext: O,
837
837
  goToPrev: T
838
838
  };
839
839
  }
@@ -892,7 +892,7 @@ const fs = /* @__PURE__ */ F({
892
892
  src: s.partnerLogoUrl,
893
893
  alt: "Partner",
894
894
  class: e(r.$style.headerPartnerLogo)
895
- }, null, 10, hs)) : D("", !0),
895
+ }, null, 10, hs)) : E("", !0),
896
896
  (d(), y("svg", {
897
897
  width: "90",
898
898
  height: "18",
@@ -939,7 +939,7 @@ const fs = /* @__PURE__ */ F({
939
939
  y2: "18"
940
940
  })
941
941
  ], -1)
942
- ])], 2)) : D("", !0)
942
+ ])], 2)) : E("", !0)
943
943
  ], 2));
944
944
  }
945
945
  }), gs = "_header_uo1uz_2", bs = "_headerLogos_uo1uz_12", $s = "_headerPartnerLogo_uo1uz_18", Cs = "_headerOpendoorLogo_uo1uz_24", ks = "_headerCloseButton_uo1uz_28", _s = {
@@ -950,7 +950,7 @@ const fs = /* @__PURE__ */ F({
950
950
  headerCloseButton: ks
951
951
  }, ws = {
952
952
  $style: _s
953
- }, Ls = /* @__PURE__ */ V(ms, [["__cssModules", ws]]), Is = ["aria-label"], Ss = ["aria-checked", "tabindex", "onClick", "onKeydown"], Es = /* @__PURE__ */ F({
953
+ }, Ls = /* @__PURE__ */ V(ms, [["__cssModules", ws]]), Is = ["aria-label"], Ss = ["aria-checked", "tabindex", "onClick", "onKeydown"], Ds = /* @__PURE__ */ F({
954
954
  __name: "RadioCardInput",
955
955
  props: {
956
956
  question: {}
@@ -979,7 +979,7 @@ const fs = /* @__PURE__ */ F({
979
979
  role: "radiogroup",
980
980
  "aria-label": s.question.label
981
981
  }, [
982
- (d(!0), y(O, null, Q(s.question.options, (u, p) => (d(), y("button", {
982
+ (d(!0), y(j, null, Q(s.question.options, (u, p) => (d(), y("button", {
983
983
  key: String(u.value),
984
984
  type: "button",
985
985
  role: "radio",
@@ -998,17 +998,17 @@ const fs = /* @__PURE__ */ F({
998
998
  u.description ? (d(), y("span", {
999
999
  key: 0,
1000
1000
  class: e(o.$style.radioCardDescription)
1001
- }, _(u.description), 3)) : D("", !0)
1001
+ }, _(u.description), 3)) : E("", !0)
1002
1002
  ], 42, Ss))), 128)),
1003
1003
  M(n).validationErrors.value[s.question.key] ? (d(), y("p", {
1004
1004
  key: 0,
1005
1005
  class: e(o.$style.fieldError),
1006
1006
  role: "alert"
1007
- }, _(M(n).validationErrors.value[s.question.key]), 3)) : D("", !0)
1007
+ }, _(M(n).validationErrors.value[s.question.key]), 3)) : E("", !0)
1008
1008
  ], 10, Is));
1009
1009
  }
1010
- }), Ds = "_radioCardGroup_11rwj_2", qs = "_radioCard_11rwj_2", Ms = "_radioCardSelected_11rwj_34", As = "_radioCardLabel_11rwj_39", Ts = "_radioCardDescription_11rwj_45", Bs = "_fieldError_11rwj_50", Ps = {
1011
- radioCardGroup: Ds,
1010
+ }), Es = "_radioCardGroup_11rwj_2", qs = "_radioCard_11rwj_2", Ms = "_radioCardSelected_11rwj_34", As = "_radioCardLabel_11rwj_39", Ts = "_radioCardDescription_11rwj_45", Bs = "_fieldError_11rwj_50", Ps = {
1011
+ radioCardGroup: Es,
1012
1012
  radioCard: qs,
1013
1013
  radioCardSelected: Ms,
1014
1014
  radioCardLabel: As,
@@ -1016,36 +1016,36 @@ const fs = /* @__PURE__ */ F({
1016
1016
  fieldError: Bs
1017
1017
  }, Fs = {
1018
1018
  $style: Ps
1019
- }, Rs = /* @__PURE__ */ V(Es, [["__cssModules", Fs]]), Gs = "https://images.opendoor.com/source/s3/imgdrop-production", Hs = "service=reception-fe&dpr=2&fit=scale-down";
1020
- function N(s, n = "3:2-sm") {
1021
- return `${Gs}/${s}?${Hs}&preset=${n}`;
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";
1020
+ function H(s, n = "3:2-sm") {
1021
+ return `${Gs}/${s}?${Ns}&preset=${n}`;
1022
1022
  }
1023
- const js = {
1023
+ const Os = {
1024
1024
  // Kitchen
1025
- "kitchen-fixer_upper": N("2023-04-1681772974083-61414.png"),
1026
- "kitchen-dated": N("2023-04-1681772974089-39460.png"),
1027
- "kitchen-standard": N("2023-04-1681772974093-51260.png"),
1028
- "kitchen-high_end": N("2023-04-1682444345875-57331.jpeg", "3:2-xl"),
1029
- "kitchen-luxury": N("2023-04-1682444629335-69661.jpeg", "3:2-xl"),
1025
+ "kitchen-fixer_upper": H("2023-04-1681772974083-61414.png"),
1026
+ "kitchen-dated": H("2023-04-1681772974089-39460.png"),
1027
+ "kitchen-standard": H("2023-04-1681772974093-51260.png"),
1028
+ "kitchen-high_end": H("2023-04-1682444345875-57331.jpeg", "3:2-xl"),
1029
+ "kitchen-luxury": H("2023-04-1682444629335-69661.jpeg", "3:2-xl"),
1030
1030
  // Bathroom
1031
- "bathroom-fixer_upper": N("2023-04-1682103091299-33543.jpeg"),
1032
- "bathroom-dated": N("2023-04-1681773104207-98555.png"),
1033
- "bathroom-standard": N("2023-04-1682103088251-79730.jpeg", "3:2-xl"),
1034
- "bathroom-high_end": N("2023-04-1681773104214-77488.png"),
1035
- "bathroom-luxury": N("2023-04-1681773104217-27390.png"),
1031
+ "bathroom-fixer_upper": H("2023-04-1682103091299-33543.jpeg"),
1032
+ "bathroom-dated": H("2023-04-1681773104207-98555.png"),
1033
+ "bathroom-standard": H("2023-04-1682103088251-79730.jpeg", "3:2-xl"),
1034
+ "bathroom-high_end": H("2023-04-1681773104214-77488.png"),
1035
+ "bathroom-luxury": H("2023-04-1681773104217-27390.png"),
1036
1036
  // Living Room
1037
- "living-room-fixer_upper": N("2023-04-1681773170815-60328.png"),
1038
- "living-room-dated": N("2023-04-1681773170823-03451.png"),
1039
- "living-room-standard": N("2023-04-1681773170826-47471.png"),
1040
- "living-room-high_end": N("2023-04-1681773170828-76415.png"),
1041
- "living-room-luxury": N("2023-04-1681773170832-20699.png"),
1037
+ "living-room-fixer_upper": H("2023-04-1681773170815-60328.png"),
1038
+ "living-room-dated": H("2023-04-1681773170823-03451.png"),
1039
+ "living-room-standard": H("2023-04-1681773170826-47471.png"),
1040
+ "living-room-high_end": H("2023-04-1681773170828-76415.png"),
1041
+ "living-room-luxury": H("2023-04-1681773170832-20699.png"),
1042
1042
  // Exterior
1043
- "exterior-fixer_upper": N("2023-04-1681773220493-46489.png"),
1044
- "exterior-dated": N("2023-04-1681773220495-22229.png"),
1045
- "exterior-standard": N("2023-04-1681773220498-64940.png"),
1046
- "exterior-high_end": N("2023-04-1682103085417-24272.jpeg", "3:2-md"),
1047
- "exterior-luxury": N("2023-04-1681773220487-59852.png")
1048
- }, Ns = ["aria-label"], Os = ["aria-checked", "onClick"], Vs = ["src", "alt"], xs = /* @__PURE__ */ F({
1043
+ "exterior-fixer_upper": H("2023-04-1681773220493-46489.png"),
1044
+ "exterior-dated": H("2023-04-1681773220495-22229.png"),
1045
+ "exterior-standard": H("2023-04-1681773220498-64940.png"),
1046
+ "exterior-high_end": H("2023-04-1682103085417-24272.jpeg", "3:2-md"),
1047
+ "exterior-luxury": H("2023-04-1681773220487-59852.png")
1048
+ }, Hs = ["aria-label"], js = ["aria-checked", "onClick"], Vs = ["src", "alt"], xs = /* @__PURE__ */ F({
1049
1049
  __name: "ImageCardInput",
1050
1050
  props: {
1051
1051
  question: {}
@@ -1060,14 +1060,14 @@ const js = {
1060
1060
  n.setAnswer(o.key, c), o.autoAdvance && (i && clearTimeout(i), i = setTimeout(() => n.goToNext(), 300));
1061
1061
  }
1062
1062
  function l(o) {
1063
- return o ? js[o] : void 0;
1063
+ return o ? Os[o] : void 0;
1064
1064
  }
1065
1065
  return (o, c) => (d(), y("div", {
1066
1066
  class: e(o.$style.imageCardGroup),
1067
1067
  role: "radiogroup",
1068
1068
  "aria-label": s.question.label
1069
1069
  }, [
1070
- (d(!0), y(O, null, Q(s.question.options, (u) => (d(), y("button", {
1070
+ (d(!0), y(j, null, Q(s.question.options, (u) => (d(), y("button", {
1071
1071
  key: String(u.value),
1072
1072
  type: "button",
1073
1073
  role: "radio",
@@ -1084,21 +1084,21 @@ const js = {
1084
1084
  alt: u.label,
1085
1085
  class: e(o.$style.imageCardPhoto),
1086
1086
  loading: "lazy"
1087
- }, null, 10, Vs)) : D("", !0),
1087
+ }, null, 10, Vs)) : E("", !0),
1088
1088
  t("span", {
1089
1089
  class: e(o.$style.imageCardLabel)
1090
1090
  }, _(u.label), 3),
1091
1091
  u.description ? (d(), y("span", {
1092
1092
  key: 1,
1093
1093
  class: e(o.$style.imageCardDescription)
1094
- }, _(u.description), 3)) : D("", !0)
1095
- ], 10, Os))), 128)),
1094
+ }, _(u.description), 3)) : E("", !0)
1095
+ ], 10, js))), 128)),
1096
1096
  M(n).validationErrors.value[s.question.key] ? (d(), y("p", {
1097
1097
  key: 0,
1098
1098
  class: e(o.$style.fieldError),
1099
1099
  role: "alert"
1100
- }, _(M(n).validationErrors.value[s.question.key]), 3)) : D("", !0)
1101
- ], 10, Ns));
1100
+ }, _(M(n).validationErrors.value[s.question.key]), 3)) : E("", !0)
1101
+ ], 10, Hs));
1102
1102
  }
1103
1103
  }), Us = "_imageCardGroup_1vc6c_2", Zs = "_imageCard_1vc6c_2", zs = "_imageCardSelected_1vc6c_34", Ws = "_imageCardPhoto_1vc6c_39", Ks = "_imageCardLabel_1vc6c_46", Qs = "_imageCardDescription_1vc6c_53", Ys = "_fieldError_1vc6c_60", Xs = {
1104
1104
  imageCardGroup: Us,
@@ -1151,7 +1151,7 @@ const js = {
1151
1151
  role: "group",
1152
1152
  "aria-label": s.question.label
1153
1153
  }, [
1154
- (d(!0), y(O, null, Q(s.question.options, (p) => (d(), y("button", {
1154
+ (d(!0), y(j, null, Q(s.question.options, (p) => (d(), y("button", {
1155
1155
  key: String(p.value),
1156
1156
  type: "button",
1157
1157
  role: "checkbox",
@@ -1171,7 +1171,7 @@ const js = {
1171
1171
  p.helperText ? (d(), y("span", {
1172
1172
  key: 0,
1173
1173
  class: e(c.$style.checkboxCardHelper)
1174
- }, _(p.helperText), 3)) : D("", !0)
1174
+ }, _(p.helperText), 3)) : E("", !0)
1175
1175
  ], 2),
1176
1176
  t("span", {
1177
1177
  class: e([
@@ -1187,14 +1187,14 @@ const js = {
1187
1187
  "stroke-linecap": "round",
1188
1188
  "stroke-linejoin": "round"
1189
1189
  }, null, -1)
1190
- ])])) : D("", !0)
1190
+ ])])) : E("", !0)
1191
1191
  ], 2)
1192
1192
  ], 10, sn))), 128)),
1193
1193
  l.value ? (d(), y("p", {
1194
1194
  key: 0,
1195
1195
  class: e(c.$style.fieldError),
1196
1196
  role: "alert"
1197
- }, _(l.value), 3)) : D("", !0)
1197
+ }, _(l.value), 3)) : E("", !0)
1198
1198
  ], 10, tn));
1199
1199
  }
1200
1200
  }), ln = "_checkboxCardGroup_uqwpe_2", on = "_checkboxCard_uqwpe_2", rn = "_checkboxCardSelected_uqwpe_34", un = "_checkboxCardContent_uqwpe_39", dn = "_checkboxCardLabel_uqwpe_46", cn = "_checkboxCardHelper_uqwpe_52", vn = "_checkboxIndicator_uqwpe_57", yn = "_checkboxIndicatorChecked_uqwpe_69", pn = "_fieldError_uqwpe_75", fn = {
@@ -1233,7 +1233,7 @@ const js = {
1233
1233
  s.question.description ? (d(), y("p", {
1234
1234
  key: 0,
1235
1235
  class: e(p.$style.fieldDescription)
1236
- }, _(s.question.description), 3)) : D("", !0),
1236
+ }, _(s.question.description), 3)) : E("", !0),
1237
1237
  t("select", {
1238
1238
  id: `${l}-${s.question.key}`,
1239
1239
  class: e([p.$style.fieldSelect, c.value ? p.$style.fieldSelectError : ""]),
@@ -1243,7 +1243,7 @@ const js = {
1243
1243
  onChange: u
1244
1244
  }, [
1245
1245
  t("option", $n, _(s.question.placeholder || "Select..."), 1),
1246
- (d(!0), y(O, null, Q(s.question.options, ($) => (d(), y("option", {
1246
+ (d(!0), y(j, null, Q(s.question.options, ($) => (d(), y("option", {
1247
1247
  key: String($.value),
1248
1248
  value: String($.value)
1249
1249
  }, _($.label), 9, Cn))), 128))
@@ -1253,16 +1253,16 @@ const js = {
1253
1253
  id: `${l}-${s.question.key}-error`,
1254
1254
  class: e(p.$style.fieldError),
1255
1255
  role: "alert"
1256
- }, _(c.value), 11, kn)) : D("", !0)
1256
+ }, _(c.value), 11, kn)) : E("", !0)
1257
1257
  ], 2));
1258
1258
  }
1259
- }), wn = "_fieldGroup_qcbne_2", Ln = "_fieldLabel_qcbne_8", In = "_fieldDescription_qcbne_15", Sn = "_fieldSelect_qcbne_22", En = "_fieldSelectError_qcbne_47", Dn = "_fieldError_qcbne_51", qn = {
1259
+ }), wn = "_fieldGroup_qcbne_2", Ln = "_fieldLabel_qcbne_8", In = "_fieldDescription_qcbne_15", Sn = "_fieldSelect_qcbne_22", Dn = "_fieldSelectError_qcbne_47", En = "_fieldError_qcbne_51", qn = {
1260
1260
  fieldGroup: wn,
1261
1261
  fieldLabel: Ln,
1262
1262
  fieldDescription: In,
1263
1263
  fieldSelect: Sn,
1264
- fieldSelectError: En,
1265
- fieldError: Dn
1264
+ fieldSelectError: Dn,
1265
+ fieldError: En
1266
1266
  }, Mn = {
1267
1267
  $style: qn
1268
1268
  }, An = /* @__PURE__ */ V(_n, [["__cssModules", Mn]]), Tn = ["for"], Bn = ["id", "type", "inputmode", "value", "placeholder", "aria-invalid", "aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ F({
@@ -1297,7 +1297,7 @@ const js = {
1297
1297
  s.question.description ? (d(), y("p", {
1298
1298
  key: 0,
1299
1299
  class: e(g.$style.fieldDescription)
1300
- }, _(s.question.description), 3)) : D("", !0),
1300
+ }, _(s.question.description), 3)) : E("", !0),
1301
1301
  t("div", {
1302
1302
  class: e(g.$style.fieldInputWrapper)
1303
1303
  }, [
@@ -1315,23 +1315,23 @@ const js = {
1315
1315
  s.question.suffix ? (d(), y("span", {
1316
1316
  key: 0,
1317
1317
  class: e(g.$style.fieldSuffix)
1318
- }, _(s.question.suffix), 3)) : D("", !0)
1318
+ }, _(s.question.suffix), 3)) : E("", !0)
1319
1319
  ], 2),
1320
1320
  c.value ? (d(), y("p", {
1321
1321
  key: 1,
1322
1322
  id: `${l}-${s.question.key}-error`,
1323
1323
  class: e(g.$style.fieldError),
1324
1324
  role: "alert"
1325
- }, _(c.value), 11, Pn)) : D("", !0)
1325
+ }, _(c.value), 11, Pn)) : E("", !0)
1326
1326
  ], 2));
1327
1327
  }
1328
- }), Rn = "_fieldGroup_1jlim_2", Gn = "_fieldLabel_1jlim_8", Hn = "_fieldDescription_1jlim_15", jn = "_fieldInputWrapper_1jlim_22", Nn = "_fieldInput_1jlim_22", On = "_fieldInputError_1jlim_60", Vn = "_fieldSuffix_1jlim_64", xn = "_fieldError_1jlim_73", Un = {
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 = {
1329
1329
  fieldGroup: Rn,
1330
1330
  fieldLabel: Gn,
1331
- fieldDescription: Hn,
1332
- fieldInputWrapper: jn,
1333
- fieldInput: Nn,
1334
- fieldInputError: On,
1331
+ fieldDescription: Nn,
1332
+ fieldInputWrapper: On,
1333
+ fieldInput: Hn,
1334
+ fieldInputError: jn,
1335
1335
  fieldSuffix: Vn,
1336
1336
  fieldError: xn
1337
1337
  }, Zn = {
@@ -1385,7 +1385,7 @@ const js = {
1385
1385
  id: `${l}-${s.question.key}-error`,
1386
1386
  class: e(f.$style.fieldError),
1387
1387
  role: "alert"
1388
- }, _(c.value), 11, Qn)) : D("", !0)
1388
+ }, _(c.value), 11, Qn)) : E("", !0)
1389
1389
  ], 2));
1390
1390
  }
1391
1391
  }), Xn = "_fieldGroup_10ms9_2", Jn = "_fieldLabel_10ms9_8", ea = "_currencyWrapper_10ms9_15", ta = "_currencyPrefix_10ms9_21", sa = "_currencyInput_10ms9_30", na = "_fieldInputError_10ms9_48", aa = "_fieldError_10ms9_52", la = {
@@ -1440,7 +1440,7 @@ const js = {
1440
1440
  id: `${l}-${s.question.key}-error`,
1441
1441
  class: e(f.$style.fieldError),
1442
1442
  role: "alert"
1443
- }, _(c.value), 11, da)) : D("", !0)
1443
+ }, _(c.value), 11, da)) : E("", !0)
1444
1444
  ], 2));
1445
1445
  }
1446
1446
  }), va = "_fieldGroup_p6z3v_2", ya = "_fieldLabel_p6z3v_8", pa = "_fieldInput_p6z3v_15", fa = "_fieldInputError_p6z3v_37", ha = "_fieldError_p6z3v_41", ma = {
@@ -1486,7 +1486,7 @@ const js = {
1486
1486
  c.value ? (d(), K(Be(() => {
1487
1487
  var $, g;
1488
1488
  return (g = ($ = M(r))["sms-consent-text"]) == null ? void 0 : g.call($);
1489
- }), { key: 0 })) : (d(), y(O, { key: 1 }, [
1489
+ }), { key: 0 })) : (d(), y(j, { key: 1 }, [
1490
1490
  me(_(o.value), 1)
1491
1491
  ], 64))
1492
1492
  ], 2)
@@ -1500,7 +1500,7 @@ const js = {
1500
1500
  toggleText: La
1501
1501
  }, Sa = {
1502
1502
  $style: Ia
1503
- }, Ea = /* @__PURE__ */ V(Ca, [["__cssModules", Sa]]), Da = ["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, he = 8, Aa = 240, Ta = 80, Ba = /* @__PURE__ */ F({
1504
1504
  __name: "SearchableDropdownInput",
1505
1505
  props: {
1506
1506
  question: {}
@@ -1525,7 +1525,7 @@ const js = {
1525
1525
  () => l.getAnswer(r.question.key)
1526
1526
  ), $ = w(
1527
1527
  () => l.validationErrors.value[r.question.key]
1528
- ), g = L(""), h = L(!1), I = L([]), B = L(!1), q = L(-1), j = L(null), T = L(null), R = L(null), U = L(null), G = L({});
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({});
1529
1529
  ee(
1530
1530
  [() => r.question.dataSource, () => r.question.options, () => o == null ? void 0 : o.value],
1531
1531
  (v, k, S) => {
@@ -1551,7 +1551,7 @@ const js = {
1551
1551
  },
1552
1552
  { immediate: !0 }
1553
1553
  );
1554
- const E = w(
1554
+ const D = w(
1555
1555
  () => g.value ? I.value.filter(
1556
1556
  (v) => v.label.toLowerCase().includes(g.value.toLowerCase())
1557
1557
  ) : I.value
@@ -1574,13 +1574,13 @@ const js = {
1574
1574
  }
1575
1575
  switch (v.key) {
1576
1576
  case "ArrowDown":
1577
- v.preventDefault(), E.value.length > 0 && (q.value = q.value < E.value.length - 1 ? q.value + 1 : 0);
1577
+ v.preventDefault(), D.value.length > 0 && (q.value = q.value < D.value.length - 1 ? q.value + 1 : 0);
1578
1578
  break;
1579
1579
  case "ArrowUp":
1580
- v.preventDefault(), E.value.length > 0 && (q.value = q.value > 0 ? q.value - 1 : E.value.length - 1);
1580
+ v.preventDefault(), D.value.length > 0 && (q.value = q.value > 0 ? q.value - 1 : D.value.length - 1);
1581
1581
  break;
1582
1582
  case "Enter":
1583
- v.preventDefault(), q.value >= 0 && q.value < E.value.length && Y(E.value[q.value].value);
1583
+ v.preventDefault(), q.value >= 0 && q.value < D.value.length && Y(D.value[q.value].value);
1584
1584
  break;
1585
1585
  case "Escape":
1586
1586
  v.preventDefault(), h.value = !1, q.value = -1;
@@ -1628,7 +1628,7 @@ const js = {
1628
1628
  function b(v) {
1629
1629
  var S, A;
1630
1630
  const k = v.target;
1631
- (S = j.value) != null && S.contains(k) || (A = R.value) != null && A.contains(k) || (h.value = !1);
1631
+ (S = O.value) != null && S.contains(k) || (A = R.value) != null && A.contains(k) || (h.value = !1);
1632
1632
  }
1633
1633
  return be(() => {
1634
1634
  document.addEventListener("mousedown", b);
@@ -1636,7 +1636,7 @@ const js = {
1636
1636
  document.removeEventListener("mousedown", b), se();
1637
1637
  }), (v, k) => (d(), y("div", {
1638
1638
  ref_key: "containerRef",
1639
- ref: j,
1639
+ ref: O,
1640
1640
  class: e(v.$style.fieldGroup)
1641
1641
  }, [
1642
1642
  t("div", {
@@ -1661,7 +1661,7 @@ const js = {
1661
1661
  onInput: re,
1662
1662
  onFocus: k[0] || (k[0] = (S) => h.value = !0),
1663
1663
  onKeydown: J
1664
- }, null, 42, Da),
1664
+ }, null, 42, Ea),
1665
1665
  t("button", {
1666
1666
  type: "button",
1667
1667
  class: e(v.$style.searchableDropdownToggle),
@@ -1685,7 +1685,7 @@ const js = {
1685
1685
  ], -1)
1686
1686
  ])], 2)
1687
1687
  ], 2),
1688
- h.value ? (d(), K(He, {
1688
+ h.value ? (d(), K(Ne, {
1689
1689
  key: 0,
1690
1690
  to: "body"
1691
1691
  }, [
@@ -1700,10 +1700,10 @@ const js = {
1700
1700
  B.value ? (d(), y("div", {
1701
1701
  key: 0,
1702
1702
  class: e(v.$style.searchableDropdownEmpty)
1703
- }, " Loading... ", 2)) : E.value.length === 0 ? (d(), y("div", {
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(O, { key: 2 }, Q(E.value, (S, A) => (d(), y("button", {
1706
+ }, " No results found ", 2)) : (d(!0), y(j, { key: 2 }, Q(D.value, (S, A) => (d(), y("button", {
1707
1707
  key: S.value,
1708
1708
  id: `${u}-option-${A}`,
1709
1709
  type: "button",
@@ -1714,29 +1714,29 @@ const js = {
1714
1714
  S.value === f.value ? v.$style.searchableDropdownOptionSelected : "",
1715
1715
  A === q.value ? v.$style.searchableDropdownOptionHighlighted : ""
1716
1716
  ]),
1717
- onMousedown: k[2] || (k[2] = Ee(() => {
1717
+ onMousedown: k[2] || (k[2] = De(() => {
1718
1718
  }, ["prevent"])),
1719
1719
  onClick: (P) => Y(S.value)
1720
1720
  }, _(S.label), 43, qa))), 128))
1721
1721
  ], 6)
1722
- ])) : D("", !0),
1722
+ ])) : E("", !0),
1723
1723
  $.value ? (d(), y("p", {
1724
1724
  key: 1,
1725
1725
  id: `${c}-${s.question.key}-error`,
1726
1726
  class: e(v.$style.fieldError),
1727
1727
  role: "alert"
1728
- }, _($.value), 11, Ma)) : D("", !0)
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", Ha = "_searchableDropdownList_1adip_53", ja = "_searchableDropdownOption_1adip_62", Na = "_searchableDropdownOptionSelected_1adip_80", Oa = "_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", 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 = {
1732
1732
  fieldGroup: Pa,
1733
1733
  searchableDropdown: Fa,
1734
1734
  fieldInput: Ra,
1735
1735
  searchableDropdownToggle: Ga,
1736
- searchableDropdownList: Ha,
1737
- searchableDropdownOption: ja,
1738
- searchableDropdownOptionSelected: Na,
1739
- searchableDropdownOptionHighlighted: Oa,
1736
+ searchableDropdownList: Na,
1737
+ searchableDropdownOption: Oa,
1738
+ searchableDropdownOptionSelected: Ha,
1739
+ searchableDropdownOptionHighlighted: ja,
1740
1740
  searchableDropdownEmpty: Va,
1741
1741
  fieldError: xa
1742
1742
  }, Za = {
@@ -1765,7 +1765,7 @@ const js = {
1765
1765
  role: "region",
1766
1766
  "aria-label": M(n).currentPage.value.title
1767
1767
  }, [
1768
- (d(!0), y(O, null, Q(M(n).visibleQuestions.value, (u) => (d(), y(O, {
1768
+ (d(!0), y(j, null, Q(M(n).visibleQuestions.value, (u) => (d(), y(j, {
1769
1769
  key: u.key
1770
1770
  }, [
1771
1771
  u.style === "radio-card" ? (d(), K(Rs, {
@@ -1789,15 +1789,15 @@ const js = {
1789
1789
  }, null, 8, ["question"])) : u.style === "phone" ? (d(), K(ba, {
1790
1790
  key: 6,
1791
1791
  question: u
1792
- }, null, 8, ["question"])) : u.style === "toggle" ? (d(), K(Ea, {
1792
+ }, null, 8, ["question"])) : u.style === "toggle" ? (d(), K(Da, {
1793
1793
  key: 7,
1794
1794
  question: u
1795
1795
  }, null, 8, ["question"])) : u.style === "searchable-dropdown" ? (d(), K(za, {
1796
1796
  key: 8,
1797
1797
  question: u
1798
- }, null, 8, ["question"])) : D("", !0)
1798
+ }, null, 8, ["question"])) : E("", !0)
1799
1799
  ], 64))), 128)),
1800
- ((c = M(n).currentPage.value) == null ? void 0 : c.id) === "contact-info" ? (d(), y(O, { key: 0 }, [
1800
+ ((c = M(n).currentPage.value) == null ? void 0 : c.id) === "contact-info" ? (d(), y(j, { key: 0 }, [
1801
1801
  t("button", {
1802
1802
  type: "button",
1803
1803
  class: e(l.$style.ctaButton),
@@ -1826,8 +1826,8 @@ const js = {
1826
1826
  }, "Privacy Policy", 2),
1827
1827
  o[2] || (o[2] = me(". ", -1))
1828
1828
  ], 2))
1829
- ], 64)) : D("", !0)
1830
- ], 10, Wa)) : D("", !0);
1829
+ ], 64)) : E("", !0)
1830
+ ], 10, Wa)) : E("", !0);
1831
1831
  };
1832
1832
  }
1833
1833
  }), Qa = "_pageContent_1jpin_2", Ya = "_consentText_1jpin_13", Xa = "_consentLink_1jpin_21", Ja = "_ctaButton_1jpin_26", el = {
@@ -1878,7 +1878,7 @@ const js = {
1878
1878
  return ((l = n.currentPage.value) == null ? void 0 : l.id) === "contact-info";
1879
1879
  }
1880
1880
  );
1881
- return (l, o) => r.value ? D("", !0) : (d(), y("nav", {
1881
+ return (l, o) => r.value ? E("", !0) : (d(), y("nav", {
1882
1882
  key: 0,
1883
1883
  class: e(l.$style.navigation),
1884
1884
  "aria-label": "Page navigation"
@@ -1981,7 +1981,7 @@ const js = {
1981
1981
  M(i).currentPage.value.subtitle ? (d(), y("p", {
1982
1982
  key: 0,
1983
1983
  class: e(l.$style.pageSubtitle)
1984
- }, _(M(i).currentPage.value.subtitle), 3)) : D("", !0)
1984
+ }, _(M(i).currentPage.value.subtitle), 3)) : E("", !0)
1985
1985
  ], 2),
1986
1986
  t("div", {
1987
1987
  class: e(l.$style.contentRight)
@@ -1991,9 +1991,9 @@ const js = {
1991
1991
  ], 2)
1992
1992
  ], 2),
1993
1993
  ue(gl)
1994
- ], 2)) : D("", !0);
1994
+ ], 2)) : E("", !0);
1995
1995
  }
1996
- }), $l = "_layout_1as8w_2", Cl = "_layoutScrollable_1as8w_9", kl = "_addressBar_1as8w_25", _l = "_addressIcon_1as8w_33", wl = "_addressText_1as8w_37", Ll = "_contentSplit_1as8w_43", Il = "_contentLeft_1as8w_57", Sl = "_contentRight_1as8w_63", El = "_pageTitle_1as8w_79", Dl = "_pageSubtitle_1as8w_87", ql = {
1996
+ }), $l = "_layout_1as8w_2", Cl = "_layoutScrollable_1as8w_9", kl = "_addressBar_1as8w_25", _l = "_addressIcon_1as8w_33", wl = "_addressText_1as8w_37", Ll = "_contentSplit_1as8w_43", Il = "_contentLeft_1as8w_57", Sl = "_contentRight_1as8w_63", Dl = "_pageTitle_1as8w_79", El = "_pageSubtitle_1as8w_87", ql = {
1997
1997
  layout: $l,
1998
1998
  layoutScrollable: Cl,
1999
1999
  addressBar: kl,
@@ -2002,8 +2002,8 @@ const js = {
2002
2002
  contentSplit: Ll,
2003
2003
  contentLeft: Il,
2004
2004
  contentRight: Sl,
2005
- pageTitle: El,
2006
- pageSubtitle: Dl
2005
+ pageTitle: Dl,
2006
+ pageSubtitle: El
2007
2007
  }, Ml = {
2008
2008
  $style: ql
2009
2009
  }, Al = /* @__PURE__ */ V(bl, [["__cssModules", Ml]]), Tl = /* @__PURE__ */ F({
@@ -2018,7 +2018,7 @@ const js = {
2018
2018
  },
2019
2019
  emits: ["submit", "page-change", "answer-change", "ready", "error"],
2020
2020
  setup(s, { emit: n }) {
2021
- const i = s, r = je();
2021
+ const i = s, r = Oe();
2022
2022
  ge("dtc-consent-slots", r);
2023
2023
  const l = n, o = w(() => ce(i.appearance));
2024
2024
  function c(h) {
@@ -2053,7 +2053,7 @@ const js = {
2053
2053
  "on-ready": f,
2054
2054
  "on-error": $
2055
2055
  }, {
2056
- default: Ne(() => [
2056
+ default: He(() => [
2057
2057
  ue(Ls, {
2058
2058
  "partner-logo-url": s.partnerLogoUrl,
2059
2059
  "show-close-button": !!s.onClose,
@@ -2069,7 +2069,7 @@ const js = {
2069
2069
  container: Bl
2070
2070
  }, Fl = {
2071
2071
  $style: Pl
2072
- }, er = /* @__PURE__ */ V(Tl, [["__cssModules", Fl]]), Rl = ["disabled"], Gl = ["value", "disabled"], Hl = ["checked", "disabled"], jl = ["checked", "disabled"], Nl = ["disabled"], Ol = ["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"], 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({
2073
2073
  __name: "ScheduleAssessmentFlow",
2074
2074
  props: {
2075
2075
  offerId: {},
@@ -2080,7 +2080,7 @@ const js = {
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 ?? "")), j = L(null), T = L(""), R = L(!1), U = L(null);
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
2084
  be(async () => {
2085
2085
  try {
2086
2086
  const a = await l.value.getAssessmentSlots({
@@ -2105,11 +2105,11 @@ const js = {
2105
2105
  const G = w(() => {
2106
2106
  const a = /* @__PURE__ */ new Map();
2107
2107
  for (const m of f.value) {
2108
- const C = A(m, $.value), H = a.get(C) ?? [];
2109
- H.push(m), a.set(C, H);
2108
+ const C = A(m, $.value), N = a.get(C) ?? [];
2109
+ N.push(m), a.set(C, N);
2110
2110
  }
2111
2111
  return a;
2112
- }), E = w(() => g.value ? Ce(g.value) : []), x = w(
2112
+ }), D = w(() => g.value ? Ce(g.value) : []), x = w(
2113
2113
  () => g.value ? ve(g.value) : ""
2114
2114
  ), Y = w(
2115
2115
  () => g.value ? pe(g.value, G.value) : !1
@@ -2131,7 +2131,7 @@ const js = {
2131
2131
  }
2132
2132
  const se = w(() => {
2133
2133
  const a = q.value.replace(/\D/g, "");
2134
- return !R.value && B.value.trim().length > 0 && a.length >= 10 && j.value !== null && (!j.value || T.value.trim().length > 0);
2134
+ return !R.value && B.value.trim().length > 0 && a.length >= 10 && O.value !== null && (!O.value || T.value.trim().length > 0);
2135
2135
  });
2136
2136
  function b(a) {
2137
2137
  const m = a.target;
@@ -2141,7 +2141,7 @@ const js = {
2141
2141
  if (!(!se.value || !I.value)) {
2142
2142
  R.value = !0, U.value = null;
2143
2143
  try {
2144
- const a = j.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({
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
2145
  offerId: i.offerId,
2146
2146
  selectedInspectionTime: I.value,
2147
2147
  reminderPhone: q.value.replace(/\D/g, ""),
@@ -2151,8 +2151,8 @@ const js = {
2151
2151
  try {
2152
2152
  r("scheduled", m.visitId);
2153
2153
  } catch (C) {
2154
- const H = C instanceof Error ? C : new Error(String(C));
2155
- r("error", H);
2154
+ const N = C instanceof Error ? C : new Error(String(C));
2155
+ r("error", N);
2156
2156
  }
2157
2157
  } catch (a) {
2158
2158
  const m = a instanceof Error ? a : new Error(String(a));
@@ -2178,12 +2178,12 @@ const js = {
2178
2178
  }).format(new Date(a));
2179
2179
  }
2180
2180
  function P(a) {
2181
- const [m, C] = a.split("-").map((H) => parseInt(H, 10));
2181
+ const [m, C] = a.split("-").map((N) => parseInt(N, 10));
2182
2182
  return { year: m, month: C - 1 };
2183
2183
  }
2184
2184
  function W(a, m) {
2185
- const C = a.year * 12 + a.month + m, H = Math.floor(C / 12), ne = C - H * 12;
2186
- return { year: H, month: ne };
2185
+ const C = a.year * 12 + a.month + m, N = Math.floor(C / 12), ne = C - N * 12;
2186
+ return { year: N, month: ne };
2187
2187
  }
2188
2188
  function ve({ year: a, month: m }) {
2189
2189
  return new Date(Date.UTC(a, m, 1)).toLocaleString(void 0, {
@@ -2209,10 +2209,10 @@ const js = {
2209
2209
  }).format(a);
2210
2210
  }
2211
2211
  function Ce({ year: a, month: m }) {
2212
- const C = new Date(Date.UTC(a, m, 1)).getUTCDay(), H = new Date(Date.UTC(a, m + 1, 0)).getUTCDate(), ne = Math.ceil((C + H) / 7) * 7, le = [], Re = String(a).padStart(4, "0"), Ge = String(m + 1).padStart(2, "0");
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");
2213
2213
  for (let Le = 0; Le < ne; Le++) {
2214
2214
  const fe = Le - C + 1;
2215
- fe < 1 || fe > H ? le.push(null) : le.push({
2215
+ fe < 1 || fe > N ? le.push(null) : le.push({
2216
2216
  key: `${Re}-${Ge}-${String(fe).padStart(2, "0")}`,
2217
2217
  day: fe
2218
2218
  });
@@ -2221,16 +2221,16 @@ const js = {
2221
2221
  }
2222
2222
  function pe(a, m) {
2223
2223
  for (const C of m.keys()) {
2224
- const [H, ne] = C.split("-").map((le) => parseInt(le, 10));
2225
- if (H < a.year || H === a.year && ne - 1 < a.month)
2224
+ const [N, ne] = C.split("-").map((le) => parseInt(le, 10));
2225
+ if (N < a.year || N === a.year && ne - 1 < a.month)
2226
2226
  return !0;
2227
2227
  }
2228
2228
  return !1;
2229
2229
  }
2230
2230
  function ke(a, m) {
2231
2231
  for (const C of m.keys()) {
2232
- const [H, ne] = C.split("-").map((le) => parseInt(le, 10));
2233
- if (H > a.year || H === a.year && ne - 1 > a.month)
2232
+ const [N, ne] = C.split("-").map((le) => parseInt(le, 10));
2233
+ if (N > a.year || N === a.year && ne - 1 > a.month)
2234
2234
  return !0;
2235
2235
  }
2236
2236
  return !1;
@@ -2325,7 +2325,7 @@ const js = {
2325
2325
  t("div", {
2326
2326
  class: e(a.$style.summaryCard)
2327
2327
  }, [
2328
- ae.value ? (d(), y(O, { key: 0 }, [
2328
+ ae.value ? (d(), y(j, { key: 0 }, [
2329
2329
  t("div", {
2330
2330
  class: e(a.$style.summaryRow)
2331
2331
  }, [
@@ -2376,7 +2376,7 @@ const js = {
2376
2376
  ])], 2)),
2377
2377
  t("span", null, _(ye(ae.value, $.value)), 1)
2378
2378
  ], 2)
2379
- ], 64)) : D("", !0),
2379
+ ], 64)) : E("", !0),
2380
2380
  s.address ? (d(), y("div", {
2381
2381
  key: 1,
2382
2382
  class: e(a.$style.summaryRow)
@@ -2401,7 +2401,7 @@ const js = {
2401
2401
  }, null, -1)
2402
2402
  ])], 2)),
2403
2403
  t("span", null, _(s.address), 1)
2404
- ], 2)) : D("", !0)
2404
+ ], 2)) : E("", !0)
2405
2405
  ], 2),
2406
2406
  t("button", {
2407
2407
  type: "button",
@@ -2427,7 +2427,7 @@ const js = {
2427
2427
  t("span", {
2428
2428
  class: e(a.$style.fieldLabel)
2429
2429
  }, "Customer name", 2),
2430
- De(t("input", {
2430
+ Ee(t("input", {
2431
2431
  class: e(a.$style.input),
2432
2432
  type: "text",
2433
2433
  "onUpdate:modelValue": m[1] || (m[1] = (C) => B.value = C),
@@ -2468,10 +2468,10 @@ const js = {
2468
2468
  t("input", {
2469
2469
  type: "radio",
2470
2470
  name: "gate-code",
2471
- checked: j.value === !0,
2471
+ checked: O.value === !0,
2472
2472
  disabled: R.value,
2473
- onChange: m[2] || (m[2] = (C) => j.value = !0)
2474
- }, null, 40, Hl),
2473
+ onChange: m[2] || (m[2] = (C) => O.value = !0)
2474
+ }, null, 40, Nl),
2475
2475
  m[13] || (m[13] = t("span", null, "Yes", -1))
2476
2476
  ], 2),
2477
2477
  t("label", {
@@ -2480,35 +2480,35 @@ const js = {
2480
2480
  t("input", {
2481
2481
  type: "radio",
2482
2482
  name: "gate-code",
2483
- checked: j.value === !1,
2483
+ checked: O.value === !1,
2484
2484
  disabled: R.value,
2485
- onChange: m[3] || (m[3] = (C) => j.value = !1)
2486
- }, null, 40, jl),
2485
+ onChange: m[3] || (m[3] = (C) => O.value = !1)
2486
+ }, null, 40, Ol),
2487
2487
  m[14] || (m[14] = t("span", null, "No", -1))
2488
2488
  ], 2)
2489
2489
  ], 2)
2490
2490
  ], 2),
2491
- j.value ? (d(), y("label", {
2491
+ O.value ? (d(), y("label", {
2492
2492
  key: 0,
2493
2493
  class: e(a.$style.field)
2494
2494
  }, [
2495
2495
  t("span", {
2496
2496
  class: e(a.$style.fieldLabel)
2497
2497
  }, " Please provide access instructions for your home. ", 2),
2498
- De(t("input", {
2498
+ Ee(t("input", {
2499
2499
  class: e(a.$style.input),
2500
2500
  type: "text",
2501
2501
  placeholder: "Gate code, directions, etc.",
2502
2502
  "onUpdate:modelValue": m[4] || (m[4] = (C) => T.value = C),
2503
2503
  disabled: R.value
2504
- }, null, 10, Nl), [
2504
+ }, null, 10, Hl), [
2505
2505
  [qe, T.value]
2506
2506
  ])
2507
- ], 2)) : D("", !0),
2507
+ ], 2)) : E("", !0),
2508
2508
  U.value ? (d(), y("p", {
2509
2509
  key: 1,
2510
2510
  class: e(a.$style.errorText)
2511
- }, _(U.value), 3)) : D("", !0),
2511
+ }, _(U.value), 3)) : E("", !0),
2512
2512
  t("div", {
2513
2513
  class: e(a.$style.actionsRow)
2514
2514
  }, [
@@ -2517,7 +2517,7 @@ const js = {
2517
2517
  class: e(a.$style.linkButton),
2518
2518
  disabled: R.value,
2519
2519
  onClick: m[5] || (m[5] = (C) => c.value = "select")
2520
- }, " ← Back ", 10, Ol),
2520
+ }, " ← Back ", 10, jl),
2521
2521
  t("button", {
2522
2522
  type: "button",
2523
2523
  class: e(a.$style.primaryButton),
@@ -2534,7 +2534,7 @@ const js = {
2534
2534
  t("h3", {
2535
2535
  class: e(a.$style.faqHeader)
2536
2536
  }, "Frequently asked questions", 2),
2537
- (d(), y(O, null, Q(Fe, (C) => t("details", {
2537
+ (d(), y(j, null, Q(Fe, (C) => t("details", {
2538
2538
  key: C.title,
2539
2539
  class: e(a.$style.faqItem)
2540
2540
  }, [
@@ -2592,7 +2592,7 @@ const js = {
2592
2592
  t("div", {
2593
2593
  class: e(a.$style.featuresList)
2594
2594
  }, [
2595
- (d(), y(O, null, Q(we, (C) => t("div", {
2595
+ (d(), y(j, null, Q(we, (C) => t("div", {
2596
2596
  key: C.title,
2597
2597
  class: e(a.$style.feature)
2598
2598
  }, [
@@ -2632,12 +2632,12 @@ const js = {
2632
2632
  t("div", {
2633
2633
  class: e(a.$style.calendarGrid)
2634
2634
  }, [
2635
- (d(), y(O, null, Q(_e, (C) => t("div", {
2635
+ (d(), y(j, null, Q(_e, (C) => t("div", {
2636
2636
  key: C,
2637
2637
  class: e(a.$style.calendarDayHeader)
2638
2638
  }, _(C), 3)), 64)),
2639
- (d(!0), y(O, null, Q(E.value, (C, H) => (d(), y("button", {
2640
- key: C ? C.key : `empty-${x.value}-${H}`,
2639
+ (d(!0), y(j, null, Q(D.value, (C, N) => (d(), y("button", {
2640
+ key: C ? C.key : `empty-${x.value}-${N}`,
2641
2641
  type: "button",
2642
2642
  class: e(
2643
2643
  C && h.value === C.key ? a.$style.calendarDaySelected : C && G.value.has(C.key) ? a.$style.calendarDayAvailable : a.$style.calendarDayDisabled
@@ -2647,23 +2647,23 @@ const js = {
2647
2647
  onClick: (ne) => te(C)
2648
2648
  }, _(C ? C.day : ""), 11, Zl))), 128))
2649
2649
  ], 2),
2650
- z.value ? (d(), y(O, { key: 0 }, [
2650
+ z.value ? (d(), y(j, { key: 0 }, [
2651
2651
  t("p", {
2652
2652
  class: e(a.$style.timesHeader)
2653
2653
  }, " Available times for " + _(z.value), 3),
2654
2654
  t("div", {
2655
2655
  class: e(a.$style.timeRow)
2656
2656
  }, [
2657
- (d(!0), y(O, null, Q(J.value, (C) => (d(), y("button", {
2657
+ (d(!0), y(j, null, Q(J.value, (C) => (d(), y("button", {
2658
2658
  key: C,
2659
2659
  type: "button",
2660
2660
  class: e(
2661
2661
  C === I.value ? a.$style.timeButtonSelected : a.$style.timeButton
2662
2662
  ),
2663
- onClick: (H) => I.value = C
2663
+ onClick: (N) => I.value = C
2664
2664
  }, _(ye(new Date(C), $.value)), 11, zl))), 128))
2665
2665
  ], 2)
2666
- ], 64)) : D("", !0),
2666
+ ], 64)) : E("", !0),
2667
2667
  t("button", {
2668
2668
  type: "button",
2669
2669
  class: e(a.$style.primaryButton),
@@ -2675,7 +2675,7 @@ const js = {
2675
2675
  ], 2)
2676
2676
  ], 6));
2677
2677
  }
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", Eo = "_radioOption_1lu6h_326", Do = "_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", Ho = "_primaryButton_1lu6h_438", jo = "_successCheckCircle_1lu6h_471", No = "_summaryCard_1lu6h_483", Oo = "_summaryRow_1lu6h_493", Vo = "_summaryIcon_1lu6h_501", xo = {
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 = {
2679
2679
  root: Ql,
2680
2680
  card: Yl,
2681
2681
  titleLarge: Xl,
@@ -2707,8 +2707,8 @@ const js = {
2707
2707
  input: Lo,
2708
2708
  fieldset: Io,
2709
2709
  radioRow: So,
2710
- radioOption: Eo,
2711
- faqBelowActions: Do,
2710
+ radioOption: Do,
2711
+ faqBelowActions: Eo,
2712
2712
  faq: qo,
2713
2713
  faqHeader: Mo,
2714
2714
  faqItem: Ao,
@@ -2718,10 +2718,10 @@ const js = {
2718
2718
  errorText: Fo,
2719
2719
  actionsRow: Ro,
2720
2720
  linkButton: Go,
2721
- primaryButton: Ho,
2722
- successCheckCircle: jo,
2723
- summaryCard: No,
2724
- summaryRow: Oo,
2721
+ primaryButton: No,
2722
+ successCheckCircle: Oo,
2723
+ summaryCard: Ho,
2724
+ summaryRow: jo,
2725
2725
  summaryIcon: Vo
2726
2726
  }, Uo = {
2727
2727
  $style: xo
@@ -2730,11 +2730,12 @@ export {
2730
2730
  Yo as AddressEntry,
2731
2731
  Xo as AddressMap,
2732
2732
  Jo as AddressUnitConfirmation,
2733
+ ar as DTC_ONBOARDING_PAGE_IDS,
2733
2734
  er as DtcOnboardingFlow,
2734
- ar as OpendoorClient,
2735
+ lr as OpendoorClient,
2735
2736
  Qo as OpendoorProvider,
2736
2737
  tr as ScheduleAssessmentFlow,
2737
- lr as THEMES,
2738
- or as resolveAppearance,
2738
+ or as THEMES,
2739
+ rr as resolveAppearance,
2739
2740
  Pe as useOpendoorClient
2740
2741
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendoor/partner-sdk-client-vue",
3
- "version": "1.3.0",
3
+ "version": "1.3.1-beta.108.1",
4
4
  "description": "Vue 3 components for Opendoor partner integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",