@getcredify/credify-insurance-widget 1.44.0 → 1.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/{address-BEVwov8q-CuX4iOBo.js → address-BEVwov8q-DDhbGo15.js} +1 -1
- package/dist/{api-DYP3b3gY.js → api-CWMwIjKu.js} +1 -1
- package/dist/{car-CR69ZjJ2.js → car-B83tx4O2.js} +1 -1
- package/dist/{check-Bo3wjuln.js → check-Bu17NqRV.js} +1 -1
- package/dist/{copy-applicant-offer-CqzfNhkJ-C01V9k7v.js → copy-applicant-offer-CqzfNhkJ-DLXjbOLT.js} +3 -3
- package/dist/{copy-from-record-BNP6CFFR-B0wsM313.js → copy-from-record-BNP6CFFR-6SC1msxp.js} +4 -4
- package/dist/{core-CrEw_I-E-D_5b2Ij3.js → core-CrEw_I-E-CsRUhlZy.js} +1 -1
- package/dist/{coverageDerivation-CV2ORogj-CEEm5ZWr.js → coverageDerivation-CV2ORogj-De8x_Bpm.js} +1 -1
- package/dist/{fixtures-ijbZ16Zg-C9Egb9wf.js → fixtures-ijbZ16Zg-9n-90hL2.js} +1 -1
- package/dist/{household-prefill-CmtB9R3R-D86kYzTo.js → household-prefill-CmtB9R3R-Bw0M1Q50.js} +4 -4
- package/dist/{householdPrefill-DLm3pxFH-BWVN4BLJ.js → householdPrefill-DLm3pxFH-BQibTi9l.js} +1 -1
- package/dist/iframe/assets/{address-BEVwov8q-BckjuR7s.js → address-BEVwov8q-BiiIpq2c.js} +1 -1
- package/dist/iframe/assets/{car-DKll0kXc.js → car-cifgdWXX.js} +1 -1
- package/dist/iframe/assets/{check-B9ojZKSs.js → check-TbHiw7rw.js} +1 -1
- package/dist/iframe/assets/{copy-applicant-offer-CqzfNhkJ-DJkKq7un.js → copy-applicant-offer-CqzfNhkJ-CVahKn8I.js} +1 -1
- package/dist/iframe/assets/{copy-from-record-BNP6CFFR-Dk7QPvpr.js → copy-from-record-BNP6CFFR-Cn7Nr7XT.js} +1 -1
- package/dist/iframe/assets/{core-CrEw_I-E-Cgrp_zkJ.js → core-CrEw_I-E-DJNj5Zzo.js} +1 -1
- package/dist/iframe/assets/{coverageDerivation-CV2ORogj-BaQlJ22H.js → coverageDerivation-CV2ORogj-B7aNPljp.js} +1 -1
- package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-C3ZYmy3v.js → dob-calendar-RIJ5S6YU-CdxMGaLz.js} +1 -1
- package/dist/iframe/assets/{fixtures-ijbZ16Zg-B0KKADMf.js → fixtures-ijbZ16Zg-NuD06-4v.js} +1 -1
- package/dist/iframe/assets/{household-prefill-CmtB9R3R-DtfByJ8T.js → household-prefill-CmtB9R3R-0b9HYzDA.js} +1 -1
- package/dist/iframe/assets/{householdPrefill-DLm3pxFH-DNBBTd54.js → householdPrefill-DLm3pxFH-DzyOYQr_.js} +1 -1
- package/dist/iframe/assets/{iframe-Chy4dD4i.js → iframe-Be9NY0jq.js} +3 -3
- package/dist/iframe/assets/{index-D81Toecg.js → index-BknEWAR5.js} +1 -1
- package/dist/iframe/assets/{intake-review-panel-D27t8CZO-CyXFTi_6.js → intake-review-panel-D27t8CZO-QuAzDm1O.js} +1 -1
- package/dist/iframe/assets/{mockJump-hNzgzUmO-B4HifTQZ.js → mockJump-hNzgzUmO-CQ7eZ354.js} +1 -1
- package/dist/iframe/assets/{payload-DrGFAxms-CKeiScMv.js → payload-DrGFAxms-DIGXNw5l.js} +1 -1
- package/dist/iframe/assets/{question-list-DFjWa8ZA-5HX-Q_DR.js → question-list-DFjWa8ZA-DbabOwyP.js} +3 -3
- package/dist/iframe/assets/{rates-panel-BSFiWEZX-CUbwWzwJ.js → rates-panel-BSFiWEZX-GsRBXu7R.js} +3 -3
- package/dist/iframe/assets/{review-panel-C_WxX33U-BnudlA3G.js → review-panel-C_WxX33U-CxzpQutt.js} +1 -1
- package/dist/iframe/assets/{stage-knShj71W-BrRsgDlE.js → stage-knShj71W-CEkRTdvw.js} +1 -1
- package/dist/iframe/assets/{validation-D42QXxck-DJUS31-5.js → validation-D42QXxck-DrIBn9be.js} +1 -1
- package/dist/iframe/assets/{vehicleCoverage-CBWORI1l-Bs6c4Xhh.js → vehicleCoverage-CBWORI1l-BqOK33e3.js} +1 -1
- package/dist/iframe/assets/{visibility-CKRGC3Il-DVTBboJH.js → visibility-CKRGC3Il-CLpoN3cd.js} +1 -1
- package/dist/iframe/iframe.html +1 -1
- package/dist/{index-7nmHdjZ4.js → index-CY0roJE_.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/{intake-review-panel-D27t8CZO-CKLXjEb0.js → intake-review-panel-D27t8CZO-CxiXytFS.js} +5 -5
- package/dist/{mockJump-hNzgzUmO-De8oea8T.js → mockJump-hNzgzUmO-CsTzthio.js} +1 -1
- package/dist/{payload-DrGFAxms-CivFCNuj.js → payload-DrGFAxms-DmfWvvu_.js} +2 -2
- package/dist/{question-list-DFjWa8ZA-sWgoo34K.js → question-list-DFjWa8ZA-B8f7Jf6J.js} +13 -13
- package/dist/{rates-panel-BSFiWEZX-D2Z8IzSh.js → rates-panel-BSFiWEZX-DdETQZ83.js} +5 -5
- package/dist/{review-panel-C_WxX33U-qkUKI77r.js → review-panel-C_WxX33U-CZu6We48.js} +3 -3
- package/dist/{stage-knShj71W-Cndh8rxW.js → stage-knShj71W-XIJ7bUoN.js} +4 -4
- package/dist/utils/branding.d.ts +1 -1
- package/dist/{validation-D42QXxck-DFkyiEd-.js → validation-D42QXxck-BPUVtzkv.js} +1 -1
- package/dist/{vehicleCoverage-CBWORI1l-Br309K1G.js → vehicleCoverage-CBWORI1l-DZmjvVjU.js} +3 -3
- package/dist/{visibility-CKRGC3Il-SsuTwW3e.js → visibility-CKRGC3Il-_72Koc98.js} +1 -1
- package/dist/{widget-Bc0CD2Yh.js → widget-CP6ApixH.js} +32 -32
- package/package.json +1 -1
package/dist/{intake-review-panel-D27t8CZO-CKLXjEb0.js → intake-review-panel-D27t8CZO-CxiXytFS.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as V, u as j, G as w, Q as h, r as q, R as S, U as $ } from "./widget-
|
|
2
|
-
import { t as z } from "./question-list-DFjWa8ZA-
|
|
3
|
-
import { S as D, w as L, D as M, x as N, P as U } from "./review-panel-C_WxX33U-
|
|
4
|
-
import { o as _, n as A, r as G } from "./stage-knShj71W-
|
|
1
|
+
import { t as V, u as j, G as w, Q as h, r as q, R as S, U as $ } from "./widget-CP6ApixH.js";
|
|
2
|
+
import { t as z } from "./question-list-DFjWa8ZA-B8f7Jf6J.js";
|
|
3
|
+
import { S as D, w as L, D as M, x as N, P as U } from "./review-panel-C_WxX33U-CZu6We48.js";
|
|
4
|
+
import { o as _, n as A, r as G } from "./stage-knShj71W-XIJ7bUoN.js";
|
|
5
5
|
import { useState as k, useMemo as g, useCallback as H } from "react";
|
|
6
6
|
import { jsxs as t, jsx as s, Fragment as Q } from "react/jsx-runtime";
|
|
7
|
-
import { C as W } from "./check-
|
|
7
|
+
import { C as W } from "./check-Bu17NqRV.js";
|
|
8
8
|
(function() {
|
|
9
9
|
if (typeof a > "u")
|
|
10
10
|
var a = { env: {} };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as w, n as d, o as E } from "./widget-
|
|
1
|
+
import { t as w, n as d, o as E } from "./widget-CP6ApixH.js";
|
|
2
2
|
import { n as c, t as f } from "./types-LUGvo5ic-CiVRcsV9.js";
|
|
3
|
-
import { t as M, n as N } from "./address-BEVwov8q-
|
|
3
|
+
import { t as M, n as N } from "./address-BEVwov8q-DDhbGo15.js";
|
|
4
4
|
(function() {
|
|
5
5
|
if (typeof t > "u")
|
|
6
6
|
var t = { env: {} };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { a4 as A, ag as ge, ah as ca, t as la, aa as F, aj as da, ak as ua, al as gn, r as z, am as ha, Q as et, a5 as fa, an as pa, ao as ma, w as va, T as ya, ap as ga } from "./widget-
|
|
2
|
-
import { o as ba, r as xa, s as ka, t as Un, W as Kn, H as Tt, S as wa } from "./core-CrEw_I-E-
|
|
1
|
+
import { a4 as A, ag as ge, ah as ca, t as la, aa as F, aj as da, ak as ua, al as gn, r as z, am as ha, Q as et, a5 as fa, an as pa, ao as ma, w as va, T as ya, ap as ga } from "./widget-CP6ApixH.js";
|
|
2
|
+
import { o as ba, r as xa, s as ka, t as Un, W as Kn, H as Tt, S as wa } from "./core-CrEw_I-E-CsRUhlZy.js";
|
|
3
3
|
import { n as Ue } from "./types-LUGvo5ic-CiVRcsV9.js";
|
|
4
|
-
import { s as _a, a as Ma } from "./address-BEVwov8q-
|
|
5
|
-
import { _ as Ca, U as Sa, g as Ea, s as Na } from "./householdPrefill-DLm3pxFH-
|
|
6
|
-
import { k as Pa, n as Aa, u as $a, c as Ra, d as Oa, j as Ta, A as Da } from "./visibility-CKRGC3Il-
|
|
7
|
-
import { T as La, C as Ia, f as Kr } from "./validation-D42QXxck-
|
|
8
|
-
import { i as Fa, a as Va, t as Yr, u as Ba, f as Ha, n as za, r as ja, s as Wa, p as qa } from "./vehicleCoverage-CBWORI1l-
|
|
9
|
-
import { t as Ua, d as Ka, l as Ya, u as Ga } from "./stage-knShj71W-
|
|
10
|
-
import { s as Xa, u as Gr, l as Qa, c as Za, U as Ja } from "./copy-from-record-BNP6CFFR-
|
|
11
|
-
import { c as ei, d as ti, s as ni } from "./coverageDerivation-CV2ORogj-
|
|
4
|
+
import { s as _a, a as Ma } from "./address-BEVwov8q-DDhbGo15.js";
|
|
5
|
+
import { _ as Ca, U as Sa, g as Ea, s as Na } from "./householdPrefill-DLm3pxFH-BQibTi9l.js";
|
|
6
|
+
import { k as Pa, n as Aa, u as $a, c as Ra, d as Oa, j as Ta, A as Da } from "./visibility-CKRGC3Il-_72Koc98.js";
|
|
7
|
+
import { T as La, C as Ia, f as Kr } from "./validation-D42QXxck-BPUVtzkv.js";
|
|
8
|
+
import { i as Fa, a as Va, t as Yr, u as Ba, f as Ha, n as za, r as ja, s as Wa, p as qa } from "./vehicleCoverage-CBWORI1l-DZmjvVjU.js";
|
|
9
|
+
import { t as Ua, d as Ka, l as Ya, u as Ga } from "./stage-knShj71W-XIJ7bUoN.js";
|
|
10
|
+
import { s as Xa, u as Gr, l as Qa, c as Za, U as Ja } from "./copy-from-record-BNP6CFFR-6SC1msxp.js";
|
|
11
|
+
import { c as ei, d as ti, s as ni } from "./coverageDerivation-CV2ORogj-De8x_Bpm.js";
|
|
12
12
|
import * as x from "react";
|
|
13
13
|
import { useState as ee, useLayoutEffect as ri, useMemo as Y, useCallback as me, useId as bn, useRef as fe, useEffect as Ie } from "react";
|
|
14
14
|
import { jsx as o, jsxs as k, Fragment as N } from "react/jsx-runtime";
|
|
15
|
-
import { e as Xe, P as le, b as J, f as oi, c as xn, d as kn, u as Xr, a as ai, C as Qr } from "./index-
|
|
15
|
+
import { e as Xe, P as le, b as J, f as oi, c as xn, d as kn, u as Xr, a as ai, C as Qr } from "./index-CY0roJE_.js";
|
|
16
16
|
import * as Zr from "react-dom";
|
|
17
|
-
import { C as Jr } from "./check-
|
|
18
|
-
import { C as Yn } from "./car-
|
|
17
|
+
import { C as Jr } from "./check-Bu17NqRV.js";
|
|
18
|
+
import { C as Yn } from "./car-B83tx4O2.js";
|
|
19
19
|
(function() {
|
|
20
20
|
if (typeof e > "u")
|
|
21
21
|
var e = { env: {} };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a4 as de, t as Oe, a6 as ze, U as F, a7 as $, a8 as Z, a9 as H, aa as Me, R as ge, r as y, p as We, _ as Be, ab as be, ac as Ve, ad as Ye, l as Ue, e as xe, h as Ge, F as Ke, f as Qe, ae as Je } from "./widget-
|
|
2
|
-
import { g as Xe, A as Ze, k as es, j as ss, S as ee, u as x, p as v, y as ts, m as _e, W as ye, H as ds, h as cs, b as as } from "./core-CrEw_I-E-
|
|
1
|
+
import { a4 as de, t as Oe, a6 as ze, U as F, a7 as $, a8 as Z, a9 as H, aa as Me, R as ge, r as y, p as We, _ as Be, ab as be, ac as Ve, ad as Ye, l as Ue, e as xe, h as Ge, F as Ke, f as Qe, ae as Je } from "./widget-CP6ApixH.js";
|
|
2
|
+
import { g as Xe, A as Ze, k as es, j as ss, S as ee, u as x, p as v, y as ts, m as _e, W as ye, H as ds, h as cs, b as as } from "./core-CrEw_I-E-CsRUhlZy.js";
|
|
3
3
|
import { useState as u, useRef as se, useCallback as ve, useEffect as O, useMemo as Ne } from "react";
|
|
4
4
|
import { jsxs as d, jsx as e, Fragment as rs } from "react/jsx-runtime";
|
|
5
|
-
import { C as ls } from "./car-
|
|
6
|
-
import { C as ns } from "./check-
|
|
5
|
+
import { C as ls } from "./car-B83tx4O2.js";
|
|
6
|
+
import { C as ns } from "./check-Bu17NqRV.js";
|
|
7
7
|
(function() {
|
|
8
8
|
if (typeof t > "u")
|
|
9
9
|
var t = { env: {} };
|
|
@@ -53,7 +53,7 @@ var fs = 2500, ps = (t) => {
|
|
|
53
53
|
O(() => {
|
|
54
54
|
n.current || (n.current = !0, (async () => {
|
|
55
55
|
try {
|
|
56
|
-
let [{ issueResumeLink: m }, { buildResumeUrl: p }] = await Promise.all([import("./api-
|
|
56
|
+
let [{ issueResumeLink: m }, { buildResumeUrl: p }] = await Promise.all([import("./api-CWMwIjKu.js"), import("./widget-CP6ApixH.js").then((q) => q.ar).then((q) => q.u)]), { resumeToken: T, expiresAt: z } = await m(t ?? void 0);
|
|
57
57
|
o({
|
|
58
58
|
kind: "ready",
|
|
59
59
|
url: p(T),
|
|
@@ -3,11 +3,11 @@ var Ce = (n) => {
|
|
|
3
3
|
};
|
|
4
4
|
var be = (n, o, e) => o.has(n) || Ce("Cannot " + e);
|
|
5
5
|
var w = (n, o, e) => (be(n, o, "read from private field"), e ? e.call(n) : o.get(n)), xe = (n, o, e) => o.has(n) ? Ce("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(n) : o.set(n, e), Y = (n, o, e, t) => (be(n, o, "write to private field"), t ? t.call(n, e) : o.set(n, e), e);
|
|
6
|
-
import { a4 as He, ag as $, ah as K, t as Be, G as ye, r as Re, R as Ge, ai as Fe, Q as te } from "./widget-
|
|
7
|
-
import { o as Ue, n as We, r as Qe } from "./stage-knShj71W-
|
|
6
|
+
import { a4 as He, ag as $, ah as K, t as Be, G as ye, r as Re, R as Ge, ai as Fe, Q as te } from "./widget-CP6ApixH.js";
|
|
7
|
+
import { o as Ue, n as We, r as Qe } from "./stage-knShj71W-XIJ7bUoN.js";
|
|
8
8
|
import * as l from "react";
|
|
9
9
|
import { jsx as i, jsxs as M, Fragment as Xe } from "react/jsx-runtime";
|
|
10
|
-
import { c as q, u as oe, a as we, P as z, b as Ne, d as Ye, e as Je, C as Ze } from "./index-
|
|
10
|
+
import { c as q, u as oe, a as we, P as z, b as Ne, d as Ye, e as Je, C as Ze } from "./index-CY0roJE_.js";
|
|
11
11
|
(function() {
|
|
12
12
|
if (typeof n > "u")
|
|
13
13
|
var n = { env: {} };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as O, $ as V, a0 as x, a1 as D, a2 as F } from "./widget-
|
|
1
|
+
import { t as O, $ as V, a0 as x, a1 as D, a2 as F } from "./widget-CP6ApixH.js";
|
|
2
2
|
import { t as q, n as g } from "./types-LUGvo5ic-CiVRcsV9.js";
|
|
3
|
-
import { k as h, j as f, n as L, u as P, c as R, d as U, A as j } from "./visibility-CKRGC3Il-
|
|
4
|
-
import { k as A } from "./validation-D42QXxck-
|
|
5
|
-
import { t as $, l as Y, a as Q, o as M, i as K, f as B, n as W, r as I } from "./vehicleCoverage-CBWORI1l-
|
|
3
|
+
import { k as h, j as f, n as L, u as P, c as R, d as U, A as j } from "./visibility-CKRGC3Il-_72Koc98.js";
|
|
4
|
+
import { k as A } from "./validation-D42QXxck-BPUVtzkv.js";
|
|
5
|
+
import { t as $, l as Y, a as Q, o as M, i as K, f as B, n as W, r as I } from "./vehicleCoverage-CBWORI1l-DZmjvVjU.js";
|
|
6
6
|
(function() {
|
|
7
7
|
if (typeof s > "u")
|
|
8
8
|
var s = { env: {} };
|
package/dist/utils/branding.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type PartnerBranding = {
|
|
2
2
|
firmName: string | null;
|
|
3
3
|
logoUrl: string | null;
|
|
4
|
-
/** Any
|
|
4
|
+
/** Any color string the kit's theme layer accepts, or null to keep Credify's. */
|
|
5
5
|
brandColour: string | null;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as h } from "./widget-
|
|
2
|
-
import { _ as f } from "./visibility-CKRGC3Il-
|
|
3
|
-
import { O as p } from "./validation-D42QXxck-
|
|
1
|
+
import { t as h } from "./widget-CP6ApixH.js";
|
|
2
|
+
import { _ as f } from "./visibility-CKRGC3Il-_72Koc98.js";
|
|
3
|
+
import { O as p } from "./validation-D42QXxck-BPUVtzkv.js";
|
|
4
4
|
(function() {
|
|
5
5
|
if (typeof o > "u")
|
|
6
6
|
var o = { env: {} };
|
|
@@ -10626,7 +10626,7 @@ var Xi = {
|
|
|
10626
10626
|
t = !1;
|
|
10627
10627
|
}
|
|
10628
10628
|
if (t) {
|
|
10629
|
-
let { MOCK_ZIP_CITIES: r } = await import("./fixtures-ijbZ16Zg-
|
|
10629
|
+
let { MOCK_ZIP_CITIES: r } = await import("./fixtures-ijbZ16Zg-9n-90hL2.js").then((n) => n.f);
|
|
10630
10630
|
return r[e] ?? null;
|
|
10631
10631
|
}
|
|
10632
10632
|
if (!Yn) return ea(e);
|
|
@@ -10809,7 +10809,7 @@ var Xi = {
|
|
|
10809
10809
|
Q(() => {
|
|
10810
10810
|
if (!v || v === "Zip" || v === "Email") return;
|
|
10811
10811
|
let f = !1;
|
|
10812
|
-
return import("./stage-knShj71W-
|
|
10812
|
+
return import("./stage-knShj71W-XIJ7bUoN.js").then((m) => m.a).then(({ validateStage: m }) => {
|
|
10813
10813
|
f || xo(m({
|
|
10814
10814
|
questions: Me,
|
|
10815
10815
|
values: o,
|
|
@@ -10843,12 +10843,12 @@ var Xi = {
|
|
|
10843
10843
|
});
|
|
10844
10844
|
});
|
|
10845
10845
|
}, [pe]), Ot = H(async (f) => {
|
|
10846
|
-
let { getStagesForQuote: m } = await import("./api-
|
|
10846
|
+
let { getStagesForQuote: m } = await import("./api-CWMwIjKu.js"), { stages: y } = await m(f ?? void 0), b = y.filter((C) => C !== "CanopyConnect");
|
|
10847
10847
|
return s(b), b;
|
|
10848
10848
|
}, []), rt = H(async (f, m, y) => {
|
|
10849
10849
|
R(!0);
|
|
10850
10850
|
try {
|
|
10851
|
-
let { getQuestionsByStage: b } = await import("./api-
|
|
10851
|
+
let { getQuestionsByStage: b } = await import("./api-CWMwIjKu.js"), { questions: C } = await b(f, m ?? void 0), { ensureAutoCoverageSelections: L } = await import("./vehicleCoverage-CBWORI1l-DZmjvVjU.js").then((Y) => Y.d), q = L(f, C);
|
|
10852
10852
|
return l((Y) => ({
|
|
10853
10853
|
...Y,
|
|
10854
10854
|
[`${f}|${y}`]: q
|
|
@@ -10882,7 +10882,7 @@ var Xi = {
|
|
|
10882
10882
|
if (m) {
|
|
10883
10883
|
A(!0);
|
|
10884
10884
|
try {
|
|
10885
|
-
let { redeemResumeToken: Y } = await import("./api-
|
|
10885
|
+
let { redeemResumeToken: Y } = await import("./api-CWMwIjKu.js");
|
|
10886
10886
|
await Y(m);
|
|
10887
10887
|
} catch {
|
|
10888
10888
|
f || h("That link has expired. Enter your ZIP code to pick up where you left off.");
|
|
@@ -10892,10 +10892,10 @@ var Xi = {
|
|
|
10892
10892
|
y && (B.current = y, n(y), A(!0));
|
|
10893
10893
|
let b = B.current, C, L = un(e);
|
|
10894
10894
|
if (b) try {
|
|
10895
|
-
let { getQuote: Y } = await import("./api-
|
|
10895
|
+
let { getQuote: Y } = await import("./api-CWMwIjKu.js"), { quote: U } = await Y(b);
|
|
10896
10896
|
if (!f && U) {
|
|
10897
10897
|
C = U;
|
|
10898
|
-
let [{ fromQuoteRecord: le }, { seedHomeCoverages: Se }] = await Promise.all([import("./payload-DrGFAxms-
|
|
10898
|
+
let [{ fromQuoteRecord: le }, { seedHomeCoverages: Se }] = await Promise.all([import("./payload-DrGFAxms-DmfWvvu_.js").then((ve) => ve.o), import("./coverageDerivation-CV2ORogj-De8x_Bpm.js").then((ve) => ve.o)]), re = le(U);
|
|
10899
10899
|
i({
|
|
10900
10900
|
...re,
|
|
10901
10901
|
...Se(re),
|
|
@@ -10919,7 +10919,7 @@ var Xi = {
|
|
|
10919
10919
|
let U = L[Y] ?? L[0];
|
|
10920
10920
|
U && U !== "Zip" && U !== "Email" && await rt(U, B.current, String(N.current.state ?? ""));
|
|
10921
10921
|
}
|
|
10922
|
-
let q = f ? null : (await import("./mockJump-hNzgzUmO-
|
|
10922
|
+
let q = f ? null : (await import("./mockJump-hNzgzUmO-CsTzthio.js")).mockStepFromUrl();
|
|
10923
10923
|
q != null && q !== na(L, C) && (_e.current || await Promise.resolve(), await _e.current?.(q));
|
|
10924
10924
|
} catch (m) {
|
|
10925
10925
|
f || h("We could not start your quote. Please refresh and try again."), Te(m, {
|
|
@@ -10963,13 +10963,13 @@ var Xi = {
|
|
|
10963
10963
|
rt
|
|
10964
10964
|
]);
|
|
10965
10965
|
let se = H((f) => {
|
|
10966
|
-
d(f), S(!1), h(void 0), bt() && import("./mockJump-hNzgzUmO-
|
|
10966
|
+
d(f), S(!1), h(void 0), bt() && import("./mockJump-hNzgzUmO-CsTzthio.js").then(({ writeMockStepHash: m }) => {
|
|
10967
10967
|
m(f);
|
|
10968
10968
|
}), window.scrollTo(0, 0);
|
|
10969
10969
|
}, []), ht = oe(null), gt = H(async (f) => {
|
|
10970
10970
|
let m = B.current;
|
|
10971
10971
|
if (m) return m;
|
|
10972
|
-
let y = (f ?? String(N.current.postal_code ?? "")).trim(), { createQuote: b } = await import("./api-
|
|
10972
|
+
let y = (f ?? String(N.current.postal_code ?? "")).trim(), { createQuote: b } = await import("./api-CWMwIjKu.js"), C = await b(y, fh());
|
|
10973
10973
|
return B.current = C.quoteId, n(C.quoteId), C.quoteId;
|
|
10974
10974
|
}, []), No = H(async (f) => {
|
|
10975
10975
|
let m = String(N.current.postal_code ?? "").trim();
|
|
@@ -10987,15 +10987,15 @@ var Xi = {
|
|
|
10987
10987
|
state: y,
|
|
10988
10988
|
__address_state: N.current.__address_state ?? y
|
|
10989
10989
|
});
|
|
10990
|
-
let { isSupportedState: b } = await import("./api-
|
|
10990
|
+
let { isSupportedState: b } = await import("./api-CWMwIjKu.js"), { isSupported: C } = await b(y, f);
|
|
10991
10991
|
return C ? !0 : (K(!0), !1);
|
|
10992
10992
|
}, [pe]), Lo = H(() => (ht.current ||= (async () => {
|
|
10993
10993
|
let f = await gt();
|
|
10994
10994
|
if (!await No(f)) return f;
|
|
10995
10995
|
let [{ stageSlice: m }, { toQuotePayload: y }, { updateQuote: b }] = await Promise.all([
|
|
10996
|
-
import("./stage-knShj71W-
|
|
10997
|
-
import("./payload-DrGFAxms-
|
|
10998
|
-
import("./api-
|
|
10996
|
+
import("./stage-knShj71W-XIJ7bUoN.js").then((C) => C.a),
|
|
10997
|
+
import("./payload-DrGFAxms-DmfWvvu_.js").then((C) => C.o),
|
|
10998
|
+
import("./api-CWMwIjKu.js")
|
|
10999
10999
|
]);
|
|
11000
11000
|
return await b({
|
|
11001
11001
|
...y(m(c["Zip|"] ?? vo, N.current, "Zip")),
|
|
@@ -11008,7 +11008,7 @@ var Xi = {
|
|
|
11008
11008
|
No,
|
|
11009
11009
|
c
|
|
11010
11010
|
]), Fo = H(async (f) => {
|
|
11011
|
-
let m = N.current, [{ parseAddress: y, normalizeStateCode: b }, { isSupportedState: C }] = await Promise.all([import("./address-BEVwov8q-
|
|
11011
|
+
let m = N.current, [{ parseAddress: y, normalizeStateCode: b }, { isSupportedState: C }] = await Promise.all([import("./address-BEVwov8q-DDhbGo15.js").then((U) => U.i), import("./api-CWMwIjKu.js")]), L = y(String(m.address ?? "")), q = b(String(m.__address_state ?? L.state ?? m.state ?? ""));
|
|
11012
11012
|
if (!q) return !0;
|
|
11013
11013
|
pe({ state: q });
|
|
11014
11014
|
let { isSupported: Y } = await C(q, f);
|
|
@@ -11016,9 +11016,9 @@ var Xi = {
|
|
|
11016
11016
|
}, [pe]), $o = H(async (f) => {
|
|
11017
11017
|
if (e === "Auto" || be) return;
|
|
11018
11018
|
let m = N.current, [{ parseAddress: y }, { prefillProperty: b }, { seedHomeCoverages: C }] = await Promise.all([
|
|
11019
|
-
import("./address-BEVwov8q-
|
|
11020
|
-
import("./api-
|
|
11021
|
-
import("./coverageDerivation-CV2ORogj-
|
|
11019
|
+
import("./address-BEVwov8q-DDhbGo15.js").then((U) => U.i),
|
|
11020
|
+
import("./api-CWMwIjKu.js"),
|
|
11021
|
+
import("./coverageDerivation-CV2ORogj-De8x_Bpm.js").then((U) => U.o)
|
|
11022
11022
|
]), L = y(String(m.address ?? "")), q = {
|
|
11023
11023
|
address_line_1: String(m.__address_line_1 ?? L.line_1).trim(),
|
|
11024
11024
|
city: String(m.__address_city ?? L.city ?? m.city ?? "").trim(),
|
|
@@ -11062,7 +11062,7 @@ var Xi = {
|
|
|
11062
11062
|
Pe.current(u + 1), se(u + 1), Lo();
|
|
11063
11063
|
return;
|
|
11064
11064
|
}
|
|
11065
|
-
let { stageSlice: f, validateStage: m } = await import("./stage-knShj71W-
|
|
11065
|
+
let { stageSlice: f, validateStage: m } = await import("./stage-knShj71W-XIJ7bUoN.js").then((b) => b.a), y = v === "Email" ? Un(N.current.email) ? { isValid: !0 } : { isValid: !1 } : m({
|
|
11066
11066
|
questions: Me,
|
|
11067
11067
|
values: N.current,
|
|
11068
11068
|
stageKey: v
|
|
@@ -11076,10 +11076,10 @@ var Xi = {
|
|
|
11076
11076
|
let b = ht.current ? await ht.current : await gt();
|
|
11077
11077
|
if (v === "Product" && !await Fo(b)) return;
|
|
11078
11078
|
let [{ toQuotePayload: C }, { updateQuote: L }, { prefillSuggestions: q }, { seedHomeCoverages: Y }] = await Promise.all([
|
|
11079
|
-
import("./payload-DrGFAxms-
|
|
11080
|
-
import("./api-
|
|
11079
|
+
import("./payload-DrGFAxms-DmfWvvu_.js").then((re) => re.o),
|
|
11080
|
+
import("./api-CWMwIjKu.js"),
|
|
11081
11081
|
Promise.resolve().then(() => oa).then((re) => re.n),
|
|
11082
|
-
import("./coverageDerivation-CV2ORogj-
|
|
11082
|
+
import("./coverageDerivation-CV2ORogj-De8x_Bpm.js").then((re) => re.o)
|
|
11083
11083
|
]), U = f(Me, N.current, v);
|
|
11084
11084
|
v === "Product" && (U.product = e), v === "Phone" && (U.suppress_verification_sms = !0);
|
|
11085
11085
|
let le = Ho(v), Se = {
|
|
@@ -11099,7 +11099,7 @@ var Xi = {
|
|
|
11099
11099
|
}
|
|
11100
11100
|
se(u + 1);
|
|
11101
11101
|
} catch (b) {
|
|
11102
|
-
let { CredifyApiError: C } = await import("./api-
|
|
11102
|
+
let { CredifyApiError: C } = await import("./api-CWMwIjKu.js"), L = b instanceof C && b.statusCode === 404 ? "Your quote session expired. Please start again." : "Something went wrong saving your answers. Please try again.";
|
|
11103
11103
|
h(L), Te(b, {
|
|
11104
11104
|
phase: "answer_save",
|
|
11105
11105
|
product: e,
|
|
@@ -11138,14 +11138,14 @@ var Xi = {
|
|
|
11138
11138
|
let m = {
|
|
11139
11139
|
...N.current,
|
|
11140
11140
|
product: e
|
|
11141
|
-
}, y = String(m.postal_code ?? "").trim(), b = /^\d{5}$/.test(y) ? y : dn, C = await gt(b), [{ isSupportedState: L, updateQuote: q }, { toQuotePayload: Y }] = await Promise.all([import("./api-
|
|
11141
|
+
}, y = String(m.postal_code ?? "").trim(), b = /^\d{5}$/.test(y) ? y : dn, C = await gt(b), [{ isSupportedState: L, updateQuote: q }, { toQuotePayload: Y }] = await Promise.all([import("./api-CWMwIjKu.js"), import("./payload-DrGFAxms-DmfWvvu_.js").then((Be) => Be.o)]), U = ir(b) ?? "";
|
|
11142
11142
|
U && (await L(U, C)).isSupported ? m.postal_code = b : (m.postal_code = dn, U = ir(dn) ?? "TX", await L(U, C)), m.state = U, K(!1), await q({
|
|
11143
11143
|
product: e,
|
|
11144
11144
|
postal_code: m.postal_code
|
|
11145
11145
|
}, !1, C);
|
|
11146
11146
|
let le = await Ot(C), Se = Math.max(0, Math.min(f, le.length + 1)), re = Is()?.autofillStage;
|
|
11147
11147
|
if (!re) return;
|
|
11148
|
-
let { stageSlice: ve } = await import("./stage-knShj71W-
|
|
11148
|
+
let { stageSlice: ve } = await import("./stage-knShj71W-XIJ7bUoN.js").then((Be) => Be.a);
|
|
11149
11149
|
for (let Be of le.slice(0, Se)) {
|
|
11150
11150
|
let Uo = c[`${Be}|${U}`] ?? await rt(Be, C, U);
|
|
11151
11151
|
m = re(Uo, m, Be);
|
|
@@ -11174,7 +11174,7 @@ var Xi = {
|
|
|
11174
11174
|
}, [Dt]), Q(() => {
|
|
11175
11175
|
if (!bt()) return;
|
|
11176
11176
|
let f = () => {
|
|
11177
|
-
import("./mockJump-hNzgzUmO-
|
|
11177
|
+
import("./mockJump-hNzgzUmO-CsTzthio.js").then(({ mockStepFromUrl: m }) => {
|
|
11178
11178
|
let y = m();
|
|
11179
11179
|
y != null && y !== u && Dt(y);
|
|
11180
11180
|
});
|
|
@@ -11187,7 +11187,7 @@ var Xi = {
|
|
|
11187
11187
|
if (!m) return h("Your quote session expired. Please start again."), !1;
|
|
11188
11188
|
T(!0), h(void 0);
|
|
11189
11189
|
try {
|
|
11190
|
-
let y = typeof f == "boolean" ? { communications_consent: f } : {}, { updateQuote: b } = await import("./api-
|
|
11190
|
+
let y = typeof f == "boolean" ? { communications_consent: f } : {}, { updateQuote: b } = await import("./api-CWMwIjKu.js"), C = await b(y, !0, m);
|
|
11191
11191
|
return C.status === "submission_failed" ? (h(C.message || "We could not submit your quote for rating."), Te(Error(C.message || "Rating submission refused"), {
|
|
11192
11192
|
phase: "rating_submit",
|
|
11193
11193
|
product: e,
|
|
@@ -11211,7 +11211,7 @@ var Xi = {
|
|
|
11211
11211
|
se,
|
|
11212
11212
|
e
|
|
11213
11213
|
]), Jt = H(async () => {
|
|
11214
|
-
let [{ stageSlice: f }, { toQuotePayload: m }] = await Promise.all([import("./stage-knShj71W-
|
|
11214
|
+
let [{ stageSlice: f }, { toQuotePayload: m }] = await Promise.all([import("./stage-knShj71W-XIJ7bUoN.js").then((b) => b.a), import("./payload-DrGFAxms-DmfWvvu_.js").then((b) => b.o)]), y = {};
|
|
11215
11215
|
for (let b of a) {
|
|
11216
11216
|
if (Mm.has(b)) continue;
|
|
11217
11217
|
let C = Re[b];
|
|
@@ -11224,7 +11224,7 @@ var Xi = {
|
|
|
11224
11224
|
if (!f) return h("Your quote session expired. Please start again."), !1;
|
|
11225
11225
|
T(!0), h(void 0);
|
|
11226
11226
|
try {
|
|
11227
|
-
let { isSupportedState: m, updateQuote: y } = await import("./api-
|
|
11227
|
+
let { isSupportedState: m, updateQuote: y } = await import("./api-CWMwIjKu.js"), b = String(N.current.state ?? "");
|
|
11228
11228
|
if (b) {
|
|
11229
11229
|
let { isSupported: L } = await m(b, f);
|
|
11230
11230
|
if (!L) return K(!0), !1;
|
|
@@ -11270,7 +11270,7 @@ var Xi = {
|
|
|
11270
11270
|
let m = window.setTimeout(() => {
|
|
11271
11271
|
(async () => {
|
|
11272
11272
|
try {
|
|
11273
|
-
let { updateQuote: y } = await import("./api-
|
|
11273
|
+
let { updateQuote: y } = await import("./api-CWMwIjKu.js"), b = await Bo.current();
|
|
11274
11274
|
Object.keys(b).length && await y(b, !1, f);
|
|
11275
11275
|
} catch (y) {
|
|
11276
11276
|
Te(y, {
|
|
@@ -11373,7 +11373,7 @@ var Xi = {
|
|
|
11373
11373
|
mockJumpTo: Dt,
|
|
11374
11374
|
mockAutofillStage: Oc
|
|
11375
11375
|
};
|
|
11376
|
-
}, nc = () => import("./question-list-DFjWa8ZA-
|
|
11376
|
+
}, nc = () => import("./question-list-DFjWa8ZA-B8f7Jf6J.js").then((e) => e.n), hh = P.lazy(() => nc().then((e) => ({ default: e.QuestionList }))), gh = P.lazy(() => import("./household-prefill-CmtB9R3R-Bw0M1Q50.js").then((e) => e.n).then((e) => ({ default: e.HouseholdPrefill }))), yh = P.lazy(() => import("./copy-applicant-offer-CqzfNhkJ-DLXjbOLT.js").then((e) => e.n).then((e) => ({ default: e.CopyApplicantOffer }))), bh = P.lazy(() => import("./review-panel-C_WxX33U-CZu6We48.js").then((e) => e.r).then((e) => e.i).then((e) => ({ default: e.ReviewPanel }))), _h = P.lazy(() => import("./intake-review-panel-D27t8CZO-CxiXytFS.js").then((e) => e.n).then((e) => ({ default: e.IntakeReviewPanel }))), Sh = P.lazy(() => import("./rates-panel-BSFiWEZX-DdETQZ83.js").then((e) => e.n).then((e) => ({ default: e.RatesPanel }))), vh = /* @__PURE__ */ new Set(["Demographics", "Ssn"]), $t = ({ label: e }) => /* @__PURE__ */ D("div", {
|
|
11377
11377
|
className: "cds-py-10 cds-text-center",
|
|
11378
11378
|
"aria-live": "polite",
|
|
11379
11379
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -12835,7 +12835,7 @@ function Sy({ isOpen: e, product: t }) {
|
|
|
12835
12835
|
const r = () => Mc.close();
|
|
12836
12836
|
return /* @__PURE__ */ p(ho, { fallback: /* @__PURE__ */ p(_y, { onClose: r }), children: /* @__PURE__ */ p(by, { isOpen: e, onClose: r, product: t }) });
|
|
12837
12837
|
}
|
|
12838
|
-
var bn = { dsn: "", environment: "production", release: "
|
|
12838
|
+
var bn = { dsn: "", environment: "production", release: "ba87cf1ff7f58d8460c6246e1b048e8da94bb6da" };
|
|
12839
12839
|
function vy() {
|
|
12840
12840
|
try {
|
|
12841
12841
|
return typeof bn < "u" && bn ? bn : {};
|
package/package.json
CHANGED