@wix/bookings 1.0.1742 → 1.0.1743
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/_sdk-exports/context-service-context/runtime.js +1 -1
- package/build/cjs/context-service-context.js +8 -2
- package/build/cjs/context-service-context.js.map +1 -1
- package/build/es/context-service-context.mjs +8 -2
- package/build/es/context-service-context.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -5253,8 +5253,14 @@ function yb({ servicePromise: e2, refreshSignal: t2 = 0, injected: n2, reschedul
|
|
|
5253
5253
|
}, []);
|
|
5254
5254
|
iy(St2);
|
|
5255
5255
|
let Ct2 = (0, import_react.useCallback)((e3) => {
|
|
5256
|
-
xt2.current = true, bt2(true)
|
|
5257
|
-
|
|
5256
|
+
xt2.current = true, bt2(true);
|
|
5257
|
+
let t3 = w2.current(), n3 = new URL(b2(e3), t3).pathname === t3.pathname;
|
|
5258
|
+
v2(e3).then(() => {
|
|
5259
|
+
(n3 || w2.current().href !== t3.href) && St2();
|
|
5260
|
+
}, (e4) => {
|
|
5261
|
+
pa(e4, { feature: da.serviceCta, action: `navigateToNextPage` }), St2();
|
|
5262
|
+
});
|
|
5263
|
+
}, [v2, St2, b2]), wt2 = (0, import_react.useCallback)(() => vt2.open(mm(s_({ service: f2, pricingOption: at2 ?? void 0, selection: nb(j2 ?? ``, w2.current().searchParams), multiServiceAppointmentsEnabled: Oe2 }))), [vt2, f2, at2, j2, Oe2]), Tt2 = (0, import_react.useCallback)((e3) => {
|
|
5258
5264
|
if (xt2.current) return;
|
|
5259
5265
|
let t3 = he2.current ?? Cg(w2.current().searchParams.get(Qd.blob)), n3 = rb(t3, te2());
|
|
5260
5266
|
if (n3) {
|