@getcredify/credify-insurance-widget 1.45.0 → 1.46.0

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 (58) hide show
  1. package/dist/{address-BEVwov8q-BHA-1zzm.js → address-BEVwov8q-D41kOVu6.js} +1 -1
  2. package/dist/api-Cw2AUM88.js +77 -0
  3. package/dist/{car-B8Sfr377.js → car-CMnEV9_b.js} +3 -3
  4. package/dist/{check-B8qTJ1zD.js → check-BTgVTfcC.js} +1 -1
  5. package/dist/{copy-applicant-offer-BPo842pD-COcsLcbo.js → copy-applicant-offer-UApiJBeU-CKq7ImsF.js} +3 -3
  6. package/dist/{copy-from-record-DL503itm-B05F775l.js → copy-from-record-DL503itm-CTS4E7Rf.js} +11 -11
  7. package/dist/{coverageDerivation-CV2ORogj-D4IAkVAP.js → coverageDerivation-CV2ORogj-jMf2SoK5.js} +1 -1
  8. package/dist/{fixtures-ijbZ16Zg-CB6WPBEx.js → fixtures-ijbZ16Zg-ChdBIfNy.js} +1 -1
  9. package/dist/{household-prefill-DJ-Y0NcP-TwmnYrqf.js → household-prefill-BwSS00qI-BV0ZiWyf.js} +22 -22
  10. package/dist/{householdPrefill-DLm3pxFH-Gudko0w4.js → householdPrefill-DLm3pxFH-CsBUhGpI.js} +3 -3
  11. package/dist/iframe/assets/{address-BEVwov8q-RcBegFnh.js → address-BEVwov8q-WHZXNW9V.js} +1 -1
  12. package/dist/iframe/assets/api-DAGqvZlL.js +1 -0
  13. package/dist/iframe/assets/{car-DQIQf4LA.js → car-B5QKRfCv.js} +2 -2
  14. package/dist/iframe/assets/{check-BiNh2j82.js → check-COpOqcK1.js} +1 -1
  15. package/dist/iframe/assets/{copy-applicant-offer-BPo842pD-Cj352DzN.js → copy-applicant-offer-UApiJBeU-DzSzRNkI.js} +1 -1
  16. package/dist/iframe/assets/{copy-from-record-DL503itm-B7hBbUhh.js → copy-from-record-DL503itm-uUs1HZ1W.js} +2 -2
  17. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-D3oRqD1U.js → coverageDerivation-CV2ORogj-BRpZ-qnO.js} +1 -1
  18. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-vOGgSHSK.js → dob-calendar-RIJ5S6YU-Bc9pcr1S.js} +1 -1
  19. package/dist/iframe/assets/{fixtures-ijbZ16Zg-BmEw6uDw.js → fixtures-ijbZ16Zg-DHtl-XVn.js} +1 -1
  20. package/dist/iframe/assets/household-prefill-BwSS00qI-DoI-FWTT.js +1 -0
  21. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-BZXueCa7.js → householdPrefill-DLm3pxFH-Dh4Zfx2N.js} +1 -1
  22. package/dist/iframe/assets/{iframe-ku_diR98.js → iframe-B0t_86Ff.js} +35 -35
  23. package/dist/iframe/assets/{index-IiQzPjFm.js → index-Dn7YHcfA.js} +2 -2
  24. package/dist/iframe/assets/intake-review-panel-CjiYTJXh-RzRGAMUY.js +1 -0
  25. package/dist/iframe/assets/{mockJump-H1NFTDah-yzeq4yea.js → mockJump-DCZoGtRl-COeVYgAv.js} +1 -1
  26. package/dist/iframe/assets/{payload-CQc06PZC-BxklUdmW.js → payload-DurIYSZk-BKyiqX4B.js} +1 -1
  27. package/dist/iframe/assets/{question-list-CcoyuyQD-DCzTkzeE.js → question-list-CjN64tfw-C635WZhw.js} +3 -3
  28. package/dist/iframe/assets/rates-panel-B1xVYtTQ-7LijnnnG.js +17 -0
  29. package/dist/iframe/assets/{review-panel-CFVxGU7F-CqUUCDLK.js → review-panel-DuzWoTKP-ClL_jf1q.js} +2 -2
  30. package/dist/iframe/assets/stage-CnucLiNn-CeNTIedd.js +1 -0
  31. package/dist/iframe/assets/validation-Db4WCn17-CWj8NSXn.js +3 -0
  32. package/dist/iframe/assets/{vehicleCoverage-DI2dKrnI-DVXwPfxd.js → vehicleCoverage-CDBtkdww-B2U8GTFu.js} +1 -1
  33. package/dist/iframe/assets/visibility-iwttXt0y-DdU95s24.js +1 -0
  34. package/dist/iframe/assets/{waves-vdL6w3zC.js → waves-BTFsI5kF.js} +1 -1
  35. package/dist/iframe/iframe.html +1 -1
  36. package/dist/{index-IZRzz1Mi.js → index-BWYDsqpp.js} +26 -26
  37. package/dist/index.es.js +1 -1
  38. package/dist/index.umd.js +95 -95
  39. package/dist/{intake-review-panel-CWz2efw4-BQ-Nog4K.js → intake-review-panel-CjiYTJXh-CEbA61Dc.js} +5 -5
  40. package/dist/{mockJump-H1NFTDah-CkqZVQxf.js → mockJump-DCZoGtRl-Bo7POlsv.js} +1 -1
  41. package/dist/{payload-CQc06PZC-KA6cBCno.js → payload-DurIYSZk-DIu_QDwm.js} +2 -2
  42. package/dist/{question-list-CcoyuyQD-_c4J4n0G.js → question-list-CjN64tfw-1IKhM3Qt.js} +13 -13
  43. package/dist/{rates-panel-MXCbnqpL-DGYBAFto.js → rates-panel-B1xVYtTQ-zlc6y8FP.js} +237 -222
  44. package/dist/{review-panel-CFVxGU7F-CtO3WmnD.js → review-panel-DuzWoTKP-fVqE5OXc.js} +71 -71
  45. package/dist/{stage-BSRsu--X-DJs8ps3K.js → stage-CnucLiNn-cNOWRm4u.js} +4 -4
  46. package/dist/{validation-ELW00AsL-C4xgPdbr.js → validation-Db4WCn17-MXpuK34u.js} +2 -2
  47. package/dist/{vehicleCoverage-DI2dKrnI-Lq9BCjQm.js → vehicleCoverage-CDBtkdww-PMT13g0U.js} +3 -3
  48. package/dist/{visibility-CyRoLvg5-DNRgF2sH.js → visibility-iwttXt0y-DPpMfYyV.js} +1 -1
  49. package/dist/{waves-DM8Lgssk.js → waves-B32--xu4.js} +1 -1
  50. package/dist/{widget-3S1xkGig.js → widget-D6Yu93a3.js} +1062 -1057
  51. package/package.json +2 -2
  52. package/dist/api-BLmgLEy-.js +0 -51
  53. package/dist/iframe/assets/household-prefill-DJ-Y0NcP-z6AnkJcR.js +0 -1
  54. package/dist/iframe/assets/intake-review-panel-CWz2efw4-CP-sEc-j.js +0 -1
  55. package/dist/iframe/assets/rates-panel-MXCbnqpL-TFkvW-DN.js +0 -17
  56. package/dist/iframe/assets/stage-BSRsu--X-BAWfI2cm.js +0 -1
  57. package/dist/iframe/assets/validation-ELW00AsL-ytOMlsxG.js +0 -3
  58. package/dist/iframe/assets/visibility-CyRoLvg5-CxslMJYX.js +0 -1
@@ -1,9 +1,9 @@
1
- import { a4 as de, a6 as Ue, t as ze, a7 as Ye, W as B, a8 as S, a9 as te, aa as W, ab as Ve, U as ye, G as A, h as Je, i as Ke, ac as xe, ad as Ze, ae as Qe, y as Xe, e as Ne, v as et, H as tt, C as st, af as at } from "./widget-3S1xkGig.js";
2
- import { useState as b, useRef as se, useCallback as Ce, useEffect as D, useMemo as ve } from "react";
3
- import { jsxs as r, jsx as t, Fragment as rt } from "react/jsx-runtime";
4
- import { S as ae, W as ke, H as dt } from "./waves-DM8Lgssk.js";
5
- import { C as ct } from "./car-B8Sfr377.js";
6
- import { C as nt } from "./check-B8qTJ1zD.js";
1
+ import { $ as ne, am as Ve, t as Je, o as Ke, an as Ne, ao as ve, ap as Ze, W as E, aq as S, ar as se, as as G, a2 as Qe, U as ke, G as w, _ as Xe, x as et, at as _e, p as tt, e as we, y as st, H as at, w as rt, au as dt } from "./widget-D6Yu93a3.js";
2
+ import { useState as b, useRef as ae, useCallback as re, useEffect as L, useMemo as Ae } from "react";
3
+ import { jsxs as r, jsx as t, Fragment as ct } from "react/jsx-runtime";
4
+ import { S as de, W as Ce, H as nt } from "./waves-B32--xu4.js";
5
+ import { C as lt } from "./car-CMnEV9_b.js";
6
+ import { C as it } from "./check-BTgVTfcC.js";
7
7
  (function() {
8
8
  if (typeof e > "u")
9
9
  var e = { env: {} };
@@ -14,28 +14,28 @@ import { C as nt } from "./check-B8qTJ1zD.js";
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
16
  */
17
- const lt = [
17
+ const ot = [
18
18
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
19
19
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
20
- ], it = de("copy", lt);
20
+ ], ut = ne("copy", ot);
21
21
  /**
22
22
  * @license lucide-react v0.562.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
25
25
  * See the LICENSE file in the root directory of this source tree.
26
26
  */
27
- const ot = [
27
+ const mt = [
28
28
  ["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
29
29
  ["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
30
30
  ["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
31
- ], ut = de("link-2", ot);
31
+ ], ht = ne("link-2", mt);
32
32
  /**
33
33
  * @license lucide-react v0.562.0 - ISC
34
34
  *
35
35
  * This source code is licensed under the ISC license.
36
36
  * See the LICENSE file in the root directory of this source tree.
37
37
  */
38
- const mt = [
38
+ const ft = [
39
39
  [
40
40
  "path",
41
41
  {
@@ -43,8 +43,8 @@ const mt = [
43
43
  key: "9njp5v"
44
44
  }
45
45
  ]
46
- ], qe = de("phone", mt);
47
- var ht = {
46
+ ], Ie = ne("phone", ft);
47
+ var pt = {
48
48
  SafecoPersonal: "Safeco",
49
49
  SafecoPersoanl: "Safeco",
50
50
  AssuranceAmerica: "Assurance America",
@@ -232,32 +232,32 @@ var ht = {
232
232
  WilsonMutual: "Wilson Mutual",
233
233
  Windsor: "Windsor",
234
234
  Zurich: "Zurich"
235
- }, ft = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/_/g, " ").trim(), y = (e) => e && (ht[e] ?? ft(e)), Me = {
235
+ }, gt = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/_/g, " ").trim(), y = (e) => e && (pt[e] ?? gt(e)), Pe = {
236
236
  PersonalHome: "Homeowners",
237
237
  PersonalAuto: "Personal Auto",
238
238
  Flood: "Flood",
239
239
  ExcessFlood: "Excess Flood",
240
240
  _other: "Other"
241
- }, _e = [
241
+ }, qe = [
242
242
  "PersonalHome",
243
243
  "PersonalAuto",
244
244
  "Flood",
245
245
  "ExcessFlood"
246
- ], M = (e) => e ? Me[e] ?? e : null, L = (e) => {
246
+ ], M = (e) => e ? Pe[e] ?? e : null, j = (e) => {
247
247
  if (e.monthly_premium_cents != null) return e.monthly_premium_cents;
248
248
  let a = Number.isFinite(e.term_months) && e.term_months > 0 ? e.term_months : 1;
249
249
  return Math.round((e.premium_cents || 0) / a);
250
- }, Se = (e) => e.admitted_status === "non_admitted" || e.admitted_status === "not_quoted" ? e.admitted_status : "admitted", pt = (e) => {
250
+ }, $e = (e) => e.admitted_status === "non_admitted" || e.admitted_status === "not_quoted" ? e.admitted_status : "admitted", bt = (e) => {
251
251
  let a = {
252
252
  admitted: [],
253
253
  non_admitted: [],
254
254
  not_quoted: []
255
255
  };
256
- for (let i of e) a[Se(i)].push(i);
256
+ for (let i of e) a[$e(i)].push(i);
257
257
  return a;
258
- }, gt = (e, a) => L(e) - L(a), bt = (e, a) => y(e.carrier_name).localeCompare(y(a.carrier_name)), yt = (e, { sortBy: a = "premium" } = {}) => {
258
+ }, yt = (e, a) => j(e) - j(a), xt = (e, a) => y(e.carrier_name).localeCompare(y(a.carrier_name)), Nt = (e, { sortBy: a = "premium" } = {}) => {
259
259
  if (!e.length) return [];
260
- let i = a === "carrier" ? bt : gt;
260
+ let i = a === "carrier" ? xt : yt;
261
261
  if (!e.some((m) => m.lob)) return [{
262
262
  lob: null,
263
263
  title: "Rates",
@@ -269,15 +269,15 @@ var ht = {
269
269
  o ? o.push(m) : n.set(d, [m]);
270
270
  }
271
271
  let u = (m) => {
272
- let d = _e.indexOf(m);
273
- return d === -1 ? _e.length : d;
272
+ let d = qe.indexOf(m);
273
+ return d === -1 ? qe.length : d;
274
274
  };
275
275
  return [...n.entries()].sort(([m], [d]) => u(m) - u(d)).map(([m, d]) => ({
276
276
  lob: m,
277
- title: Me[m] ?? m,
277
+ title: Pe[m] ?? m,
278
278
  rates: [...d].sort(i)
279
279
  }));
280
- }, xt = (e) => (e.coverages ?? []).filter((a) => !!a && typeof a.label == "string" && a.label.trim() !== "" && typeof a.value == "string" && a.value.trim() !== ""), Nt = [
280
+ }, vt = (e) => (e.coverages ?? []).filter((a) => !!a && typeof a.label == "string" && a.label.trim() !== "" && typeof a.value == "string" && a.value.trim() !== ""), kt = [
281
281
  {
282
282
  match: /uninsured.*motorist.*(?:cannot|can not|can't) be (?:greater|higher|more) than.*bodily injury/i,
283
283
  render: () => "Uninsured motorist coverage can't be higher than your bodily injury limit. Lower it, or raise bodily injury to match."
@@ -291,7 +291,7 @@ var ht = {
291
291
  render: () => "These need an answer before the carrier can price your quote:",
292
292
  shared: !0
293
293
  }
294
- ], vt = {
294
+ ], _t = {
295
295
  vehicle: "Your vehicles",
296
296
  driver: "Your drivers",
297
297
  coverage: "Your coverage choices",
@@ -299,7 +299,7 @@ var ht = {
299
299
  applicant: "Your details",
300
300
  history: "Your insurance history",
301
301
  general: "A few other answers"
302
- }, kt = [
302
+ }, wt = [
303
303
  "vehicle",
304
304
  "driver",
305
305
  "home",
@@ -307,28 +307,28 @@ var ht = {
307
307
  "history",
308
308
  "applicant",
309
309
  "general"
310
- ], T = (e) => typeof e == "string" ? e.trim() : typeof e == "number" ? String(e) : "", _t = (e) => [
311
- T(e.year),
312
- T(e.make),
313
- T(e.model)
314
- ].filter(Boolean).join(" "), At = (e) => [T(e.first_name), T(e.last_name)].filter(Boolean).join(" "), wt = (e, a) => {
310
+ ], R = (e) => typeof e == "string" ? e.trim() : typeof e == "number" ? String(e) : "", At = (e) => [
311
+ R(e.year),
312
+ R(e.make),
313
+ R(e.model)
314
+ ].filter(Boolean).join(" "), Ct = (e) => [R(e.first_name), R(e.last_name)].filter(Boolean).join(" "), qt = (e, a) => {
315
315
  let i = a.vehicles?.length === 1 ? a.vehicles[0] : void 0;
316
316
  if (e === "vehicle" && i) {
317
- let u = _t(i);
317
+ let u = At(i);
318
318
  if (u) return `Your ${u}`;
319
319
  }
320
320
  let n = a.drivers?.length === 1 ? a.drivers[0] : void 0;
321
321
  if (e === "driver" && n) {
322
- let u = At(n);
322
+ let u = Ct(n);
323
323
  if (u) return u;
324
324
  }
325
- return vt[e];
326
- }, Ae = (e) => e && (e[0] ?? "").toUpperCase() + e.slice(1), Ct = (e) => e.length <= 1 ? e[0] ?? "" : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")}, and ${e[e.length - 1]}`, qt = (e, a = {}) => {
325
+ return _t[e];
326
+ }, Me = (e) => e && (e[0] ?? "").toUpperCase() + e.slice(1), Mt = (e) => e.length <= 1 ? e[0] ?? "" : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")}, and ${e[e.length - 1]}`, St = (e, a = {}) => {
327
327
  let i = /* @__PURE__ */ new Map(), n = [], u = 0;
328
328
  for (let d of e ?? []) {
329
- let o = Ue(d.field ?? ""), g = (o.key ? a.describeField?.(o.key) : void 0)?.label ?? (o.isOpaque ? void 0 : o.label);
329
+ let o = Ve(d.field ?? ""), g = (o.key ? a.describeField?.(o.key) : void 0)?.label ?? (o.isOpaque ? void 0 : o.label);
330
330
  o.key && n.push(o.key);
331
- let f = (d.message ?? "").trim(), p = Nt.find((k) => k.match.test(f)), _ = p ? p.render(g) : f;
331
+ let f = (d.message ?? "").trim(), p = kt.find((k) => k.match.test(f)), _ = p ? p.render(g) : f;
332
332
  if (!_ || !g && !f) {
333
333
  u += 1;
334
334
  continue;
@@ -337,24 +337,24 @@ var ht = {
337
337
  u += 1;
338
338
  continue;
339
339
  }
340
- let w = i.get(o.entity) ?? {
340
+ let A = i.get(o.entity) ?? {
341
341
  issues: [],
342
342
  seen: /* @__PURE__ */ new Set()
343
343
  }, v = `${g ?? ""}|${_}`;
344
- w.seen.has(v) || (w.seen.add(v), w.issues.push({
344
+ A.seen.has(v) || (A.seen.add(v), A.issues.push({
345
345
  label: g,
346
346
  message: _,
347
347
  key: o.key
348
- }), i.set(o.entity, w));
348
+ }), i.set(o.entity, A));
349
349
  }
350
350
  let m = [];
351
- for (let d of kt) {
351
+ for (let d of wt) {
352
352
  let o = i.get(d);
353
353
  if (!o?.issues.length) continue;
354
354
  let g = o.issues[0]?.message ?? "", f = o.issues.every((p) => p.message === g && p.label);
355
355
  m.push({
356
356
  id: d,
357
- heading: wt(d, a),
357
+ heading: qt(d, a),
358
358
  sharedMessage: f ? g : void 0,
359
359
  labels: f ? o.issues.map((p) => p.label) : [],
360
360
  issues: o.issues
@@ -366,31 +366,31 @@ var ht = {
366
366
  isOpaque: m.length === 0,
367
367
  keys: [...new Set(n)]
368
368
  };
369
- }, Mt = (e) => e.label ? `${e.label}: ${Ae(e.message)}` : Ae(e.message), St = 2500, It = (e) => {
369
+ }, It = (e) => e.label ? `${e.label}: ${Me(e.message)}` : Me(e.message), Pt = 2500, $t = (e) => {
370
370
  if (!e) return null;
371
371
  let a = Math.round((Date.parse(e) - Date.now()) / 864e5);
372
372
  return !Number.isFinite(a) || a < 1 ? null : a === 1 ? "It works for 1 more day." : `It works for the next ${a} days.`;
373
- }, Pt = ({ quoteId: e }) => {
374
- let [a, i] = b({ kind: "pending" }), [n, u] = b(!1), m = se(null), d = se(!1);
375
- D(() => {
373
+ }, Ft = ({ quoteId: e }) => {
374
+ let [a, i] = b({ kind: "pending" }), [n, u] = b(!1), m = ae(null), d = ae(!1);
375
+ L(() => {
376
376
  d.current || (d.current = !0, (async () => {
377
377
  try {
378
- let [{ issueResumeLink: f }, { buildResumeUrl: p }] = await Promise.all([import("./api-BLmgLEy-.js"), import("./widget-3S1xkGig.js").then((v) => v.aw).then((v) => v.u)]), { resumeToken: _, expiresAt: w } = await f(e ?? void 0);
378
+ let [{ issueResumeLink: f }, { buildResumeUrl: p }] = await Promise.all([import("./api-Cw2AUM88.js"), import("./widget-D6Yu93a3.js").then((v) => v.aw).then((v) => v.u)]), { resumeToken: _, expiresAt: A } = await f(e ?? void 0);
379
379
  i({
380
380
  kind: "ready",
381
381
  url: p(_),
382
- expiresAt: w
382
+ expiresAt: A
383
383
  });
384
384
  } catch (f) {
385
- at() && console.error("Resume link unavailable:", f), i({ kind: "unavailable" });
385
+ dt() && console.error("Resume link unavailable:", f), i({ kind: "unavailable" });
386
386
  }
387
387
  })());
388
- }, [e]), D(() => {
388
+ }, [e]), L(() => {
389
389
  if (!n) return;
390
- let f = setTimeout(() => u(!1), St);
390
+ let f = setTimeout(() => u(!1), Pt);
391
391
  return () => clearTimeout(f);
392
392
  }, [n]);
393
- let o = Ce(async (f) => {
393
+ let o = re(async (f) => {
394
394
  m.current?.select();
395
395
  try {
396
396
  await navigator.clipboard.writeText(f), u(!0);
@@ -399,13 +399,13 @@ var ht = {
399
399
  }
400
400
  }, []);
401
401
  if (a.kind !== "ready") return null;
402
- let g = It(a.expiresAt);
402
+ let g = $t(a.expiresAt);
403
403
  return /* @__PURE__ */ t("div", {
404
404
  "data-credify-resume-link": !0,
405
405
  className: "cds-mt-6 cds-rounded-xl cds-border cds-border-border cds-bg-surface-muted cds-p-4",
406
406
  children: /* @__PURE__ */ r("div", {
407
407
  className: "cds-flex cds-items-start cds-gap-3",
408
- children: [/* @__PURE__ */ t(ut, {
408
+ children: [/* @__PURE__ */ t(ht, {
409
409
  "aria-hidden": "true",
410
410
  className: "cds-mt-0.5 cds-h-5 cds-w-5 cds-shrink-0 cds-text-fg"
411
411
  }), /* @__PURE__ */ r("div", {
@@ -428,12 +428,12 @@ var ht = {
428
428
  value: a.url,
429
429
  "aria-label": "Link back to your quotes",
430
430
  onFocus: (f) => f.currentTarget.select(),
431
- className: `cds-min-w-0 cds-flex-1 cds-rounded-lg cds-border cds-border-input cds-bg-surface-elevated cds-px-3 cds-py-2 cds-text-xs cds-text-fg-muted ${A}`
431
+ className: `cds-min-w-0 cds-flex-1 cds-rounded-lg cds-border cds-border-input cds-bg-surface-elevated cds-px-3 cds-py-2 cds-text-xs cds-text-fg-muted ${w}`
432
432
  }), /* @__PURE__ */ r("button", {
433
433
  type: "button",
434
434
  onClick: () => void o(a.url),
435
- className: `cds-inline-flex cds-shrink-0 cds-items-center cds-justify-center cds-gap-1.5 cds-rounded-lg cds-border cds-border-primary cds-px-4 cds-py-2 cds-text-sm cds-font-semibold cds-text-fg cds-transition-colors hover:cds-bg-primary hover:cds-text-primary-foreground ${A}`,
436
- children: [t(n ? nt : it, {
435
+ className: `cds-inline-flex cds-shrink-0 cds-items-center cds-justify-center cds-gap-1.5 cds-rounded-lg cds-border cds-border-primary cds-px-4 cds-py-2 cds-text-sm cds-font-semibold cds-text-fg cds-transition-colors hover:cds-bg-primary hover:cds-text-primary-foreground ${w}`,
436
+ children: [t(n ? it : ut, {
437
437
  "aria-hidden": "true",
438
438
  className: "cds-h-4 cds-w-4"
439
439
  }), n ? "Copied" : "Copy link"]
@@ -452,7 +452,7 @@ var ht = {
452
452
  })]
453
453
  })
454
454
  });
455
- }, Vt = /* @__PURE__ */ ze({ RatesPanel: () => Gt }), $t = 3e3, Ft = 33e4, re = (e) => `$${(e / 100).toLocaleString("en-US", { maximumFractionDigits: 0 })}`, Ht = (e) => e.split(/\s+/).filter(Boolean).slice(0, 2).map((a) => a[0]?.toUpperCase() ?? "").join(""), Tt = [
455
+ }, Kt = /* @__PURE__ */ Je({ RatesPanel: () => Lt }), Ht = 3e3, Tt = 33e4, ce = (e) => `$${(e / 100).toLocaleString("en-US", { maximumFractionDigits: 0 })}`, Ot = (e) => e.split(/\s+/).filter(Boolean).slice(0, 2).map((a) => a[0]?.toUpperCase() ?? "").join(""), Rt = [
456
456
  {
457
457
  market: "admitted",
458
458
  label: "Admitted"
@@ -465,10 +465,10 @@ var ht = {
465
465
  market: "not_quoted",
466
466
  label: "Not quoted"
467
467
  }
468
- ], E = (e) => ({
468
+ ], W = (e) => ({
469
469
  tab: `rates-tab-${e}`,
470
470
  panel: `rates-panel-${e}`
471
- }), Ie = ({ rate: e, size: a }) => {
471
+ }), Fe = ({ rate: e, size: a }) => {
472
472
  let i = y(e.carrier_name), n = a === "sm" ? "cds-h-9 cds-w-9" : "cds-h-10 cds-w-10";
473
473
  return e.carrier_logo_base64 ? /* @__PURE__ */ t("img", {
474
474
  src: `data:image/png;base64,${e.carrier_logo_base64}`,
@@ -477,18 +477,18 @@ var ht = {
477
477
  }) : /* @__PURE__ */ t("span", {
478
478
  "aria-hidden": "true",
479
479
  className: `cds-flex ${n} cds-shrink-0 cds-items-center cds-justify-center cds-rounded cds-bg-primary/10 cds-text-sm cds-font-bold cds-text-fg`,
480
- children: Ht(i)
480
+ children: Ot(i)
481
481
  });
482
- }, we = {
482
+ }, Se = {
483
483
  PersonalAuto: "Personal Auto",
484
484
  PersonalHome: "Homeowners"
485
- }, Ot = {
486
- PersonalHome: dt,
487
- PersonalAuto: ct,
488
- Flood: ke,
489
- ExcessFlood: ke
490
- }, G = ({ lob: e, size: a = "md" }) => {
491
- let i = e && Ot[e] || ae, n = a === "sm" ? "cds-h-5 cds-w-5" : "cds-h-7 cds-w-7", u = a === "sm" ? "cds-h-3 cds-w-3" : "cds-h-4 cds-w-4";
485
+ }, Bt = {
486
+ PersonalHome: nt,
487
+ PersonalAuto: lt,
488
+ Flood: Ce,
489
+ ExcessFlood: Ce
490
+ }, D = ({ lob: e, size: a = "md" }) => {
491
+ let i = e && Bt[e] || de, n = a === "sm" ? "cds-h-5 cds-w-5" : "cds-h-7 cds-w-7", u = a === "sm" ? "cds-h-3 cds-w-3" : "cds-h-4 cds-w-4";
492
492
  return /* @__PURE__ */ t("span", {
493
493
  "aria-hidden": "true",
494
494
  className: `cds-inline-flex ${n} cds-shrink-0 cds-items-center cds-justify-center cds-rounded-full cds-bg-accent/15 cds-ring-1 cds-ring-inset cds-ring-ring/25`,
@@ -497,14 +497,14 @@ var ht = {
497
497
  strokeWidth: 2.5
498
498
  })
499
499
  });
500
- }, Rt = ({ rate: e, showLob: a, isSelected: i, isRequested: n, lobLocked: u, onSelect: m }) => {
501
- let d = y(e.carrier_name), o = xt(e), g = a ? M(e.lob) : null, f = e.effective_date && e.policy_end_date ? `${e.effective_date} – ${e.policy_end_date}` : e.effective_date;
500
+ }, Et = ({ rate: e, showLob: a, isSelected: i, isRequested: n, lobLocked: u, onSelect: m }) => {
501
+ let d = y(e.carrier_name), o = vt(e), g = a ? M(e.lob) : null, f = e.effective_date && e.policy_end_date ? `${e.effective_date} – ${e.policy_end_date}` : e.effective_date;
502
502
  return /* @__PURE__ */ r("div", {
503
503
  className: `cds-rounded-xl cds-border cds-bg-surface-elevated cds-p-4 ${n ? "cds-border-accent cds-ring-2 ring-emerald-500/30" : i ? "cds-border-accent cds-ring-2 cds-ring-ring/30" : "cds-border-border"} ${u ? "cds-opacity-60" : ""}`,
504
504
  children: [
505
505
  g ? /* @__PURE__ */ r("p", {
506
506
  className: "cds-mb-2 cds-flex cds-items-center cds-gap-1.5 cds-text-xs cds-font-semibold cds-uppercase cds-tracking-wide cds-text-fg",
507
- children: [/* @__PURE__ */ t(G, {
507
+ children: [/* @__PURE__ */ t(D, {
508
508
  lob: e.lob,
509
509
  size: "sm"
510
510
  }), g]
@@ -512,7 +512,7 @@ var ht = {
512
512
  /* @__PURE__ */ r("div", {
513
513
  className: "cds-flex cds-items-center cds-gap-3",
514
514
  children: [
515
- /* @__PURE__ */ t(Ie, {
515
+ /* @__PURE__ */ t(Fe, {
516
516
  rate: e,
517
517
  size: "md"
518
518
  }),
@@ -526,7 +526,7 @@ var ht = {
526
526
  /* @__PURE__ */ r("p", {
527
527
  className: "cds-text-xs cds-text-fg-muted",
528
528
  children: [
529
- re(e.premium_cents),
529
+ ce(e.premium_cents),
530
530
  " for ",
531
531
  e.term_months,
532
532
  " months"
@@ -542,7 +542,7 @@ var ht = {
542
542
  className: "cds-text-right",
543
543
  children: [/* @__PURE__ */ t("p", {
544
544
  className: "cds-text-xl cds-font-extrabold cds-text-fg",
545
- children: re(L(e))
545
+ children: ce(j(e))
546
546
  }), /* @__PURE__ */ t("p", {
547
547
  className: "cds-text-xs cds-text-fg-muted",
548
548
  children: "/mo"
@@ -584,16 +584,16 @@ var ht = {
584
584
  }) : /* @__PURE__ */ t("button", {
585
585
  type: "button",
586
586
  onClick: m,
587
- className: `cds-mt-3 cds-w-full cds-rounded-lg cds-border cds-border-accent cds-px-4 cds-py-2 cds-text-sm cds-font-bold cds-text-fg hover:cds-bg-highlight ${A}`,
587
+ className: `cds-mt-3 cds-w-full cds-rounded-lg cds-border cds-border-accent cds-px-4 cds-py-2 cds-text-sm cds-font-bold cds-text-fg hover:cds-bg-highlight ${w}`,
588
588
  children: i ? "Selected" : "Continue with this quote"
589
589
  })
590
590
  ]
591
591
  });
592
- }, Bt = ({ rate: e }) => {
592
+ }, Wt = ({ rate: e }) => {
593
593
  let a = (e.decline_reasons ?? []).filter(Boolean), i = e.decline_category?.trim();
594
594
  return /* @__PURE__ */ r("div", {
595
595
  className: "cds-flex cds-gap-3 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",
596
- children: [/* @__PURE__ */ t(Ie, {
596
+ children: [/* @__PURE__ */ t(Fe, {
597
597
  rate: e,
598
598
  size: "sm"
599
599
  }), /* @__PURE__ */ r("div", {
@@ -617,7 +617,7 @@ var ht = {
617
617
  ]
618
618
  })]
619
619
  });
620
- }, H = ({ quoteId: e }) => e ? /* @__PURE__ */ r("div", {
620
+ }, O = ({ quoteId: e }) => e ? /* @__PURE__ */ r("div", {
621
621
  className: "cds-mt-6 cds-inline-block cds-rounded-lg cds-border cds-border-border cds-bg-surface-muted cds-px-4 cds-py-2.5 cds-text-center",
622
622
  children: [/* @__PURE__ */ t("p", {
623
623
  className: "cds-text-xs cds-text-fg-muted",
@@ -626,7 +626,7 @@ var ht = {
626
626
  className: "cds-mt-0.5 cds-select-all cds-font-mono cds-text-sm cds-font-semibold cds-text-fg",
627
627
  children: e
628
628
  })]
629
- }) : null, Q = ({ heading: e, body: a, quoteId: i }) => /* @__PURE__ */ r("div", {
629
+ }) : null, X = ({ heading: e, body: a, quoteId: i }) => /* @__PURE__ */ r("div", {
630
630
  className: "cds-py-6 cds-text-center",
631
631
  children: [
632
632
  /* @__PURE__ */ t("h2", {
@@ -638,14 +638,14 @@ var ht = {
638
638
  children: a
639
639
  }),
640
640
  /* @__PURE__ */ r("a", {
641
- href: W,
642
- onClick: () => te("phone_call_click", {
641
+ href: G,
642
+ onClick: () => se("phone_call_click", {
643
643
  placement: "quote_rates_fallback",
644
644
  phone: S
645
645
  }),
646
- className: `cds-inline-flex cds-items-center cds-gap-2 cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground hover:cds-bg-accent ${A}`,
646
+ className: `cds-inline-flex cds-items-center cds-gap-2 cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground hover:cds-bg-accent ${w}`,
647
647
  children: [
648
- /* @__PURE__ */ t(qe, {
648
+ /* @__PURE__ */ t(Ie, {
649
649
  "aria-hidden": "true",
650
650
  className: "cds-h-4 cds-w-4"
651
651
  }),
@@ -653,17 +653,17 @@ var ht = {
653
653
  S
654
654
  ]
655
655
  }),
656
- /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(H, { quoteId: i }) })
656
+ /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(O, { quoteId: i }) })
657
657
  ]
658
- }), Et = {
658
+ }), Gt = {
659
659
  Auto: ["PersonalAuto"],
660
660
  Home: ["PersonalHome"],
661
661
  Bundle: ["PersonalAuto", "PersonalHome"]
662
- }, P = (e) => e.length <= 1 ? e[0] ?? "" : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`, X = (e) => e.lob ?? "_other", ee = (e, a) => {
662
+ }, P = (e) => e.length <= 1 ? e[0] ?? "" : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`, ee = (e) => e.lob ?? "_other", te = (e, a) => {
663
663
  let i = new Set(a.map((n) => n.lob));
664
- return [...new Set(e.filter((n) => Se(n) !== "not_quoted").map((n) => n.lob).filter((n) => !!n))].filter((n) => !i.has(n));
665
- }, Wt = ({ appetites: e, product: a }) => {
666
- let i = Et[a] ?? Object.keys(e ?? {}), n = [...new Set(i.flatMap((u) => e?.[u] ?? []).map(y))].slice(0, 8);
664
+ return [...new Set(e.filter((n) => $e(n) !== "not_quoted").map((n) => n.lob).filter((n) => !!n))].filter((n) => !i.has(n));
665
+ }, Dt = ({ appetites: e, product: a }) => {
666
+ let i = Gt[a] ?? Object.keys(e ?? {}), n = [...new Set(i.flatMap((u) => e?.[u] ?? []).map(y))].slice(0, 8);
667
667
  return n.length ? /* @__PURE__ */ r("p", {
668
668
  className: "cds-mt-4 cds-text-sm cds-text-fg-muted",
669
669
  children: [
@@ -673,46 +673,57 @@ var ht = {
673
673
  "…"
674
674
  ]
675
675
  }) : null;
676
- }, Gt = ({ product: e, quoteId: a, describeField: i, onFixAnswers: n, onRetry: u, onBound: m }) => {
677
- let [d, o] = b({ kind: "polling" }), [g, f] = b(null), [p, _] = b(), [w, v] = b({}), [k, Pe] = b([]), [$e, Fe] = b(!1), [j, ce] = b(""), [He, $] = b(), [U, ne] = b(!1), [F, z] = b(0), [le, ie] = b(!1), [Y, oe] = b(!1), [Te, ue] = b(), I = se(0), V = Ce(() => {
676
+ }, Lt = ({ product: e, quoteId: a, describeField: i, onFixAnswers: n, onRetry: u, onBound: m }) => {
677
+ let [d, o] = b({ kind: "polling" }), [g, f] = b(null), [p, _] = b(), [A, v] = b({}), [k, He] = b([]), [Te, Oe] = b(!1), [U, le] = b(""), [Re, $] = b(), [z, ie] = b(!1), [F, Y] = b(0), [oe, ue] = b(!1), [V, me] = b(!1), [Be, he] = b(), I = ae(0), H = re((s) => {
678
+ a && (async () => {
679
+ try {
680
+ await Ke({ current_stage: s }, !1, a);
681
+ } catch (c) {
682
+ Ne("stage marker failed", {
683
+ stage: s,
684
+ status: ve(c)
685
+ });
686
+ }
687
+ })();
688
+ }, [a]), J = re(() => {
678
689
  I.current += 1;
679
690
  let s = I.current, c = Date.now(), l = async () => {
680
691
  if (s === I.current) {
681
692
  try {
682
- let { quote: h } = await Je(a ?? void 0);
693
+ let { quote: h } = await Xe(a ?? void 0);
683
694
  if (s !== I.current) return;
684
695
  _(h);
685
- let Z = h?.rates_status;
686
- if (Z === "completed") {
687
- let { rates: O } = await Ke(a ?? void 0);
696
+ let Q = h?.rates_status;
697
+ if (Q === "completed") {
698
+ let { rates: B } = await et(a ?? void 0);
688
699
  if (s !== I.current) return;
689
- let R = O ?? [];
690
- o(R.length ? {
700
+ let T = B ?? [];
701
+ o(T.length ? {
691
702
  kind: "ready",
692
- rates: R
693
- } : { kind: "no_rates" });
703
+ rates: T
704
+ } : { kind: "no_rates" }), T.length && H("Rates");
694
705
  return;
695
706
  }
696
- if (Z === "no_rates") {
707
+ if (Q === "no_rates") {
697
708
  o({ kind: "no_rates" });
698
709
  return;
699
710
  }
700
- if (Z === "failed") {
701
- let O = h?.last_validation_errors ?? [];
702
- if (h?.last_failure_code === "BOLT_VALIDATION" && O.length) {
711
+ if (Q === "failed") {
712
+ let B = h?.last_validation_errors ?? [];
713
+ if (h?.last_failure_code === "BOLT_VALIDATION" && B.length) {
703
714
  o({
704
715
  kind: "validation_failed",
705
- errors: O,
716
+ errors: B,
706
717
  message: h?.rates_failure_message ?? void 0
707
- });
718
+ }), H("Validation");
708
719
  return;
709
720
  }
710
- let R = h?.last_failure_code === "UNHANDLED" || h?.last_failure_code === "DISPATCH" || h?.last_failure_code === "BOLT_RATES";
721
+ let T = h?.last_failure_code === "UNHANDLED" || h?.last_failure_code === "DISPATCH" || h?.last_failure_code === "BOLT_RATES";
711
722
  o({
712
723
  kind: "failed",
713
- retryable: R,
724
+ retryable: T,
714
725
  message: h?.rates_failure_message ?? void 0
715
- }), xe(Error(h?.rates_failure_message || `Rating failed: ${h?.last_failure_code ?? "unknown"}`), {
726
+ }), _e(Error(h?.rates_failure_message || `Rating failed: ${h?.last_failure_code ?? "unknown"}`), {
716
727
  phase: "rates_failed",
717
728
  product: e,
718
729
  quoteId: a,
@@ -721,57 +732,61 @@ var ht = {
721
732
  return;
722
733
  }
723
734
  } catch (h) {
724
- Ze("rates poll failed", { status: Qe(h) });
735
+ Ne("rates poll failed", { status: ve(h) });
725
736
  }
726
- if (Date.now() - c >= Ft) {
737
+ if (Date.now() - c >= Tt) {
727
738
  o({
728
739
  kind: "failed",
729
740
  retryable: !0
730
- }), xe(/* @__PURE__ */ Error("Rating timed out before returning a result"), {
741
+ }), _e(/* @__PURE__ */ Error("Rating timed out before returning a result"), {
731
742
  phase: "rates_timeout",
732
743
  product: e,
733
744
  quoteId: a
734
745
  });
735
746
  return;
736
747
  }
737
- setTimeout(() => void l(), $t);
748
+ setTimeout(() => void l(), Ht);
738
749
  }
739
750
  };
740
751
  l();
741
- }, [a, e]);
742
- D(() => (V(), () => {
752
+ }, [
753
+ a,
754
+ e,
755
+ H
756
+ ]);
757
+ L(() => (J(), () => {
743
758
  I.current += 1;
744
- }), [V]), D(() => {
759
+ }), [J]), L(() => {
745
760
  if (F <= 0) return;
746
- let s = setTimeout(() => z((c) => c - 1), 1e3);
761
+ let s = setTimeout(() => Y((c) => c - 1), 1e3);
747
762
  return () => clearTimeout(s);
748
763
  }, [F]);
749
- let x = ve(() => pt(d.kind === "ready" ? d.rates : []), [d]), me = (s) => Array.isArray(s) ? s.filter((c) => c && typeof c == "object") : [], Oe = ve(() => d.kind === "validation_failed" ? qt(d.errors, {
764
+ let x = Ae(() => bt(d.kind === "ready" ? d.rates : []), [d]), fe = (s) => Array.isArray(s) ? s.filter((c) => c && typeof c == "object") : [], Ee = Ae(() => d.kind === "validation_failed" ? St(d.errors, {
750
765
  describeField: i,
751
- vehicles: me(p?.vehicles),
752
- drivers: me(p?.drivers)
766
+ vehicles: fe(p?.vehicles),
767
+ drivers: fe(p?.drivers)
753
768
  }) : void 0, [
754
769
  d,
755
770
  i,
756
771
  p
757
- ]), N = g ?? (x.admitted.length ? "admitted" : x.non_admitted.length ? "non_admitted" : x.not_quoted.length ? "not_quoted" : "admitted"), he = async (s, c) => {
772
+ ]), N = g ?? (x.admitted.length ? "admitted" : x.non_admitted.length ? "non_admitted" : x.not_quoted.length ? "not_quoted" : "admitted"), pe = async (s, c) => {
758
773
  if (!a) return;
759
774
  o({
760
775
  kind: "verify",
761
776
  rate: s,
762
777
  rates: c
763
- }), $(void 0), ce("");
778
+ }), H("Verify"), $(void 0), le("");
764
779
  let l = String(p?.phone ?? "");
765
780
  try {
766
- await et(a, l), z(60);
781
+ await st(a, l), Y(60);
767
782
  } catch (h) {
768
- h instanceof Ne && h.statusCode === 429 ? z(h.retryAfterSeconds ?? 60) : $("We could not text your code. Try again in a moment.");
783
+ h instanceof we && h.statusCode === 429 ? Y(h.retryAfterSeconds ?? 60) : $("We could not text your code. Try again in a moment.");
769
784
  }
770
- }, Re = async (s, c) => {
771
- if (!(!a || U)) {
772
- ne(!0), $(void 0);
785
+ }, We = async (s, c) => {
786
+ if (!(!a || z)) {
787
+ ie(!0), $(void 0);
773
788
  try {
774
- let { isVerified: l } = await Xe(a, j);
789
+ let { isVerified: l } = await tt(a, U);
775
790
  if (!l) {
776
791
  $("That code did not match. Check it and try again.");
777
792
  return;
@@ -779,38 +794,38 @@ var ht = {
779
794
  o({
780
795
  kind: "ready",
781
796
  rates: c.length ? c : [s]
782
- }), Fe(!0), v((h) => ({
797
+ }), Oe(!0), H("Bind"), v((h) => ({
783
798
  ...h,
784
- [X(s)]: s.quote_rate_id
799
+ [ee(s)]: s.quote_rate_id
785
800
  }));
786
801
  } catch (l) {
787
- $(l instanceof Ne && l.statusCode === 429 ? "Too many attempts. Request a new code." : "We could not verify that code. Please try again.");
802
+ $(l instanceof we && l.statusCode === 429 ? "Too many attempts. Request a new code." : "We could not verify that code. Please try again.");
788
803
  } finally {
789
- ne(!1);
804
+ ie(!1);
790
805
  }
791
806
  }
792
- }, fe = (s) => {
793
- tt(), o({
807
+ }, ge = (s) => {
808
+ at(), o({
794
809
  kind: "bound",
795
810
  rates: s
796
811
  }), m?.(s);
797
- }, Be = async (s) => {
798
- if (Y || !s.length) return;
799
- oe(!0), ue(void 0);
812
+ }, Ge = async (s) => {
813
+ if (V || !s.length) return;
814
+ me(!0), he(void 0);
800
815
  try {
801
- await st(s.map((l) => l.quote_rate_id), !0);
816
+ await rt(s.map((l) => l.quote_rate_id), !0);
802
817
  } catch {
803
- ue(s.length > 1 ? "We could not submit those requests. Please call us and we will finish them for you." : "We could not submit that request. Please call us and we will finish it for you.");
818
+ he(s.length > 1 ? "We could not submit those requests. Please call us and we will finish them for you." : "We could not submit that request. Please call us and we will finish it for you.");
804
819
  return;
805
820
  } finally {
806
- oe(!1);
821
+ me(!1);
807
822
  }
808
823
  let c = [...k, ...s];
809
- if (Pe(c), v({}), ee(d.kind === "ready" ? d.rates : [], c).length) {
810
- ie(!1);
824
+ if (He(c), v({}), te(d.kind === "ready" ? d.rates : [], c).length) {
825
+ ue(!1);
811
826
  return;
812
827
  }
813
- fe(c);
828
+ ge(c);
814
829
  };
815
830
  if (d.kind === "polling") return /* @__PURE__ */ r("div", {
816
831
  className: "cds-py-10 cds-text-center",
@@ -832,15 +847,15 @@ var ht = {
832
847
  className: "cds-mt-2 cds-text-fg-muted",
833
848
  children: "If you get disconnected, your progress is saved in this browser — reopen this page and you'll pick up where you left off. Thanks for your patience."
834
849
  }),
835
- /* @__PURE__ */ t(Wt, {
850
+ /* @__PURE__ */ t(Dt, {
836
851
  appetites: p?.appetites,
837
852
  product: e
838
853
  })
839
854
  ]
840
855
  });
841
856
  if (d.kind === "validation_failed") {
842
- let s = Oe;
843
- return !s || s.isOpaque ? /* @__PURE__ */ t(Q, {
857
+ let s = Ee;
858
+ return !s || s.isOpaque ? /* @__PURE__ */ t(X, {
844
859
  heading: "Let's finish this one together",
845
860
  body: "The carrier needs a couple of details we can't collect online. An agent can sort it out with you in a few minutes.",
846
861
  quoteId: a
@@ -852,7 +867,7 @@ var ht = {
852
867
  children: [
853
868
  /* @__PURE__ */ r("div", {
854
869
  className: "cds-flex cds-items-start cds-gap-3",
855
- children: [/* @__PURE__ */ t(Ye, {
870
+ children: [/* @__PURE__ */ t(Ze, {
856
871
  "aria-hidden": "true",
857
872
  className: "cds-mt-0.5 cds-h-5 cds-w-5 cds-shrink-0 cds-text-warning"
858
873
  }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ t("h2", {
@@ -875,13 +890,13 @@ var ht = {
875
890
  " ",
876
891
  /* @__PURE__ */ t("span", {
877
892
  className: "cds-font-semibold",
878
- children: Ct(c.labels)
893
+ children: Mt(c.labels)
879
894
  }),
880
895
  "."
881
896
  ]
882
897
  }) : /* @__PURE__ */ t("ul", {
883
898
  className: "cds-mt-1 cds-list-outside cds-list-disc cds-space-y-1 cds-pl-5 cds-text-sm cds-text-fg-muted",
884
- children: c.issues.map((l) => /* @__PURE__ */ t("li", { children: Mt(l) }, `${l.label ?? ""}-${l.message}`))
899
+ children: c.issues.map((l) => /* @__PURE__ */ t("li", { children: It(l) }, `${l.label ?? ""}-${l.message}`))
885
900
  })] }, c.id))
886
901
  }),
887
902
  s.otherCount ? /* @__PURE__ */ r("p", {
@@ -896,7 +911,7 @@ var ht = {
896
911
  }) : null
897
912
  ]
898
913
  }),
899
- /* @__PURE__ */ t(B, {
914
+ /* @__PURE__ */ t(E, {
900
915
  onClick: () => n(d.errors),
901
916
  children: "Fix my answers"
902
917
  }),
@@ -906,8 +921,8 @@ var ht = {
906
921
  "Or call",
907
922
  " ",
908
923
  /* @__PURE__ */ t("a", {
909
- href: W,
910
- onClick: () => te("phone_call_click", {
924
+ href: G,
925
+ onClick: () => se("phone_call_click", {
911
926
  placement: "quote_rates_validation",
912
927
  phone: S
913
928
  }),
@@ -920,7 +935,7 @@ var ht = {
920
935
  }),
921
936
  /* @__PURE__ */ t("div", {
922
937
  className: "cds-text-center",
923
- children: /* @__PURE__ */ t(H, { quoteId: a })
938
+ children: /* @__PURE__ */ t(O, { quoteId: a })
924
939
  })
925
940
  ]
926
941
  });
@@ -938,10 +953,10 @@ var ht = {
938
953
  className: "cds-mb-6 cds-text-fg-muted",
939
954
  children: d.message ?? "Our carrier connection hiccuped. One more try usually does it."
940
955
  }),
941
- /* @__PURE__ */ t(B, {
956
+ /* @__PURE__ */ t(E, {
942
957
  onClick: () => {
943
958
  o({ kind: "polling" }), u().then((s) => {
944
- s && V();
959
+ s && J();
945
960
  });
946
961
  },
947
962
  children: "Try again"
@@ -952,7 +967,7 @@ var ht = {
952
967
  "Or call",
953
968
  " ",
954
969
  /* @__PURE__ */ t("a", {
955
- href: W,
970
+ href: G,
956
971
  className: "cds-font-semibold cds-text-fg cds-underline",
957
972
  children: S
958
973
  }),
@@ -960,15 +975,15 @@ var ht = {
960
975
  "and an agent will pull them for you."
961
976
  ]
962
977
  }),
963
- /* @__PURE__ */ t(H, { quoteId: a })
978
+ /* @__PURE__ */ t(O, { quoteId: a })
964
979
  ]
965
- }) : /* @__PURE__ */ t(Q, {
980
+ }) : /* @__PURE__ */ t(X, {
966
981
  heading: "Let's get your quotes another way",
967
982
  body: "A licensed agent can pull your quotes over the phone in a few minutes — no waiting.",
968
983
  quoteId: a
969
984
  })
970
985
  });
971
- if (d.kind === "no_rates") return /* @__PURE__ */ t(Q, {
986
+ if (d.kind === "no_rates") return /* @__PURE__ */ t(X, {
972
987
  heading: "No online offers for this one",
973
988
  body: "That happens with some homes and vehicles. An agent has access to carriers that don't quote online.",
974
989
  quoteId: a
@@ -1001,21 +1016,21 @@ var ht = {
1001
1016
  inputMode: "numeric",
1002
1017
  autoComplete: "one-time-code",
1003
1018
  maxLength: 6,
1004
- value: j,
1005
- onChange: (l) => ce(l.target.value.replace(/\D/g, "").slice(0, 6)),
1006
- className: `${Ve} cds-tracking-[0.4em]`
1019
+ value: U,
1020
+ onChange: (l) => le(l.target.value.replace(/\D/g, "").slice(0, 6)),
1021
+ className: `${Qe} cds-tracking-[0.4em]`
1007
1022
  }),
1008
- /* @__PURE__ */ t(ye, { message: He }),
1009
- /* @__PURE__ */ t(B, {
1010
- disabled: j.length !== 6 || U,
1011
- onClick: () => void Re(s, c),
1012
- children: U ? "Verifying…" : "Verify and continue"
1023
+ /* @__PURE__ */ t(ke, { message: Re }),
1024
+ /* @__PURE__ */ t(E, {
1025
+ disabled: U.length !== 6 || z,
1026
+ onClick: () => void We(s, c),
1027
+ children: z ? "Verifying…" : "Verify and continue"
1013
1028
  }),
1014
1029
  /* @__PURE__ */ t("button", {
1015
1030
  type: "button",
1016
1031
  disabled: F > 0,
1017
- onClick: () => void he(s, c),
1018
- className: `cds-mt-3 cds-w-full cds-rounded-lg cds-px-4 cds-py-2 cds-text-sm cds-font-semibold cds-text-fg cds-underline disabled:cds-no-underline disabled:cds-opacity-60 ${A}`,
1032
+ onClick: () => void pe(s, c),
1033
+ className: `cds-mt-3 cds-w-full cds-rounded-lg cds-px-4 cds-py-2 cds-text-sm cds-font-semibold cds-text-fg cds-underline disabled:cds-no-underline disabled:cds-opacity-60 ${w}`,
1019
1034
  children: F > 0 ? `Resend code in ${F}s` : "Resend code"
1020
1035
  })
1021
1036
  ]
@@ -1026,7 +1041,7 @@ var ht = {
1026
1041
  return /* @__PURE__ */ r("div", {
1027
1042
  className: "cds-py-10 cds-text-center",
1028
1043
  children: [
1029
- /* @__PURE__ */ t(ae, {
1044
+ /* @__PURE__ */ t(de, {
1030
1045
  "aria-hidden": "true",
1031
1046
  className: "cds-mx-auto cds-mb-4 cds-h-12 cds-w-12 cds-text-accent"
1032
1047
  }),
@@ -1041,14 +1056,14 @@ var ht = {
1041
1056
  y(s.carrier_name),
1042
1057
  " policy and will call you shortly to confirm the details."
1043
1058
  ]
1044
- }) : /* @__PURE__ */ r(rt, { children: [/* @__PURE__ */ t("p", {
1059
+ }) : /* @__PURE__ */ r(ct, { children: [/* @__PURE__ */ t("p", {
1045
1060
  className: "cds-mb-4 cds-text-fg-muted",
1046
1061
  children: "A licensed agent is finalizing these policies and will call you shortly to confirm the details."
1047
1062
  }), /* @__PURE__ */ t("ul", {
1048
1063
  className: "cds-mx-auto cds-max-w-sm cds-space-y-2 cds-text-left",
1049
1064
  children: d.rates.map((c) => /* @__PURE__ */ r("li", {
1050
1065
  className: "cds-flex cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-border cds-bg-surface-elevated cds-p-3 cds-text-sm",
1051
- children: [/* @__PURE__ */ t(G, { lob: c.lob }), /* @__PURE__ */ r("span", { children: [/* @__PURE__ */ t("span", {
1066
+ children: [/* @__PURE__ */ t(D, { lob: c.lob }), /* @__PURE__ */ r("span", { children: [/* @__PURE__ */ t("span", {
1052
1067
  className: "cds-font-bold cds-text-fg",
1053
1068
  children: y(c.carrier_name)
1054
1069
  }), M(c.lob) ? /* @__PURE__ */ r("span", {
@@ -1057,7 +1072,7 @@ var ht = {
1057
1072
  }) : null] })]
1058
1073
  }, c.quote_rate_id))
1059
1074
  })] }),
1060
- /* @__PURE__ */ t(H, { quoteId: a }),
1075
+ /* @__PURE__ */ t(O, { quoteId: a }),
1061
1076
  /* @__PURE__ */ r("p", {
1062
1077
  className: "cds-mt-2 cds-text-xs cds-text-fg-muted",
1063
1078
  children: [
@@ -1069,15 +1084,15 @@ var ht = {
1069
1084
  ]
1070
1085
  });
1071
1086
  }
1072
- let J = new Set(k.map((s) => s.quote_rate_id)), Ee = new Set(k.map((s) => s.lob)), pe = (s) => w[X(s)] === s.quote_rate_id, C = d.rates.filter((s) => pe(s) && !J.has(s.quote_rate_id)), We = $e, K = ee(d.rates, k), Ge = ee(d.rates, []).length > 1, ge = K.filter((s) => !C.some((c) => c.lob === s)), q = Tt.filter((s) => s.market !== "not_quoted" || x.not_quoted.length > 0), De = x.admitted.length + x.non_admitted.length, Le = yt(N === "not_quoted" ? x.not_quoted : x[N], { sortBy: N === "not_quoted" ? "carrier" : "premium" }), be = e === "Bundle" ? [{
1087
+ let K = new Set(k.map((s) => s.quote_rate_id)), De = new Set(k.map((s) => s.lob)), be = (s) => A[ee(s)] === s.quote_rate_id, C = d.rates.filter((s) => be(s) && !K.has(s.quote_rate_id)), Le = Te, Z = te(d.rates, k), je = te(d.rates, []).length > 1, ye = Z.filter((s) => !C.some((c) => c.lob === s)), q = Rt.filter((s) => s.market !== "not_quoted" || x.not_quoted.length > 0), Ue = x.admitted.length + x.non_admitted.length, ze = Nt(N === "not_quoted" ? x.not_quoted : x[N], { sortBy: N === "not_quoted" ? "carrier" : "premium" }), xe = e === "Bundle" ? [{
1073
1088
  lob: "PersonalAuto",
1074
- label: we.PersonalAuto
1089
+ label: Se.PersonalAuto
1075
1090
  }, {
1076
1091
  lob: "PersonalHome",
1077
- label: we.PersonalHome
1078
- }].filter(({ lob: s }) => !d.rates.some((c) => c.lob === s)) : [], je = (s) => {
1092
+ label: Se.PersonalHome
1093
+ }].filter(({ lob: s }) => !d.rates.some((c) => c.lob === s)) : [], Ye = (s) => {
1079
1094
  let c = s.key === "ArrowRight" ? 1 : s.key === "ArrowLeft" ? -1 : 0, l = s.key === "Home" ? q[0] : s.key === "End" ? q[q.length - 1] : c ? q[(q.findIndex((h) => h.market === N) + c + q.length) % q.length] : void 0;
1080
- l && (s.preventDefault(), f(l.market), setTimeout(() => document.getElementById(E(l.market).tab)?.focus(), 0));
1095
+ l && (s.preventDefault(), f(l.market), setTimeout(() => document.getElementById(W(l.market).tab)?.focus(), 0));
1081
1096
  };
1082
1097
  return /* @__PURE__ */ r("div", {
1083
1098
  className: "cds-py-2",
@@ -1090,9 +1105,9 @@ var ht = {
1090
1105
  className: "cds-mb-4 cds-text-sm cds-text-fg-muted",
1091
1106
  children: "Real prices from our carriers, based on the answers you gave."
1092
1107
  }),
1093
- be.length ? /* @__PURE__ */ t("div", {
1108
+ xe.length ? /* @__PURE__ */ t("div", {
1094
1109
  className: "cds-mb-4 cds-space-y-1",
1095
- children: be.map(({ lob: s, label: c }) => /* @__PURE__ */ r("p", {
1110
+ children: xe.map(({ lob: s, label: c }) => /* @__PURE__ */ r("p", {
1096
1111
  className: "cds-text-sm cds-text-fg-muted",
1097
1112
  children: [
1098
1113
  "Sorry, no rates found for ",
@@ -1101,13 +1116,13 @@ var ht = {
1101
1116
  ]
1102
1117
  }, s))
1103
1118
  }) : null,
1104
- k.length > 0 && K.length > 0 ? /* @__PURE__ */ r("div", {
1119
+ k.length > 0 && Z.length > 0 ? /* @__PURE__ */ r("div", {
1105
1120
  className: "cds-mb-5 cds-rounded-xl cds-border cds-border-accent cds-bg-highlight cds-p-4",
1106
1121
  role: "status",
1107
1122
  "aria-live": "polite",
1108
1123
  children: [/* @__PURE__ */ r("div", {
1109
1124
  className: "cds-flex cds-items-start cds-gap-3",
1110
- children: [/* @__PURE__ */ t(ae, {
1125
+ children: [/* @__PURE__ */ t(de, {
1111
1126
  "aria-hidden": "true",
1112
1127
  className: "cds-mt-0.5 cds-h-5 cds-w-5 cds-shrink-0 cds-text-accent"
1113
1128
  }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ r("h3", {
@@ -1123,14 +1138,14 @@ var ht = {
1123
1138
  className: "cds-mt-1 cds-text-sm cds-text-fg-muted",
1124
1139
  children: [
1125
1140
  "You can still add ",
1126
- P(K.map((s) => M(s) ?? s)),
1141
+ P(Z.map((s) => M(s) ?? s)),
1127
1142
  " — pick a quote above and we'll send that one too. You won't need another verification code."
1128
1143
  ]
1129
1144
  })] })]
1130
1145
  }), /* @__PURE__ */ t("button", {
1131
1146
  type: "button",
1132
- onClick: () => fe(k),
1133
- className: `cds-mt-3 cds-text-sm cds-font-semibold cds-text-fg cds-underline ${A}`,
1147
+ onClick: () => ge(k),
1148
+ className: `cds-mt-3 cds-text-sm cds-font-semibold cds-text-fg cds-underline ${w}`,
1134
1149
  children: "No thanks, I'm done"
1135
1150
  })]
1136
1151
  }) : null,
@@ -1141,7 +1156,7 @@ var ht = {
1141
1156
  role: "tablist",
1142
1157
  "aria-label": "Rate market type",
1143
1158
  children: q.map((s) => {
1144
- let c = s.market === N, l = E(s.market);
1159
+ let c = s.market === N, l = W(s.market);
1145
1160
  return /* @__PURE__ */ r("button", {
1146
1161
  id: l.tab,
1147
1162
  type: "button",
@@ -1150,8 +1165,8 @@ var ht = {
1150
1165
  "aria-controls": l.panel,
1151
1166
  tabIndex: c ? 0 : -1,
1152
1167
  onClick: () => f(s.market),
1153
- onKeyDown: je,
1154
- className: `cds-whitespace-nowrap cds-border-b-2 cds-px-1 cds-py-2 cds-text-xs cds-font-semibold cds-transition-colors sm:cds-text-sm ${A} ${c ? "cds-border-accent cds-text-fg" : "cds-border-transparent cds-text-fg-muted hover:cds-text-fg"}`,
1168
+ onKeyDown: Ye,
1169
+ className: `cds-whitespace-nowrap cds-border-b-2 cds-px-1 cds-py-2 cds-text-xs cds-font-semibold cds-transition-colors sm:cds-text-sm ${w} ${c ? "cds-border-accent cds-text-fg" : "cds-border-transparent cds-text-fg-muted hover:cds-text-fg"}`,
1155
1170
  children: [
1156
1171
  s.label,
1157
1172
  " (",
@@ -1163,11 +1178,11 @@ var ht = {
1163
1178
  })
1164
1179
  }),
1165
1180
  /* @__PURE__ */ r("div", {
1166
- id: E(N).panel,
1181
+ id: W(N).panel,
1167
1182
  role: "tabpanel",
1168
- "aria-labelledby": E(N).tab,
1183
+ "aria-labelledby": W(N).tab,
1169
1184
  tabIndex: 0,
1170
- className: `cds-mb-6 cds-outline-none ${A}`,
1185
+ className: `cds-mb-6 cds-outline-none ${w}`,
1171
1186
  children: [
1172
1187
  N === "admitted" && !x.admitted.length ? /* @__PURE__ */ t("p", {
1173
1188
  className: "cds-text-sm cds-text-fg-muted",
@@ -1181,7 +1196,7 @@ var ht = {
1181
1196
  className: "cds-mb-3 cds-text-sm cds-text-fg-muted",
1182
1197
  children: "These carriers looked at your details and passed. Their reasons are below."
1183
1198
  }) : null,
1184
- Le.map((s, c) => /* @__PURE__ */ r("div", {
1199
+ ze.map((s, c) => /* @__PURE__ */ r("div", {
1185
1200
  className: "cds-mb-5 last:cds-mb-0",
1186
1201
  children: [
1187
1202
  c ? /* @__PURE__ */ t("div", {
@@ -1190,27 +1205,27 @@ var ht = {
1190
1205
  }) : null,
1191
1206
  s.lob ? /* @__PURE__ */ r("h3", {
1192
1207
  className: "cds-mb-2 cds-flex cds-items-center cds-gap-2 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",
1193
- children: [/* @__PURE__ */ t(G, { lob: s.lob }), s.title]
1208
+ children: [/* @__PURE__ */ t(D, { lob: s.lob }), s.title]
1194
1209
  }) : null,
1195
1210
  /* @__PURE__ */ t("ul", {
1196
1211
  className: "cds-space-y-3",
1197
- children: s.rates.map((l) => N === "not_quoted" ? /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(Bt, { rate: l }) }, l.quote_rate_id) : /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(Rt, {
1212
+ children: s.rates.map((l) => N === "not_quoted" ? /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(Wt, { rate: l }) }, l.quote_rate_id) : /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(Et, {
1198
1213
  rate: l,
1199
1214
  showLob: !s.lob,
1200
- isSelected: pe(l),
1201
- isRequested: J.has(l.quote_rate_id),
1202
- lobLocked: !J.has(l.quote_rate_id) && Ee.has(l.lob),
1203
- onSelect: () => We ? v((h) => ({
1215
+ isSelected: be(l),
1216
+ isRequested: K.has(l.quote_rate_id),
1217
+ lobLocked: !K.has(l.quote_rate_id) && De.has(l.lob),
1218
+ onSelect: () => Le ? v((h) => ({
1204
1219
  ...h,
1205
- [X(l)]: l.quote_rate_id
1206
- })) : void he(l, d.rates)
1220
+ [ee(l)]: l.quote_rate_id
1221
+ })) : void pe(l, d.rates)
1207
1222
  }) }, l.quote_rate_id))
1208
1223
  })
1209
1224
  ]
1210
1225
  }, s.lob ?? "all"))
1211
1226
  ]
1212
1227
  }),
1213
- De ? null : /* @__PURE__ */ r("div", {
1228
+ Ue ? null : /* @__PURE__ */ r("div", {
1214
1229
  className: "cds-mb-6 cds-rounded-xl cds-border cds-border-border cds-bg-surface-muted cds-p-4 cds-text-center",
1215
1230
  children: [
1216
1231
  /* @__PURE__ */ t("p", {
@@ -1218,14 +1233,14 @@ var ht = {
1218
1233
  children: "No carrier priced this one online. An agent has access to carriers that don't quote on the web."
1219
1234
  }),
1220
1235
  /* @__PURE__ */ r("a", {
1221
- href: W,
1222
- onClick: () => te("phone_call_click", {
1236
+ href: G,
1237
+ onClick: () => se("phone_call_click", {
1223
1238
  placement: "quote_rates_all_declined",
1224
1239
  phone: S
1225
1240
  }),
1226
- className: `cds-inline-flex cds-items-center cds-gap-2 cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3 cds-text-sm cds-font-bold cds-text-primary-foreground hover:cds-bg-accent ${A}`,
1241
+ className: `cds-inline-flex cds-items-center cds-gap-2 cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3 cds-text-sm cds-font-bold cds-text-primary-foreground hover:cds-bg-accent ${w}`,
1227
1242
  children: [
1228
- /* @__PURE__ */ t(qe, {
1243
+ /* @__PURE__ */ t(Ie, {
1229
1244
  "aria-hidden": "true",
1230
1245
  className: "cds-h-4 cds-w-4"
1231
1246
  }),
@@ -1233,7 +1248,7 @@ var ht = {
1233
1248
  S
1234
1249
  ]
1235
1250
  }),
1236
- /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(H, { quoteId: a }) })
1251
+ /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(O, { quoteId: a }) })
1237
1252
  ]
1238
1253
  }),
1239
1254
  C.length ? /* @__PURE__ */ r("div", {
@@ -1243,13 +1258,13 @@ var ht = {
1243
1258
  className: "cds-mb-2 cds-text-sm cds-font-bold cds-text-fg",
1244
1259
  children: ["Finish with ", P(C.map((s) => y(s.carrier_name)))]
1245
1260
  }),
1246
- Ge ? /* @__PURE__ */ t("ul", {
1261
+ je ? /* @__PURE__ */ t("ul", {
1247
1262
  className: "cds-mb-3 cds-space-y-1",
1248
1263
  children: C.map((s) => /* @__PURE__ */ r("li", {
1249
1264
  className: "cds-flex cds-justify-between cds-gap-2 cds-text-xs",
1250
1265
  children: [/* @__PURE__ */ r("span", {
1251
1266
  className: "cds-flex cds-items-center cds-gap-1.5 cds-text-fg-muted",
1252
- children: [/* @__PURE__ */ t(G, {
1267
+ children: [/* @__PURE__ */ t(D, {
1253
1268
  lob: s.lob,
1254
1269
  size: "sm"
1255
1270
  }), M(s.lob) ?? "Policy"]
@@ -1258,7 +1273,7 @@ var ht = {
1258
1273
  children: [
1259
1274
  y(s.carrier_name),
1260
1275
  " · ",
1261
- re(L(s)),
1276
+ ce(j(s)),
1262
1277
  "/mo"
1263
1278
  ]
1264
1279
  })]
@@ -1268,8 +1283,8 @@ var ht = {
1268
1283
  className: "cds-mb-3 cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-xs cds-text-fg-muted",
1269
1284
  children: [/* @__PURE__ */ t("input", {
1270
1285
  type: "checkbox",
1271
- checked: le,
1272
- onChange: (s) => ie(s.target.checked),
1286
+ checked: oe,
1287
+ onChange: (s) => ue(s.target.checked),
1273
1288
  className: "cds-mt-0.5"
1274
1289
  }), /* @__PURE__ */ r("span", { children: [
1275
1290
  "I acknowledge the",
@@ -1292,23 +1307,23 @@ var ht = {
1292
1307
  "."
1293
1308
  ] })]
1294
1309
  }),
1295
- ge.length ? /* @__PURE__ */ r("p", {
1310
+ ye.length ? /* @__PURE__ */ r("p", {
1296
1311
  className: "cds-mb-3 cds-text-xs cds-text-fg-muted",
1297
1312
  children: [
1298
1313
  "You haven't picked a ",
1299
- P(ge.map((s) => M(s) ?? s)),
1314
+ P(ye.map((s) => M(s) ?? s)),
1300
1315
  " quote yet — choose one above to request both together, or go ahead and we'll ask about it after."
1301
1316
  ]
1302
1317
  }) : null,
1303
- /* @__PURE__ */ t(ye, { message: Te }),
1304
- /* @__PURE__ */ t(B, {
1305
- disabled: !le || Y,
1306
- onClick: () => void Be(C),
1307
- children: Y ? "Submitting…" : C.length > 1 ? "Request these policies" : "Request this policy"
1318
+ /* @__PURE__ */ t(ke, { message: Be }),
1319
+ /* @__PURE__ */ t(E, {
1320
+ disabled: !oe || V,
1321
+ onClick: () => void Ge(C),
1322
+ children: V ? "Submitting…" : C.length > 1 ? "Request these policies" : "Request this policy"
1308
1323
  })
1309
1324
  ]
1310
1325
  }) : null,
1311
- /* @__PURE__ */ t(Pt, { quoteId: a }),
1326
+ /* @__PURE__ */ t(Ft, { quoteId: a }),
1312
1327
  /* @__PURE__ */ t("p", {
1313
1328
  className: "cds-mt-6 cds-text-xs cds-leading-relaxed cds-text-fg-muted",
1314
1329
  children: "Quotes are estimates based on the information provided and are subject to carrier underwriting. Final premiums may differ."
@@ -1317,7 +1332,7 @@ var ht = {
1317
1332
  });
1318
1333
  };
1319
1334
  export {
1320
- Vt as n,
1321
- Pt as r,
1322
- Gt as t
1335
+ Kt as n,
1336
+ Ft as r,
1337
+ Lt as t
1323
1338
  };