@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
|
@@ -5221,8 +5221,14 @@ function yb({ servicePromise: e2, refreshSignal: t2 = 0, injected: n2, reschedul
|
|
|
5221
5221
|
}, []);
|
|
5222
5222
|
iy(St2);
|
|
5223
5223
|
let Ct2 = i((e3) => {
|
|
5224
|
-
xt2.current = true, bt2(true)
|
|
5225
|
-
|
|
5224
|
+
xt2.current = true, bt2(true);
|
|
5225
|
+
let t3 = w2.current(), n3 = new URL(b2(e3), t3).pathname === t3.pathname;
|
|
5226
|
+
v2(e3).then(() => {
|
|
5227
|
+
(n3 || w2.current().href !== t3.href) && St2();
|
|
5228
|
+
}, (e4) => {
|
|
5229
|
+
pa(e4, { feature: da.serviceCta, action: `navigateToNextPage` }), St2();
|
|
5230
|
+
});
|
|
5231
|
+
}, [v2, St2, b2]), wt2 = i(() => vt2.open(mm(s_({ service: f2, pricingOption: at2 ?? void 0, selection: nb(j2 ?? ``, w2.current().searchParams), multiServiceAppointmentsEnabled: Oe2 }))), [vt2, f2, at2, j2, Oe2]), Tt2 = i((e3) => {
|
|
5226
5232
|
if (xt2.current) return;
|
|
5227
5233
|
let t3 = he2.current ?? Cg(w2.current().searchParams.get(Qd.blob)), n3 = rb(t3, te2());
|
|
5228
5234
|
if (n3) {
|