@opendoor/partner-sdk-client-react 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.
@@ -1,9 +1,10 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
  import { AnswerValue } from '../../../../client-js-core/src/internal/questionnaire/index.ts';
3
+ import { DtcOnboardingPageId } from '../../../../client-js-core/src/index.ts';
3
4
 
4
5
  interface DtcProviderProps {
5
6
  initialAnswers?: Record<string, AnswerValue>;
6
- skipPages?: string[];
7
+ skipPages?: readonly DtcOnboardingPageId[];
7
8
  smsConsentText?: ReactNode;
8
9
  contactConsentText?: ReactNode;
9
10
  onSubmit: (answers: Record<string, AnswerValue>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"DtcProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/DtcOnboardingFlow/DtcProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,WAAW,EAKZ,MAAM,6DAA6D,CAAC;AAKrE,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkLlD,CAAC"}
1
+ {"version":3,"file":"DtcProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/DtcOnboardingFlow/DtcProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,WAAW,EAKZ,MAAM,6DAA6D,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAIhF,UAAU,gBAAgB;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC3C,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkLlD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { OpendoorAppearance, Address } from '../../../../client-js-core/src/index.ts';
2
+ import { OpendoorAppearance, Address, DtcOnboardingPageId } from '../../../../client-js-core/src/index.ts';
3
3
  import { AnswerValue } from '../../../../client-js-core/src/internal/questionnaire/index.ts';
4
4
 
5
5
  export interface DtcOnboardingFlowProps {
@@ -21,6 +21,10 @@ export interface DtcOnboardingFlowProps {
21
21
  * pair this with `initialAnswers` so the value still makes it into the
22
22
  * submitted data.
23
23
  *
24
+ * Valid IDs are exported as {@link DTC_ONBOARDING_PAGE_IDS} from
25
+ * `@opendoor/partner-sdk-client-js-core`; the type is
26
+ * {@link DtcOnboardingPageId}.
27
+ *
24
28
  * @example
25
29
  * ```tsx
26
30
  * <DtcOnboardingFlow
@@ -33,7 +37,7 @@ export interface DtcOnboardingFlowProps {
33
37
  * />
34
38
  * ```
35
39
  */
36
- skipPages?: string[];
40
+ skipPages?: readonly DtcOnboardingPageId[];
37
41
  /** Custom SMS opt-in label shown on the marketing consent toggle on the contact page. Replaces the default Opendoor SMS consent language. Accepts any ReactNode. */
38
42
  smsConsentText?: ReactNode;
39
43
  /** Called when the user navigates to a different page. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DtcOnboardingFlow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,OAAO,EACR,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6DAA6D,CAAC;AAO/F,MAAM,WAAW,sBAAsB;IACrC,0CAA0C;IAC1C,OAAO,EAAE,OAAO,CAAC;IAEjB,wDAAwD;IACxD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IAEzD,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,oEAAoE;IACpE,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAE7C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB,oKAAoK;IACpK,cAAc,CAAC,EAAE,SAAS,CAAC;IAE3B,0DAA0D;IAC1D,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3D,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAE3D,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmC9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DtcOnboardingFlow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,OAAO,EACP,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6DAA6D,CAAC;AAO/F,MAAM,WAAW,sBAAsB;IACrC,0CAA0C;IAC1C,OAAO,EAAE,OAAO,CAAC;IAEjB,wDAAwD;IACxD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IAEzD,mFAAmF;IACnF,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,oEAAoE;IACpE,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAEhC,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAE7C;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,SAAS,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAE3C,oKAAoK;IACpK,cAAc,CAAC,EAAE,SAAS,CAAC;IAE3B,0DAA0D;IAC1D,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3D,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAE3D,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmC9D,CAAC"}
@@ -11,6 +11,6 @@ export { DtcOnboardingFlow } from './components/DtcOnboardingFlow';
11
11
  export type { DtcOnboardingFlowProps } from './components/DtcOnboardingFlow';
12
12
  export { ScheduleAssessmentFlow } from './components/ScheduleAssessmentFlow';
13
13
  export type { ScheduleAssessmentFlowProps } from './components/ScheduleAssessmentFlow';
14
- export type { Address, CreateOfferRequest, CreateOfferResponse, AddressSuggestionsResponse, OpendoorClientConfig, OpendoorAppearance, OpendoorThemeVariables, } from '../../client-js-core/src/index.ts';
15
- export { THEMES, resolveAppearance, } from '../../client-js-core/src/index.ts';
14
+ export type { Address, CreateOfferRequest, CreateOfferResponse, AddressSuggestionsResponse, OpendoorClientConfig, OpendoorAppearance, OpendoorThemeVariables, DtcOnboardingPageId, } from '../../client-js-core/src/index.ts';
15
+ export { THEMES, resolveAppearance, DTC_ONBOARDING_PAGE_IDS, } from '../../client-js-core/src/index.ts';
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGzF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAG7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAGvF,YAAY,EACV,OAAO,EACP,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,MAAM,EACN,iBAAiB,GAClB,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGzF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAG7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,YAAY,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAGvF,YAAY,EACV,OAAO,EACP,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,sCAAsC,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import xt, { createContext as Ue, useState as S, useEffect as oe, useContext as De, useRef as G, useMemo as Ie, useCallback as Ee, useLayoutEffect as Ut } from "react";
2
- import { createPortal as Gt } from "react-dom";
1
+ import xt, { createContext as Ge, useState as S, useEffect as oe, useContext as De, useRef as U, useMemo as Ie, useCallback as Ee, useLayoutEffect as Gt } from "react";
2
+ import { createPortal as Ut } from "react-dom";
3
3
  var qe = { exports: {} }, je = {};
4
4
  /*
5
5
  object-assign
@@ -243,7 +243,7 @@ function Zt() {
243
243
  se < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
244
244
  }
245
245
  }
246
- var U = q.ReactCurrentDispatcher, B;
246
+ var G = q.ReactCurrentDispatcher, B;
247
247
  function le(n, c, b) {
248
248
  {
249
249
  if (B === void 0)
@@ -275,7 +275,7 @@ function Zt() {
275
275
  var H = Error.prepareStackTrace;
276
276
  Error.prepareStackTrace = void 0;
277
277
  var F;
278
- F = U.current, U.current = null, I();
278
+ F = G.current, G.current = null, I();
279
279
  try {
280
280
  if (c) {
281
281
  var T = function() {
@@ -328,7 +328,7 @@ function Zt() {
328
328
  }
329
329
  }
330
330
  } finally {
331
- fe = !1, U.current = F, R(), Error.prepareStackTrace = H;
331
+ fe = !1, G.current = F, R(), Error.prepareStackTrace = H;
332
332
  }
333
333
  var ke = n ? n.displayName || n.name : "", at = ke ? le(ke) : "";
334
334
  return typeof n == "function" && ge.set(n, at), at;
@@ -751,7 +751,7 @@ class ir {
751
751
  this.buffer.push(JSON.stringify(a)), (this.buffer.length >= Qt || sr(this.buffer)) && this.flush();
752
752
  }
753
753
  }
754
- const Ge = {
754
+ const Ue = {
755
755
  trackPlatform() {
756
756
  },
757
757
  trackSell() {
@@ -760,11 +760,11 @@ const Ge = {
760
760
  },
761
761
  destroy() {
762
762
  }
763
- }, Ye = Ue(null), wt = Ue(Ge), Do = ({
763
+ }, Ye = Ge(null), wt = Ge(Ue), Do = ({
764
764
  client: e,
765
765
  children: r
766
766
  }) => {
767
- const [a, s] = S(Ge);
767
+ const [a, s] = S(Ue);
768
768
  return oe(() => {
769
769
  const o = new ir(e.environment);
770
770
  return s(o), () => {
@@ -780,16 +780,16 @@ const Ge = {
780
780
  return e;
781
781
  }, Ze = () => De(wt);
782
782
  function jt(e, r = {}) {
783
- const a = Ze(), s = G(a);
783
+ const a = Ze(), s = U(a);
784
784
  s.current = a;
785
- const o = G(null), i = G(!1);
785
+ const o = U(null), i = U(!1);
786
786
  return oe(() => {
787
787
  const _ = o.current;
788
788
  if (!_ || !e || i.current) return;
789
789
  const f = new IntersectionObserver(
790
790
  ([u]) => {
791
791
  if (u.isIntersecting && !i.current) {
792
- if (s.current === Ge) return;
792
+ if (s.current === Ue) return;
793
793
  i.current = !0, s.current.trackPlatform({
794
794
  inputViewEvent: { targetName: e }
795
795
  }), r.immediate && s.current.flush(), f.disconnect();
@@ -885,6 +885,25 @@ function cr(e) {
885
885
  const r = lr[(e == null ? void 0 : e.theme) ?? "default"];
886
886
  return e != null && e.variables ? { ...r, ...e.variables } : r;
887
887
  }
888
+ const Ao = [
889
+ "confirm-home-details",
890
+ "ownership",
891
+ "sale-timeline",
892
+ "kitchen-condition",
893
+ "bathroom-condition",
894
+ "living-room-condition",
895
+ "exterior-condition",
896
+ "hoa",
897
+ "hoa-type",
898
+ "hoa-guard",
899
+ "hoa-fees",
900
+ "eligibility-criteria",
901
+ "upgrades",
902
+ "homebuilder",
903
+ "homebuilder-name",
904
+ "homebuilder-details",
905
+ "contact-info"
906
+ ];
888
907
  function Se(e) {
889
908
  const r = cr(e), a = {};
890
909
  for (const [s, o] of Object.entries(r)) {
@@ -987,7 +1006,7 @@ function ht(e) {
987
1006
  const r = [e.street1];
988
1007
  return e.street2 && (r[0] += ` ${e.street2}`), r.push(`${e.city}, ${e.state} ${e.postalCode}`), r.join(", ");
989
1008
  }
990
- function Ao({
1009
+ function Oo({
991
1010
  onAddressSelect: e,
992
1011
  enableAddressSuggestions: r = !0,
993
1012
  debounceMs: a = 300,
@@ -1013,15 +1032,15 @@ function Ao({
1013
1032
  city: "",
1014
1033
  state: "",
1015
1034
  postalCode: ""
1016
- }), Q = G(null), pe = jt("partner-sdk-address-input", {
1035
+ }), Q = U(null), pe = jt("partner-sdk-address-input", {
1017
1036
  immediate: !0
1018
- }), he = G(P);
1037
+ }), he = U(P);
1019
1038
  he.current = P;
1020
- const I = G(k);
1039
+ const I = U(k);
1021
1040
  I.current = k;
1022
- const R = G(W);
1041
+ const R = U(W);
1023
1042
  R.current = W;
1024
- const U = G(null), B = $ && !ae && M.trim().length >= 3 && q.length === 0 && !y;
1043
+ const G = U(null), B = $ && !ae && M.trim().length >= 3 && q.length === 0 && !y;
1025
1044
  oe(() => {
1026
1045
  g == null || g();
1027
1046
  }, []), oe(() => {
@@ -1046,7 +1065,7 @@ function Ao({
1046
1065
  return () => clearTimeout(w);
1047
1066
  }, [M, se, r, a, Y]), oe(() => {
1048
1067
  const w = (J) => {
1049
- U.current && !U.current.contains(J.target) && Q.current && !Q.current.contains(J.target) && Z(!1);
1068
+ G.current && !G.current.contains(J.target) && Q.current && !Q.current.contains(J.target) && Z(!1);
1050
1069
  };
1051
1070
  return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
1052
1071
  }, []);
@@ -1292,7 +1311,7 @@ function Ao({
1292
1311
  ($ || ve) && /* @__PURE__ */ t.jsx(
1293
1312
  "div",
1294
1313
  {
1295
- ref: U,
1314
+ ref: G,
1296
1315
  className: `${D.suggestions} ${ve ? D.errorState : ""}`,
1297
1316
  id: "address-suggestions",
1298
1317
  role: ve && !$ ? "alert" : "listbox",
@@ -1329,7 +1348,7 @@ function Ao({
1329
1348
  s && /* @__PURE__ */ t.jsx(fr, {})
1330
1349
  ] });
1331
1350
  }
1332
- const Or = "_container_rg8mk_3", Rr = "_title_rg8mk_7", Br = "_addressCard_rg8mk_16", Mr = "_addressText_rg8mk_26", $r = "_editLink_rg8mk_34", Fr = "_fieldGroup_rg8mk_47", Wr = "_fieldLabel_rg8mk_51", Hr = "_input_rg8mk_60", Vr = "_checkboxRow_rg8mk_84", qr = "_checkbox_rg8mk_84", Ur = "_checkboxLabel_rg8mk_101", Gr = "_error_rg8mk_108", Yr = "_actions_rg8mk_115", Zr = "_confirmButton_rg8mk_120", de = {
1351
+ const Or = "_container_rg8mk_3", Rr = "_title_rg8mk_7", Br = "_addressCard_rg8mk_16", Mr = "_addressText_rg8mk_26", $r = "_editLink_rg8mk_34", Fr = "_fieldGroup_rg8mk_47", Wr = "_fieldLabel_rg8mk_51", Hr = "_input_rg8mk_60", Vr = "_checkboxRow_rg8mk_84", qr = "_checkbox_rg8mk_84", Gr = "_checkboxLabel_rg8mk_101", Ur = "_error_rg8mk_108", Yr = "_actions_rg8mk_115", Zr = "_confirmButton_rg8mk_120", de = {
1333
1352
  container: Or,
1334
1353
  title: Rr,
1335
1354
  addressCard: Br,
@@ -1340,15 +1359,15 @@ const Or = "_container_rg8mk_3", Rr = "_title_rg8mk_7", Br = "_addressCard_rg8mk
1340
1359
  input: Hr,
1341
1360
  checkboxRow: Vr,
1342
1361
  checkbox: qr,
1343
- checkboxLabel: Ur,
1344
- error: Gr,
1362
+ checkboxLabel: Gr,
1363
+ error: Ur,
1345
1364
  actions: Yr,
1346
1365
  confirmButton: Zr
1347
1366
  };
1348
1367
  function Kr(e) {
1349
1368
  return `${e.street1 + (e.street2 ? ` ${e.street2}` : "")}, ${e.city}, ${e.state} ${e.postalCode}`;
1350
1369
  }
1351
- function Oo({
1370
+ function Ro({
1352
1371
  address: e,
1353
1372
  appearance: r,
1354
1373
  onConfirm: a,
@@ -1476,7 +1495,7 @@ const sn = "_container_1vap7_3", on = "_mapImage_1vap7_13", ln = "_mapImageLoade
1476
1495
  mapImage: on,
1477
1496
  mapImageLoaded: ln
1478
1497
  };
1479
- function Ro({
1498
+ function Bo({
1480
1499
  address: e,
1481
1500
  appearance: r,
1482
1501
  mapboxAccessToken: a,
@@ -1494,9 +1513,9 @@ function Ro({
1494
1513
  width: o,
1495
1514
  height: i,
1496
1515
  zoom: _
1497
- }), [x, E] = S(!1), k = G(u);
1516
+ }), [x, E] = S(!1), k = U(u);
1498
1517
  k.current = u;
1499
- const W = G(h);
1518
+ const W = U(h);
1500
1519
  W.current = h, oe(() => {
1501
1520
  var j;
1502
1521
  g === "error" && ((j = W.current) == null || j.call(W, new Error("Failed to load map for address")));
@@ -2359,7 +2378,7 @@ const wn = Ae("kitchen", "home.kitchen_seller_score", "How would you describe yo
2359
2378
  function mt(e) {
2360
2379
  return new mn(Bn, e);
2361
2380
  }
2362
- const Et = Ue(null);
2381
+ const Et = Ge(null);
2363
2382
  function me() {
2364
2383
  const e = De(Et);
2365
2384
  if (!e)
@@ -2381,19 +2400,19 @@ const Mn = ({
2381
2400
  children: h
2382
2401
  }) => {
2383
2402
  var y;
2384
- const d = G(o);
2403
+ const d = U(o);
2385
2404
  d.current = o;
2386
- const m = G(i);
2405
+ const m = U(i);
2387
2406
  m.current = i;
2388
- const g = G(_);
2407
+ const g = U(_);
2389
2408
  g.current = _;
2390
- const x = G(f);
2409
+ const x = U(f);
2391
2410
  x.current = f;
2392
- const E = G(u);
2411
+ const E = U(u);
2393
2412
  E.current = u;
2394
2413
  const [k, W] = S(
2395
2414
  () => mt({ initialAnswers: e, skipPages: r })
2396
- ), P = (r ?? []).join("|"), Y = G(P);
2415
+ ), P = (r ?? []).join("|"), Y = U(P);
2397
2416
  oe(() => {
2398
2417
  P !== Y.current && (Y.current = P, W(mt({ initialAnswers: e, skipPages: r })));
2399
2418
  }, [P]);
@@ -2426,7 +2445,7 @@ const Mn = ({
2426
2445
  C.forEach((O) => O()), k.destroy();
2427
2446
  };
2428
2447
  }, [k]);
2429
- const ae = G(e);
2448
+ const ae = U(e);
2430
2449
  oe(() => {
2431
2450
  e && e !== ae.current && (ae.current = e, k.setAnswers(e));
2432
2451
  }, [e, k]);
@@ -2483,15 +2502,15 @@ const Mn = ({
2483
2502
  ]
2484
2503
  );
2485
2504
  return /* @__PURE__ */ t.jsx(Et.Provider, { value: ue, children: h });
2486
- }, $n = "_container_uharh_7", Fn = "_header_uharh_20", Wn = "_headerLogos_uharh_30", Hn = "_headerPartnerLogo_uharh_36", Vn = "_headerOpendoorLogo_uharh_42", qn = "_headerCloseButton_uharh_46", Un = "_layout_uharh_71", Gn = "_layoutScrollable_uharh_78", Yn = "_addressBar_uharh_94", Zn = "_addressIcon_uharh_102", Kn = "_addressText_uharh_106", zn = "_contentSplit_uharh_112", Jn = "_contentLeft_uharh_126", Xn = "_contentRight_uharh_132", Qn = "_pageTitle_uharh_148", ea = "_pageSubtitle_uharh_156", ta = "_pageContent_uharh_165", ra = "_navigation_uharh_173", na = "_navigationButtons_uharh_187", aa = "_backButton_uharh_193", sa = "_nextButton_uharh_216", oa = "_progressBar_uharh_242", ia = "_progressBarFill_uharh_249", la = "_radioCardGroup_uharh_257", ca = "_radioCard_uharh_257", ua = "_radioCardSelected_uharh_289", da = "_radioCardLabel_uharh_294", ha = "_radioCardDescription_uharh_300", fa = "_imageCardGroup_uharh_307", ma = "_imageCard_uharh_307", pa = "_imageCardSelected_uharh_339", ga = "_imageCardPhoto_uharh_344", _a = "_imageCardLabel_uharh_351", ba = "_imageCardDescription_uharh_358", ya = "_fieldGroup_uharh_367", va = "_fieldLabel_uharh_373", xa = "_fieldDescription_uharh_380", Ca = "_fieldSelect_uharh_387", wa = "_fieldSelectError_uharh_413", ka = "_fieldInputWrapper_uharh_417", ja = "_fieldInput_uharh_417", Na = "_fieldInputError_uharh_455", Ia = "_fieldSuffix_uharh_459", Ea = "_fieldError_uharh_470", Sa = "_checkboxCardGroup_uharh_479", Pa = "_checkboxCard_uharh_479", La = "_checkboxCardSelected_uharh_511", Ta = "_checkboxCardContent_uharh_516", Da = "_checkboxCardLabel_uharh_523", Aa = "_checkboxCardHelper_uharh_529", Oa = "_checkboxIndicator_uharh_534", Ra = "_checkboxIndicatorChecked_uharh_546", Ba = "_currencyWrapper_uharh_554", Ma = "_currencyPrefix_uharh_560", $a = "_currencyInput_uharh_569", Fa = "_consentText_uharh_589", Wa = "_consentLink_uharh_597", Ha = "_ctaButton_uharh_602", Va = "_toggleGroup_uharh_634", qa = "_toggleLabel_uharh_638", Ua = "_toggleCheckbox_uharh_646", Ga = "_toggleText_uharh_655", Ya = "_searchableDropdown_uharh_663", Za = "_searchableDropdownToggle_uharh_673", Ka = "_searchableDropdownList_uharh_686", za = "_searchableDropdownOption_uharh_695", Ja = "_searchableDropdownOptionSelected_uharh_713", Xa = "_searchableDropdownOptionHighlighted_uharh_718", Qa = "_searchableDropdownEmpty_uharh_722", l = {
2505
+ }, $n = "_container_uharh_7", Fn = "_header_uharh_20", Wn = "_headerLogos_uharh_30", Hn = "_headerPartnerLogo_uharh_36", Vn = "_headerOpendoorLogo_uharh_42", qn = "_headerCloseButton_uharh_46", Gn = "_layout_uharh_71", Un = "_layoutScrollable_uharh_78", Yn = "_addressBar_uharh_94", Zn = "_addressIcon_uharh_102", Kn = "_addressText_uharh_106", zn = "_contentSplit_uharh_112", Jn = "_contentLeft_uharh_126", Xn = "_contentRight_uharh_132", Qn = "_pageTitle_uharh_148", ea = "_pageSubtitle_uharh_156", ta = "_pageContent_uharh_165", ra = "_navigation_uharh_173", na = "_navigationButtons_uharh_187", aa = "_backButton_uharh_193", sa = "_nextButton_uharh_216", oa = "_progressBar_uharh_242", ia = "_progressBarFill_uharh_249", la = "_radioCardGroup_uharh_257", ca = "_radioCard_uharh_257", ua = "_radioCardSelected_uharh_289", da = "_radioCardLabel_uharh_294", ha = "_radioCardDescription_uharh_300", fa = "_imageCardGroup_uharh_307", ma = "_imageCard_uharh_307", pa = "_imageCardSelected_uharh_339", ga = "_imageCardPhoto_uharh_344", _a = "_imageCardLabel_uharh_351", ba = "_imageCardDescription_uharh_358", ya = "_fieldGroup_uharh_367", va = "_fieldLabel_uharh_373", xa = "_fieldDescription_uharh_380", Ca = "_fieldSelect_uharh_387", wa = "_fieldSelectError_uharh_413", ka = "_fieldInputWrapper_uharh_417", ja = "_fieldInput_uharh_417", Na = "_fieldInputError_uharh_455", Ia = "_fieldSuffix_uharh_459", Ea = "_fieldError_uharh_470", Sa = "_checkboxCardGroup_uharh_479", Pa = "_checkboxCard_uharh_479", La = "_checkboxCardSelected_uharh_511", Ta = "_checkboxCardContent_uharh_516", Da = "_checkboxCardLabel_uharh_523", Aa = "_checkboxCardHelper_uharh_529", Oa = "_checkboxIndicator_uharh_534", Ra = "_checkboxIndicatorChecked_uharh_546", Ba = "_currencyWrapper_uharh_554", Ma = "_currencyPrefix_uharh_560", $a = "_currencyInput_uharh_569", Fa = "_consentText_uharh_589", Wa = "_consentLink_uharh_597", Ha = "_ctaButton_uharh_602", Va = "_toggleGroup_uharh_634", qa = "_toggleLabel_uharh_638", Ga = "_toggleCheckbox_uharh_646", Ua = "_toggleText_uharh_655", Ya = "_searchableDropdown_uharh_663", Za = "_searchableDropdownToggle_uharh_673", Ka = "_searchableDropdownList_uharh_686", za = "_searchableDropdownOption_uharh_695", Ja = "_searchableDropdownOptionSelected_uharh_713", Xa = "_searchableDropdownOptionHighlighted_uharh_718", Qa = "_searchableDropdownEmpty_uharh_722", l = {
2487
2506
  container: $n,
2488
2507
  header: Fn,
2489
2508
  headerLogos: Wn,
2490
2509
  headerPartnerLogo: Hn,
2491
2510
  headerOpendoorLogo: Vn,
2492
2511
  headerCloseButton: qn,
2493
- layout: Un,
2494
- layoutScrollable: Gn,
2512
+ layout: Gn,
2513
+ layoutScrollable: Un,
2495
2514
  addressBar: Yn,
2496
2515
  addressIcon: Zn,
2497
2516
  addressText: Kn,
@@ -2544,8 +2563,8 @@ const Mn = ({
2544
2563
  ctaButton: Ha,
2545
2564
  toggleGroup: Va,
2546
2565
  toggleLabel: qa,
2547
- toggleCheckbox: Ua,
2548
- toggleText: Ga,
2566
+ toggleCheckbox: Ga,
2567
+ toggleText: Ua,
2549
2568
  searchableDropdown: Ya,
2550
2569
  searchableDropdownToggle: Za,
2551
2570
  searchableDropdownList: Ka,
@@ -2667,7 +2686,7 @@ const Mn = ({
2667
2686
  ] });
2668
2687
  }, as = ({ question: e }) => {
2669
2688
  var d;
2670
- const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = me(), i = r(e.key), _ = o[e.key], f = G(null);
2689
+ const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = me(), i = r(e.key), _ = o[e.key], f = U(null);
2671
2690
  oe(() => () => {
2672
2691
  f.current && clearTimeout(f.current);
2673
2692
  }, []);
@@ -2751,7 +2770,7 @@ const is = {
2751
2770
  "exterior-luxury": re("2023-04-1681773220487-59852.png")
2752
2771
  }, ls = ({ question: e }) => {
2753
2772
  var h;
2754
- const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = me(), i = r(e.key), _ = o[e.key], f = G(null);
2773
+ const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = me(), i = r(e.key), _ = o[e.key], f = U(null);
2755
2774
  oe(() => () => {
2756
2775
  f.current && clearTimeout(f.current);
2757
2776
  }, []);
@@ -3000,7 +3019,7 @@ function bs(e) {
3000
3019
  }
3001
3020
  const ys = ({ question: e }) => {
3002
3021
  var ue;
3003
- const { getAnswer: r, setAnswer: a, validationErrors: s } = me(), o = r(e.key), i = s[e.key], _ = `${e.key}-combobox`, [f, u] = S(""), [h, d] = S(!1), [m, g] = S([]), [x, E] = S(!1), k = G(null), W = G(null), P = G(null), [Y, j] = S(null), [ne, M] = S({}), ie = De(Ye);
3022
+ const { getAnswer: r, setAnswer: a, validationErrors: s } = me(), o = r(e.key), i = s[e.key], _ = `${e.key}-combobox`, [f, u] = S(""), [h, d] = S(!1), [m, g] = S([]), [x, E] = S(!1), k = U(null), W = U(null), P = U(null), [Y, j] = S(null), [ne, M] = S({}), ie = De(Ye);
3004
3023
  oe(() => {
3005
3024
  let y = !1;
3006
3025
  return e.dataSource === "homebuilders" && ie ? (E(!0), ie.getHomebuilders().then((C) => {
@@ -3031,7 +3050,7 @@ const ys = ({ question: e }) => {
3031
3050
  const q = Ee(() => {
3032
3051
  const y = W.current;
3033
3052
  if (!y) return;
3034
- const C = y.getBoundingClientRect(), v = window.visualViewport, O = (v == null ? void 0 : v.height) ?? window.innerHeight, Q = (v == null ? void 0 : v.width) ?? window.innerWidth, pe = (v == null ? void 0 : v.offsetTop) ?? 0, he = (v == null ? void 0 : v.offsetLeft) ?? 0, R = pe + O - C.bottom - pt - Le, U = Math.max(
3053
+ const C = y.getBoundingClientRect(), v = window.visualViewport, O = (v == null ? void 0 : v.height) ?? window.innerHeight, Q = (v == null ? void 0 : v.width) ?? window.innerWidth, pe = (v == null ? void 0 : v.offsetTop) ?? 0, he = (v == null ? void 0 : v.offsetLeft) ?? 0, R = pe + O - C.bottom - pt - Le, G = Math.max(
3035
3054
  _s,
3036
3055
  Math.min(gs, R)
3037
3056
  ), B = Math.min(C.width, Q - Le * 2), le = he + Le, fe = he + Q - B - Le, ge = Math.max(le, Math.min(C.left, fe));
@@ -3039,10 +3058,10 @@ const ys = ({ question: e }) => {
3039
3058
  top: C.bottom + window.scrollY + pt,
3040
3059
  left: ge + window.scrollX,
3041
3060
  width: B,
3042
- maxHeight: U
3061
+ maxHeight: G
3043
3062
  });
3044
3063
  }, []);
3045
- Ut(() => {
3064
+ Gt(() => {
3046
3065
  if (!h) {
3047
3066
  j(null);
3048
3067
  return;
@@ -3094,7 +3113,7 @@ const ys = ({ question: e }) => {
3094
3113
  y.preventDefault(), d(!1), ae(-1);
3095
3114
  break;
3096
3115
  }
3097
- }, se = h && Y && typeof document < "u" ? Gt(
3116
+ }, se = h && Y && typeof document < "u" ? Ut(
3098
3117
  /* @__PURE__ */ t.jsx(
3099
3118
  "div",
3100
3119
  {
@@ -3203,7 +3222,7 @@ function vs(e) {
3203
3222
  }
3204
3223
  }
3205
3224
  const xs = () => {
3206
- const { currentPage: e, visibleQuestions: r, goToNext: a, contactConsentText: s } = me(), o = G(null);
3225
+ const { currentPage: e, visibleQuestions: r, goToNext: a, contactConsentText: s } = me(), o = U(null);
3207
3226
  return oe(() => {
3208
3227
  var i, _, f;
3209
3228
  (_ = (i = o.current) == null ? void 0 : i.scrollTo) == null || _.call(i, { top: 0, behavior: "smooth" }), (f = o.current) == null || f.focus();
@@ -3294,7 +3313,7 @@ const xs = () => {
3294
3313
  ] }),
3295
3314
  /* @__PURE__ */ t.jsx(ns, {})
3296
3315
  ] });
3297
- }, Bo = ({
3316
+ }, Mo = ({
3298
3317
  address: e,
3299
3318
  onSubmit: r,
3300
3319
  partnerLogoUrl: a,
@@ -3328,7 +3347,7 @@ const xs = () => {
3328
3347
  ]
3329
3348
  }
3330
3349
  ) });
3331
- }, ws = "_root_1iq32_7", ks = "_card_1iq32_18", js = "_titleLarge_1iq32_36", Ns = "_featuresList_1iq32_40", Is = "_stepLayout_1iq32_55", Es = "_leftColumn_1iq32_47", Ss = "_introHeader_1iq32_68", Ps = "_schedule_1iq32_74", Ls = "_subtitleLeft_1iq32_124", Ts = "_feature_1iq32_40", Ds = "_featureTitle_1iq32_143", As = "_featureDescription_1iq32_150", Os = "_title_1iq32_36", Rs = "_subtitle_1iq32_124", Bs = "_calendarHeader_1iq32_175", Ms = "_calendarMonthLabel_1iq32_182", $s = "_calendarNavButton_1iq32_188", Fs = "_calendarGrid_1iq32_208", Ws = "_calendarDayHeader_1iq32_214", Hs = "_calendarDayAvailable_1iq32_223", Vs = "_calendarDayDisabled_1iq32_224", qs = "_calendarDaySelected_1iq32_225", Us = "_timesHeader_1iq32_256", Gs = "_timeRow_1iq32_263", Ys = "_timeButton_1iq32_270", Zs = "_timeButtonSelected_1iq32_271", Ks = "_field_1iq32_294", zs = "_fieldLabel_1iq32_300", Js = "_input_1iq32_306", Xs = "_fieldset_1iq32_327", Qs = "_radioRow_1iq32_336", eo = "_radioOption_1iq32_341", to = "_faqBelowActions_1iq32_362", ro = "_faq_1iq32_362", no = "_faqHeader_1iq32_373", ao = "_faqItem_1iq32_381", so = "_faqQuestion_1iq32_390", oo = "_faqAnswer_1iq32_406", io = "_faqChevron_1iq32_413", lo = "_errorText_1iq32_423", co = "_actionsRow_1iq32_429", uo = "_linkButton_1iq32_437", ho = "_primaryButton_1iq32_454", fo = "_successCheckCircle_1iq32_488", mo = "_summaryCard_1iq32_500", po = "_summaryRow_1iq32_510", go = "_summaryIcon_1iq32_518", p = {
3350
+ }, ws = "_root_1iq32_7", ks = "_card_1iq32_18", js = "_titleLarge_1iq32_36", Ns = "_featuresList_1iq32_40", Is = "_stepLayout_1iq32_55", Es = "_leftColumn_1iq32_47", Ss = "_introHeader_1iq32_68", Ps = "_schedule_1iq32_74", Ls = "_subtitleLeft_1iq32_124", Ts = "_feature_1iq32_40", Ds = "_featureTitle_1iq32_143", As = "_featureDescription_1iq32_150", Os = "_title_1iq32_36", Rs = "_subtitle_1iq32_124", Bs = "_calendarHeader_1iq32_175", Ms = "_calendarMonthLabel_1iq32_182", $s = "_calendarNavButton_1iq32_188", Fs = "_calendarGrid_1iq32_208", Ws = "_calendarDayHeader_1iq32_214", Hs = "_calendarDayAvailable_1iq32_223", Vs = "_calendarDayDisabled_1iq32_224", qs = "_calendarDaySelected_1iq32_225", Gs = "_timesHeader_1iq32_256", Us = "_timeRow_1iq32_263", Ys = "_timeButton_1iq32_270", Zs = "_timeButtonSelected_1iq32_271", Ks = "_field_1iq32_294", zs = "_fieldLabel_1iq32_300", Js = "_input_1iq32_306", Xs = "_fieldset_1iq32_327", Qs = "_radioRow_1iq32_336", eo = "_radioOption_1iq32_341", to = "_faqBelowActions_1iq32_362", ro = "_faq_1iq32_362", no = "_faqHeader_1iq32_373", ao = "_faqItem_1iq32_381", so = "_faqQuestion_1iq32_390", oo = "_faqAnswer_1iq32_406", io = "_faqChevron_1iq32_413", lo = "_errorText_1iq32_423", co = "_actionsRow_1iq32_429", uo = "_linkButton_1iq32_437", ho = "_primaryButton_1iq32_454", fo = "_successCheckCircle_1iq32_488", mo = "_summaryCard_1iq32_500", po = "_summaryRow_1iq32_510", go = "_summaryIcon_1iq32_518", p = {
3332
3351
  root: ws,
3333
3352
  card: ks,
3334
3353
  titleLarge: js,
@@ -3351,8 +3370,8 @@ const xs = () => {
3351
3370
  calendarDayAvailable: Hs,
3352
3371
  calendarDayDisabled: Vs,
3353
3372
  calendarDaySelected: qs,
3354
- timesHeader: Us,
3355
- timeRow: Gs,
3373
+ timesHeader: Gs,
3374
+ timeRow: Us,
3356
3375
  timeButton: Ys,
3357
3376
  timeButtonSelected: Zs,
3358
3377
  field: Ks,
@@ -3383,7 +3402,7 @@ const xs = () => {
3383
3402
  isSlotBased: !1,
3384
3403
  timezone: "UTC"
3385
3404
  };
3386
- function Mo({
3405
+ function $o({
3387
3406
  offerId: e,
3388
3407
  customerName: r,
3389
3408
  customerPhone: a,
@@ -3414,16 +3433,16 @@ function Mo({
3414
3433
  )
3415
3434
  );
3416
3435
  else {
3417
- const U = /* @__PURE__ */ new Date();
3418
- ne({ year: U.getFullYear(), month: U.getMonth() });
3436
+ const G = /* @__PURE__ */ new Date();
3437
+ ne({ year: G.getFullYear(), month: G.getMonth() });
3419
3438
  }
3420
3439
  f == null || f();
3421
3440
  } catch (R) {
3422
- const U = R instanceof Error ? R : new Error(String(R));
3441
+ const G = R instanceof Error ? R : new Error(String(R));
3423
3442
  if (I) return;
3424
- g((le) => ({ ...le, loading: !1, error: U }));
3443
+ g((le) => ({ ...le, loading: !1, error: G }));
3425
3444
  const B = /* @__PURE__ */ new Date();
3426
- ne({ year: B.getFullYear(), month: B.getMonth() }), u == null || u(U);
3445
+ ne({ year: B.getFullYear(), month: B.getMonth() }), u == null || u(G);
3427
3446
  }
3428
3447
  })(), () => {
3429
3448
  I = !0;
@@ -3432,8 +3451,8 @@ function Mo({
3432
3451
  const y = Ie(() => {
3433
3452
  const I = /* @__PURE__ */ new Map();
3434
3453
  for (const R of m.availableSlots) {
3435
- const U = _t(R, m.timezone), B = I.get(U) ?? [];
3436
- B.push(R), I.set(U, B);
3454
+ const G = _t(R, m.timezone), B = I.get(G) ?? [];
3455
+ B.push(R), I.set(G, B);
3437
3456
  }
3438
3457
  return I;
3439
3458
  }, [m.availableSlots, m.timezone]);
@@ -3508,7 +3527,7 @@ function Mo({
3508
3527
  );
3509
3528
  }
3510
3529
  if (x === "confirm") {
3511
- const I = q.replace(/\D/g, ""), R = !K && M.trim().length > 0 && I.length >= 10 && $ !== null && (!$ || ae.trim().length > 0), U = async () => {
3530
+ const I = q.replace(/\D/g, ""), R = !K && M.trim().length > 0 && I.length >= 10 && $ !== null && (!$ || ae.trim().length > 0), G = async () => {
3512
3531
  if (!(!R || !P)) {
3513
3532
  V(!0), ue(null);
3514
3533
  try {
@@ -3632,7 +3651,7 @@ function Mo({
3632
3651
  {
3633
3652
  type: "button",
3634
3653
  className: p.primaryButton,
3635
- onClick: () => void U(),
3654
+ onClick: () => void G(),
3636
3655
  disabled: !R,
3637
3656
  children: K ? "Scheduling…" : "Schedule"
3638
3657
  }
@@ -3690,16 +3709,16 @@ function Mo({
3690
3709
  /* @__PURE__ */ t.jsxs("div", { className: p.calendarGrid, children: [
3691
3710
  ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"].map((I) => /* @__PURE__ */ t.jsx("div", { className: p.calendarDayHeader, children: I }, I)),
3692
3711
  C.map((I, R) => {
3693
- const U = I ? y.has(I.key) : !1, B = !!I && I.key === k;
3712
+ const G = I ? y.has(I.key) : !1, B = !!I && I.key === k;
3694
3713
  return /* @__PURE__ */ t.jsx(
3695
3714
  "button",
3696
3715
  {
3697
3716
  type: "button",
3698
- className: B ? p.calendarDaySelected : U ? p.calendarDayAvailable : p.calendarDayDisabled,
3717
+ className: B ? p.calendarDaySelected : G ? p.calendarDayAvailable : p.calendarDayDisabled,
3699
3718
  onClick: () => {
3700
- I && U && (W(I.key), Y(null));
3719
+ I && G && (W(I.key), Y(null));
3701
3720
  },
3702
- disabled: !U,
3721
+ disabled: !G,
3703
3722
  "aria-pressed": !!B,
3704
3723
  children: I ? I.day : ""
3705
3724
  },
@@ -3907,12 +3926,13 @@ function Po({
3907
3926
  ] });
3908
3927
  }
3909
3928
  export {
3910
- Ao as AddressEntry,
3911
- Ro as AddressMap,
3912
- Oo as AddressUnitConfirmation,
3913
- Bo as DtcOnboardingFlow,
3929
+ Oo as AddressEntry,
3930
+ Bo as AddressMap,
3931
+ Ro as AddressUnitConfirmation,
3932
+ Ao as DTC_ONBOARDING_PAGE_IDS,
3933
+ Mo as DtcOnboardingFlow,
3914
3934
  Do as OpendoorProvider,
3915
- Mo as ScheduleAssessmentFlow,
3935
+ $o as ScheduleAssessmentFlow,
3916
3936
  lr as THEMES,
3917
3937
  cr as resolveAppearance,
3918
3938
  kt as useOpendoorClient
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendoor/partner-sdk-client-react",
3
- "version": "1.3.0",
3
+ "version": "1.3.1-beta.108.1",
4
4
  "description": "React components for Opendoor partner integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",