@alfadocs/ui-kit-debug 1.99.0 → 1.100.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.
- package/dist/_chunks/{patient-search-DJy0IZSx.js → patient-search-CxuqVUTB.js} +513 -500
- package/dist/_chunks/patient-search-CxuqVUTB.js.map +1 -0
- package/dist/_chunks/{reserved.agent-CB-92Vi9.js → reserved.agent-BxD0gnbt.js} +129 -129
- package/dist/_chunks/reserved.agent-BxD0gnbt.js.map +1 -0
- package/dist/agent-catalog.json +2 -2
- package/dist/components/booking/booking-types.d.ts +2 -1
- package/dist/components/booking/booking-types.d.ts.map +1 -1
- package/dist/components/booking/cascade.d.ts +3 -2
- package/dist/components/booking/cascade.d.ts.map +1 -1
- package/dist/components/booking/details-form.d.ts +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/reserved.d.ts +3 -1
- package/dist/components/booking/reserved.d.ts.map +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +7 -0
- package/dist/components/patient-search/patient-search.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/patient-search-DJy0IZSx.js.map +0 -1
- package/dist/_chunks/reserved.agent-CB-92Vi9.js.map +0 -1
|
@@ -274,7 +274,7 @@ const bs = {
|
|
|
274
274
|
root: {
|
|
275
275
|
attr: "data-component",
|
|
276
276
|
value: "booking",
|
|
277
|
-
description: 'Marks the Booking root region. The host prop hideEmail (boolean, default false) hides the email field, skips its validation and omits email from submission. The host prop emailOptional (boolean, default false) keeps email visible and optional unless used for confirmation. Email is marked and validated as required when selected in the channel picker or singleConfirmationChannel radio, or when the effective confirmation channel is email. With a hidden picker, the form and success screen use the sole enabled channel, or email when multiple channels are enabled. This includes payment and blocked-payment flows, which omit stored selections from submission. Omitting confirmationChannels
|
|
277
|
+
description: 'Marks the Booking root region. The host prop hideEmail (boolean, default false) hides the email field, skips its validation and omits email from submission. The host prop emailOptional (boolean, default false) keeps email visible and optional unless used for confirmation. Email is marked and validated as required when selected in the channel picker or singleConfirmationChannel radio, or when the effective confirmation channel is email. With a hidden picker, the form and success screen use the sole enabled channel, or email when multiple channels are enabled. This includes payment and blocked-payment flows, which omit stored selections from submission. Omitting confirmationChannels defaults to SMS, as the platform does. Selecting SMS without email makes the field optional again. The optional/required marker updates visually when the channel changes, with no announcement of that change. Validation updates immediately using the existing email error. With emailOptional, surrounding spaces are trimmed before validation, even when email is required for confirmation. Optional blank values are omitted from submission; filled values are sent trimmed. hideEmail takes precedence over emailOptional. Neither prop changes confirmation channels; pair with confirmationChannels ["sms"] for SMS-only confirmation with no channel picker. The optional codeStep prop adds SMS verification after submission and before any payment: the submitted form stays in place but locked (controls disabled, text still readable, not hidden), the code box opens below it, and a Change button, for the patient only (no agent action unlocks it), unlocks the form for a new booking request (the host keeps the earlier request until it expires; the kit cannot cancel it). With payment, a correct code opens the payment stage, and the step remains 7 until payment succeeds; without payment it remains 7 until verification succeeds. It then becomes 8. Patient contact details and verification codes are never exposed through this adapter.'
|
|
278
278
|
},
|
|
279
279
|
instanceId: {
|
|
280
280
|
attr: "data-component-id",
|
|
@@ -341,7 +341,7 @@ function xs(e) {
|
|
|
341
341
|
return [];
|
|
342
342
|
}
|
|
343
343
|
function Is(e, t) {
|
|
344
|
-
const r = e.country === ys, i = !r || e.value.insuranceType !== void 0, a = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, o = st(e.value).length > 0, u = !a || o, p = Ye(e.value).length > 0, f = !u || p, S = t.operators, g = !!e.allowOperatorSelection && f && p && !e.lockedOperatorId && S.length > 1, l = f && p, v = (!l || e.value.date !== void 0) && e.value.date !== void 0,
|
|
344
|
+
const r = e.country === ys, i = !r || e.value.insuranceType !== void 0, a = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, o = st(e.value).length > 0, u = !a || o, p = Ye(e.value).length > 0, f = !u || p, S = t.operators, g = !!e.allowOperatorSelection && f && p && !e.lockedOperatorId && S.length > 1, l = f && p, v = (!l || e.value.date !== void 0) && e.value.date !== void 0, M = (!v || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, N = p && S.length === 0;
|
|
345
345
|
return {
|
|
346
346
|
insurance: r,
|
|
347
347
|
specialty: a,
|
|
@@ -349,7 +349,7 @@ function Is(e, t) {
|
|
|
349
349
|
operator: g,
|
|
350
350
|
date: l,
|
|
351
351
|
slot: v,
|
|
352
|
-
details:
|
|
352
|
+
details: M,
|
|
353
353
|
onboardingIncomplete: N
|
|
354
354
|
};
|
|
355
355
|
}
|
|
@@ -539,7 +539,7 @@ function Ts(e) {
|
|
|
539
539
|
return /^\+?\d[\d\s\-()]{6,}$/.test(t);
|
|
540
540
|
}
|
|
541
541
|
function Sn(e) {
|
|
542
|
-
const t = e && e.length > 0 ? e : ["
|
|
542
|
+
const t = e && e.length > 0 ? e : ["sms"], r = new Set(t);
|
|
543
543
|
return fn.filter((i) => r.has(i));
|
|
544
544
|
}
|
|
545
545
|
function Qn(e, t) {
|
|
@@ -693,14 +693,14 @@ const Fn = 500, Ps = /^[A-Z0-9]{16}$/, Vs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, _n = 3
|
|
|
693
693
|
payment: h,
|
|
694
694
|
paymentTermsUrl: v,
|
|
695
695
|
paymentBlocked: m = !1,
|
|
696
|
-
billingInDetails:
|
|
696
|
+
billingInDetails: M = !1,
|
|
697
697
|
paymentNoticeStyle: N = "highlighted",
|
|
698
698
|
criticalInformationToAccept: w,
|
|
699
699
|
validateCodiceFiscale: C,
|
|
700
|
-
validateInsuranceNumber:
|
|
700
|
+
validateInsuranceNumber: R,
|
|
701
701
|
submitting: D = !1,
|
|
702
702
|
locked: _ = !1,
|
|
703
|
-
summarySlot:
|
|
703
|
+
summarySlot: O,
|
|
704
704
|
defaultPhoneCountry: $,
|
|
705
705
|
confirmationChannels: j,
|
|
706
706
|
defaultConfirmationChannels: T,
|
|
@@ -767,7 +767,7 @@ const Fn = 500, Ps = /^[A-Z0-9]{16}$/, Vs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, _n = 3
|
|
|
767
767
|
V(() => {
|
|
768
768
|
qt.current !== we && (qt.current = we, $t(void 0), e.practiceConsentAccepted !== void 0 && Z({ practiceConsentAccepted: void 0 }));
|
|
769
769
|
}, [we, Z, e.practiceConsentAccepted]);
|
|
770
|
-
const ht = h ? on(h.amountCents, h.currencyCode, W.language) : "", Se = Xt(v), Ee =
|
|
770
|
+
const ht = h ? on(h.amountCents, h.currencyCode, W.language) : "", Se = Xt(v), Ee = M && !!h && !m, pe = a, at = ($ || "it").toLowerCase(), vt = !Ee || js(e.billing), ct = $s(e.billing, at), je = ct.country === "it", bt = A(null), Xe = A(
|
|
771
771
|
null
|
|
772
772
|
), Pe = (Ae = e.billing) == null ? void 0 : Ae.address.line1.trim(), z = ((It = (Jt = e.billing) == null ? void 0 : Jt.address.line2) == null ? void 0 : It.trim()) || null;
|
|
773
773
|
V(() => {
|
|
@@ -838,11 +838,11 @@ const Fn = 500, Ps = /^[A-Z0-9]{16}$/, Vs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, _n = 3
|
|
|
838
838
|
const Ue = e.confirmationChannels ?? xe, St = ee && Ue.length === 0, Te = Qn(
|
|
839
839
|
Ce,
|
|
840
840
|
ee ? Ue : void 0
|
|
841
|
-
), dt = !s || Te.includes("email"), Mt = A(C), zt = A(
|
|
841
|
+
), dt = !s || Te.includes("email"), Mt = A(C), zt = A(R);
|
|
842
842
|
V(() => {
|
|
843
|
-
Mt.current = C, zt.current =
|
|
844
|
-
}, [C,
|
|
845
|
-
const Kt = !!C, He = !!
|
|
843
|
+
Mt.current = C, zt.current = R;
|
|
844
|
+
}, [C, R]);
|
|
845
|
+
const Kt = !!C, He = !!R;
|
|
846
846
|
V(() => {
|
|
847
847
|
const d = e.codiceFiscale;
|
|
848
848
|
if (!pe || !Kt || !d) {
|
|
@@ -1070,7 +1070,7 @@ const Fn = 500, Ps = /^[A-Z0-9]{16}$/, Vs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, _n = 3
|
|
|
1070
1070
|
"aria-busy": be || void 0,
|
|
1071
1071
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
1072
1072
|
children: [
|
|
1073
|
-
|
|
1073
|
+
O,
|
|
1074
1074
|
/* @__PURE__ */ n(
|
|
1075
1075
|
"input",
|
|
1076
1076
|
{
|
|
@@ -1703,24 +1703,24 @@ function Js({
|
|
|
1703
1703
|
onVerified: a,
|
|
1704
1704
|
onBusyChange: o
|
|
1705
1705
|
}) {
|
|
1706
|
-
const { t: c, i18n: u } = Q("ui"), p = pt(), f = pt(), S = A(null), g = A(null), l = A(null), h = A(null), v = A(!1), m = A(!1), [
|
|
1706
|
+
const { t: c, i18n: u } = Q("ui"), p = pt(), f = pt(), S = A(null), g = A(null), l = A(null), h = A(null), v = A(!1), m = A(!1), [M, N] = J(null), [w, C] = J(!1), [R, D] = J(null), [_, O] = J(
|
|
1707
1707
|
null
|
|
1708
1708
|
), [$, j] = J(0), T = Number.isFinite(i) ? Math.max(0, Math.ceil(i)) : 60, [k, L] = J(
|
|
1709
1709
|
() => Date.now() + T * 1e3
|
|
1710
|
-
), [F, y] = J(T), W =
|
|
1710
|
+
), [F, y] = J(T), W = R === "too-many-attempts";
|
|
1711
1711
|
V(() => {
|
|
1712
|
-
o == null || o(!!
|
|
1713
|
-
}, [
|
|
1712
|
+
o == null || o(!!M);
|
|
1713
|
+
}, [M, o]), V(() => (v.current = !0, () => {
|
|
1714
1714
|
v.current = !1;
|
|
1715
1715
|
}), []), V(() => {
|
|
1716
1716
|
var I;
|
|
1717
1717
|
(I = l.current) == null || I.focus({ preventScroll: !0 }), tr(g.current, "center");
|
|
1718
1718
|
}, [$]), V(() => {
|
|
1719
1719
|
var Y, U;
|
|
1720
|
-
if (
|
|
1720
|
+
if (M || !W && _ !== "resend") return;
|
|
1721
1721
|
const I = document.activeElement, q = (Y = S.current) == null ? void 0 : Y.closest("section");
|
|
1722
1722
|
I && I !== document.body && !(q != null && q.contains(I)) || (h.current && !h.current.disabled ? h.current.focus() : (U = S.current) == null || U.focus());
|
|
1723
|
-
}, [
|
|
1723
|
+
}, [M, W, _]), V(() => {
|
|
1724
1724
|
if (F === 0) return;
|
|
1725
1725
|
const I = setTimeout(() => {
|
|
1726
1726
|
y(Math.max(0, Math.ceil((k - Date.now()) / 1e3)));
|
|
@@ -1729,31 +1729,31 @@ function Js({
|
|
|
1729
1729
|
}, [k, F]);
|
|
1730
1730
|
const ne = async (I) => {
|
|
1731
1731
|
if (!(m.current || W)) {
|
|
1732
|
-
m.current = !0, N("verify"), C(!1), D(null),
|
|
1732
|
+
m.current = !0, N("verify"), C(!1), D(null), O(null);
|
|
1733
1733
|
try {
|
|
1734
1734
|
const q = await t(I);
|
|
1735
1735
|
if (!v.current) return;
|
|
1736
1736
|
q.ok ? a(q.redirectUrl) : (D(q.reason), q.reason !== "too-many-attempts" && j((Y) => Y + 1));
|
|
1737
1737
|
} catch {
|
|
1738
1738
|
if (!v.current) return;
|
|
1739
|
-
|
|
1739
|
+
O("verify"), j((q) => q + 1);
|
|
1740
1740
|
} finally {
|
|
1741
1741
|
m.current = !1, v.current && N(null);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
1744
|
}, Ne = async () => {
|
|
1745
1745
|
if (!(m.current || Date.now() < k)) {
|
|
1746
|
-
m.current = !0, N("resend"), C(!1),
|
|
1746
|
+
m.current = !0, N("resend"), C(!1), O(null);
|
|
1747
1747
|
try {
|
|
1748
1748
|
if (await r(), !v.current) return;
|
|
1749
1749
|
L(Date.now() + T * 1e3), y(T), D(null), C(!0), j((I) => I + 1);
|
|
1750
1750
|
} catch {
|
|
1751
|
-
v.current &&
|
|
1751
|
+
v.current && O("resend");
|
|
1752
1752
|
} finally {
|
|
1753
1753
|
m.current = !1, v.current && N(null);
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
|
1756
|
-
}, ge =
|
|
1756
|
+
}, ge = R === "wrong" ? c("booking.code.wrong") : R === "expired" ? c("booking.code.expired") : W ? c("booking.code.tooManyAttempts") : void 0;
|
|
1757
1757
|
return /* @__PURE__ */ n(Mr, { variant: "elevated", asChild: !0, children: /* @__PURE__ */ b(
|
|
1758
1758
|
"section",
|
|
1759
1759
|
{
|
|
@@ -1789,21 +1789,21 @@ function Js({
|
|
|
1789
1789
|
length: e,
|
|
1790
1790
|
mode: "alphanumeric",
|
|
1791
1791
|
"aria-describedby": f,
|
|
1792
|
-
disabled: !!
|
|
1792
|
+
disabled: !!M || W,
|
|
1793
1793
|
onComplete: ne
|
|
1794
1794
|
},
|
|
1795
1795
|
$
|
|
1796
1796
|
) }) }),
|
|
1797
1797
|
_ ? /* @__PURE__ */ n(re, { variant: "error", className: "ds:self-stretch ds:text-start", children: /* @__PURE__ */ n(re.Description, { children: c(_ === "verify" ? "booking.code.verifyFailed" : "booking.code.resendFailed") }) }) : null,
|
|
1798
|
-
/* @__PURE__ */ n("p", { role: "status", className: "type-body ds:m-0", children:
|
|
1798
|
+
/* @__PURE__ */ n("p", { role: "status", className: "type-body ds:m-0", children: M === "verify" ? c("booking.code.verifying") : w ? c("booking.code.resent") : null }),
|
|
1799
1799
|
/* @__PURE__ */ n(
|
|
1800
1800
|
Re,
|
|
1801
1801
|
{
|
|
1802
1802
|
ref: h,
|
|
1803
1803
|
type: "button",
|
|
1804
1804
|
intent: "secondary",
|
|
1805
|
-
disabled: F > 0 || !!
|
|
1806
|
-
loading:
|
|
1805
|
+
disabled: F > 0 || !!M,
|
|
1806
|
+
loading: M === "resend",
|
|
1807
1807
|
onClick: Ne,
|
|
1808
1808
|
children: F > 0 ? c("booking.code.resendCountdown", {
|
|
1809
1809
|
seconds: new Intl.NumberFormat(u.language).format(
|
|
@@ -1892,26 +1892,26 @@ function Zs({
|
|
|
1892
1892
|
en(h.payment),
|
|
1893
1893
|
c,
|
|
1894
1894
|
v
|
|
1895
|
-
]),
|
|
1895
|
+
]), M = h.payment ? JSON.stringify([en(h.payment), c]) : "", N = A(void 0), w = !!((q = t.details) != null && q.paymentAccepted);
|
|
1896
1896
|
V(() => {
|
|
1897
1897
|
if (!w) N.current = void 0;
|
|
1898
|
-
else if (
|
|
1898
|
+
else if (M) N.current === void 0 ? N.current = M : N.current !== M && (N.current = void 0, s({
|
|
1899
1899
|
...t,
|
|
1900
1900
|
details: { ...t.details, paymentAccepted: !1 }
|
|
1901
1901
|
}));
|
|
1902
1902
|
else return;
|
|
1903
|
-
}, [w,
|
|
1903
|
+
}, [w, M, s, t]);
|
|
1904
1904
|
const C = A(m);
|
|
1905
1905
|
C.current = m;
|
|
1906
|
-
const [
|
|
1906
|
+
const [R, D] = J({ status: "idle" }), _ = A(0), O = A(!1), $ = A(!0), j = A(!1), T = A(void 0), k = A(m);
|
|
1907
1907
|
V(() => ($.current = !0, () => {
|
|
1908
1908
|
$.current = !1, _.current += 1;
|
|
1909
1909
|
}), []);
|
|
1910
|
-
const L =
|
|
1910
|
+
const L = R.status === "payment" || R.status === "code" || R.status === "success";
|
|
1911
1911
|
V(() => {
|
|
1912
|
-
k.current === m || j.current || L || (k.current = m, _.current += 1,
|
|
1912
|
+
k.current === m || j.current || L || (k.current = m, _.current += 1, O.current = !1, D({ status: "idle" }));
|
|
1913
1913
|
}, [m, L]);
|
|
1914
|
-
const F = L || k.current === m ?
|
|
1914
|
+
const F = L || k.current === m ? R.session : void 0, y = K(
|
|
1915
1915
|
() => F && (a == null ? void 0 : a.sessionId) === F.id ? a : F ? { sessionId: F.id, status: "ready" } : void 0,
|
|
1916
1916
|
[F, a]
|
|
1917
1917
|
);
|
|
@@ -1927,23 +1927,23 @@ function Zs({
|
|
|
1927
1927
|
V(() => {
|
|
1928
1928
|
if (!(!F || !W || j.current))
|
|
1929
1929
|
if (W.status === "paid") {
|
|
1930
|
-
if (
|
|
1930
|
+
if (R.status !== "payment") return;
|
|
1931
1931
|
j.current = !0, D((Y) => ({
|
|
1932
1932
|
...Y,
|
|
1933
1933
|
status: "success",
|
|
1934
1934
|
redirectUrl: W.redirectUrl
|
|
1935
1935
|
}));
|
|
1936
|
-
} else W.status === "cancelled" && (_.current += 1,
|
|
1936
|
+
} else W.status === "cancelled" && (_.current += 1, O.current = !1, S.current = void 0, s({
|
|
1937
1937
|
...t,
|
|
1938
1938
|
details: { ...t.details, paymentAccepted: !1 }
|
|
1939
1939
|
}), D({ status: "idle", cancelled: !0 }));
|
|
1940
|
-
}, [F, W, s, t,
|
|
1940
|
+
}, [F, W, s, t, R.status]);
|
|
1941
1941
|
const ne = () => {
|
|
1942
|
-
_.current += 1,
|
|
1942
|
+
_.current += 1, O.current = !1, j.current = !1, T.current = void 0, S.current = void 0, k.current = C.current, D({ status: "idle" });
|
|
1943
1943
|
}, Ne = async (Y) => {
|
|
1944
1944
|
var ye, Oe, De, ke, oe;
|
|
1945
|
-
if (!(l != null && l.available) || v || o ||
|
|
1946
|
-
|
|
1945
|
+
if (!(l != null && l.available) || v || o || O.current || R.status === "payment" || R.status === "code" || j.current || h.payment && !Y.paymentAccepted) return;
|
|
1946
|
+
O.current = !0;
|
|
1947
1947
|
const U = p ? { ...p } : void 0;
|
|
1948
1948
|
S.current = { selection: f, slot: { ...l } };
|
|
1949
1949
|
const ze = ++_.current, Be = m;
|
|
@@ -1989,11 +1989,11 @@ function Zs({
|
|
|
1989
1989
|
} catch {
|
|
1990
1990
|
ve() && D({ status: "error" });
|
|
1991
1991
|
} finally {
|
|
1992
|
-
ve() && !be && (
|
|
1992
|
+
ve() && !be && (O.current = !1);
|
|
1993
1993
|
}
|
|
1994
1994
|
};
|
|
1995
1995
|
return {
|
|
1996
|
-
...
|
|
1996
|
+
...R,
|
|
1997
1997
|
payment: h.payment,
|
|
1998
1998
|
blocked: v,
|
|
1999
1999
|
state: W,
|
|
@@ -2037,7 +2037,7 @@ function ri({
|
|
|
2037
2037
|
details: a,
|
|
2038
2038
|
shouldTakeFocus: o
|
|
2039
2039
|
}) {
|
|
2040
|
-
const { t: c } = Q("ui"), u = rr(e), p = sr(t), f = A(null), S = A(null), g = A(void 0), l = pt(), h = A(null), [v, m] = J(!1), [
|
|
2040
|
+
const { t: c } = Q("ui"), u = rr(e), p = sr(t), f = A(null), S = A(null), g = A(void 0), l = pt(), h = A(null), [v, m] = J(!1), [M, N] = J(() => vn(null)), w = () => {
|
|
2041
2041
|
if (clearTimeout(g.current), !!u)
|
|
2042
2042
|
try {
|
|
2043
2043
|
r ? r(u) : window.location.assign(u);
|
|
@@ -2046,16 +2046,16 @@ function ri({
|
|
|
2046
2046
|
}, C = () => {
|
|
2047
2047
|
var D;
|
|
2048
2048
|
clearTimeout(g.current), m(!0), (D = h.current) == null || D.focus({ preventScroll: !0 });
|
|
2049
|
-
},
|
|
2050
|
-
return
|
|
2049
|
+
}, R = A(w);
|
|
2050
|
+
return R.current = w, _t(() => {
|
|
2051
2051
|
N(vn(f.current));
|
|
2052
2052
|
}, []), V(() => {
|
|
2053
2053
|
const D = S.current;
|
|
2054
2054
|
D && f.current && o(f.current) && D.focus({ preventScroll: !0 });
|
|
2055
2055
|
}, []), V(() => {
|
|
2056
|
-
if (u)
|
|
2057
|
-
return g.current = setTimeout(() =>
|
|
2058
|
-
}, [u, p]), /* @__PURE__ */ b(
|
|
2056
|
+
if (!(!u || M))
|
|
2057
|
+
return g.current = setTimeout(() => R.current(), p), () => clearTimeout(g.current);
|
|
2058
|
+
}, [u, p, M]), /* @__PURE__ */ b(
|
|
2059
2059
|
"div",
|
|
2060
2060
|
{
|
|
2061
2061
|
ref: f,
|
|
@@ -2097,8 +2097,8 @@ function ri({
|
|
|
2097
2097
|
a ? /* @__PURE__ */ n("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: a }) : null
|
|
2098
2098
|
] }),
|
|
2099
2099
|
u ? /* @__PURE__ */ b(de, { children: [
|
|
2100
|
-
/* @__PURE__ */ n("p", { id: l, role: "status", className: "type-body ds:m-0", children: c(v ? "booking.reserved.stayed" : "booking.reserved.redirecting") }),
|
|
2101
|
-
|
|
2100
|
+
/* @__PURE__ */ n("p", { id: l, role: "status", className: "type-body ds:m-0", children: c(v || M ? "booking.reserved.stayed" : "booking.reserved.redirecting") }),
|
|
2101
|
+
M || v || p > ei ? null : (
|
|
2102
2102
|
// Decorative: the sentence above already says a redirect is coming,
|
|
2103
2103
|
// and a progressbar with no value to read would only add noise.
|
|
2104
2104
|
/* @__PURE__ */ n(
|
|
@@ -2128,7 +2128,7 @@ function ri({
|
|
|
2128
2128
|
children: c("booking.reserved.goNow")
|
|
2129
2129
|
}
|
|
2130
2130
|
),
|
|
2131
|
-
v ? null : /* @__PURE__ */ n(Re, { type: "button", intent: "ghost", size: "md", onClick: C, children: c("booking.reserved.stay") })
|
|
2131
|
+
v || M ? null : /* @__PURE__ */ n(Re, { type: "button", intent: "ghost", size: "md", onClick: C, children: c("booking.reserved.stay") })
|
|
2132
2132
|
] }) : null
|
|
2133
2133
|
]
|
|
2134
2134
|
}
|
|
@@ -2242,18 +2242,18 @@ function li({
|
|
|
2242
2242
|
loading: s
|
|
2243
2243
|
}) {
|
|
2244
2244
|
const { t: a } = Q("ui"), o = K(() => t ? Ft(fe(t)) : e.length > 0 ? Ft(fe(e[0])) : Ft(/* @__PURE__ */ new Date()), [t, e]), [c, u] = J(o), [p, f] = J(null), S = K(() => {
|
|
2245
|
-
const N = Ft(c), w = Lr(c), C = N.getDay(),
|
|
2245
|
+
const N = Ft(c), w = Lr(c), C = N.getDay(), R = w.getDate(), D = [];
|
|
2246
2246
|
for (let _ = C; _ > 0; _ -= 1) {
|
|
2247
|
-
const
|
|
2248
|
-
|
|
2247
|
+
const O = new Date(N);
|
|
2248
|
+
O.setDate(N.getDate() - _), D.push(O);
|
|
2249
2249
|
}
|
|
2250
|
-
for (let _ = 0; _ <
|
|
2251
|
-
const
|
|
2252
|
-
|
|
2250
|
+
for (let _ = 0; _ < R; _ += 1) {
|
|
2251
|
+
const O = new Date(N);
|
|
2252
|
+
O.setDate(N.getDate() + _), D.push(O);
|
|
2253
2253
|
}
|
|
2254
2254
|
for (; D.length < 42; ) {
|
|
2255
|
-
const _ = D[D.length - 1],
|
|
2256
|
-
|
|
2255
|
+
const _ = D[D.length - 1], O = new Date(_);
|
|
2256
|
+
O.setDate(_.getDate() + 1), D.push(O);
|
|
2257
2257
|
}
|
|
2258
2258
|
return D;
|
|
2259
2259
|
}, [c]), g = K(() => {
|
|
@@ -2268,12 +2268,12 @@ function li({
|
|
|
2268
2268
|
}, [c, i]), l = K(() => {
|
|
2269
2269
|
const N = new Date(2024, 0, 7);
|
|
2270
2270
|
return Array.from({ length: 7 }, (w, C) => {
|
|
2271
|
-
const
|
|
2272
|
-
|
|
2271
|
+
const R = new Date(N);
|
|
2272
|
+
R.setDate(N.getDate() + C);
|
|
2273
2273
|
try {
|
|
2274
|
-
return new Intl.DateTimeFormat(i, { weekday: "short" }).format(
|
|
2274
|
+
return new Intl.DateTimeFormat(i, { weekday: "short" }).format(R);
|
|
2275
2275
|
} catch {
|
|
2276
|
-
return nn(
|
|
2276
|
+
return nn(R, "EEE");
|
|
2277
2277
|
}
|
|
2278
2278
|
});
|
|
2279
2279
|
}, [i]), h = K(() => new Set(e), [e]), v = Me(
|
|
@@ -2286,7 +2286,7 @@ function li({
|
|
|
2286
2286
|
(w) => Zt(w, c) && v(w)
|
|
2287
2287
|
);
|
|
2288
2288
|
return N || (S.find((w) => Zt(w, c)) ?? null);
|
|
2289
|
-
}, [p, t, S, c, v]),
|
|
2289
|
+
}, [p, t, S, c, v]), M = Me(
|
|
2290
2290
|
(N, w) => {
|
|
2291
2291
|
let C = null;
|
|
2292
2292
|
switch (N.key) {
|
|
@@ -2397,8 +2397,8 @@ function li({
|
|
|
2397
2397
|
{
|
|
2398
2398
|
role: "row",
|
|
2399
2399
|
className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
|
|
2400
|
-
children: S.slice(w * 7, w * 7 + 7).map((C,
|
|
2401
|
-
const D = w * 7 +
|
|
2400
|
+
children: S.slice(w * 7, w * 7 + 7).map((C, R) => {
|
|
2401
|
+
const D = w * 7 + R, _ = Zt(C, c), O = _ && v(C), $ = t ? Rn(C, fe(t)) : !1, j = _ ? $ ? "selected" : O ? "available" : "unavailable" : "outside", T = m ? Rn(m, C) : !1, k = (() => {
|
|
2402
2402
|
try {
|
|
2403
2403
|
return new Intl.DateTimeFormat(i, {
|
|
2404
2404
|
dateStyle: "full"
|
|
@@ -2414,13 +2414,13 @@ function li({
|
|
|
2414
2414
|
role: "gridcell",
|
|
2415
2415
|
"aria-label": k,
|
|
2416
2416
|
"aria-selected": $ || void 0,
|
|
2417
|
-
"aria-disabled": !
|
|
2417
|
+
"aria-disabled": !O || void 0,
|
|
2418
2418
|
tabIndex: T ? 0 : -1,
|
|
2419
|
-
disabled: !
|
|
2419
|
+
disabled: !O,
|
|
2420
2420
|
onClick: () => {
|
|
2421
|
-
|
|
2421
|
+
O && r(mt(C));
|
|
2422
2422
|
},
|
|
2423
|
-
onKeyDown: (L) =>
|
|
2423
|
+
onKeyDown: (L) => M(L, C),
|
|
2424
2424
|
className: di({ state: j }),
|
|
2425
2425
|
children: /* @__PURE__ */ n("span", { "aria-hidden": "true", children: C.getDate() })
|
|
2426
2426
|
},
|
|
@@ -2522,16 +2522,16 @@ function mi({
|
|
|
2522
2522
|
id: o,
|
|
2523
2523
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
2524
2524
|
children: e.map((g, l) => {
|
|
2525
|
-
const h = t === g.id, v = c === l, { price: m, payment:
|
|
2525
|
+
const h = t === g.id, v = c === l, { price: m, payment: M, paymentTone: N } = a(g), w = m ? M ? s("booking.serviceCardLabelPayment", {
|
|
2526
2526
|
label: g.label,
|
|
2527
2527
|
price: m,
|
|
2528
|
-
payment:
|
|
2528
|
+
payment: M
|
|
2529
2529
|
}) : s("booking.serviceCardLabelPrice", {
|
|
2530
2530
|
label: g.label,
|
|
2531
2531
|
price: m
|
|
2532
|
-
}) :
|
|
2532
|
+
}) : M ? s("booking.serviceCardLabelPaymentNoPrice", {
|
|
2533
2533
|
label: g.label,
|
|
2534
|
-
payment:
|
|
2534
|
+
payment: M
|
|
2535
2535
|
}) : i ? s("booking.serviceCardLabel", {
|
|
2536
2536
|
label: g.label,
|
|
2537
2537
|
duration: g.durationMin
|
|
@@ -2539,8 +2539,8 @@ function mi({
|
|
|
2539
2539
|
return /* @__PURE__ */ b(
|
|
2540
2540
|
"button",
|
|
2541
2541
|
{
|
|
2542
|
-
ref: (
|
|
2543
|
-
|
|
2542
|
+
ref: (R) => {
|
|
2543
|
+
R ? p.current.set(l, R) : p.current.delete(l);
|
|
2544
2544
|
},
|
|
2545
2545
|
type: "button",
|
|
2546
2546
|
role: "radio",
|
|
@@ -2549,7 +2549,7 @@ function mi({
|
|
|
2549
2549
|
tabIndex: v ? 0 : -1,
|
|
2550
2550
|
onClick: () => r(g.id),
|
|
2551
2551
|
onFocus: () => u(l),
|
|
2552
|
-
onKeyDown: (
|
|
2552
|
+
onKeyDown: (R) => S(R, l, g.id),
|
|
2553
2553
|
className: ui({
|
|
2554
2554
|
state: h ? "selected" : "idle"
|
|
2555
2555
|
}),
|
|
@@ -2571,11 +2571,11 @@ function mi({
|
|
|
2571
2571
|
children: g.label
|
|
2572
2572
|
}
|
|
2573
2573
|
),
|
|
2574
|
-
|
|
2574
|
+
M ? /* @__PURE__ */ n(
|
|
2575
2575
|
"span",
|
|
2576
2576
|
{
|
|
2577
2577
|
className: Dr({ tone: N }),
|
|
2578
|
-
children:
|
|
2578
|
+
children: M
|
|
2579
2579
|
}
|
|
2580
2580
|
) : m || !i ? null : /* @__PURE__ */ n("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: s("booking.serviceSummary", {
|
|
2581
2581
|
minutes: g.durationMin
|
|
@@ -2723,7 +2723,7 @@ function hi({
|
|
|
2723
2723
|
"aria-label": c(`booking.timeOfDay.${g}`),
|
|
2724
2724
|
className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
|
|
2725
2725
|
children: l.map((v) => {
|
|
2726
|
-
const m = v.key === i,
|
|
2726
|
+
const m = v.key === i, M = v.available ? m ? "selected" : "idle" : "unavailable";
|
|
2727
2727
|
return /* @__PURE__ */ n(
|
|
2728
2728
|
"button",
|
|
2729
2729
|
{
|
|
@@ -2735,7 +2735,7 @@ function hi({
|
|
|
2735
2735
|
time: sn(t, v.time, o)
|
|
2736
2736
|
}),
|
|
2737
2737
|
onClick: () => v.available && s(v),
|
|
2738
|
-
className: pi({ state:
|
|
2738
|
+
className: pi({ state: M }),
|
|
2739
2739
|
children: sn(t, v.time, o)
|
|
2740
2740
|
},
|
|
2741
2741
|
v.key
|
|
@@ -2770,7 +2770,7 @@ function vi({
|
|
|
2770
2770
|
var Ne, ge;
|
|
2771
2771
|
const h = K(() => rt(/* @__PURE__ */ new Date()), []), v = A(
|
|
2772
2772
|
e.length > 0 || !!(r.date && !On(rt(fe(r.date)), h))
|
|
2773
|
-
), [m,
|
|
2773
|
+
), [m, M] = J(() => {
|
|
2774
2774
|
if (r.date) {
|
|
2775
2775
|
const I = rt(fe(r.date));
|
|
2776
2776
|
if (!ut(h, I)) return I;
|
|
@@ -2793,22 +2793,22 @@ function vi({
|
|
|
2793
2793
|
available: he.available
|
|
2794
2794
|
}));
|
|
2795
2795
|
return { date: U, slots: Be };
|
|
2796
|
-
}), [m, t]), C = ut(m, h),
|
|
2797
|
-
v.current = !0,
|
|
2796
|
+
}), [m, t]), C = ut(m, h), R = !0, D = Me(() => {
|
|
2797
|
+
v.current = !0, M((I) => {
|
|
2798
2798
|
const q = Pr(I, tn);
|
|
2799
2799
|
return ut(h, q) ? h : q;
|
|
2800
2800
|
});
|
|
2801
2801
|
}, [h]), _ = Me(() => {
|
|
2802
|
-
v.current = !0,
|
|
2803
|
-
}, []),
|
|
2802
|
+
v.current = !0, M((I) => un(I, tn));
|
|
2803
|
+
}, []), O = [
|
|
2804
2804
|
r.serviceId,
|
|
2805
2805
|
(Ne = r.serviceIds) == null ? void 0 : Ne.join(","),
|
|
2806
2806
|
r.operatorId,
|
|
2807
2807
|
(ge = r.operatorIds) == null ? void 0 : ge.join(","),
|
|
2808
2808
|
r.specialtyId
|
|
2809
|
-
].join("|"), $ = e.join(","), j = A(
|
|
2809
|
+
].join("|"), $ = e.join(","), j = A(O), T = A(null);
|
|
2810
2810
|
V(() => {
|
|
2811
|
-
if (j.current !==
|
|
2811
|
+
if (j.current !== O && (j.current = O, v.current = !1, T.current = $), v.current || e.length === 0) return;
|
|
2812
2812
|
if (T.current !== null) {
|
|
2813
2813
|
if (T.current === $) return;
|
|
2814
2814
|
T.current = null;
|
|
@@ -2818,8 +2818,8 @@ function vi({
|
|
|
2818
2818
|
!ut(I, h) || e.some((Y) => {
|
|
2819
2819
|
const U = rt(fe(Y));
|
|
2820
2820
|
return !ut(U, N) && !On(U, m);
|
|
2821
|
-
}) ||
|
|
2822
|
-
}, [e, $,
|
|
2821
|
+
}) || M(I);
|
|
2822
|
+
}, [e, $, O, h, m, N]), V(() => {
|
|
2823
2823
|
a == null || a(mt(m), mt(N));
|
|
2824
2824
|
}, [m, N, a]);
|
|
2825
2825
|
const k = Me(
|
|
@@ -2837,7 +2837,7 @@ function vi({
|
|
|
2837
2837
|
{
|
|
2838
2838
|
nextAvailableDate: W,
|
|
2839
2839
|
onJump: () => {
|
|
2840
|
-
v.current = !0,
|
|
2840
|
+
v.current = !0, M(rt(fe(W))), s == null || s(W);
|
|
2841
2841
|
},
|
|
2842
2842
|
locale: g
|
|
2843
2843
|
}
|
|
@@ -2860,7 +2860,7 @@ function vi({
|
|
|
2860
2860
|
maxInitialSlotsPerDay: 6,
|
|
2861
2861
|
locale: g,
|
|
2862
2862
|
hasPrevious: C,
|
|
2863
|
-
hasNext:
|
|
2863
|
+
hasNext: R,
|
|
2864
2864
|
onSlotSelect: k,
|
|
2865
2865
|
onPreviousDays: D,
|
|
2866
2866
|
onNextDays: _
|
|
@@ -3269,9 +3269,9 @@ function yi({
|
|
|
3269
3269
|
onModify: h,
|
|
3270
3270
|
focusWasLost: v
|
|
3271
3271
|
}) {
|
|
3272
|
-
const { t: m } = Q("ui"),
|
|
3272
|
+
const { t: m } = Q("ui"), M = A(null);
|
|
3273
3273
|
V(() => {
|
|
3274
|
-
const T =
|
|
3274
|
+
const T = M.current, k = document.activeElement, L = T == null ? void 0 : T.closest('[data-component="booking"]');
|
|
3275
3275
|
T && (k && (L != null && L.contains(k)) || v()) && T.focus();
|
|
3276
3276
|
}, []);
|
|
3277
3277
|
const N = Sn(a), C = Qn(
|
|
@@ -3279,9 +3279,9 @@ function yi({
|
|
|
3279
3279
|
o.details.confirmationChannels
|
|
3280
3280
|
).map(
|
|
3281
3281
|
(T) => m(`booking.confirmation.channel.${T}`)
|
|
3282
|
-
),
|
|
3282
|
+
), R = s ? on(s.amountCents, s.currencyCode, f) : "", D = s ? m(
|
|
3283
3283
|
S === "demo" ? "booking.payment.paidDemo" : "booking.payment.paidBody",
|
|
3284
|
-
{ amount:
|
|
3284
|
+
{ amount: R }
|
|
3285
3285
|
) : e ? m(S === "demo" ? "booking.code.confirmedDemo" : "booking.code.confirmedBody") : S === "demo" ? m("booking.success.descriptionDemo") : C.length > 1 ? m("booking.success.descriptionMultiple", {
|
|
3286
3286
|
channels: C.join(" · ")
|
|
3287
3287
|
}) : m("booking.success.descriptionSingle", {
|
|
@@ -3297,7 +3297,7 @@ function yi({
|
|
|
3297
3297
|
} catch {
|
|
3298
3298
|
return o.date;
|
|
3299
3299
|
}
|
|
3300
|
-
}, [o.date, f]),
|
|
3300
|
+
}, [o.date, f]), O = K(() => {
|
|
3301
3301
|
const k = (o.operatorIds && o.operatorIds.length > 0 ? o.operatorIds : o.operatorId ? [o.operatorId] : []).filter((L) => L !== qe).map((L) => {
|
|
3302
3302
|
var F;
|
|
3303
3303
|
return (F = c.find((y) => y.id === L)) == null ? void 0 : F.name;
|
|
@@ -3327,7 +3327,7 @@ function yi({
|
|
|
3327
3327
|
} catch {
|
|
3328
3328
|
T = o.date;
|
|
3329
3329
|
}
|
|
3330
|
-
const k = (j == null ? void 0 : j.label) ?? ($ == null ? void 0 : $.label), L =
|
|
3330
|
+
const k = (j == null ? void 0 : j.label) ?? ($ == null ? void 0 : $.label), L = O.map(
|
|
3331
3331
|
(F, y) => F.type === "element" ? /* @__PURE__ */ n("bdi", { children: F.value }, y) : F.value
|
|
3332
3332
|
);
|
|
3333
3333
|
return /* @__PURE__ */ n(
|
|
@@ -3361,7 +3361,7 @@ function yi({
|
|
|
3361
3361
|
re.Title,
|
|
3362
3362
|
{
|
|
3363
3363
|
as: "h3",
|
|
3364
|
-
ref:
|
|
3364
|
+
ref: M,
|
|
3365
3365
|
tabIndex: -1,
|
|
3366
3366
|
className: "ds:outline-none",
|
|
3367
3367
|
children: m(
|
|
@@ -3374,7 +3374,7 @@ function yi({
|
|
|
3374
3374
|
/* @__PURE__ */ n("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ b("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
|
|
3375
3375
|
s && S !== "demo" ? /* @__PURE__ */ b(de, { children: [
|
|
3376
3376
|
/* @__PURE__ */ n("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: m("booking.payment.summaryPaid") }),
|
|
3377
|
-
/* @__PURE__ */ n("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children:
|
|
3377
|
+
/* @__PURE__ */ n("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: R })
|
|
3378
3378
|
] }) : null,
|
|
3379
3379
|
$ ? /* @__PURE__ */ b(de, { children: [
|
|
3380
3380
|
/* @__PURE__ */ n("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: m("booking.success.summarySpecialty") }),
|
|
@@ -3404,9 +3404,9 @@ function yi({
|
|
|
3404
3404
|
] }) : null,
|
|
3405
3405
|
/* @__PURE__ */ n("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: m("booking.success.summaryTime") }),
|
|
3406
3406
|
/* @__PURE__ */ n("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: sn(o.date, o.slot.time, f) }),
|
|
3407
|
-
|
|
3407
|
+
O.length > 0 ? /* @__PURE__ */ b(de, { children: [
|
|
3408
3408
|
/* @__PURE__ */ n("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: m("booking.success.summaryProvider") }),
|
|
3409
|
-
/* @__PURE__ */ n("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children:
|
|
3409
|
+
/* @__PURE__ */ n("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: O.map(
|
|
3410
3410
|
(T, k) => T.type === "element" ? /* @__PURE__ */ n("bdi", { children: T.value }, k) : T.value
|
|
3411
3411
|
) })
|
|
3412
3412
|
] }) : null
|
|
@@ -3471,15 +3471,15 @@ function ki(e) {
|
|
|
3471
3471
|
onWindowChange: h,
|
|
3472
3472
|
datePickerStyle: v,
|
|
3473
3473
|
specialtyPickerStyle: m,
|
|
3474
|
-
servicePickerStyle:
|
|
3474
|
+
servicePickerStyle: M,
|
|
3475
3475
|
showServiceDuration: N,
|
|
3476
3476
|
operatorPickerStyle: w,
|
|
3477
3477
|
submitting: C,
|
|
3478
|
-
locale:
|
|
3478
|
+
locale: R,
|
|
3479
3479
|
detailsProps: D,
|
|
3480
3480
|
agentIdBase: _,
|
|
3481
|
-
activeStep:
|
|
3482
|
-
} = e, { t: $ } = Q("ui"), j = Ct(
|
|
3481
|
+
activeStep: O
|
|
3482
|
+
} = e, { t: $ } = Q("ui"), j = Ct(O, v), T = (k, L) => ({
|
|
3483
3483
|
step: k,
|
|
3484
3484
|
active: k === j,
|
|
3485
3485
|
className: L
|
|
@@ -3511,7 +3511,7 @@ function ki(e) {
|
|
|
3511
3511
|
valueIds: i.serviceIds,
|
|
3512
3512
|
onChange: (k) => s(Gn(i, k)),
|
|
3513
3513
|
onChangeIds: (k) => s(Jn(i, k)),
|
|
3514
|
-
pickerStyle:
|
|
3514
|
+
pickerStyle: M,
|
|
3515
3515
|
showDuration: N
|
|
3516
3516
|
}
|
|
3517
3517
|
) }) : null,
|
|
@@ -3534,7 +3534,7 @@ function ki(e) {
|
|
|
3534
3534
|
children: [
|
|
3535
3535
|
/* @__PURE__ */ n("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: $("booking.date.heading") }),
|
|
3536
3536
|
or({
|
|
3537
|
-
activeStep:
|
|
3537
|
+
activeStep: O,
|
|
3538
3538
|
inputs: r,
|
|
3539
3539
|
value: i,
|
|
3540
3540
|
onChange: s,
|
|
@@ -3545,7 +3545,7 @@ function ki(e) {
|
|
|
3545
3545
|
slotLoadError: f,
|
|
3546
3546
|
onRetrySlots: S,
|
|
3547
3547
|
emptySlotsDescription: g,
|
|
3548
|
-
locale:
|
|
3548
|
+
locale: R,
|
|
3549
3549
|
datePickerStyle: v,
|
|
3550
3550
|
agentIdBase: _
|
|
3551
3551
|
})
|
|
@@ -3559,7 +3559,7 @@ function ki(e) {
|
|
|
3559
3559
|
children: [
|
|
3560
3560
|
/* @__PURE__ */ n("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: $("booking.slot.heading") }),
|
|
3561
3561
|
ar({
|
|
3562
|
-
activeStep:
|
|
3562
|
+
activeStep: O,
|
|
3563
3563
|
inputs: r,
|
|
3564
3564
|
value: i,
|
|
3565
3565
|
onChange: s,
|
|
@@ -3568,7 +3568,7 @@ function ki(e) {
|
|
|
3568
3568
|
slotLoadError: f,
|
|
3569
3569
|
onRetrySlots: S,
|
|
3570
3570
|
emptySlotsDescription: g,
|
|
3571
|
-
locale:
|
|
3571
|
+
locale: R,
|
|
3572
3572
|
datePickerStyle: v
|
|
3573
3573
|
})
|
|
3574
3574
|
]
|
|
@@ -3603,14 +3603,14 @@ function Fe(e, t, r = {}) {
|
|
|
3603
3603
|
onRetrySlots: h,
|
|
3604
3604
|
emptySlotsDescription: v,
|
|
3605
3605
|
onDateSelect: m,
|
|
3606
|
-
onWindowChange:
|
|
3606
|
+
onWindowChange: M,
|
|
3607
3607
|
datePickerStyle: N,
|
|
3608
3608
|
specialtyPickerStyle: w,
|
|
3609
3609
|
servicePickerStyle: C,
|
|
3610
|
-
showServiceDuration:
|
|
3610
|
+
showServiceDuration: R,
|
|
3611
3611
|
operatorPickerStyle: D,
|
|
3612
3612
|
submitting: _,
|
|
3613
|
-
locale:
|
|
3613
|
+
locale: O,
|
|
3614
3614
|
detailsProps: $,
|
|
3615
3615
|
policy: j,
|
|
3616
3616
|
agentIdBase: T
|
|
@@ -3647,7 +3647,7 @@ function Fe(e, t, r = {}) {
|
|
|
3647
3647
|
onChangeIds: (k) => c(Jn(o, k)),
|
|
3648
3648
|
pickerStyle: C,
|
|
3649
3649
|
compact: r.compactService,
|
|
3650
|
-
showDuration:
|
|
3650
|
+
showDuration: R
|
|
3651
3651
|
}
|
|
3652
3652
|
);
|
|
3653
3653
|
case 4:
|
|
@@ -3669,13 +3669,13 @@ function Fe(e, t, r = {}) {
|
|
|
3669
3669
|
value: o,
|
|
3670
3670
|
onChange: c,
|
|
3671
3671
|
onDateSelect: m,
|
|
3672
|
-
onWindowChange:
|
|
3672
|
+
onWindowChange: M,
|
|
3673
3673
|
loadingDates: S,
|
|
3674
3674
|
loadingSlots: g,
|
|
3675
3675
|
slotLoadError: l,
|
|
3676
3676
|
onRetrySlots: h,
|
|
3677
3677
|
emptySlotsDescription: v,
|
|
3678
|
-
locale:
|
|
3678
|
+
locale: O,
|
|
3679
3679
|
datePickerStyle: N,
|
|
3680
3680
|
agentIdBase: T
|
|
3681
3681
|
});
|
|
@@ -3690,7 +3690,7 @@ function Fe(e, t, r = {}) {
|
|
|
3690
3690
|
slotLoadError: l,
|
|
3691
3691
|
onRetrySlots: h,
|
|
3692
3692
|
emptySlotsDescription: v,
|
|
3693
|
-
locale:
|
|
3693
|
+
locale: O,
|
|
3694
3694
|
datePickerStyle: N
|
|
3695
3695
|
});
|
|
3696
3696
|
case 7:
|
|
@@ -3982,14 +3982,14 @@ const Mi = Vn(
|
|
|
3982
3982
|
emailOptional: h = !1,
|
|
3983
3983
|
requireCodiceFiscale: v,
|
|
3984
3984
|
requireDateOfBirth: m,
|
|
3985
|
-
requireInsuranceNumber:
|
|
3985
|
+
requireInsuranceNumber: M,
|
|
3986
3986
|
billingInDetails: N = !1,
|
|
3987
3987
|
paymentNoticeStyle: w = "highlighted",
|
|
3988
3988
|
showNote: C,
|
|
3989
|
-
showReturningPatientFlag:
|
|
3989
|
+
showReturningPatientFlag: R,
|
|
3990
3990
|
privacyPolicyUrl: D,
|
|
3991
3991
|
termsUrl: _,
|
|
3992
|
-
practiceConsent:
|
|
3992
|
+
practiceConsent: O,
|
|
3993
3993
|
paymentTermsUrl: $,
|
|
3994
3994
|
paymentState: j,
|
|
3995
3995
|
handoverDelayMs: T,
|
|
@@ -4406,13 +4406,13 @@ const Mi = Vn(
|
|
|
4406
4406
|
emailOptional: h,
|
|
4407
4407
|
requireCodiceFiscale: v,
|
|
4408
4408
|
requireDateOfBirth: m,
|
|
4409
|
-
requireInsuranceNumber:
|
|
4409
|
+
requireInsuranceNumber: M,
|
|
4410
4410
|
insuranceType: I.insuranceType,
|
|
4411
4411
|
showNote: C,
|
|
4412
|
-
showReturningPatientFlag:
|
|
4412
|
+
showReturningPatientFlag: R,
|
|
4413
4413
|
privacyPolicyUrl: D,
|
|
4414
4414
|
termsUrl: _,
|
|
4415
|
-
practiceConsent:
|
|
4415
|
+
practiceConsent: O,
|
|
4416
4416
|
criticalInformationToAccept: nt,
|
|
4417
4417
|
locked: H === "code",
|
|
4418
4418
|
payment: G.payment,
|
|
@@ -4471,15 +4471,15 @@ const Mi = Vn(
|
|
|
4471
4471
|
h,
|
|
4472
4472
|
v,
|
|
4473
4473
|
m,
|
|
4474
|
-
|
|
4474
|
+
M,
|
|
4475
4475
|
N,
|
|
4476
4476
|
w,
|
|
4477
4477
|
Le,
|
|
4478
4478
|
C,
|
|
4479
|
-
|
|
4479
|
+
R,
|
|
4480
4480
|
D,
|
|
4481
4481
|
_,
|
|
4482
|
-
|
|
4482
|
+
O,
|
|
4483
4483
|
nt,
|
|
4484
4484
|
y,
|
|
4485
4485
|
W,
|
|
@@ -4607,4 +4607,4 @@ export {
|
|
|
4607
4607
|
bs as b,
|
|
4608
4608
|
Ao as c
|
|
4609
4609
|
};
|
|
4610
|
-
//# sourceMappingURL=reserved.agent-
|
|
4610
|
+
//# sourceMappingURL=reserved.agent-BxD0gnbt.js.map
|