@opendoor/partner-sdk-client-react 1.3.3-beta.112.1 → 1.3.3-beta.113.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +234 -239
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -760,7 +760,7 @@ const Ze = {
760
760
  },
761
761
  destroy() {
762
762
  }
763
- }, Ke = Ye(null), jt = Ye(Ze), Do = ({
763
+ }, Ke = Ye(null), jt = Ye(Ze), Ao = ({
764
764
  client: e,
765
765
  children: r
766
766
  }) => {
@@ -885,10 +885,9 @@ function ur(e) {
885
885
  const r = cr[(e == null ? void 0 : e.theme) ?? "default"];
886
886
  return e != null && e.variables ? { ...r, ...e.variables } : r;
887
887
  }
888
- const Oo = [
888
+ const Do = [
889
889
  "confirm-home-details",
890
890
  "ownership",
891
- "ownership-other",
892
891
  "sale-timeline",
893
892
  "kitchen-condition",
894
893
  "bathroom-condition",
@@ -1007,7 +1006,7 @@ function mt(e) {
1007
1006
  const r = [e.street1];
1008
1007
  return e.street2 && (r[0] += ` ${e.street2}`), r.push(`${e.city}, ${e.state} ${e.postalCode}`), r.join(", ");
1009
1008
  }
1010
- function Ro({
1009
+ function Oo({
1011
1010
  onAddressSelect: e,
1012
1011
  enableAddressSuggestions: r = !0,
1013
1012
  debounceMs: a = 300,
@@ -1368,7 +1367,7 @@ const Rr = "_container_rg8mk_3", Br = "_title_rg8mk_7", Mr = "_addressCard_rg8mk
1368
1367
  function zr(e) {
1369
1368
  return `${e.street1 + (e.street2 ? ` ${e.street2}` : "")}, ${e.city}, ${e.state} ${e.postalCode}`;
1370
1369
  }
1371
- function Bo({
1370
+ function Ro({
1372
1371
  address: e,
1373
1372
  appearance: r,
1374
1373
  onConfirm: a,
@@ -1496,7 +1495,7 @@ const on = "_container_1vap7_3", ln = "_mapImage_1vap7_13", cn = "_mapImageLoade
1496
1495
  mapImage: ln,
1497
1496
  mapImageLoaded: cn
1498
1497
  };
1499
- function Mo({
1498
+ function Bo({
1500
1499
  address: e,
1501
1500
  appearance: r,
1502
1501
  mapboxAccessToken: a,
@@ -2035,7 +2034,6 @@ const _n = {
2035
2034
  }, bn = {
2036
2035
  id: "ownership",
2037
2036
  title: "Are you the owner of this home?",
2038
- subtitle: "We have additional questions if you're an agent.",
2039
2037
  questions: [
2040
2038
  {
2041
2039
  key: "seller.relation_to_owner",
@@ -2043,7 +2041,6 @@ const _n = {
2043
2041
  type: "string",
2044
2042
  style: "radio-card",
2045
2043
  required: !0,
2046
- autoAdvance: !0,
2047
2044
  options: [
2048
2045
  { label: "Yes, I own this home", value: "self" },
2049
2046
  { label: "No, I'm an agent", value: "agent" },
@@ -2053,27 +2050,26 @@ const _n = {
2053
2050
  },
2054
2051
  { label: "Other", value: "other" }
2055
2052
  ]
2056
- }
2057
- ]
2058
- }, yn = {
2059
- id: "ownership-other",
2060
- title: "Describe your relationship to this home",
2061
- showWhen: {
2062
- field: "seller.relation_to_owner",
2063
- op: "eq",
2064
- value: "other"
2065
- },
2066
- questions: [
2053
+ },
2054
+ // Reception-fe shows a free-text follow-up inline when the seller picks
2055
+ // "Other"; mirror that here as a second question on the same page rather
2056
+ // than a separate conditional page. autoAdvance is dropped from the radio
2057
+ // above because it would fire before the seller could type the follow-up.
2067
2058
  {
2068
2059
  key: "seller.relation_to_owner.other",
2069
- label: "Relationship",
2060
+ label: "Describe your relationship to this home",
2070
2061
  type: "string",
2071
2062
  style: "input",
2072
2063
  required: !0,
2073
- placeholder: "e.g., executor of the estate"
2064
+ placeholder: "e.g., executor of the estate",
2065
+ showWhen: {
2066
+ field: "seller.relation_to_owner",
2067
+ op: "eq",
2068
+ value: "other"
2069
+ }
2074
2070
  }
2075
2071
  ]
2076
- }, vn = {
2072
+ }, yn = {
2077
2073
  id: "sale-timeline",
2078
2074
  title: "When do you need to sell your home?",
2079
2075
  subtitle: "This won't affect your offer. We're here to help with any timeline.",
@@ -2094,13 +2090,13 @@ const _n = {
2094
2090
  ]
2095
2091
  }
2096
2092
  ]
2097
- }, xn = [
2093
+ }, vn = [
2098
2094
  "fixer_upper",
2099
2095
  "dated",
2100
2096
  "standard",
2101
2097
  "high_end",
2102
2098
  "luxury"
2103
- ], Cn = {
2099
+ ], xn = {
2104
2100
  kitchen: {
2105
2101
  fixer_upper: "Kitchen needs significant repairs",
2106
2102
  dated: "Kitchen hasn't been updated recently",
@@ -2129,7 +2125,7 @@ const _n = {
2129
2125
  high_end: "Exterior has high-quality upgrades",
2130
2126
  luxury: "Exterior has elegant, top-tier finishes"
2131
2127
  }
2132
- }, wn = {
2128
+ }, Cn = {
2133
2129
  fixer_upper: "Fixer upper",
2134
2130
  dated: "Dated",
2135
2131
  standard: "Standard",
@@ -2149,17 +2145,17 @@ function Oe(e, r, a) {
2149
2145
  style: "image-card",
2150
2146
  required: !0,
2151
2147
  autoAdvance: !0,
2152
- options: xn.map((s) => ({
2153
- label: wn[s],
2148
+ options: vn.map((s) => ({
2149
+ label: Cn[s],
2154
2150
  value: s,
2155
- description: Cn[e][s],
2151
+ description: xn[e][s],
2156
2152
  imageId: `${e}-${s}`
2157
2153
  }))
2158
2154
  }
2159
2155
  ]
2160
2156
  };
2161
2157
  }
2162
- const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe your kitchen?"), jn = Oe("bathroom", "home.bathroom_seller_score", "How would you describe your main bathroom?"), Nn = Oe("living-room", "home.living_room_seller_score", "How would you describe your living room?"), In = Oe("exterior", "home.exterior_seller_score", "How would you describe your home's exterior?"), Sn = {
2158
+ const wn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe your kitchen?"), kn = Oe("bathroom", "home.bathroom_seller_score", "How would you describe your main bathroom?"), jn = Oe("living-room", "home.living_room_seller_score", "How would you describe your living room?"), Nn = Oe("exterior", "home.exterior_seller_score", "How would you describe your home's exterior?"), In = {
2163
2159
  id: "hoa",
2164
2160
  title: "Is your home part of a homeowners association?",
2165
2161
  subtitle: "This is often called an HOA. It's a group that helps maintain your community for a fee.",
@@ -2177,7 +2173,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2177
2173
  ]
2178
2174
  }
2179
2175
  ]
2180
- }, En = {
2176
+ }, Sn = {
2181
2177
  id: "hoa-type",
2182
2178
  title: "Does your home belong to any of these types of communities?",
2183
2179
  showWhen: { field: "home.hoa", op: "eq", value: "yes" },
@@ -2198,7 +2194,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2198
2194
  ]
2199
2195
  }
2200
2196
  ]
2201
- }, Pn = {
2197
+ }, En = {
2202
2198
  id: "hoa-guard",
2203
2199
  title: "Is there a guard at the entrance?",
2204
2200
  showWhen: {
@@ -2221,7 +2217,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2221
2217
  ]
2222
2218
  }
2223
2219
  ]
2224
- }, Ln = {
2220
+ }, Pn = {
2225
2221
  id: "hoa-fees",
2226
2222
  title: "What are your monthly HOA fees?",
2227
2223
  subtitle: "(Optional) This helps us better understand your property's monthly expenses.",
@@ -2236,7 +2232,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2236
2232
  min: 0
2237
2233
  }
2238
2234
  ]
2239
- }, Tn = {
2235
+ }, Ln = {
2240
2236
  id: "eligibility-criteria",
2241
2237
  title: "Do any of these apply to your home?",
2242
2238
  subtitle: "Select all that apply. We keep an eye out for these things when making an offer.",
@@ -2291,7 +2287,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2291
2287
  ]
2292
2288
  }
2293
2289
  ]
2294
- }, An = {
2290
+ }, Tn = {
2295
2291
  id: "upgrades",
2296
2292
  title: "Has your home had any upgrades?",
2297
2293
  subtitle: "This includes renovations, remodels, or major improvements.",
@@ -2309,7 +2305,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2309
2305
  ]
2310
2306
  }
2311
2307
  ]
2312
- }, Dn = {
2308
+ }, An = {
2313
2309
  id: "homebuilder",
2314
2310
  title: "Are you working with a homebuilder?",
2315
2311
  subtitle: "We can work with them to line up your close dates.",
@@ -2327,7 +2323,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2327
2323
  ]
2328
2324
  }
2329
2325
  ]
2330
- }, On = {
2326
+ }, Dn = {
2331
2327
  id: "homebuilder-name",
2332
2328
  title: "Which homebuilder are you working with?",
2333
2329
  showWhen: {
@@ -2346,7 +2342,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2346
2342
  placeholder: "Select or search..."
2347
2343
  }
2348
2344
  ]
2349
- }, Rn = {
2345
+ }, On = {
2350
2346
  id: "homebuilder-details",
2351
2347
  title: "Please tell us more about your homebuilder",
2352
2348
  showWhen: {
@@ -2373,7 +2369,7 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2373
2369
  placeholder: "Community name"
2374
2370
  }
2375
2371
  ]
2376
- }, Bn = {
2372
+ }, Rn = {
2377
2373
  id: "contact-info",
2378
2374
  title: "You're one step from your offer.",
2379
2375
  subtitle: "Create a free account to see your offer. No commitment to sell — just your number, email, and name.",
@@ -2413,11 +2409,11 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2413
2409
  required: !1
2414
2410
  }
2415
2411
  ]
2416
- }, Mn = [
2412
+ }, Bn = [
2417
2413
  _n,
2418
2414
  bn,
2419
2415
  yn,
2420
- vn,
2416
+ wn,
2421
2417
  kn,
2422
2418
  jn,
2423
2419
  Nn,
@@ -2430,11 +2426,10 @@ const kn = Oe("kitchen", "home.kitchen_seller_score", "How would you describe yo
2430
2426
  An,
2431
2427
  Dn,
2432
2428
  On,
2433
- Rn,
2434
- Bn
2429
+ Rn
2435
2430
  ];
2436
2431
  function _t(e) {
2437
- return new mn(Mn, e);
2432
+ return new mn(Bn, e);
2438
2433
  }
2439
2434
  const Et = Ye(null);
2440
2435
  function fe() {
@@ -2445,7 +2440,7 @@ function fe() {
2445
2440
  );
2446
2441
  return e;
2447
2442
  }
2448
- const Fn = ({
2443
+ const Mn = ({
2449
2444
  initialAnswers: e,
2450
2445
  skipPages: r,
2451
2446
  smsConsentText: a,
@@ -2560,77 +2555,77 @@ const Fn = ({
2560
2555
  ]
2561
2556
  );
2562
2557
  return /* @__PURE__ */ t.jsx(Et.Provider, { value: ue, children: u });
2563
- }, $n = "_container_uharh_7", Wn = "_header_uharh_20", Hn = "_headerLogos_uharh_30", Vn = "_headerPartnerLogo_uharh_36", qn = "_headerOpendoorLogo_uharh_42", Gn = "_headerCloseButton_uharh_46", Un = "_layout_uharh_71", Yn = "_layoutScrollable_uharh_78", Zn = "_addressBar_uharh_94", Kn = "_addressIcon_uharh_102", zn = "_addressText_uharh_106", Jn = "_contentSplit_uharh_112", Xn = "_contentLeft_uharh_126", Qn = "_contentRight_uharh_132", ea = "_pageTitle_uharh_148", ta = "_pageSubtitle_uharh_156", ra = "_pageContent_uharh_165", na = "_navigation_uharh_173", aa = "_navigationButtons_uharh_187", sa = "_backButton_uharh_193", oa = "_nextButton_uharh_216", ia = "_progressBar_uharh_242", la = "_progressBarFill_uharh_249", ca = "_radioCardGroup_uharh_257", ua = "_radioCard_uharh_257", da = "_radioCardSelected_uharh_289", ha = "_radioCardLabel_uharh_294", fa = "_radioCardDescription_uharh_300", ma = "_imageCardGroup_uharh_307", pa = "_imageCard_uharh_307", ga = "_imageCardSelected_uharh_339", _a = "_imageCardPhoto_uharh_344", ba = "_imageCardLabel_uharh_351", ya = "_imageCardDescription_uharh_358", va = "_fieldGroup_uharh_367", xa = "_fieldLabel_uharh_373", Ca = "_fieldDescription_uharh_380", wa = "_fieldSelect_uharh_387", ka = "_fieldSelectError_uharh_413", ja = "_fieldInputWrapper_uharh_417", Na = "_fieldInput_uharh_417", Ia = "_fieldInputError_uharh_455", Sa = "_fieldSuffix_uharh_459", Ea = "_fieldError_uharh_470", Pa = "_checkboxCardGroup_uharh_479", La = "_checkboxCard_uharh_479", Ta = "_checkboxCardSelected_uharh_511", Aa = "_checkboxCardContent_uharh_516", Da = "_checkboxCardLabel_uharh_523", Oa = "_checkboxCardHelper_uharh_529", Ra = "_checkboxIndicator_uharh_534", Ba = "_checkboxIndicatorChecked_uharh_546", Ma = "_currencyWrapper_uharh_554", Fa = "_currencyPrefix_uharh_560", $a = "_currencyInput_uharh_569", Wa = "_consentText_uharh_589", Ha = "_consentLink_uharh_597", Va = "_ctaButton_uharh_602", qa = "_toggleGroup_uharh_634", Ga = "_toggleLabel_uharh_638", Ua = "_toggleCheckbox_uharh_646", Ya = "_toggleText_uharh_655", Za = "_searchableDropdown_uharh_663", Ka = "_searchableDropdownToggle_uharh_673", za = "_searchableDropdownList_uharh_686", Ja = "_searchableDropdownOption_uharh_695", Xa = "_searchableDropdownOptionSelected_uharh_713", Qa = "_searchableDropdownOptionHighlighted_uharh_718", es = "_searchableDropdownEmpty_uharh_722", l = {
2564
- container: $n,
2565
- header: Wn,
2566
- headerLogos: Hn,
2567
- headerPartnerLogo: Vn,
2568
- headerOpendoorLogo: qn,
2569
- headerCloseButton: Gn,
2570
- layout: Un,
2571
- layoutScrollable: Yn,
2572
- addressBar: Zn,
2573
- addressIcon: Kn,
2574
- addressText: zn,
2575
- contentSplit: Jn,
2576
- contentLeft: Xn,
2577
- contentRight: Qn,
2578
- pageTitle: ea,
2579
- pageSubtitle: ta,
2580
- pageContent: ra,
2581
- navigation: na,
2582
- navigationButtons: aa,
2583
- backButton: sa,
2584
- nextButton: oa,
2585
- progressBar: ia,
2586
- progressBarFill: la,
2587
- radioCardGroup: ca,
2588
- radioCard: ua,
2589
- radioCardSelected: da,
2590
- radioCardLabel: ha,
2591
- radioCardDescription: fa,
2592
- imageCardGroup: ma,
2593
- imageCard: pa,
2594
- imageCardSelected: ga,
2595
- imageCardPhoto: _a,
2596
- imageCardLabel: ba,
2597
- imageCardDescription: ya,
2598
- fieldGroup: va,
2599
- fieldLabel: xa,
2600
- fieldDescription: Ca,
2601
- fieldSelect: wa,
2602
- fieldSelectError: ka,
2603
- fieldInputWrapper: ja,
2604
- fieldInput: Na,
2605
- fieldInputError: Ia,
2606
- fieldSuffix: Sa,
2607
- fieldError: Ea,
2608
- checkboxCardGroup: Pa,
2609
- checkboxCard: La,
2610
- checkboxCardSelected: Ta,
2611
- checkboxCardContent: Aa,
2612
- checkboxCardLabel: Da,
2613
- checkboxCardHelper: Oa,
2614
- checkboxIndicator: Ra,
2615
- checkboxIndicatorChecked: Ba,
2616
- currencyWrapper: Ma,
2617
- currencyPrefix: Fa,
2618
- currencyInput: $a,
2619
- consentText: Wa,
2620
- consentLink: Ha,
2621
- ctaButton: Va,
2622
- toggleGroup: qa,
2623
- toggleLabel: Ga,
2624
- toggleCheckbox: Ua,
2625
- toggleText: Ya,
2626
- searchableDropdown: Za,
2627
- searchableDropdownToggle: Ka,
2628
- searchableDropdownList: za,
2629
- searchableDropdownOption: Ja,
2630
- searchableDropdownOptionSelected: Xa,
2631
- searchableDropdownOptionHighlighted: Qa,
2632
- searchableDropdownEmpty: es
2633
- }, ts = () => /* @__PURE__ */ t.jsx(
2558
+ }, Fn = "_container_uharh_7", $n = "_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", Sa = "_fieldError_uharh_470", Ea = "_checkboxCardGroup_uharh_479", Pa = "_checkboxCard_uharh_479", La = "_checkboxCardSelected_uharh_511", Ta = "_checkboxCardContent_uharh_516", Aa = "_checkboxCardLabel_uharh_523", Da = "_checkboxCardHelper_uharh_529", Oa = "_checkboxIndicator_uharh_534", Ra = "_checkboxIndicatorChecked_uharh_546", Ba = "_currencyWrapper_uharh_554", Ma = "_currencyPrefix_uharh_560", Fa = "_currencyInput_uharh_569", $a = "_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 = {
2559
+ container: Fn,
2560
+ header: $n,
2561
+ headerLogos: Wn,
2562
+ headerPartnerLogo: Hn,
2563
+ headerOpendoorLogo: Vn,
2564
+ headerCloseButton: qn,
2565
+ layout: Gn,
2566
+ layoutScrollable: Un,
2567
+ addressBar: Yn,
2568
+ addressIcon: Zn,
2569
+ addressText: Kn,
2570
+ contentSplit: zn,
2571
+ contentLeft: Jn,
2572
+ contentRight: Xn,
2573
+ pageTitle: Qn,
2574
+ pageSubtitle: ea,
2575
+ pageContent: ta,
2576
+ navigation: ra,
2577
+ navigationButtons: na,
2578
+ backButton: aa,
2579
+ nextButton: sa,
2580
+ progressBar: oa,
2581
+ progressBarFill: ia,
2582
+ radioCardGroup: la,
2583
+ radioCard: ca,
2584
+ radioCardSelected: ua,
2585
+ radioCardLabel: da,
2586
+ radioCardDescription: ha,
2587
+ imageCardGroup: fa,
2588
+ imageCard: ma,
2589
+ imageCardSelected: pa,
2590
+ imageCardPhoto: ga,
2591
+ imageCardLabel: _a,
2592
+ imageCardDescription: ba,
2593
+ fieldGroup: ya,
2594
+ fieldLabel: va,
2595
+ fieldDescription: xa,
2596
+ fieldSelect: Ca,
2597
+ fieldSelectError: wa,
2598
+ fieldInputWrapper: ka,
2599
+ fieldInput: ja,
2600
+ fieldInputError: Na,
2601
+ fieldSuffix: Ia,
2602
+ fieldError: Sa,
2603
+ checkboxCardGroup: Ea,
2604
+ checkboxCard: Pa,
2605
+ checkboxCardSelected: La,
2606
+ checkboxCardContent: Ta,
2607
+ checkboxCardLabel: Aa,
2608
+ checkboxCardHelper: Da,
2609
+ checkboxIndicator: Oa,
2610
+ checkboxIndicatorChecked: Ra,
2611
+ currencyWrapper: Ba,
2612
+ currencyPrefix: Ma,
2613
+ currencyInput: Fa,
2614
+ consentText: $a,
2615
+ consentLink: Wa,
2616
+ ctaButton: Ha,
2617
+ toggleGroup: Va,
2618
+ toggleLabel: qa,
2619
+ toggleCheckbox: Ga,
2620
+ toggleText: Ua,
2621
+ searchableDropdown: Ya,
2622
+ searchableDropdownToggle: Za,
2623
+ searchableDropdownList: Ka,
2624
+ searchableDropdownOption: za,
2625
+ searchableDropdownOptionSelected: Ja,
2626
+ searchableDropdownOptionHighlighted: Xa,
2627
+ searchableDropdownEmpty: Qa
2628
+ }, es = () => /* @__PURE__ */ t.jsx(
2634
2629
  "svg",
2635
2630
  {
2636
2631
  width: "90",
@@ -2649,7 +2644,7 @@ const Fn = ({
2649
2644
  }
2650
2645
  )
2651
2646
  }
2652
- ), rs = ({
2647
+ ), ts = ({
2653
2648
  partnerLogoUrl: e,
2654
2649
  onClose: r
2655
2650
  }) => /* @__PURE__ */ t.jsxs("header", { className: l.header, children: [
@@ -2662,7 +2657,7 @@ const Fn = ({
2662
2657
  className: l.headerPartnerLogo
2663
2658
  }
2664
2659
  ),
2665
- /* @__PURE__ */ t.jsx(ts, {})
2660
+ /* @__PURE__ */ t.jsx(es, {})
2666
2661
  ] }),
2667
2662
  r && /* @__PURE__ */ t.jsx(
2668
2663
  "button",
@@ -2690,7 +2685,7 @@ const Fn = ({
2690
2685
  )
2691
2686
  }
2692
2687
  )
2693
- ] }), ns = ({ progress: e }) => {
2688
+ ] }), rs = ({ progress: e }) => {
2694
2689
  const r = Math.min(100, Math.max(0, e * 100));
2695
2690
  return /* @__PURE__ */ t.jsx(
2696
2691
  "div",
@@ -2709,12 +2704,12 @@ const Fn = ({
2709
2704
  )
2710
2705
  }
2711
2706
  );
2712
- }, as = () => {
2707
+ }, ns = () => {
2713
2708
  const { isFirstPage: e, currentPage: r, progress: a, goToNext: s, goToPrev: o } = fe();
2714
2709
  if ((r == null ? void 0 : r.id) === "contact-info") return null;
2715
2710
  const i = (r == null ? void 0 : r.submitLabel) ?? "Next";
2716
2711
  return /* @__PURE__ */ t.jsxs("nav", { className: l.navigation, "aria-label": "Page navigation", children: [
2717
- /* @__PURE__ */ t.jsx(ns, { progress: a }),
2712
+ /* @__PURE__ */ t.jsx(rs, { progress: a }),
2718
2713
  /* @__PURE__ */ t.jsxs("div", { className: l.navigationButtons, children: [
2719
2714
  e ? /* @__PURE__ */ t.jsx("div", {}) : /* @__PURE__ */ t.jsx(
2720
2715
  "button",
@@ -2742,7 +2737,7 @@ const Fn = ({
2742
2737
  /* @__PURE__ */ t.jsx("button", { type: "button", className: l.nextButton, onClick: s, children: i })
2743
2738
  ] })
2744
2739
  ] });
2745
- }, ss = ({ question: e }) => {
2740
+ }, as = ({ question: e }) => {
2746
2741
  var h;
2747
2742
  const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = fe(), i = r(e.key), m = o[e.key], f = G(null);
2748
2743
  se(() => () => {
@@ -2797,11 +2792,11 @@ const Fn = ({
2797
2792
  ]
2798
2793
  }
2799
2794
  );
2800
- }, os = "https://images.opendoor.com/source/s3/imgdrop-production", is = "service=reception-fe&dpr=2&fit=scale-down";
2795
+ }, ss = "https://images.opendoor.com/source/s3/imgdrop-production", os = "service=reception-fe&dpr=2&fit=scale-down";
2801
2796
  function re(e, r = "3:2-sm") {
2802
- return `${os}/${e}?${is}&preset=${r}`;
2797
+ return `${ss}/${e}?${os}&preset=${r}`;
2803
2798
  }
2804
- const ls = {
2799
+ const is = {
2805
2800
  // Kitchen
2806
2801
  "kitchen-fixer_upper": re("2023-04-1681772974083-61414.png"),
2807
2802
  "kitchen-dated": re("2023-04-1681772974089-39460.png"),
@@ -2826,7 +2821,7 @@ const ls = {
2826
2821
  "exterior-standard": re("2023-04-1681773220498-64940.png"),
2827
2822
  "exterior-high_end": re("2023-04-1682103085417-24272.jpeg", "3:2-md"),
2828
2823
  "exterior-luxury": re("2023-04-1681773220487-59852.png")
2829
- }, cs = ({ question: e }) => {
2824
+ }, ls = ({ question: e }) => {
2830
2825
  var u;
2831
2826
  const { getAnswer: r, setAnswer: a, goToNext: s, validationErrors: o } = fe(), i = r(e.key), m = o[e.key], f = G(null);
2832
2827
  se(() => () => {
@@ -2846,7 +2841,7 @@ const ls = {
2846
2841
  "aria-label": e.label,
2847
2842
  children: [
2848
2843
  (u = e.options) == null ? void 0 : u.map((h) => {
2849
- const p = i === h.value, _ = h.imageId ? ls[h.imageId] : void 0;
2844
+ const p = i === h.value, _ = h.imageId ? is[h.imageId] : void 0;
2850
2845
  return /* @__PURE__ */ t.jsxs(
2851
2846
  "button",
2852
2847
  {
@@ -2876,7 +2871,7 @@ const ls = {
2876
2871
  ]
2877
2872
  }
2878
2873
  );
2879
- }, us = ({
2874
+ }, cs = ({
2880
2875
  question: e
2881
2876
  }) => {
2882
2877
  var f;
@@ -2946,7 +2941,7 @@ const ls = {
2946
2941
  ]
2947
2942
  }
2948
2943
  );
2949
- }, ds = ({ question: e }) => {
2944
+ }, us = ({ question: e }) => {
2950
2945
  var f;
2951
2946
  const { getAnswer: r, setAnswer: a, validationErrors: s } = fe(), o = r(e.key), i = s[e.key], m = (d) => {
2952
2947
  const u = d.target.value;
@@ -2970,7 +2965,7 @@ const ls = {
2970
2965
  ),
2971
2966
  i && /* @__PURE__ */ t.jsx("p", { className: l.fieldError, children: i })
2972
2967
  ] });
2973
- }, hs = ({ question: e }) => {
2968
+ }, ds = ({ question: e }) => {
2974
2969
  const { getAnswer: r, setAnswer: a, validationErrors: s } = fe(), o = r(e.key), i = s[e.key], m = (d) => {
2975
2970
  const u = d.target.value;
2976
2971
  if (e.type === "number") {
@@ -2999,7 +2994,7 @@ const ls = {
2999
2994
  ] }),
3000
2995
  i && /* @__PURE__ */ t.jsx("p", { className: l.fieldError, children: i })
3001
2996
  ] });
3002
- }, fs = ({ question: e }) => {
2997
+ }, hs = ({ question: e }) => {
3003
2998
  const { getAnswer: r, setAnswer: a, validationErrors: s } = fe(), o = r(e.key), i = s[e.key], m = (d) => {
3004
2999
  const u = d.target.value.replace(/[^0-9]/g, ""), h = u === "" ? void 0 : Number(u);
3005
3000
  a(e.key, h !== void 0 && isNaN(h) ? void 0 : h);
@@ -3024,11 +3019,11 @@ const ls = {
3024
3019
  i && /* @__PURE__ */ t.jsx("p", { className: l.fieldError, children: i })
3025
3020
  ] });
3026
3021
  };
3027
- function ms(e) {
3022
+ function fs(e) {
3028
3023
  const r = e.replace(/\D/g, "").slice(0, 10);
3029
3024
  return r.length <= 3 ? r : r.length <= 6 ? `(${r.slice(0, 3)}) ${r.slice(3)}` : `(${r.slice(0, 3)}) ${r.slice(3, 6)}-${r.slice(6)}`;
3030
3025
  }
3031
- const ps = ({ question: e }) => {
3026
+ const ms = ({ question: e }) => {
3032
3027
  const { getAnswer: r, setAnswer: a, validationErrors: s } = fe(), o = r(e.key) ?? "", i = s[e.key], m = (f) => {
3033
3028
  const u = f.target.value.replace(/\D/g, "").slice(0, 10);
3034
3029
  a(e.key, u || void 0);
@@ -3041,14 +3036,14 @@ const ps = ({ question: e }) => {
3041
3036
  id: e.key,
3042
3037
  type: "tel",
3043
3038
  className: `${l.fieldInput} ${i ? l.fieldInputError : ""}`,
3044
- value: ms(o),
3039
+ value: fs(o),
3045
3040
  onChange: m,
3046
3041
  placeholder: e.placeholder || "(555) 555-5555"
3047
3042
  }
3048
3043
  ),
3049
3044
  i && /* @__PURE__ */ t.jsx("p", { className: l.fieldError, children: i })
3050
3045
  ] });
3051
- }, gs = ({ question: e }) => {
3046
+ }, ps = ({ question: e }) => {
3052
3047
  const { getAnswer: r, setAnswer: a, smsConsentText: s } = fe(), o = r(e.key);
3053
3048
  let i = e.label;
3054
3049
  return e.key === "seller.sms_opt_in" && s && (i = s), /* @__PURE__ */ t.jsx("div", { className: l.toggleGroup, children: /* @__PURE__ */ t.jsxs("label", { className: l.toggleLabel, children: [
@@ -3063,8 +3058,8 @@ const ps = ({ question: e }) => {
3063
3058
  ),
3064
3059
  /* @__PURE__ */ t.jsx("span", { className: l.toggleText, children: i })
3065
3060
  ] }) });
3066
- }, bt = 4, Te = 8, _s = 240, bs = 80;
3067
- function ys(e) {
3061
+ }, bt = 4, Te = 8, gs = 240, _s = 80;
3062
+ function bs(e) {
3068
3063
  const r = {};
3069
3064
  for (let a = e; a; a = a.parentElement) {
3070
3065
  const s = a.style;
@@ -3075,7 +3070,7 @@ function ys(e) {
3075
3070
  }
3076
3071
  return r;
3077
3072
  }
3078
- const vs = ({ question: e }) => {
3073
+ const ys = ({ question: e }) => {
3079
3074
  var ue;
3080
3075
  const { getAnswer: r, setAnswer: a, validationErrors: s } = fe(), o = r(e.key), i = s[e.key], m = `${e.key}-combobox`, [f, d] = E(""), [u, h] = E(!1), [p, _] = E([]), [C, S] = E(!1), k = G(null), H = G(null), P = G(null), [Y, j] = E(null), [ne, F] = E({}), oe = De(Ke);
3081
3076
  se(() => {
@@ -3109,8 +3104,8 @@ const vs = ({ question: e }) => {
3109
3104
  const v = H.current;
3110
3105
  if (!v) return;
3111
3106
  const x = v.getBoundingClientRect(), y = window.visualViewport, R = (y == null ? void 0 : y.height) ?? window.innerHeight, J = (y == null ? void 0 : y.width) ?? window.innerWidth, ye = (y == null ? void 0 : y.offsetTop) ?? 0, he = (y == null ? void 0 : y.offsetLeft) ?? 0, pe = ye + R - x.bottom - bt - Te, N = Math.max(
3112
- bs,
3113
- Math.min(_s, pe)
3107
+ _s,
3108
+ Math.min(gs, pe)
3114
3109
  ), L = Math.min(x.width, J - Te * 2), B = he + Te, M = he + J - L - Te, le = Math.max(B, Math.min(x.left, M));
3115
3110
  j({
3116
3111
  top: x.bottom + window.scrollY + bt,
@@ -3124,7 +3119,7 @@ const vs = ({ question: e }) => {
3124
3119
  j(null);
3125
3120
  return;
3126
3121
  }
3127
- H.current && F(ys(H.current)), U();
3122
+ H.current && F(bs(H.current)), U();
3128
3123
  const v = () => U();
3129
3124
  window.addEventListener("scroll", v, !0), window.addEventListener("resize", v);
3130
3125
  const x = window.visualViewport;
@@ -3254,32 +3249,32 @@ const vs = ({ question: e }) => {
3254
3249
  ie
3255
3250
  ] });
3256
3251
  };
3257
- function xs(e) {
3252
+ function vs(e) {
3258
3253
  switch (e.style) {
3259
3254
  case "radio-card":
3260
- return /* @__PURE__ */ t.jsx(ss, { question: e }, e.key);
3255
+ return /* @__PURE__ */ t.jsx(as, { question: e }, e.key);
3261
3256
  case "image-card":
3262
- return /* @__PURE__ */ t.jsx(cs, { question: e }, e.key);
3257
+ return /* @__PURE__ */ t.jsx(ls, { question: e }, e.key);
3263
3258
  case "checkbox-card":
3264
- return /* @__PURE__ */ t.jsx(us, { question: e }, e.key);
3259
+ return /* @__PURE__ */ t.jsx(cs, { question: e }, e.key);
3265
3260
  case "dropdown":
3266
- return /* @__PURE__ */ t.jsx(ds, { question: e }, e.key);
3261
+ return /* @__PURE__ */ t.jsx(us, { question: e }, e.key);
3267
3262
  case "input":
3268
3263
  case "email":
3269
- return /* @__PURE__ */ t.jsx(hs, { question: e }, e.key);
3264
+ return /* @__PURE__ */ t.jsx(ds, { question: e }, e.key);
3270
3265
  case "currency":
3271
- return /* @__PURE__ */ t.jsx(fs, { question: e }, e.key);
3266
+ return /* @__PURE__ */ t.jsx(hs, { question: e }, e.key);
3272
3267
  case "phone":
3273
- return /* @__PURE__ */ t.jsx(ps, { question: e }, e.key);
3268
+ return /* @__PURE__ */ t.jsx(ms, { question: e }, e.key);
3274
3269
  case "toggle":
3275
- return /* @__PURE__ */ t.jsx(gs, { question: e }, e.key);
3270
+ return /* @__PURE__ */ t.jsx(ps, { question: e }, e.key);
3276
3271
  case "searchable-dropdown":
3277
- return /* @__PURE__ */ t.jsx(vs, { question: e }, e.key);
3272
+ return /* @__PURE__ */ t.jsx(ys, { question: e }, e.key);
3278
3273
  default:
3279
3274
  return null;
3280
3275
  }
3281
3276
  }
3282
- const Cs = () => {
3277
+ const xs = () => {
3283
3278
  const { currentPage: e, visibleQuestions: r, goToNext: a, contactConsentText: s } = fe(), o = G(null);
3284
3279
  return se(() => {
3285
3280
  var i, m, f;
@@ -3293,7 +3288,7 @@ const Cs = () => {
3293
3288
  role: "region",
3294
3289
  "aria-label": e.title,
3295
3290
  children: [
3296
- r.map(xs),
3291
+ r.map(vs),
3297
3292
  e.id === "contact-info" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
3298
3293
  /* @__PURE__ */ t.jsx("button", { type: "button", className: l.ctaButton, onClick: a, children: e.submitLabel ?? "Next" }),
3299
3294
  s ?? /* @__PURE__ */ t.jsxs("p", { className: l.consentText, children: [
@@ -3330,7 +3325,7 @@ const Cs = () => {
3330
3325
  ]
3331
3326
  }
3332
3327
  ) : null;
3333
- }, ws = ({ address: e }) => {
3328
+ }, Cs = ({ address: e }) => {
3334
3329
  const { currentPage: r } = fe();
3335
3330
  if (!r) return null;
3336
3331
  const a = [
@@ -3366,12 +3361,12 @@ const Cs = () => {
3366
3361
  /* @__PURE__ */ t.jsx("h1", { className: l.pageTitle, children: r.title }),
3367
3362
  r.subtitle && /* @__PURE__ */ t.jsx("p", { className: l.pageSubtitle, children: r.subtitle })
3368
3363
  ] }),
3369
- /* @__PURE__ */ t.jsx("div", { className: l.contentRight, children: /* @__PURE__ */ t.jsx(Cs, {}) })
3364
+ /* @__PURE__ */ t.jsx("div", { className: l.contentRight, children: /* @__PURE__ */ t.jsx(xs, {}) })
3370
3365
  ] })
3371
3366
  ] }),
3372
- /* @__PURE__ */ t.jsx(as, {})
3367
+ /* @__PURE__ */ t.jsx(ns, {})
3373
3368
  ] });
3374
- }, Fo = ({
3369
+ }, Mo = ({
3375
3370
  address: e,
3376
3371
  onSubmit: r,
3377
3372
  partnerLogoUrl: a,
@@ -3388,7 +3383,7 @@ const Cs = () => {
3388
3383
  }) => {
3389
3384
  const C = Pe(s);
3390
3385
  return /* @__PURE__ */ t.jsx("div", { className: l.container, style: C, children: /* @__PURE__ */ t.jsxs(
3391
- Fn,
3386
+ Mn,
3392
3387
  {
3393
3388
  initialAnswers: o,
3394
3389
  skipPages: i,
@@ -3400,67 +3395,67 @@ const Cs = () => {
3400
3395
  onReady: h,
3401
3396
  onError: p,
3402
3397
  children: [
3403
- /* @__PURE__ */ t.jsx(rs, { partnerLogoUrl: a, onClose: u }),
3404
- /* @__PURE__ */ t.jsx(ws, { address: e })
3398
+ /* @__PURE__ */ t.jsx(ts, { partnerLogoUrl: a, onClose: u }),
3399
+ /* @__PURE__ */ t.jsx(Cs, { address: e })
3405
3400
  ]
3406
3401
  }
3407
3402
  ) });
3408
- }, ks = "_root_1iq32_7", js = "_card_1iq32_18", Ns = "_titleLarge_1iq32_36", Is = "_featuresList_1iq32_40", Ss = "_stepLayout_1iq32_55", Es = "_leftColumn_1iq32_47", Ps = "_introHeader_1iq32_68", Ls = "_schedule_1iq32_74", Ts = "_subtitleLeft_1iq32_124", As = "_feature_1iq32_40", Ds = "_featureTitle_1iq32_143", Os = "_featureDescription_1iq32_150", Rs = "_title_1iq32_36", Bs = "_subtitle_1iq32_124", Ms = "_calendarHeader_1iq32_175", Fs = "_calendarMonthLabel_1iq32_182", $s = "_calendarNavButton_1iq32_188", Ws = "_calendarGrid_1iq32_208", Hs = "_calendarDayHeader_1iq32_214", Vs = "_calendarDayAvailable_1iq32_223", qs = "_calendarDayDisabled_1iq32_224", Gs = "_calendarDaySelected_1iq32_225", Us = "_timesHeader_1iq32_256", Ys = "_timeRow_1iq32_263", Zs = "_timeButton_1iq32_270", Ks = "_timeButtonSelected_1iq32_271", zs = "_field_1iq32_294", Js = "_fieldLabel_1iq32_300", Xs = "_input_1iq32_306", Qs = "_fieldset_1iq32_327", eo = "_radioRow_1iq32_336", to = "_radioOption_1iq32_341", ro = "_faqBelowActions_1iq32_362", no = "_faq_1iq32_362", ao = "_faqHeader_1iq32_373", so = "_faqItem_1iq32_381", oo = "_faqQuestion_1iq32_390", io = "_faqAnswer_1iq32_406", lo = "_faqChevron_1iq32_413", co = "_errorText_1iq32_423", uo = "_actionsRow_1iq32_429", ho = "_linkButton_1iq32_437", fo = "_primaryButton_1iq32_454", mo = "_successCheckCircle_1iq32_488", po = "_summaryCard_1iq32_500", go = "_summaryRow_1iq32_510", _o = "_summaryIcon_1iq32_518", g = {
3409
- root: ks,
3410
- card: js,
3411
- titleLarge: Ns,
3412
- featuresList: Is,
3413
- stepLayout: Ss,
3414
- leftColumn: Es,
3415
- introHeader: Ps,
3416
- schedule: Ls,
3417
- subtitleLeft: Ts,
3418
- feature: As,
3419
- featureTitle: Ds,
3420
- featureDescription: Os,
3421
- title: Rs,
3422
- subtitle: Bs,
3423
- calendarHeader: Ms,
3424
- calendarMonthLabel: Fs,
3425
- calendarNavButton: $s,
3426
- calendarGrid: Ws,
3427
- calendarDayHeader: Hs,
3428
- calendarDayAvailable: Vs,
3429
- calendarDayDisabled: qs,
3430
- calendarDaySelected: Gs,
3431
- timesHeader: Us,
3432
- timeRow: Ys,
3433
- timeButton: Zs,
3434
- timeButtonSelected: Ks,
3435
- field: zs,
3436
- fieldLabel: Js,
3437
- input: Xs,
3438
- fieldset: Qs,
3439
- radioRow: eo,
3440
- radioOption: to,
3441
- faqBelowActions: ro,
3442
- faq: no,
3443
- faqHeader: ao,
3444
- faqItem: so,
3445
- faqQuestion: oo,
3446
- faqAnswer: io,
3447
- faqChevron: lo,
3448
- errorText: co,
3449
- actionsRow: uo,
3450
- linkButton: ho,
3451
- primaryButton: fo,
3452
- successCheckCircle: mo,
3453
- summaryCard: po,
3454
- summaryRow: go,
3455
- summaryIcon: _o
3456
- }, bo = {
3403
+ }, ws = "_root_1iq32_7", ks = "_card_1iq32_18", js = "_titleLarge_1iq32_36", Ns = "_featuresList_1iq32_40", Is = "_stepLayout_1iq32_55", Ss = "_leftColumn_1iq32_47", Es = "_introHeader_1iq32_68", Ps = "_schedule_1iq32_74", Ls = "_subtitleLeft_1iq32_124", Ts = "_feature_1iq32_40", As = "_featureTitle_1iq32_143", Ds = "_featureDescription_1iq32_150", Os = "_title_1iq32_36", Rs = "_subtitle_1iq32_124", Bs = "_calendarHeader_1iq32_175", Ms = "_calendarMonthLabel_1iq32_182", Fs = "_calendarNavButton_1iq32_188", $s = "_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", g = {
3404
+ root: ws,
3405
+ card: ks,
3406
+ titleLarge: js,
3407
+ featuresList: Ns,
3408
+ stepLayout: Is,
3409
+ leftColumn: Ss,
3410
+ introHeader: Es,
3411
+ schedule: Ps,
3412
+ subtitleLeft: Ls,
3413
+ feature: Ts,
3414
+ featureTitle: As,
3415
+ featureDescription: Ds,
3416
+ title: Os,
3417
+ subtitle: Rs,
3418
+ calendarHeader: Bs,
3419
+ calendarMonthLabel: Ms,
3420
+ calendarNavButton: Fs,
3421
+ calendarGrid: $s,
3422
+ calendarDayHeader: Ws,
3423
+ calendarDayAvailable: Hs,
3424
+ calendarDayDisabled: Vs,
3425
+ calendarDaySelected: qs,
3426
+ timesHeader: Gs,
3427
+ timeRow: Us,
3428
+ timeButton: Ys,
3429
+ timeButtonSelected: Zs,
3430
+ field: Ks,
3431
+ fieldLabel: zs,
3432
+ input: Js,
3433
+ fieldset: Xs,
3434
+ radioRow: Qs,
3435
+ radioOption: eo,
3436
+ faqBelowActions: to,
3437
+ faq: ro,
3438
+ faqHeader: no,
3439
+ faqItem: ao,
3440
+ faqQuestion: so,
3441
+ faqAnswer: oo,
3442
+ faqChevron: io,
3443
+ errorText: lo,
3444
+ actionsRow: co,
3445
+ linkButton: uo,
3446
+ primaryButton: ho,
3447
+ successCheckCircle: fo,
3448
+ summaryCard: mo,
3449
+ summaryRow: po,
3450
+ summaryIcon: go
3451
+ }, _o = {
3457
3452
  loading: !0,
3458
3453
  error: null,
3459
3454
  availableSlots: [],
3460
3455
  isSlotBased: !1,
3461
3456
  timezone: "UTC"
3462
3457
  };
3463
- function $o({
3458
+ function Fo({
3464
3459
  offerId: e,
3465
3460
  customerName: r,
3466
3461
  customerPhone: a,
@@ -3471,7 +3466,7 @@ function $o({
3471
3466
  onReady: f,
3472
3467
  onError: d
3473
3468
  }) {
3474
- const u = Nt(), h = Pe(o), [p, _] = E(bo), [C, S] = E("select"), [k, H] = E(null), [P, Y] = E(null), [j, ne] = E(null), [F, oe] = E(r ?? ""), [U, A] = E(qe(a ?? "")), [$, Z] = E(null), [ae, z] = E(""), [K, q] = E(!1), [ie, ue] = E(null), v = G(r);
3469
+ const u = Nt(), h = Pe(o), [p, _] = E(_o), [C, S] = E("select"), [k, H] = E(null), [P, Y] = E(null), [j, ne] = E(null), [F, oe] = E(r ?? ""), [U, A] = E(qe(a ?? "")), [$, Z] = E(null), [ae, z] = E(""), [K, q] = E(!1), [ie, ue] = E(null), v = G(r);
3475
3470
  v.current = r;
3476
3471
  const x = G(a);
3477
3472
  x.current = a, se(() => {
@@ -3508,7 +3503,7 @@ function $o({
3508
3503
  timezone: L.timezone
3509
3504
  }), L.availableSlots.length > 0)
3510
3505
  ne(
3511
- vo(
3506
+ yo(
3512
3507
  yt(L.availableSlots[0], L.timezone)
3513
3508
  )
3514
3509
  );
@@ -3575,21 +3570,21 @@ function $o({
3575
3570
  strokeLinejoin: "round"
3576
3571
  }
3577
3572
  ) }) }),
3578
- /* @__PURE__ */ t.jsx("h2", { className: g.title, children: F ? `${yo(F)}, your assessment is scheduled!` : "Your assessment is scheduled!" }),
3573
+ /* @__PURE__ */ t.jsx("h2", { className: g.title, children: F ? `${bo(F)}, your assessment is scheduled!` : "Your assessment is scheduled!" }),
3579
3574
  /* @__PURE__ */ t.jsx("p", { className: g.subtitle, children: "A calendar invite has been sent to your email address." }),
3580
3575
  /* @__PURE__ */ t.jsxs("div", { className: g.summaryCard, children: [
3581
3576
  N && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
3582
3577
  /* @__PURE__ */ t.jsxs("div", { className: g.summaryRow, children: [
3583
- /* @__PURE__ */ t.jsx(jo, {}),
3578
+ /* @__PURE__ */ t.jsx(ko, {}),
3584
3579
  /* @__PURE__ */ t.jsx("span", { children: vt(N, p.timezone) })
3585
3580
  ] }),
3586
3581
  /* @__PURE__ */ t.jsxs("div", { className: g.summaryRow, children: [
3587
- /* @__PURE__ */ t.jsx(No, {}),
3582
+ /* @__PURE__ */ t.jsx(jo, {}),
3588
3583
  /* @__PURE__ */ t.jsx("span", { children: xt(N, p.timezone) })
3589
3584
  ] })
3590
3585
  ] }),
3591
3586
  s && /* @__PURE__ */ t.jsxs("div", { className: g.summaryRow, children: [
3592
- /* @__PURE__ */ t.jsx(Io, {}),
3587
+ /* @__PURE__ */ t.jsx(No, {}),
3593
3588
  /* @__PURE__ */ t.jsx("span", { children: s })
3594
3589
  ] })
3595
3590
  ] }),
@@ -3737,12 +3732,12 @@ function $o({
3737
3732
  }
3738
3733
  )
3739
3734
  ] }),
3740
- /* @__PURE__ */ t.jsx("div", { className: g.faqBelowActions, children: /* @__PURE__ */ t.jsx(Lo, { items: Eo }) })
3735
+ /* @__PURE__ */ t.jsx("div", { className: g.faqBelowActions, children: /* @__PURE__ */ t.jsx(Po, { items: So }) })
3741
3736
  ] })
3742
3737
  }
3743
3738
  );
3744
3739
  }
3745
- const R = xo(j), J = Co(j), ye = wo(j, y), he = ko(j, y), me = k ? y.get(k) ?? [] : [], pe = me[0] ? vt(new Date(me[0]), p.timezone) : null;
3740
+ const R = vo(j), J = xo(j), ye = Co(j, y), he = wo(j, y), me = k ? y.get(k) ?? [] : [], pe = me[0] ? vt(new Date(me[0]), p.timezone) : null;
3746
3741
  return /* @__PURE__ */ t.jsx(
3747
3742
  "div",
3748
3743
  {
@@ -3755,7 +3750,7 @@ function $o({
3755
3750
  /* @__PURE__ */ t.jsx("h2", { className: g.titleLarge, children: "Schedule your assessment" }),
3756
3751
  /* @__PURE__ */ t.jsx("p", { className: g.subtitleLeft, children: "Pick a time that works for you." })
3757
3752
  ] }),
3758
- /* @__PURE__ */ t.jsx("div", { className: g.featuresList, children: So.map((N) => /* @__PURE__ */ t.jsxs("div", { className: g.feature, children: [
3753
+ /* @__PURE__ */ t.jsx("div", { className: g.featuresList, children: Io.map((N) => /* @__PURE__ */ t.jsxs("div", { className: g.feature, children: [
3759
3754
  /* @__PURE__ */ t.jsx("p", { className: g.featureTitle, children: N.title }),
3760
3755
  /* @__PURE__ */ t.jsx("p", { className: g.featureDescription, children: N.description })
3761
3756
  ] }, N.title)) })
@@ -3840,7 +3835,7 @@ function $o({
3840
3835
  }
3841
3836
  );
3842
3837
  }
3843
- function yo(e) {
3838
+ function bo(e) {
3844
3839
  return e.trim().split(/\s+/)[0] ?? "";
3845
3840
  }
3846
3841
  function qe(e) {
@@ -3856,7 +3851,7 @@ function yt(e, r) {
3856
3851
  day: "2-digit"
3857
3852
  }).format(a);
3858
3853
  }
3859
- function vo(e) {
3854
+ function yo(e) {
3860
3855
  const [r, a] = e.split("-").map((s) => parseInt(s, 10));
3861
3856
  return { year: r, month: a - 1 };
3862
3857
  }
@@ -3880,7 +3875,7 @@ function Ct(e, r) {
3880
3875
  const a = e.year * 12 + e.month + r, s = Math.floor(a / 12), o = a - s * 12;
3881
3876
  return { year: s, month: o };
3882
3877
  }
3883
- function xo({ year: e, month: r }) {
3878
+ function vo({ year: e, month: r }) {
3884
3879
  const a = new Date(Date.UTC(e, r, 1)).getUTCDay(), s = new Date(Date.UTC(e, r + 1, 0)).getUTCDate(), o = Math.ceil((a + s) / 7) * 7, i = [], m = String(e).padStart(4, "0"), f = String(r + 1).padStart(2, "0");
3885
3880
  for (let d = 0; d < o; d++) {
3886
3881
  const u = d - a + 1;
@@ -3891,14 +3886,14 @@ function xo({ year: e, month: r }) {
3891
3886
  }
3892
3887
  return i;
3893
3888
  }
3894
- function Co({ year: e, month: r }) {
3889
+ function xo({ year: e, month: r }) {
3895
3890
  return new Date(Date.UTC(e, r, 1)).toLocaleString(void 0, {
3896
3891
  timeZone: "UTC",
3897
3892
  month: "long",
3898
3893
  year: "numeric"
3899
3894
  });
3900
3895
  }
3901
- function wo(e, r) {
3896
+ function Co(e, r) {
3902
3897
  for (const a of r.keys()) {
3903
3898
  const [s, o] = a.split("-").map((i) => parseInt(i, 10));
3904
3899
  if (s < e.year || s === e.year && o - 1 < e.month)
@@ -3906,7 +3901,7 @@ function wo(e, r) {
3906
3901
  }
3907
3902
  return !1;
3908
3903
  }
3909
- function ko(e, r) {
3904
+ function wo(e, r) {
3910
3905
  for (const a of r.keys()) {
3911
3906
  const [s, o] = a.split("-").map((i) => parseInt(i, 10));
3912
3907
  if (s > e.year || s === e.year && o - 1 > e.month)
@@ -3928,25 +3923,25 @@ function Je() {
3928
3923
  className: g.summaryIcon
3929
3924
  };
3930
3925
  }
3931
- function jo() {
3926
+ function ko() {
3932
3927
  return /* @__PURE__ */ t.jsxs("svg", { ...Je(), children: [
3933
3928
  /* @__PURE__ */ t.jsx("rect", { x: "2", y: "3.5", width: "12", height: "11", rx: "1.5" }),
3934
3929
  /* @__PURE__ */ t.jsx("path", { d: "M2 6.5h12M5.5 2v3M10.5 2v3" })
3935
3930
  ] });
3936
3931
  }
3937
- function No() {
3932
+ function jo() {
3938
3933
  return /* @__PURE__ */ t.jsxs("svg", { ...Je(), children: [
3939
3934
  /* @__PURE__ */ t.jsx("circle", { cx: "8", cy: "8", r: "6" }),
3940
3935
  /* @__PURE__ */ t.jsx("path", { d: "M8 4.5V8l2.5 1.5" })
3941
3936
  ] });
3942
3937
  }
3943
- function Io() {
3938
+ function No() {
3944
3939
  return /* @__PURE__ */ t.jsxs("svg", { ...Je(), children: [
3945
3940
  /* @__PURE__ */ t.jsx("path", { d: "M8 14s-4.5-4-4.5-7.5a4.5 4.5 0 1 1 9 0C12.5 10 8 14 8 14z" }),
3946
3941
  /* @__PURE__ */ t.jsx("circle", { cx: "8", cy: "6.5", r: "1.5" })
3947
3942
  ] });
3948
3943
  }
3949
- const So = [
3944
+ const Io = [
3950
3945
  {
3951
3946
  title: "No extra preparation needed",
3952
3947
  description: "No need to fix, clean, or stage your home."
@@ -3959,7 +3954,7 @@ const So = [
3959
3954
  title: "30 minutes or less",
3960
3955
  description: "Examine the home's exterior and take a quick look inside."
3961
3956
  }
3962
- ], Eo = [
3957
+ ], So = [
3963
3958
  {
3964
3959
  title: "What are you looking for during the assessment?",
3965
3960
  body: "We will verify the property's condition matches your contract. We'll check the home's exterior and interior, including major systems, structure, and overall condition. This helps us confirm all details are accurate before closing."
@@ -3973,7 +3968,7 @@ const So = [
3973
3968
  body: "Once we're done with the home assessment, it typically takes a few days to email your final offer. You'll be able to see your final offer price along with the service charge, any repair cost, and your estimated closing costs."
3974
3969
  }
3975
3970
  ];
3976
- function Po() {
3971
+ function Eo() {
3977
3972
  return /* @__PURE__ */ t.jsx(
3978
3973
  "svg",
3979
3974
  {
@@ -3991,7 +3986,7 @@ function Po() {
3991
3986
  }
3992
3987
  );
3993
3988
  }
3994
- function Lo({
3989
+ function Po({
3995
3990
  items: e
3996
3991
  }) {
3997
3992
  return /* @__PURE__ */ t.jsxs("div", { className: g.faq, children: [
@@ -3999,20 +3994,20 @@ function Lo({
3999
3994
  e.map((r) => /* @__PURE__ */ t.jsxs("details", { className: g.faqItem, children: [
4000
3995
  /* @__PURE__ */ t.jsxs("summary", { className: g.faqQuestion, children: [
4001
3996
  /* @__PURE__ */ t.jsx("span", { children: r.title }),
4002
- /* @__PURE__ */ t.jsx(Po, {})
3997
+ /* @__PURE__ */ t.jsx(Eo, {})
4003
3998
  ] }),
4004
3999
  /* @__PURE__ */ t.jsx("p", { className: g.faqAnswer, children: r.body })
4005
4000
  ] }, r.title))
4006
4001
  ] });
4007
4002
  }
4008
4003
  export {
4009
- Ro as AddressEntry,
4010
- Mo as AddressMap,
4011
- Bo as AddressUnitConfirmation,
4012
- Oo as DTC_ONBOARDING_PAGE_IDS,
4013
- Fo as DtcOnboardingFlow,
4014
- Do as OpendoorProvider,
4015
- $o as ScheduleAssessmentFlow,
4004
+ Oo as AddressEntry,
4005
+ Bo as AddressMap,
4006
+ Ro as AddressUnitConfirmation,
4007
+ Do as DTC_ONBOARDING_PAGE_IDS,
4008
+ Mo as DtcOnboardingFlow,
4009
+ Ao as OpendoorProvider,
4010
+ Fo as ScheduleAssessmentFlow,
4016
4011
  cr as THEMES,
4017
4012
  ur as resolveAppearance,
4018
4013
  Nt as useOpendoorClient
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendoor/partner-sdk-client-react",
3
- "version": "1.3.3-beta.112.1",
3
+ "version": "1.3.3-beta.113.1",
4
4
  "description": "React components for Opendoor partner integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",