@forgebuild/sidon-booking-widget 4.1.4 → 4.1.6
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 +6 -0
- package/dist/sidon-berth-map.js +553 -546
- package/dist/sidon-booking-widget.js +274 -254
- package/package.json +1 -1
|
@@ -4438,9 +4438,9 @@ var go = /* @__PURE__ */ Y("<div class=\"sbm-map svelte-yb07tk\"></div>"), _o =
|
|
|
4438
4438
|
};
|
|
4439
4439
|
function vo(e, t) {
|
|
4440
4440
|
Xe(t, !0), ai(e, _o);
|
|
4441
|
-
let n = $(t, "mapsApiKey", 7), r = $(t, "mapStyle", 7), i = $(t, "center", 7), a = $(t, "navy", 7), o = $(t, "gold", 7), s = $(t, "logoMark", 7, null),
|
|
4442
|
-
function
|
|
4443
|
-
let e =
|
|
4441
|
+
let n = $(t, "mapsApiKey", 7), r = $(t, "mapStyle", 7), i = $(t, "center", 7), a = $(t, "navy", 7), o = $(t, "gold", 7), s = $(t, "sea", 7, ""), c = $(t, "logoMark", 7, null), l = $(t, "marinaName", 7, ""), u = $(t, "otherMarinas", 7), d = $(t, "berths", 7), f = $(t, "overlays", 7), p = $(t, "layout", 7), m = $(t, "loa", 7), h = $(t, "selectedBerth", 7), g = $(t, "onBerthClick", 7), _ = $(t, "staff", 7, !1), v = $(t, "fitInset", 7), y, b = /* @__PURE__ */ B(null), x = /* @__PURE__ */ new Map(), S = [], ee = [], C = !1;
|
|
4442
|
+
function w() {
|
|
4443
|
+
let e = v()?.() ?? 0;
|
|
4444
4444
|
return e > 0 ? {
|
|
4445
4445
|
top: 60,
|
|
4446
4446
|
right: 60,
|
|
@@ -4448,59 +4448,56 @@ function vo(e, t) {
|
|
|
4448
4448
|
left: e + 60
|
|
4449
4449
|
} : 60;
|
|
4450
4450
|
}
|
|
4451
|
-
let
|
|
4451
|
+
let T = /* @__PURE__ */ I(() => ({
|
|
4452
4452
|
fillColor: o(),
|
|
4453
4453
|
fillOpacity: .38,
|
|
4454
4454
|
strokeColor: o(),
|
|
4455
4455
|
strokeOpacity: 1,
|
|
4456
4456
|
strokeWeight: 1.6
|
|
4457
|
-
})),
|
|
4457
|
+
})), te = /* @__PURE__ */ I(() => ({
|
|
4458
4458
|
fillColor: o(),
|
|
4459
4459
|
fillOpacity: .62,
|
|
4460
4460
|
strokeColor: o(),
|
|
4461
4461
|
strokeOpacity: 1,
|
|
4462
4462
|
strokeWeight: 1.6
|
|
4463
|
-
})),
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
strokeOpacity: 1,
|
|
4468
|
-
strokeWeight: 2
|
|
4469
|
-
})), ne = {
|
|
4463
|
+
})), ne = /* @__PURE__ */ I(() => ({
|
|
4464
|
+
...q(T),
|
|
4465
|
+
strokeWeight: 3
|
|
4466
|
+
})), E = {
|
|
4470
4467
|
fillColor: "#b8b8b8",
|
|
4471
4468
|
fillOpacity: .08,
|
|
4472
4469
|
strokeColor: "#b8b8b8",
|
|
4473
4470
|
strokeOpacity: .5,
|
|
4474
4471
|
strokeWeight: 1
|
|
4475
|
-
},
|
|
4472
|
+
}, D = {
|
|
4476
4473
|
fillColor: "#888888",
|
|
4477
4474
|
fillOpacity: .15,
|
|
4478
4475
|
strokeColor: "#888888",
|
|
4479
4476
|
strokeOpacity: .4,
|
|
4480
4477
|
strokeWeight: 1
|
|
4481
|
-
},
|
|
4478
|
+
}, O = /* @__PURE__ */ I(() => ({
|
|
4482
4479
|
fillColor: a(),
|
|
4483
4480
|
fillOpacity: .85,
|
|
4484
4481
|
strokeColor: a(),
|
|
4485
4482
|
strokeOpacity: 1,
|
|
4486
4483
|
strokeWeight: 1.6
|
|
4487
|
-
})),
|
|
4488
|
-
function
|
|
4484
|
+
})), k = (e) => Math.max(5, e.lengthM || 15), re = (e, t) => e.angle == null ? e.circle.setRadius(k(e.berth) * t) : e.circle.setPaths(ho(e.berth, e.angle, fo, t)), ie = /* @__PURE__ */ new WeakMap();
|
|
4485
|
+
function A(e) {
|
|
4489
4486
|
let t = e.circle, n = Symbol();
|
|
4490
|
-
|
|
4487
|
+
ie.set(t, n);
|
|
4491
4488
|
let r = performance.now(), i = (a) => {
|
|
4492
|
-
if (
|
|
4489
|
+
if (ie.get(t) !== n) return;
|
|
4493
4490
|
let o = a - r;
|
|
4494
4491
|
if (o >= 260) {
|
|
4495
|
-
|
|
4492
|
+
re(e, 1);
|
|
4496
4493
|
return;
|
|
4497
4494
|
}
|
|
4498
4495
|
let s = o < 90 ? o / 90 : 1 - (o - 90) / 170, c = s * (2 - s);
|
|
4499
|
-
|
|
4496
|
+
re(e, 1 + .18 * c), requestAnimationFrame(i);
|
|
4500
4497
|
};
|
|
4501
4498
|
requestAnimationFrame(i);
|
|
4502
4499
|
}
|
|
4503
|
-
let
|
|
4500
|
+
let ae = [
|
|
4504
4501
|
{
|
|
4505
4502
|
elementType: "geometry",
|
|
4506
4503
|
stylers: [{ color: "#ffffff" }]
|
|
@@ -4558,7 +4555,7 @@ function vo(e, t) {
|
|
|
4558
4555
|
elementType: "labels.text.fill",
|
|
4559
4556
|
stylers: [{ color: "#aab0b4" }]
|
|
4560
4557
|
}
|
|
4561
|
-
],
|
|
4558
|
+
], oe = /* @__PURE__ */ I(() => [
|
|
4562
4559
|
{
|
|
4563
4560
|
elementType: "geometry",
|
|
4564
4561
|
stylers: [{ color: "#f5efe4" }]
|
|
@@ -4627,7 +4624,7 @@ function vo(e, t) {
|
|
|
4627
4624
|
{
|
|
4628
4625
|
featureType: "water",
|
|
4629
4626
|
elementType: "geometry",
|
|
4630
|
-
stylers: [{ color: a() }]
|
|
4627
|
+
stylers: [{ color: s() || a() }]
|
|
4631
4628
|
},
|
|
4632
4629
|
{
|
|
4633
4630
|
featureType: "water",
|
|
@@ -4637,10 +4634,10 @@ function vo(e, t) {
|
|
|
4637
4634
|
{
|
|
4638
4635
|
featureType: "water",
|
|
4639
4636
|
elementType: "labels.text.stroke",
|
|
4640
|
-
stylers: [{ color: a() }]
|
|
4637
|
+
stylers: [{ color: s() || a() }]
|
|
4641
4638
|
}
|
|
4642
4639
|
]);
|
|
4643
|
-
class
|
|
4640
|
+
class se {
|
|
4644
4641
|
position;
|
|
4645
4642
|
href;
|
|
4646
4643
|
img;
|
|
@@ -4675,7 +4672,7 @@ function vo(e, t) {
|
|
|
4675
4672
|
this.overlayView.setMap(e);
|
|
4676
4673
|
}
|
|
4677
4674
|
}
|
|
4678
|
-
let
|
|
4675
|
+
let ce = {
|
|
4679
4676
|
available: {
|
|
4680
4677
|
fill: "rgba(16,185,129,0.3)",
|
|
4681
4678
|
stroke: "#10b981"
|
|
@@ -4693,9 +4690,9 @@ function vo(e, t) {
|
|
|
4693
4690
|
stroke: "rgba(136,136,136,0.4)"
|
|
4694
4691
|
}
|
|
4695
4692
|
};
|
|
4696
|
-
function
|
|
4693
|
+
function le(e) {
|
|
4697
4694
|
let t = {};
|
|
4698
|
-
for (let e of
|
|
4695
|
+
for (let e of d()) e.berthId && (t[e.berthId] = {
|
|
4699
4696
|
price: e.pricePerNight,
|
|
4700
4697
|
status: e.status
|
|
4701
4698
|
});
|
|
@@ -4705,8 +4702,8 @@ function vo(e, t) {
|
|
|
4705
4702
|
let n = e.getAttribute("data-berth-id") ?? "", r = t[n];
|
|
4706
4703
|
r?.price != null && e.setAttribute("data-price", String(r.price));
|
|
4707
4704
|
let i = r?.status ?? "occupied";
|
|
4708
|
-
e.setAttribute("data-status", i),
|
|
4709
|
-
let a =
|
|
4705
|
+
e.setAttribute("data-status", i), _() && r && e.setAttribute("data-pick", "1");
|
|
4706
|
+
let a = ce[i] ?? ce.occupied, o = e.querySelector("rect:not([data-role]), circle");
|
|
4710
4707
|
o && (o.setAttribute("fill", a.fill), o.setAttribute("stroke", a.stroke));
|
|
4711
4708
|
let s = e.querySelector("[data-role=\"entrance\"]");
|
|
4712
4709
|
s && s.setAttribute("fill", a.stroke);
|
|
@@ -4734,7 +4731,7 @@ function vo(e, t) {
|
|
|
4734
4731
|
[data-berth-id][data-fit="small"] circle { fill: rgba(136,136,136,0.15) !important; stroke: rgba(136,136,136,0.5) !important; }
|
|
4735
4732
|
[data-berth-id][data-fit="small"] [data-role="entrance"] { fill: rgba(136,136,136,0.5) !important; }
|
|
4736
4733
|
[data-berth-id][data-selected="1"] rect:not([data-role]),
|
|
4737
|
-
[data-berth-id][data-selected="1"] circle {
|
|
4734
|
+
[data-berth-id][data-selected="1"] circle { stroke: ${o()} !important; }
|
|
4738
4735
|
[data-berth-id][data-selected="1"] [data-role="entrance"] { fill: ${o()}; }
|
|
4739
4736
|
[data-berth-id][data-pick="1"] { pointer-events: auto; cursor: pointer; }
|
|
4740
4737
|
`, n.querySelector("svg")?.appendChild(r), new XMLSerializer().serializeToString(n);
|
|
@@ -4742,7 +4739,7 @@ function vo(e, t) {
|
|
|
4742
4739
|
return e;
|
|
4743
4740
|
}
|
|
4744
4741
|
}
|
|
4745
|
-
class
|
|
4742
|
+
class ue {
|
|
4746
4743
|
bounds;
|
|
4747
4744
|
svgData;
|
|
4748
4745
|
rotation;
|
|
@@ -4759,15 +4756,15 @@ function vo(e, t) {
|
|
|
4759
4756
|
lat: e.neLat,
|
|
4760
4757
|
lng: e.neLng
|
|
4761
4758
|
}
|
|
4762
|
-
}, this.svgData =
|
|
4759
|
+
}, this.svgData = le(e.svgData), this.rotation = e.rotation ?? 0, this.overlayView.onAdd = () => {
|
|
4763
4760
|
this.div = document.createElement("div"), this.div.style.cssText = "position:absolute;pointer-events:none;transform-origin:center center;", this.div.innerHTML = this.svgData;
|
|
4764
4761
|
let e = this.div.querySelector("svg");
|
|
4765
4762
|
e && (e.style.width = "100%", e.style.height = "100%"), this.div.addEventListener("click", (e) => {
|
|
4766
4763
|
let t = e.target?.closest("[data-berth-id]");
|
|
4767
|
-
if (!t || !(
|
|
4764
|
+
if (!t || !(_() ? t.getAttribute("data-pick") === "1" : t.getAttribute("data-status") === "available" && !t.hasAttribute("data-fit"))) return;
|
|
4768
4765
|
let n = t.getAttribute("data-berth-id");
|
|
4769
|
-
|
|
4770
|
-
}), this.overlayView.getPanes().overlayMouseTarget.appendChild(this.div),
|
|
4766
|
+
g()(h() === n ? null : n);
|
|
4767
|
+
}), this.overlayView.getPanes().overlayMouseTarget.appendChild(this.div), de();
|
|
4771
4768
|
}, this.overlayView.draw = () => {
|
|
4772
4769
|
if (!this.div) return;
|
|
4773
4770
|
let e = this.overlayView.getProjection();
|
|
@@ -4782,70 +4779,70 @@ function vo(e, t) {
|
|
|
4782
4779
|
this.overlayView.setMap(e);
|
|
4783
4780
|
}
|
|
4784
4781
|
}
|
|
4785
|
-
function
|
|
4786
|
-
let e =
|
|
4782
|
+
function de() {
|
|
4783
|
+
let e = y?.getRootNode();
|
|
4787
4784
|
if (!e) return;
|
|
4788
|
-
let t = new Map(
|
|
4785
|
+
let t = new Map(d().map((e) => [e.berthId, e]));
|
|
4789
4786
|
e.querySelectorAll("[data-berth-id]").forEach((e) => {
|
|
4790
4787
|
let n = e.getAttribute("data-berth-id") ?? "", r = t.get(n);
|
|
4791
|
-
!
|
|
4788
|
+
!_() && r && !ro(r, m()) ? e.setAttribute("data-fit", "small") : e.removeAttribute("data-fit"), n === h() ? e.setAttribute("data-selected", "1") : e.removeAttribute("data-selected");
|
|
4792
4789
|
});
|
|
4793
4790
|
}
|
|
4794
|
-
function
|
|
4791
|
+
function fe(e, t) {
|
|
4795
4792
|
let n = e.berth.status !== "available";
|
|
4796
|
-
e.pickable = io(e.berth,
|
|
4797
|
-
let r = t ===
|
|
4793
|
+
e.pickable = io(e.berth, m(), _());
|
|
4794
|
+
let r = t === h() ? q(ne) : n ? _() ? q(O) : D : e.pickable ? q(T) : E;
|
|
4798
4795
|
e.circle.setOptions({
|
|
4799
4796
|
...r,
|
|
4800
4797
|
clickable: e.pickable
|
|
4801
|
-
}), e.hull?.setOptions({ fillOpacity: r ===
|
|
4798
|
+
}), e.hull?.setOptions({ fillOpacity: r === E || r === D ? .2 : .85 });
|
|
4802
4799
|
}
|
|
4803
4800
|
qr(() => {
|
|
4804
4801
|
let e = !1;
|
|
4805
4802
|
return Ra(n()).then(() => {
|
|
4806
|
-
if (e || !
|
|
4807
|
-
let t = window.google.maps, n = new t.Map(
|
|
4803
|
+
if (e || !y) return;
|
|
4804
|
+
let t = window.google.maps, n = new t.Map(y, {
|
|
4808
4805
|
center: i(),
|
|
4809
4806
|
zoom: 15,
|
|
4810
4807
|
disableDefaultUI: !0,
|
|
4811
4808
|
zoomControl: !0,
|
|
4812
|
-
styles: r() === "coastal" ? q(
|
|
4809
|
+
styles: r() === "coastal" ? q(oe) : ae,
|
|
4813
4810
|
backgroundColor: r() === "coastal" ? "#f5efe4" : "#ffffff"
|
|
4814
4811
|
});
|
|
4815
4812
|
t.event.addListenerOnce(n, "idle", () => {
|
|
4816
|
-
e || V(
|
|
4813
|
+
e || V(b, n);
|
|
4817
4814
|
});
|
|
4818
4815
|
}), () => {
|
|
4819
4816
|
e = !0;
|
|
4820
4817
|
};
|
|
4821
4818
|
});
|
|
4822
|
-
let
|
|
4819
|
+
let pe = null, me = null;
|
|
4823
4820
|
Tn(() => {
|
|
4824
|
-
!q(
|
|
4821
|
+
!q(b) || i().lat === pe && i().lng === me || (pe = i().lat, me = i().lng, q(b).setCenter(i()));
|
|
4825
4822
|
}), Tn(() => {
|
|
4826
|
-
|
|
4823
|
+
h(), m(), d(), _(), de();
|
|
4827
4824
|
});
|
|
4828
|
-
function
|
|
4829
|
-
if (!q(
|
|
4825
|
+
function he() {
|
|
4826
|
+
if (!q(b) || r() !== "chart") return;
|
|
4830
4827
|
let e = new window.google.maps.LatLngBounds();
|
|
4831
|
-
for (let t of
|
|
4828
|
+
for (let t of d()) {
|
|
4832
4829
|
if (t.lat == null || t.lng == null || !t.berthId) continue;
|
|
4833
|
-
let n = window.google.maps, r = mo(t,
|
|
4834
|
-
map: q(
|
|
4830
|
+
let n = window.google.maps, r = mo(t, f()), i = r == null ? new n.Circle({
|
|
4831
|
+
map: q(b),
|
|
4835
4832
|
center: {
|
|
4836
4833
|
lat: t.lat,
|
|
4837
4834
|
lng: t.lng
|
|
4838
4835
|
},
|
|
4839
|
-
radius:
|
|
4840
|
-
...q(
|
|
4836
|
+
radius: k(t),
|
|
4837
|
+
...q(T)
|
|
4841
4838
|
}) : new n.Polygon({
|
|
4842
|
-
map: q(
|
|
4839
|
+
map: q(b),
|
|
4843
4840
|
paths: ho(t, r, fo),
|
|
4844
|
-
...q(
|
|
4841
|
+
...q(T)
|
|
4845
4842
|
}), o = {
|
|
4846
4843
|
circle: i,
|
|
4847
4844
|
hull: r == null ? null : new n.Polygon({
|
|
4848
|
-
map: q(
|
|
4845
|
+
map: q(b),
|
|
4849
4846
|
paths: ho(t, r, po, .8),
|
|
4850
4847
|
clickable: !1,
|
|
4851
4848
|
zIndex: 1,
|
|
@@ -4857,42 +4854,42 @@ function vo(e, t) {
|
|
|
4857
4854
|
berth: t,
|
|
4858
4855
|
pickable: !1
|
|
4859
4856
|
};
|
|
4860
|
-
|
|
4861
|
-
o.pickable && t.berthId !==
|
|
4857
|
+
x.set(t.berthId, o), J(() => fe(o, t.berthId)), i.addListener("click", () => g()(t.berthId === h() ? null : t.berthId)), i.addListener("mouseover", () => {
|
|
4858
|
+
o.pickable && t.berthId !== h() && i.setOptions(q(te));
|
|
4862
4859
|
}), i.addListener("mouseout", () => {
|
|
4863
|
-
t.berthId !==
|
|
4860
|
+
t.berthId !== h() && fe(o, t.berthId);
|
|
4864
4861
|
}), e.extend({
|
|
4865
4862
|
lat: t.lat,
|
|
4866
4863
|
lng: t.lng
|
|
4867
4864
|
});
|
|
4868
4865
|
}
|
|
4869
|
-
|
|
4866
|
+
x.size && !C && (C = !0, e.extend(i()), q(b).fitBounds(e, w()));
|
|
4870
4867
|
}
|
|
4871
4868
|
Tn(() => {
|
|
4872
|
-
if (!(!q(
|
|
4873
|
-
for (let e of
|
|
4874
|
-
|
|
4869
|
+
if (!(!q(b) || r() !== "chart")) {
|
|
4870
|
+
for (let e of x.values()) e.circle.setMap(null), e.hull?.setMap(null);
|
|
4871
|
+
x.clear(), he();
|
|
4875
4872
|
}
|
|
4876
4873
|
}), Tn(() => {
|
|
4877
|
-
if (!q(
|
|
4878
|
-
for (let e of
|
|
4874
|
+
if (!q(b)) return;
|
|
4875
|
+
for (let e of S) e.setMap(null);
|
|
4879
4876
|
let e = [];
|
|
4880
|
-
|
|
4881
|
-
for (let t of
|
|
4877
|
+
c() && e.push(new se(i(), c(), l(), null));
|
|
4878
|
+
for (let t of u()) t.logoMark && e.push(new se({
|
|
4882
4879
|
lat: t.lat,
|
|
4883
4880
|
lng: t.lng
|
|
4884
4881
|
}, t.logoMark, t.name, t.href));
|
|
4885
|
-
for (let t of e) t.setMap(q(
|
|
4886
|
-
|
|
4882
|
+
for (let t of e) t.setMap(q(b));
|
|
4883
|
+
S = e;
|
|
4887
4884
|
}), Tn(() => {
|
|
4888
|
-
if (!q(
|
|
4889
|
-
for (let e of
|
|
4890
|
-
let e =
|
|
4891
|
-
if (
|
|
4892
|
-
let t = new
|
|
4893
|
-
return t.setMap(q(
|
|
4894
|
-
}), e.length && !
|
|
4895
|
-
|
|
4885
|
+
if (!q(b) || r() !== "coastal") return;
|
|
4886
|
+
for (let e of ee) e.setMap(null);
|
|
4887
|
+
let e = f().length ? f() : p() ? [p()] : [];
|
|
4888
|
+
if (ee = e.map((e) => {
|
|
4889
|
+
let t = new ue(e);
|
|
4890
|
+
return t.setMap(q(b)), t;
|
|
4891
|
+
}), e.length && !C) {
|
|
4892
|
+
C = !0;
|
|
4896
4893
|
let t = new window.google.maps.LatLngBounds();
|
|
4897
4894
|
for (let n of e) t.extend({
|
|
4898
4895
|
lat: n.swLat,
|
|
@@ -4901,17 +4898,17 @@ function vo(e, t) {
|
|
|
4901
4898
|
lat: n.neLat,
|
|
4902
4899
|
lng: n.neLng
|
|
4903
4900
|
});
|
|
4904
|
-
q(
|
|
4901
|
+
q(b).fitBounds(t, w());
|
|
4905
4902
|
}
|
|
4906
4903
|
});
|
|
4907
|
-
let
|
|
4904
|
+
let ge = null;
|
|
4908
4905
|
Tn(() => {
|
|
4909
|
-
|
|
4910
|
-
let e =
|
|
4911
|
-
for (let [t, n] of
|
|
4912
|
-
|
|
4906
|
+
m();
|
|
4907
|
+
let e = h() != null && h() !== ge;
|
|
4908
|
+
for (let [t, n] of x) fe(n, t), e && t === h() && A(n);
|
|
4909
|
+
ge = h();
|
|
4913
4910
|
});
|
|
4914
|
-
var
|
|
4911
|
+
var _e = {
|
|
4915
4912
|
get mapsApiKey() {
|
|
4916
4913
|
return n();
|
|
4917
4914
|
},
|
|
@@ -4942,74 +4939,80 @@ function vo(e, t) {
|
|
|
4942
4939
|
set gold(e) {
|
|
4943
4940
|
o(e), z();
|
|
4944
4941
|
},
|
|
4945
|
-
get
|
|
4942
|
+
get sea() {
|
|
4946
4943
|
return s();
|
|
4947
4944
|
},
|
|
4948
|
-
set
|
|
4945
|
+
set sea(e = "") {
|
|
4949
4946
|
s(e), z();
|
|
4950
4947
|
},
|
|
4951
|
-
get
|
|
4948
|
+
get logoMark() {
|
|
4952
4949
|
return c();
|
|
4953
4950
|
},
|
|
4954
|
-
set
|
|
4951
|
+
set logoMark(e = null) {
|
|
4955
4952
|
c(e), z();
|
|
4956
4953
|
},
|
|
4957
|
-
get
|
|
4954
|
+
get marinaName() {
|
|
4958
4955
|
return l();
|
|
4959
4956
|
},
|
|
4960
|
-
set
|
|
4957
|
+
set marinaName(e = "") {
|
|
4961
4958
|
l(e), z();
|
|
4962
4959
|
},
|
|
4963
|
-
get
|
|
4960
|
+
get otherMarinas() {
|
|
4964
4961
|
return u();
|
|
4965
4962
|
},
|
|
4966
|
-
set
|
|
4963
|
+
set otherMarinas(e) {
|
|
4967
4964
|
u(e), z();
|
|
4968
4965
|
},
|
|
4969
|
-
get
|
|
4966
|
+
get berths() {
|
|
4970
4967
|
return d();
|
|
4971
4968
|
},
|
|
4972
|
-
set
|
|
4969
|
+
set berths(e) {
|
|
4973
4970
|
d(e), z();
|
|
4974
4971
|
},
|
|
4975
|
-
get
|
|
4972
|
+
get overlays() {
|
|
4976
4973
|
return f();
|
|
4977
4974
|
},
|
|
4978
|
-
set
|
|
4975
|
+
set overlays(e) {
|
|
4979
4976
|
f(e), z();
|
|
4980
4977
|
},
|
|
4981
|
-
get
|
|
4978
|
+
get layout() {
|
|
4982
4979
|
return p();
|
|
4983
4980
|
},
|
|
4984
|
-
set
|
|
4981
|
+
set layout(e) {
|
|
4985
4982
|
p(e), z();
|
|
4986
4983
|
},
|
|
4987
|
-
get
|
|
4984
|
+
get loa() {
|
|
4988
4985
|
return m();
|
|
4989
4986
|
},
|
|
4990
|
-
set
|
|
4987
|
+
set loa(e) {
|
|
4991
4988
|
m(e), z();
|
|
4992
4989
|
},
|
|
4993
|
-
get
|
|
4990
|
+
get selectedBerth() {
|
|
4994
4991
|
return h();
|
|
4995
4992
|
},
|
|
4996
|
-
set
|
|
4993
|
+
set selectedBerth(e) {
|
|
4997
4994
|
h(e), z();
|
|
4998
4995
|
},
|
|
4999
|
-
get
|
|
4996
|
+
get onBerthClick() {
|
|
5000
4997
|
return g();
|
|
5001
4998
|
},
|
|
5002
|
-
set
|
|
4999
|
+
set onBerthClick(e) {
|
|
5003
5000
|
g(e), z();
|
|
5004
5001
|
},
|
|
5005
|
-
get
|
|
5002
|
+
get staff() {
|
|
5006
5003
|
return _();
|
|
5007
5004
|
},
|
|
5008
|
-
set
|
|
5005
|
+
set staff(e = !1) {
|
|
5009
5006
|
_(e), z();
|
|
5007
|
+
},
|
|
5008
|
+
get fitInset() {
|
|
5009
|
+
return v();
|
|
5010
|
+
},
|
|
5011
|
+
set fitInset(e) {
|
|
5012
|
+
v(e), z();
|
|
5010
5013
|
}
|
|
5011
|
-
},
|
|
5012
|
-
return Ai(
|
|
5014
|
+
}, ve = go();
|
|
5015
|
+
return Ai(ve, (e) => y = e, () => y), X(e, ve), Ze(_e);
|
|
5013
5016
|
}
|
|
5014
5017
|
Ii(vo, {
|
|
5015
5018
|
mapsApiKey: {},
|
|
@@ -5017,6 +5020,7 @@ Ii(vo, {
|
|
|
5017
5020
|
center: {},
|
|
5018
5021
|
navy: {},
|
|
5019
5022
|
gold: {},
|
|
5023
|
+
sea: {},
|
|
5020
5024
|
logoMark: {},
|
|
5021
5025
|
marinaName: {},
|
|
5022
5026
|
otherMarinas: {},
|
|
@@ -5896,6 +5900,7 @@ var vs = {
|
|
|
5896
5900
|
contractAgreedOn: (e) => `Accettato il ${e}`,
|
|
5897
5901
|
cancelBooking: "Annulla prenotazione",
|
|
5898
5902
|
cancelConfirm: "Vuoi annullare questa prenotazione? L'ormeggio verrà rilasciato.",
|
|
5903
|
+
keepBooking: "Mantieni la prenotazione",
|
|
5899
5904
|
startOver: "Nuova prenotazione",
|
|
5900
5905
|
docsStep: {
|
|
5901
5906
|
intro: "Questa marina richiede i tuoi documenti prima della prenotazione. Accedi con Sidon per aggiungerli: resteranno nel tuo account per le prossime prenotazioni.",
|
|
@@ -6040,6 +6045,7 @@ var vs = {
|
|
|
6040
6045
|
contractAgreedOn: (e) => `Agreed on ${e}`,
|
|
6041
6046
|
cancelBooking: "Cancel booking",
|
|
6042
6047
|
cancelConfirm: "Cancel this booking? The berth will be released.",
|
|
6048
|
+
keepBooking: "Keep booking",
|
|
6043
6049
|
startOver: "Start a new booking",
|
|
6044
6050
|
docsStep: {
|
|
6045
6051
|
intro: "This marina needs your documents before you book. Sign in with Sidon to add them; they stay in your account for your next booking.",
|
|
@@ -6184,6 +6190,7 @@ var vs = {
|
|
|
6184
6190
|
contractAgreedOn: (e) => `Accepté le ${e}`,
|
|
6185
6191
|
cancelBooking: "Annuler la réservation",
|
|
6186
6192
|
cancelConfirm: "Annuler cette réservation ? La place sera libérée.",
|
|
6193
|
+
keepBooking: "Garder la réservation",
|
|
6187
6194
|
startOver: "Nouvelle réservation",
|
|
6188
6195
|
docsStep: {
|
|
6189
6196
|
intro: "Ce port demande vos documents avant la réservation. Connectez-vous avec Sidon pour les ajouter : ils restent dans votre compte pour vos prochaines réservations.",
|
|
@@ -6328,6 +6335,7 @@ var vs = {
|
|
|
6328
6335
|
contractAgreedOn: (e) => `Aceptado el ${e}`,
|
|
6329
6336
|
cancelBooking: "Cancelar reserva",
|
|
6330
6337
|
cancelConfirm: "¿Cancelar esta reserva? El amarre quedará libre.",
|
|
6338
|
+
keepBooking: "Mantener la reserva",
|
|
6331
6339
|
startOver: "Nueva reserva",
|
|
6332
6340
|
docsStep: {
|
|
6333
6341
|
intro: "Este puerto necesita tus documentos antes de reservar. Inicia sesión con Sidon para añadirlos: se quedan en tu cuenta para tus próximas reservas.",
|
|
@@ -12694,9 +12702,9 @@ var lc = /* @__PURE__ */ s(((e, t) => {
|
|
|
12694
12702
|
return e;
|
|
12695
12703
|
})(t.exports, e)), t.exports;
|
|
12696
12704
|
});
|
|
12697
|
-
})), uc = /* @__PURE__ */ Y("<button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button>"), dc = /* @__PURE__ */ Y("<div class=\"sbw-view-error sbw-view-error-first svelte-1312f6m\" role=\"alert\"> </div> <div class=\"sbw-view-actions svelte-1312f6m\"><button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button> <!></div>", 1), fc = /* @__PURE__ */ Y("<div class=\"sbw-view-loading svelte-1312f6m\"> </div>"), pc = /* @__PURE__ */ Pr("<circle cx=\"12\" cy=\"12\" r=\"8.5\" class=\"svelte-1312f6m\"></circle><path d=\"M12 7.5V12l3 2\" class=\"svelte-1312f6m\"></path>", 1), mc = /* @__PURE__ */ Pr("<path d=\"M5 12.5l4.5 4.5L19 7.5\" class=\"svelte-1312f6m\"></path>"), hc = /* @__PURE__ */ Pr("<path d=\"M6.5 6.5l11 11M17.5 6.5l-11 11\" class=\"svelte-1312f6m\"></path>"), gc = /* @__PURE__ */ Y("<p class=\"sbw-hero-live svelte-1312f6m\"><span class=\"sbw-live-dot svelte-1312f6m\"></span> </p>"), _c = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span> <span class=\"sbw-panel-amount svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <div class=\"sbw-card svelte-1312f6m\"></div> <button type=\"button\" class=\"sbw-btn-primary svelte-1312f6m\"> </button></div>"), vc = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button></div>"), yc = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p></div>"), bc = /* @__PURE__ */ Y("<div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div>"), xc = /* @__PURE__ */ Y("<div class=\"sbw-view-error svelte-1312f6m\" role=\"alert\"> </div>"), Sc = /* @__PURE__ */ Y("<div class=\"sbw-view-actions svelte-1312f6m\"><!> <!></div>"), Cc = /* @__PURE__ */ Y("<div role=\"status\"><div class=\"sbw-hero-icon svelte-1312f6m\" aria-hidden=\"true\"><svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"svelte-1312f6m\"><!></svg></div> <div class=\"sbw-hero-eyebrow svelte-1312f6m\"> </div> <h3 class=\"sbw-hero-title svelte-1312f6m\"> </h3> <p class=\"sbw-hero-body svelte-1312f6m\"> </p> <!></div> <!> <div class=\"sbw-facts-heading svelte-1312f6m\"> </div> <dl class=\"sbw-facts svelte-1312f6m\"><div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt> <dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <!> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt> <dd class=\"svelte-1312f6m\"> </dd></div></dl> <!> <!> <!> <!>", 1), wc = /* @__PURE__ */ Y("<div><!></div>"), Tc = {
|
|
12705
|
+
})), uc = /* @__PURE__ */ Y("<button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button>"), dc = /* @__PURE__ */ Y("<div class=\"sbw-view-error sbw-view-error-first svelte-1312f6m\" role=\"alert\"> </div> <div class=\"sbw-view-actions svelte-1312f6m\"><button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button> <!></div>", 1), fc = /* @__PURE__ */ Y("<div class=\"sbw-view-loading svelte-1312f6m\"> </div>"), pc = /* @__PURE__ */ Pr("<circle cx=\"12\" cy=\"12\" r=\"8.5\" class=\"svelte-1312f6m\"></circle><path d=\"M12 7.5V12l3 2\" class=\"svelte-1312f6m\"></path>", 1), mc = /* @__PURE__ */ Pr("<path d=\"M5 12.5l4.5 4.5L19 7.5\" class=\"svelte-1312f6m\"></path>"), hc = /* @__PURE__ */ Pr("<path d=\"M6.5 6.5l11 11M17.5 6.5l-11 11\" class=\"svelte-1312f6m\"></path>"), gc = /* @__PURE__ */ Y("<p class=\"sbw-hero-live svelte-1312f6m\"><span class=\"sbw-live-dot svelte-1312f6m\"></span> </p>"), _c = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span> <span class=\"sbw-panel-amount svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <div class=\"sbw-card svelte-1312f6m\"></div> <button type=\"button\" class=\"sbw-btn-primary svelte-1312f6m\"> </button></div>"), vc = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <p class=\"sbw-panel-note svelte-1312f6m\"> </p> <button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button></div>"), yc = /* @__PURE__ */ Y("<div class=\"sbw-panel svelte-1312f6m\"><div class=\"sbw-panel-heading svelte-1312f6m\"><span class=\"svelte-1312f6m\"> </span></div> <p class=\"sbw-panel-note svelte-1312f6m\"> </p></div>"), bc = /* @__PURE__ */ Y("<div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div>"), xc = /* @__PURE__ */ Y("<div class=\"sbw-view-error svelte-1312f6m\" role=\"alert\"> </div>"), Sc = /* @__PURE__ */ Y("<div class=\"sbw-view-actions svelte-1312f6m\"><!> <!></div>"), Cc = /* @__PURE__ */ Y("<div role=\"status\"><div class=\"sbw-hero-icon svelte-1312f6m\" aria-hidden=\"true\"><svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"svelte-1312f6m\"><!></svg></div> <div class=\"sbw-hero-eyebrow svelte-1312f6m\"> </div> <h3 class=\"sbw-hero-title svelte-1312f6m\"> </h3> <p class=\"sbw-hero-body svelte-1312f6m\"> </p> <!></div> <!> <div class=\"sbw-facts-heading svelte-1312f6m\"> </div> <dl class=\"sbw-facts svelte-1312f6m\"><div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt> <dd class=\"svelte-1312f6m\"> </dd></div> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt><dd class=\"svelte-1312f6m\"> </dd></div> <!> <div class=\"svelte-1312f6m\"><dt class=\"svelte-1312f6m\"> </dt> <dd class=\"svelte-1312f6m\"> </dd></div></dl> <!> <!> <!> <!> <dialog class=\"sbw-confirm svelte-1312f6m\" aria-labelledby=\"sbw-confirm-title\"><h2 id=\"sbw-confirm-title\" class=\"sbw-confirm-title svelte-1312f6m\"> </h2> <p class=\"sbw-confirm-body svelte-1312f6m\"> </p> <div class=\"sbw-confirm-actions svelte-1312f6m\"><button type=\"button\" class=\"sbw-btn-secondary svelte-1312f6m\"> </button> <button type=\"button\" class=\"sbw-btn-primary svelte-1312f6m\"> </button></div></dialog>", 1), wc = /* @__PURE__ */ Y("<div><!></div>"), Tc = {
|
|
12698
12706
|
hash: "svelte-1312f6m",
|
|
12699
|
-
code: ".sbw-view.svelte-1312f6m {display:flex;flex-direction:column;color:var(--brand-ink, #252525);}.sbw-view-loading.svelte-1312f6m {padding:32px 20px;font-size:14px;text-align:center;color:#666;}.sbw-view-error.svelte-1312f6m {margin:0 20px 16px;font-size:14px;color:#cc4949;}.sbw-view-error-first.svelte-1312f6m {margin-top:24px;}\r\n /* Hero: the 0.4 SentStep panel, one state per OTA status (+ expired). */.sbw-hero.svelte-1312f6m {display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:32px 20px;}.sbw-hero-icon.svelte-1312f6m {width:56px;height:56px;border-radius:999px;background:var(--brand-gold, #c9a86b);color:var(--brand-navy, #16365b);display:flex;align-items:center;justify-content:center;}.sbw-hero-ok.svelte-1312f6m .sbw-hero-icon:where(.svelte-1312f6m) {background:#1f9d55;color:#fff;}.sbw-hero-bad.svelte-1312f6m .sbw-hero-icon:where(.svelte-1312f6m) {background:#cc4949;color:#fff;}.sbw-hero-eyebrow.svelte-1312f6m {font-size:11px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--brand-gold, #c9a86b);}.sbw-hero-ok.svelte-1312f6m .sbw-hero-eyebrow:where(.svelte-1312f6m) {color:#1f9d55;}.sbw-hero-bad.svelte-1312f6m .sbw-hero-eyebrow:where(.svelte-1312f6m) {color:#cc4949;}.sbw-hero-title.svelte-1312f6m {font-size:32px;font-weight:400;text-transform:uppercase;color:var(--brand-navy, #16365b);margin:0;}.sbw-hero-body.svelte-1312f6m {font-size:14px;color:#252525;max-width:420px;line-height:1.7;margin:0;}.sbw-hero-live.svelte-1312f6m {display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#666;}.sbw-live-dot.svelte-1312f6m {width:8px;height:8px;border-radius:999px;background:var(--brand-gold, #c9a86b);\r\n animation: svelte-1312f6m-sbw-pulse 1.6s ease-in-out infinite;}\r\n @keyframes svelte-1312f6m-sbw-pulse {\r\n 50% {\r\n opacity: 0.3;\r\n }\r\n }\r\n @media (prefers-reduced-motion: reduce) {.sbw-live-dot.svelte-1312f6m {\r\n animation: none;}\r\n }.sbw-panel.svelte-1312f6m {display:flex;flex-direction:column;gap:10px;margin:0 20px 20px;padding:16px;border:1px solid #e4e7ec;border-radius:var(--sbw-radius, 10px);}.sbw-panel-heading.svelte-1312f6m {display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#252525;}.sbw-panel-amount.svelte-1312f6m {font-size:22px;font-weight:500;color:var(--brand-navy, #16365b);}.sbw-panel-note.svelte-1312f6m {font-size:12px;color:#252525;line-height:1.6;margin:0;}.sbw-card.svelte-1312f6m {padding:14px;border-radius:12px;border:1px solid #e4e7ec;background:#fff;}.sbw-facts-heading.svelte-1312f6m {padding:0 20px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#252525;}.sbw-facts.svelte-1312f6m {display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:10px 0 0;padding:0 20px 20px;}.sbw-facts.svelte-1312f6m dt:where(.svelte-1312f6m) {font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#666;}.sbw-facts.svelte-1312f6m dd:where(.svelte-1312f6m) {margin:2px 0 0;font-size:15px;color:var(--brand-navy, #16365b);overflow-wrap:anywhere;}.sbw-view-actions.svelte-1312f6m {display:flex;flex-wrap:wrap;gap:12px;padding:0 20px 20px;}\r\n /* Buttons mirror StepNav's Back/Next. The primary one is :global so\r\n ContractSection's Agree button picks up the same variant styling. */.sbw-btn-secondary.svelte-1312f6m {height:52px;padding:0 24px;border-radius:var(--sbw-radius, 10px);border:1px solid rgba(37, 37, 37, 0.15);background:transparent;color:var(--brand-navy, #16365b);font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;cursor:pointer;}.sbw-btn-secondary.svelte-1312f6m:hover:not(:disabled) {background:#fafafa;}.sbw-view.svelte-1312f6m .sbw-btn-primary {height:56px;border-radius:var(--sbw-radius, 10px);border:none;background:var(--brand-gold, #c9a86b);color:var(--brand-navy, #16365b);font-size:13px;font-weight:600;letter-spacing:2px;text-transform:uppercase;cursor:pointer;}.sbw-view.svelte-1312f6m .sbw-btn-primary:hover:not(:disabled) {background:var(--brand-navy, #16365b);color:#fff;}.sbw-btn-secondary.svelte-1312f6m:disabled,\r\n .sbw-view.svelte-1312f6m .sbw-btn-primary:disabled {opacity:0.4;cursor:not-allowed;}\r\n /* 'dark' variant (Fox/Pevero): flush corners, solid ink, gold on hover. */.sbw-variant-dark.svelte-1312f6m .sbw-btn-secondary:where(.svelte-1312f6m) {border-radius:0;color:var(--brand-ink, #252525);}.sbw-view.sbw-variant-dark.svelte-1312f6m .sbw-btn-primary {border-radius:0;background:var(--brand-ink, #252525);color:#fff;}.sbw-view.sbw-variant-dark.svelte-1312f6m .sbw-btn-primary:hover:not(:disabled) {background:var(--brand-gold, #c9a86b);color:var(--brand-ink, #252525);}"
|
|
12707
|
+
code: ".sbw-view.svelte-1312f6m {display:flex;flex-direction:column;color:var(--brand-ink, #252525);}.sbw-view-loading.svelte-1312f6m {padding:32px 20px;font-size:14px;text-align:center;color:#666;}.sbw-view-error.svelte-1312f6m {margin:0 20px 16px;font-size:14px;color:#cc4949;}.sbw-view-error-first.svelte-1312f6m {margin-top:24px;}\r\n /* Hero: the 0.4 SentStep panel, one state per OTA status (+ expired). */.sbw-hero.svelte-1312f6m {display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:32px 20px;}.sbw-hero-icon.svelte-1312f6m {width:56px;height:56px;border-radius:999px;background:var(--brand-gold, #c9a86b);color:var(--brand-navy, #16365b);display:flex;align-items:center;justify-content:center;}.sbw-hero-ok.svelte-1312f6m .sbw-hero-icon:where(.svelte-1312f6m) {background:#1f9d55;color:#fff;}.sbw-hero-bad.svelte-1312f6m .sbw-hero-icon:where(.svelte-1312f6m) {background:#cc4949;color:#fff;}.sbw-hero-eyebrow.svelte-1312f6m {font-size:11px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--brand-gold, #c9a86b);}.sbw-hero-ok.svelte-1312f6m .sbw-hero-eyebrow:where(.svelte-1312f6m) {color:#1f9d55;}.sbw-hero-bad.svelte-1312f6m .sbw-hero-eyebrow:where(.svelte-1312f6m) {color:#cc4949;}.sbw-hero-title.svelte-1312f6m {font-size:32px;font-weight:400;text-transform:uppercase;color:var(--brand-navy, #16365b);margin:0;}.sbw-hero-body.svelte-1312f6m {font-size:14px;color:#252525;max-width:420px;line-height:1.7;margin:0;}.sbw-hero-live.svelte-1312f6m {display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#666;}.sbw-live-dot.svelte-1312f6m {width:8px;height:8px;border-radius:999px;background:var(--brand-gold, #c9a86b);\r\n animation: svelte-1312f6m-sbw-pulse 1.6s ease-in-out infinite;}\r\n @keyframes svelte-1312f6m-sbw-pulse {\r\n 50% {\r\n opacity: 0.3;\r\n }\r\n }\r\n @media (prefers-reduced-motion: reduce) {.sbw-live-dot.svelte-1312f6m {\r\n animation: none;}\r\n }.sbw-panel.svelte-1312f6m {display:flex;flex-direction:column;gap:10px;margin:0 20px 20px;padding:16px;border:1px solid #e4e7ec;border-radius:var(--sbw-radius, 10px);}.sbw-panel-heading.svelte-1312f6m {display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#252525;}.sbw-panel-amount.svelte-1312f6m {font-size:22px;font-weight:500;color:var(--brand-navy, #16365b);}.sbw-panel-note.svelte-1312f6m {font-size:12px;color:#252525;line-height:1.6;margin:0;}.sbw-card.svelte-1312f6m {padding:14px;border-radius:12px;border:1px solid #e4e7ec;background:#fff;}.sbw-facts-heading.svelte-1312f6m {padding:0 20px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#252525;}.sbw-facts.svelte-1312f6m {display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:10px 0 0;padding:0 20px 20px;}.sbw-facts.svelte-1312f6m dt:where(.svelte-1312f6m) {font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#666;}.sbw-facts.svelte-1312f6m dd:where(.svelte-1312f6m) {margin:2px 0 0;font-size:15px;color:var(--brand-navy, #16365b);overflow-wrap:anywhere;}.sbw-view-actions.svelte-1312f6m {display:flex;flex-wrap:wrap;gap:12px;padding:0 20px 20px;}\r\n /* Buttons mirror StepNav's Back/Next. The primary one is :global so\r\n ContractSection's Agree button picks up the same variant styling. */.sbw-btn-secondary.svelte-1312f6m {height:52px;padding:0 24px;border-radius:var(--sbw-radius, 10px);border:1px solid rgba(37, 37, 37, 0.15);background:transparent;color:var(--brand-navy, #16365b);font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;cursor:pointer;}.sbw-btn-secondary.svelte-1312f6m:hover:not(:disabled) {background:#fafafa;}.sbw-view.svelte-1312f6m .sbw-btn-primary {height:56px;border-radius:var(--sbw-radius, 10px);border:none;background:var(--brand-gold, #c9a86b);color:var(--brand-navy, #16365b);font-size:13px;font-weight:600;letter-spacing:2px;text-transform:uppercase;cursor:pointer;}.sbw-view.svelte-1312f6m .sbw-btn-primary:hover:not(:disabled) {background:var(--brand-navy, #16365b);color:#fff;}.sbw-btn-secondary.svelte-1312f6m:disabled,\r\n .sbw-view.svelte-1312f6m .sbw-btn-primary:disabled {opacity:0.4;cursor:not-allowed;}\r\n /* Cancel confirmation: DocumentsStep's sign-in dialog, with this view's buttons. */.sbw-confirm.svelte-1312f6m {box-sizing:border-box;width:min(440px, calc(100vw - 40px));padding:32px;border:none;border-radius:var(--sbw-radius, 10px);background:#fff;color:var(--brand-ink, #252525);text-align:center;box-shadow:0 24px 64px rgba(0, 0, 0, 0.35);}.sbw-confirm[open].svelte-1312f6m {\r\n animation: svelte-1312f6m-sbw-confirm-in 0.35s ease-out;}.sbw-confirm.svelte-1312f6m::backdrop {background:rgba(5, 4, 15, 0.55);backdrop-filter:blur(3px);}\r\n @keyframes svelte-1312f6m-sbw-confirm-in {\r\n from {\r\n opacity: 0;\r\n transform: translateY(12px);\r\n }\r\n }\r\n @media (prefers-reduced-motion: reduce) {.sbw-confirm[open].svelte-1312f6m {\r\n animation: none;}\r\n }.sbw-confirm-title.svelte-1312f6m {margin:0 0 8px;font-size:22px;font-weight:600;line-height:1.2;color:var(--brand-navy, #16365b);}.sbw-confirm-body.svelte-1312f6m {margin:0 0 24px;font-size:14px;line-height:1.65;color:#666;}.sbw-confirm-actions.svelte-1312f6m {display:flex;flex-wrap:wrap;gap:12px;}\r\n /* .sbw-view: outranks the :global primary rule, so both buttons match. */.sbw-view.svelte-1312f6m .sbw-confirm-actions:where(.svelte-1312f6m) button:where(.svelte-1312f6m) {flex:1 1 150px;height:52px;padding:0 16px;font-size:12px;}.sbw-variant-dark.svelte-1312f6m .sbw-confirm:where(.svelte-1312f6m) {border-radius:0;}\r\n /* 'dark' variant (Fox/Pevero): flush corners, solid ink, gold on hover. */.sbw-variant-dark.svelte-1312f6m .sbw-btn-secondary:where(.svelte-1312f6m) {border-radius:0;color:var(--brand-ink, #252525);}.sbw-view.sbw-variant-dark.svelte-1312f6m .sbw-btn-primary {border-radius:0;background:var(--brand-ink, #252525);color:#fff;}.sbw-view.sbw-variant-dark.svelte-1312f6m .sbw-btn-primary:hover:not(:disabled) {background:var(--brand-gold, #c9a86b);color:var(--brand-ink, #252525);}"
|
|
12700
12708
|
};
|
|
12701
12709
|
function Ec(e, t) {
|
|
12702
12710
|
Xe(t, !0), ai(e, Tc);
|
|
@@ -12775,8 +12783,9 @@ function Ec(e, t) {
|
|
|
12775
12783
|
}
|
|
12776
12784
|
await A();
|
|
12777
12785
|
}
|
|
12778
|
-
|
|
12779
|
-
|
|
12786
|
+
let le = /* @__PURE__ */ B(void 0);
|
|
12787
|
+
async function ue() {
|
|
12788
|
+
if (q(le)?.close(), !q(v)) {
|
|
12780
12789
|
V(v, !0), V(_, null);
|
|
12781
12790
|
try {
|
|
12782
12791
|
await Vo(n(), r(), i()), se();
|
|
@@ -12788,31 +12797,31 @@ function Ec(e, t) {
|
|
|
12788
12797
|
await A();
|
|
12789
12798
|
}
|
|
12790
12799
|
}
|
|
12791
|
-
async function
|
|
12800
|
+
async function de() {
|
|
12792
12801
|
q(v) || (V(v, !0), q(p)?.booking.status === "hold" && await Vo(n(), r(), i()).catch(() => {}), se(), V(v, !1), d()?.());
|
|
12793
12802
|
}
|
|
12794
|
-
async function
|
|
12803
|
+
async function fe() {
|
|
12795
12804
|
try {
|
|
12796
12805
|
let e = (await Promise.resolve().then(() => /* @__PURE__ */ u(lc()))).default;
|
|
12797
12806
|
if (E) return;
|
|
12798
12807
|
let t = new e.Realtime({ authCallback: (e, t) => {
|
|
12799
12808
|
Wo(n(), r(), i()).then((e) => {
|
|
12800
12809
|
if (e) return t(null, e);
|
|
12801
|
-
t("Live updates are not configured", null),
|
|
12810
|
+
t("Live updates are not configured", null), pe();
|
|
12802
12811
|
}, (e) => t(k(e), null));
|
|
12803
12812
|
} });
|
|
12804
|
-
D = t, t.connection.on(["failed", "suspended"], () =>
|
|
12813
|
+
D = t, t.connection.on(["failed", "suspended"], () => pe()), t.channels.get(`marina-booking:${i().id}`).subscribe("updated", () => void A()).catch(() => pe());
|
|
12805
12814
|
} catch {
|
|
12806
|
-
|
|
12815
|
+
pe();
|
|
12807
12816
|
}
|
|
12808
12817
|
}
|
|
12809
|
-
function
|
|
12818
|
+
function pe() {
|
|
12810
12819
|
D?.close(), D = null, !(E || O) && (O = setInterval(() => {
|
|
12811
12820
|
!document.hidden && q(p) && so(q(p).booking.status, q(p).booking.cardHold) && A();
|
|
12812
12821
|
}, 3e4));
|
|
12813
12822
|
}
|
|
12814
12823
|
qr(() => {
|
|
12815
|
-
A(),
|
|
12824
|
+
A(), fe();
|
|
12816
12825
|
let e = () => {
|
|
12817
12826
|
document.visibilityState === "visible" && A();
|
|
12818
12827
|
};
|
|
@@ -12820,7 +12829,7 @@ function Ec(e, t) {
|
|
|
12820
12829
|
E = !0, document.removeEventListener("visibilitychange", e), clearInterval(O), D?.close(), se();
|
|
12821
12830
|
};
|
|
12822
12831
|
});
|
|
12823
|
-
var
|
|
12832
|
+
var me = {
|
|
12824
12833
|
get apiOrigin() {
|
|
12825
12834
|
return n();
|
|
12826
12835
|
},
|
|
@@ -12875,9 +12884,9 @@ function Ec(e, t) {
|
|
|
12875
12884
|
set onstartover(e) {
|
|
12876
12885
|
d(e), z();
|
|
12877
12886
|
}
|
|
12878
|
-
},
|
|
12879
|
-
let
|
|
12880
|
-
var
|
|
12887
|
+
}, he = wc();
|
|
12888
|
+
let ge;
|
|
12889
|
+
var _e = H(he), ve = (e) => {
|
|
12881
12890
|
var t = Fr(), n = hn(t), r = (e) => {
|
|
12882
12891
|
var t = dc(), n = hn(t), r = H(n, !0);
|
|
12883
12892
|
P(n);
|
|
@@ -12887,7 +12896,7 @@ function Ec(e, t) {
|
|
|
12887
12896
|
var t = uc(), n = H(t, !0);
|
|
12888
12897
|
P(t), W(() => {
|
|
12889
12898
|
t.disabled = q(v), Z(n, q(h).startOver);
|
|
12890
|
-
}), Tr("click", t,
|
|
12899
|
+
}), Tr("click", t, de), X(e, t);
|
|
12891
12900
|
};
|
|
12892
12901
|
Q(s, (e) => {
|
|
12893
12902
|
d() && e(c);
|
|
@@ -12901,7 +12910,7 @@ function Ec(e, t) {
|
|
|
12901
12910
|
Q(n, (e) => {
|
|
12902
12911
|
q(g) ? e(r) : e(i, -1);
|
|
12903
12912
|
}), X(e, t);
|
|
12904
|
-
},
|
|
12913
|
+
}, ye = (e) => {
|
|
12905
12914
|
let t = /* @__PURE__ */ I(() => q(p).booking), a = /* @__PURE__ */ I(() => q(t).expired || q(y) ? "expired" : q(t).status);
|
|
12906
12915
|
var s = Cc(), c = hn(s);
|
|
12907
12916
|
let l;
|
|
@@ -12929,7 +12938,7 @@ function Ec(e, t) {
|
|
|
12929
12938
|
Q(ae, (e) => {
|
|
12930
12939
|
q(a) === "pending" && e(oe);
|
|
12931
12940
|
}), P(c);
|
|
12932
|
-
var se = U(c, 2),
|
|
12941
|
+
var se = U(c, 2), fe = (e) => {
|
|
12933
12942
|
var n = _c(), r = H(n), i = H(r), a = H(i, !0);
|
|
12934
12943
|
P(i);
|
|
12935
12944
|
var s = U(i, 2), c = H(s);
|
|
@@ -12944,7 +12953,7 @@ function Ec(e, t) {
|
|
|
12944
12953
|
P(g), P(n), W((e, t) => {
|
|
12945
12954
|
Z(a, q(h).paymentHold), Z(c, `${q(h).total ?? ""} ${e ?? ""}`), Z(u, q(h).paymentNote), Z(f, t), g.disabled = q(v) || !q(x), Z(_, q(v) ? q(h).sending : q(h).payAndSend);
|
|
12946
12955
|
}, [() => co(q(t).totalPrice, q(t).currency, o(), q(m)), () => q(h).holdUntil(ie(q(t).holdExpiresAt))]), Tr("click", g, ce), X(e, n);
|
|
12947
|
-
},
|
|
12956
|
+
}, pe = (e) => {
|
|
12948
12957
|
var n = vc(), r = H(n), i = H(r), a = H(i, !0);
|
|
12949
12958
|
P(i), P(r);
|
|
12950
12959
|
var o = U(r, 2), s = H(o, !0);
|
|
@@ -12955,7 +12964,7 @@ function Ec(e, t) {
|
|
|
12955
12964
|
P(u), P(n), W((e) => {
|
|
12956
12965
|
Z(a, q(h).paymentHold), Z(s, q(h).paymentUnavailable), Z(l, e), Z(d, q(h).retry);
|
|
12957
12966
|
}, [() => q(h).holdUntil(ie(q(t).holdExpiresAt))]), Tr("click", u, () => A()), X(e, n);
|
|
12958
|
-
},
|
|
12967
|
+
}, me = (e) => {
|
|
12959
12968
|
var n = yc(), r = H(n), i = H(r), a = H(i, !0);
|
|
12960
12969
|
P(i), P(r);
|
|
12961
12970
|
var o = U(r, 2), s = H(o, !0);
|
|
@@ -12964,27 +12973,27 @@ function Ec(e, t) {
|
|
|
12964
12973
|
}, [() => q(h).checkEmailBody(ie(q(t).holdExpiresAt))]), X(e, n);
|
|
12965
12974
|
};
|
|
12966
12975
|
Q(se, (e) => {
|
|
12967
|
-
q(a) === "hold" && q(b) ? e(
|
|
12976
|
+
q(a) === "hold" && q(b) ? e(fe) : q(a) === "hold" && !q(p).payment && q(t).cardHold ? e(pe, 1) : q(a) === "hold" && !q(p).payment && e(me, 2);
|
|
12968
12977
|
});
|
|
12969
|
-
var
|
|
12970
|
-
P(
|
|
12971
|
-
var
|
|
12972
|
-
P(
|
|
12973
|
-
var
|
|
12974
|
-
P(
|
|
12975
|
-
var
|
|
12976
|
-
P(
|
|
12977
|
-
var
|
|
12978
|
-
P(
|
|
12979
|
-
var
|
|
12980
|
-
P(
|
|
12981
|
-
var
|
|
12982
|
-
P(
|
|
12983
|
-
var
|
|
12984
|
-
P(
|
|
12985
|
-
var
|
|
12986
|
-
P(
|
|
12987
|
-
var
|
|
12978
|
+
var he = U(se, 2), ge = H(he, !0);
|
|
12979
|
+
P(he);
|
|
12980
|
+
var _e = U(he, 2), ve = H(_e), ye = H(ve), be = H(ye, !0);
|
|
12981
|
+
P(ye);
|
|
12982
|
+
var xe = U(ye), Se = H(xe);
|
|
12983
|
+
P(xe), P(ve);
|
|
12984
|
+
var Ce = U(ve, 2), we = H(Ce), Te = H(we, !0);
|
|
12985
|
+
P(we);
|
|
12986
|
+
var Ee = U(we), j = H(Ee);
|
|
12987
|
+
P(Ee), P(Ce);
|
|
12988
|
+
var De = U(Ce, 2), Oe = H(De), ke = H(Oe, !0);
|
|
12989
|
+
P(Oe);
|
|
12990
|
+
var Ae = U(Oe, 2), je = H(Ae, !0);
|
|
12991
|
+
P(Ae), P(De);
|
|
12992
|
+
var Me = U(De, 2), Ne = H(Me), Pe = H(Ne, !0);
|
|
12993
|
+
P(Ne);
|
|
12994
|
+
var Fe = U(Ne), Ie = H(Fe, !0);
|
|
12995
|
+
P(Fe), P(Me);
|
|
12996
|
+
var Le = U(Me, 2), Re = (e) => {
|
|
12988
12997
|
var n = bc(), r = H(n), i = H(r, !0);
|
|
12989
12998
|
P(r);
|
|
12990
12999
|
var a = U(r), o = H(a, !0);
|
|
@@ -12992,14 +13001,14 @@ function Ec(e, t) {
|
|
|
12992
13001
|
Z(i, q(h).email), Z(o, q(t).contactEmail);
|
|
12993
13002
|
}), X(e, n);
|
|
12994
13003
|
};
|
|
12995
|
-
Q(
|
|
12996
|
-
q(t).contactEmail && e(
|
|
13004
|
+
Q(Le, (e) => {
|
|
13005
|
+
q(t).contactEmail && e(Re);
|
|
12997
13006
|
});
|
|
12998
|
-
var
|
|
12999
|
-
P(
|
|
13000
|
-
var
|
|
13001
|
-
P(
|
|
13002
|
-
var
|
|
13007
|
+
var M = U(Le, 2), ze = H(M), N = H(ze, !0);
|
|
13008
|
+
P(ze);
|
|
13009
|
+
var Be = U(ze, 2), Ve = H(Be, !0);
|
|
13010
|
+
P(Be), P(M), P(_e);
|
|
13011
|
+
var Ue = U(_e, 2), We = (e) => {
|
|
13003
13012
|
cc(e, {
|
|
13004
13013
|
get apiOrigin() {
|
|
13005
13014
|
return n();
|
|
@@ -13022,31 +13031,31 @@ function Ec(e, t) {
|
|
|
13022
13031
|
onchange: A
|
|
13023
13032
|
});
|
|
13024
13033
|
};
|
|
13025
|
-
Q(
|
|
13026
|
-
q(p).contract && (q(a) === "pending" || q(a) === "confirmed") && e(
|
|
13034
|
+
Q(Ue, (e) => {
|
|
13035
|
+
q(p).contract && (q(a) === "pending" || q(a) === "confirmed") && e(We);
|
|
13027
13036
|
});
|
|
13028
|
-
var
|
|
13037
|
+
var Ge = U(Ue, 2), Ke = (e) => {
|
|
13029
13038
|
var t = xc(), n = H(t, !0);
|
|
13030
13039
|
P(t), W(() => Z(n, q(_))), X(e, t);
|
|
13031
13040
|
};
|
|
13032
|
-
Q(
|
|
13033
|
-
q(_) && e(
|
|
13041
|
+
Q(Ge, (e) => {
|
|
13042
|
+
q(_) && e(Ke);
|
|
13034
13043
|
});
|
|
13035
|
-
var
|
|
13044
|
+
var qe = U(Ge, 2), Je = (e) => {
|
|
13036
13045
|
var t = uc(), n = H(t, !0);
|
|
13037
13046
|
P(t), W(() => Z(n, q(h).retry)), Tr("click", t, () => {
|
|
13038
13047
|
V(_, null), A();
|
|
13039
13048
|
}), X(e, t);
|
|
13040
13049
|
};
|
|
13041
|
-
Q(
|
|
13042
|
-
q(te) && e(
|
|
13050
|
+
Q(qe, (e) => {
|
|
13051
|
+
q(te) && e(Je);
|
|
13043
13052
|
});
|
|
13044
|
-
var
|
|
13053
|
+
var Ye = U(qe, 2), Xe = (e) => {
|
|
13045
13054
|
var t = Sc(), n = H(t), r = (e) => {
|
|
13046
13055
|
var t = uc(), n = H(t, !0);
|
|
13047
13056
|
P(t), W(() => {
|
|
13048
13057
|
t.disabled = q(v), Z(n, q(h).cancelBooking);
|
|
13049
|
-
}), Tr("click", t, le), X(e, t);
|
|
13058
|
+
}), Tr("click", t, () => q(le)?.showModal()), X(e, t);
|
|
13050
13059
|
};
|
|
13051
13060
|
Q(n, (e) => {
|
|
13052
13061
|
(q(a) === "hold" || q(a) === "pending") && e(r);
|
|
@@ -13055,29 +13064,37 @@ function Ec(e, t) {
|
|
|
13055
13064
|
var t = uc(), n = H(t, !0);
|
|
13056
13065
|
P(t), W(() => {
|
|
13057
13066
|
t.disabled = q(v), Z(n, q(h).startOver);
|
|
13058
|
-
}), Tr("click", t,
|
|
13067
|
+
}), Tr("click", t, de), X(e, t);
|
|
13059
13068
|
};
|
|
13060
13069
|
Q(i, (e) => {
|
|
13061
13070
|
d() && e(o);
|
|
13062
13071
|
}), P(t), X(e, t);
|
|
13063
13072
|
};
|
|
13064
|
-
Q(
|
|
13065
|
-
(q(a) === "hold" || q(a) === "pending" || d()) && e(
|
|
13066
|
-
})
|
|
13073
|
+
Q(Ye, (e) => {
|
|
13074
|
+
(q(a) === "hold" || q(a) === "pending" || d()) && e(Xe);
|
|
13075
|
+
});
|
|
13076
|
+
var Ze = U(Ye, 2), Qe = H(Ze), $e = H(Qe, !0);
|
|
13077
|
+
P(Qe);
|
|
13078
|
+
var et = U(Qe, 2), tt = H(et, !0);
|
|
13079
|
+
P(et);
|
|
13080
|
+
var nt = U(et, 2), rt = H(nt), it = H(rt, !0);
|
|
13081
|
+
P(rt);
|
|
13082
|
+
var at = U(rt, 2), ot = H(at, !0);
|
|
13083
|
+
P(at), P(nt), P(Ze), Ai(Ze, (e) => V(le, e), () => q(le)), W((e, n, r, i) => {
|
|
13067
13084
|
l = fi(c, 1, "sbw-hero svelte-1312f6m", null, l, {
|
|
13068
13085
|
"sbw-hero-ok": q(a) === "confirmed",
|
|
13069
13086
|
"sbw-hero-bad": q(a) === "declined" || q(a) === "cancelled" || q(a) === "expired"
|
|
13070
|
-
}), Z(ne, q(h).hero[q(a)].eyebrow), Z(D, q(h).hero[q(a)].title), Z(k, q(h).hero[q(a)].body), Z(
|
|
13087
|
+
}), Z(ne, q(h).hero[q(a)].eyebrow), Z(D, q(h).hero[q(a)].title), Z(k, q(h).hero[q(a)].body), Z(ge, q(h).detailsHeading), Z(be, q(h).berth), Z(Se, `${q(t).berthLabel ?? ""} · ${q(t).marinaName ?? ""}`), Z(Te, q(h).dates), Z(j, `${e ?? ""} – ${n ?? ""}`), Z(ke, q(h).boat), Z(je, r), Z(Pe, q(h).skipperName), Z(Ie, q(t).contactName), Z(N, q(h).total), Z(Ve, i), Z($e, q(h).cancelBooking), Z(tt, q(h).cancelConfirm), Z(it, q(h).keepBooking), Z(ot, q(h).cancelBooking);
|
|
13071
13088
|
}, [
|
|
13072
13089
|
() => re(q(t).arrival),
|
|
13073
13090
|
() => re(q(t).departure),
|
|
13074
13091
|
() => [q(t).boatName, q(t).boatLengthM == null ? null : `${q(t).boatLengthM} m`].filter(Boolean).join(" · "),
|
|
13075
13092
|
() => q(t).totalPrice == null ? q(h).priceOnRequest : co(q(t).totalPrice, q(t).currency, o(), q(m))
|
|
13076
|
-
]), X(e, s);
|
|
13093
|
+
]), Tr("click", rt, () => q(le)?.close()), Tr("click", at, ue), X(e, s);
|
|
13077
13094
|
};
|
|
13078
|
-
return Q(
|
|
13079
|
-
q(p) ? e(
|
|
13080
|
-
}), P(
|
|
13095
|
+
return Q(_e, (e) => {
|
|
13096
|
+
q(p) ? e(ye, -1) : e(ve);
|
|
13097
|
+
}), P(he), W(() => ge = fi(he, 1, "sbw-view svelte-1312f6m", null, ge, { "sbw-variant-dark": s() === "dark" })), X(e, he), Ze(me);
|
|
13081
13098
|
}
|
|
13082
13099
|
Er(["click"]), Ii(Ec, {
|
|
13083
13100
|
apiOrigin: {},
|
|
@@ -13163,10 +13180,10 @@ function Lc(e, t) {
|
|
|
13163
13180
|
if (e) return e;
|
|
13164
13181
|
let t = ja(i()) ?? new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
|
|
13165
13182
|
return new Date(t.getTime() + 2592e5);
|
|
13166
|
-
}))), oe = /* @__PURE__ */ B(null), se = /* @__PURE__ */ B(""), ce = /* @__PURE__ */ B(""), le = /* @__PURE__ */ B(""), ue = /* @__PURE__ */ B(""), de = /* @__PURE__ */ B(null), fe = /* @__PURE__ */ B(""), pe = /* @__PURE__ */ B(null), me = /* @__PURE__ */ B(on([])), he = /* @__PURE__ */ B(null), ge = /* @__PURE__ */ B(0), _e = /* @__PURE__ */ B(!1), ve = /* @__PURE__ */ B(null), ye = /* @__PURE__ */ B(null), be = /* @__PURE__ */ B(null), xe = /* @__PURE__ */ B(null), Se = /* @__PURE__ */ I(() => !q(pe) || !!q(pe).stripePublishableKey), Ce = /* @__PURE__ */ B(void 0), we = /* @__PURE__ */ B(!1), Te = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B("#16365b"), j = /* @__PURE__ */ B("#c9a86b"), De = /* @__PURE__ */ B("#252525");
|
|
13183
|
+
}))), oe = /* @__PURE__ */ B(null), se = /* @__PURE__ */ B(""), ce = /* @__PURE__ */ B(""), le = /* @__PURE__ */ B(""), ue = /* @__PURE__ */ B(""), de = /* @__PURE__ */ B(null), fe = /* @__PURE__ */ B(""), pe = /* @__PURE__ */ B(null), me = /* @__PURE__ */ B(on([])), he = /* @__PURE__ */ B(null), ge = /* @__PURE__ */ B(0), _e = /* @__PURE__ */ B(!1), ve = /* @__PURE__ */ B(null), ye = /* @__PURE__ */ B(null), be = /* @__PURE__ */ B(null), xe = /* @__PURE__ */ B(null), Se = /* @__PURE__ */ I(() => !q(pe) || !!q(pe).stripePublishableKey), Ce = /* @__PURE__ */ B(void 0), we = /* @__PURE__ */ B(!1), Te = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B("#16365b"), j = /* @__PURE__ */ B("#c9a86b"), De = /* @__PURE__ */ B(""), Oe = /* @__PURE__ */ B("#252525");
|
|
13167
13184
|
qr(() => {
|
|
13168
13185
|
let e = getComputedStyle(T);
|
|
13169
|
-
V(
|
|
13186
|
+
V(Oe, e.getPropertyValue("--brand-ink").trim() || q(Oe), !0), V(Ee, e.getPropertyValue("--brand-navy").trim() || q(Ee), !0), V(j, e.getPropertyValue("--brand-gold").trim() || q(j), !0), V(De, e.getPropertyValue("--brand-sea").trim(), !0);
|
|
13170
13187
|
}), qr(() => {
|
|
13171
13188
|
let e = new ResizeObserver(() => {
|
|
13172
13189
|
window.dispatchEvent(new Event("resize"));
|
|
@@ -13175,32 +13192,32 @@ function Lc(e, t) {
|
|
|
13175
13192
|
}), qr(() => {
|
|
13176
13193
|
_() === "overlay" ? (T.style.maxWidth = "none", T.style.setProperty("--sbw-card-width", g())) : T.style.maxWidth = g();
|
|
13177
13194
|
});
|
|
13178
|
-
let
|
|
13179
|
-
function
|
|
13180
|
-
return _() !== "overlay" || !q(
|
|
13195
|
+
let ke = /* @__PURE__ */ B(void 0), Ae = /* @__PURE__ */ B(void 0);
|
|
13196
|
+
function je() {
|
|
13197
|
+
return _() !== "overlay" || !q(ke) || !q(Ae) || !matchMedia("(min-width: 768px)").matches ? 0 : q(Ae).getBoundingClientRect().right - q(ke).getBoundingClientRect().left;
|
|
13181
13198
|
}
|
|
13182
|
-
let
|
|
13199
|
+
let Me = /* @__PURE__ */ I(() => !!d() && !D && !q(he)), Ne = /* @__PURE__ */ I(() => q(de) != null && q(de) > 0 ? q(de) : null), Pe = /* @__PURE__ */ I(() => (q(pe)?.berths ?? []).filter((e) => e.status === "available")), Fe = /* @__PURE__ */ I(() => !q(Pe).length || q(Pe).some((e) => e.lengthM == null) ? 200 : Math.max(...q(Pe).map((e) => e.lengthM ?? 0))), Ie = /* @__PURE__ */ I(() => q(oe) && q(me).some((e) => e.label === q(oe)) ? q(oe) : ao(q(me))), Le = /* @__PURE__ */ I(() => q(me).find((e) => e.label === q(Ie)) ?? null), Re = /* @__PURE__ */ I(() => q(Le)?.totalPrice == null ? null : co(q(Le).totalPrice, q(pe)?.currency ?? null, l(), q(ne))), M = !1;
|
|
13183
13200
|
Tn(() => {
|
|
13184
|
-
|
|
13201
|
+
M || !q(Pe).length || (M = !0, q(ie) > q(Fe) && V(ie, q(Fe), !0));
|
|
13185
13202
|
}), Tn(() => {
|
|
13186
13203
|
let e = s();
|
|
13187
13204
|
J(() => {
|
|
13188
13205
|
q(k) <= 2 && V(oe, e || null, !0);
|
|
13189
13206
|
});
|
|
13190
13207
|
});
|
|
13191
|
-
let
|
|
13208
|
+
let ze = {
|
|
13192
13209
|
arrival: "",
|
|
13193
13210
|
departure: ""
|
|
13194
|
-
},
|
|
13211
|
+
}, N = /* @__PURE__ */ I(() => q(A) && q(ae) && +q(ae) > +q(A) ? ze = {
|
|
13195
13212
|
arrival: Aa(q(A)),
|
|
13196
13213
|
departure: Aa(q(ae))
|
|
13197
|
-
} :
|
|
13214
|
+
} : ze), Be = /* @__PURE__ */ B(1);
|
|
13198
13215
|
qr(() => {
|
|
13199
|
-
D || Io(r(), n(), J(() => q(
|
|
13200
|
-
e.requirements.length || (V(
|
|
13216
|
+
D || Io(r(), n(), J(() => q(N)), null).then((e) => {
|
|
13217
|
+
e.requirements.length || (V(Be, 2), q(k) === 1 && (V(_e, !0), V(k, 2)));
|
|
13201
13218
|
}, () => {});
|
|
13202
13219
|
});
|
|
13203
|
-
let
|
|
13220
|
+
let Ve = {
|
|
13204
13221
|
email: "",
|
|
13205
13222
|
name: ""
|
|
13206
13223
|
};
|
|
@@ -13208,10 +13225,10 @@ function Lc(e, t) {
|
|
|
13208
13225
|
let e = q(ve);
|
|
13209
13226
|
J(() => {
|
|
13210
13227
|
if (e) {
|
|
13211
|
-
V(ce,
|
|
13228
|
+
V(ce, Ve.email = e.email, !0), !q(se).trim() && e.name && V(se, Ve.name = e.name, !0);
|
|
13212
13229
|
return;
|
|
13213
13230
|
}
|
|
13214
|
-
|
|
13231
|
+
Ve.email && q(ce) === Ve.email && V(ce, ""), Ve.name && q(se) === Ve.name && V(se, ""), Ve = {
|
|
13215
13232
|
email: "",
|
|
13216
13233
|
name: ""
|
|
13217
13234
|
};
|
|
@@ -13222,11 +13239,11 @@ function Lc(e, t) {
|
|
|
13222
13239
|
V(ie, e, !0);
|
|
13223
13240
|
});
|
|
13224
13241
|
});
|
|
13225
|
-
let
|
|
13242
|
+
let He = "";
|
|
13226
13243
|
Tn(() => {
|
|
13227
13244
|
let e = q(ye);
|
|
13228
13245
|
J(() => {
|
|
13229
|
-
e && !q(ue).trim() ? V(ue,
|
|
13246
|
+
e && !q(ue).trim() ? V(ue, He = e, !0) : !e && He && q(ue) === He && V(ue, He = "", !0);
|
|
13230
13247
|
});
|
|
13231
13248
|
}), Tn(() => {
|
|
13232
13249
|
if (D) return;
|
|
@@ -13251,7 +13268,7 @@ function Lc(e, t) {
|
|
|
13251
13268
|
arrival: Aa(q(A)),
|
|
13252
13269
|
departure: Aa(q(ae)),
|
|
13253
13270
|
boatLengthM: q(ie),
|
|
13254
|
-
boatBeamM: q(
|
|
13271
|
+
boatBeamM: q(Ne)
|
|
13255
13272
|
};
|
|
13256
13273
|
q(ge);
|
|
13257
13274
|
let t = !1, i = setTimeout(() => {
|
|
@@ -13269,30 +13286,30 @@ function Lc(e, t) {
|
|
|
13269
13286
|
}), Tn(() => {
|
|
13270
13287
|
D || te("sidon-loa-change", { loa: q(ie) });
|
|
13271
13288
|
});
|
|
13272
|
-
function
|
|
13289
|
+
function Ue(e) {
|
|
13273
13290
|
q(k) <= 2 && V(oe, e, !0);
|
|
13274
13291
|
}
|
|
13275
|
-
function
|
|
13276
|
-
e < q(k) &&
|
|
13292
|
+
function We(e) {
|
|
13293
|
+
e < q(k) && tt();
|
|
13277
13294
|
}
|
|
13278
|
-
function
|
|
13279
|
-
q(we) || (V(Te, null), q(k) === 1 ? q(_e) && V(k, 2) : q(k) === 2 ?
|
|
13295
|
+
function Ge() {
|
|
13296
|
+
q(we) || (V(Te, null), q(k) === 1 ? q(_e) && V(k, 2) : q(k) === 2 ? Ye() : q(k) === 3 && $e());
|
|
13280
13297
|
}
|
|
13281
|
-
let
|
|
13282
|
-
function
|
|
13298
|
+
let Ke = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
13299
|
+
function qe() {
|
|
13283
13300
|
let e = q(E).wizard;
|
|
13284
|
-
return !q(A) || !q(ae) || +q(ae) <= +q(A) ? e.errDates : q(ie) > 0 ? q(
|
|
13301
|
+
return !q(A) || !q(ae) || +q(ae) <= +q(A) ? e.errDates : q(ie) > 0 ? q(Ie) ? q(se).trim() ? q(ue).trim() ? Ke.test(q(ce).trim()) ? null : e.errEmail : e.errBoatName : e.errName : e.errNoBerth : e.errLength;
|
|
13285
13302
|
}
|
|
13286
|
-
function
|
|
13303
|
+
function Je() {
|
|
13287
13304
|
return q(ve) ? Do(S())?.token ?? null : null;
|
|
13288
13305
|
}
|
|
13289
|
-
async function
|
|
13290
|
-
let e =
|
|
13306
|
+
async function Ye() {
|
|
13307
|
+
let e = qe();
|
|
13291
13308
|
if (e) return void V(Te, e, !0);
|
|
13292
13309
|
V(we, !0);
|
|
13293
13310
|
try {
|
|
13294
13311
|
let e = await Ro(r(), n(), {
|
|
13295
|
-
berthLabel: q(
|
|
13312
|
+
berthLabel: q(Ie),
|
|
13296
13313
|
arrival: Aa(q(A)),
|
|
13297
13314
|
departure: Aa(q(ae)),
|
|
13298
13315
|
contactName: q(se).trim(),
|
|
@@ -13300,25 +13317,25 @@ function Lc(e, t) {
|
|
|
13300
13317
|
contactPhone: q(le).trim() || void 0,
|
|
13301
13318
|
boatName: q(ue).trim(),
|
|
13302
13319
|
boatLengthM: q(ie),
|
|
13303
|
-
boatBeamM: q(
|
|
13320
|
+
boatBeamM: q(Ne),
|
|
13304
13321
|
notes: q(fe).trim() || void 0,
|
|
13305
13322
|
locale: q(ne)
|
|
13306
|
-
},
|
|
13323
|
+
}, Je()), t = {
|
|
13307
13324
|
id: e.booking.id,
|
|
13308
13325
|
token: e.token
|
|
13309
13326
|
};
|
|
13310
|
-
V(O, t, !0), kc(n(), t), e.payment ? (V(xe, e, !0), V(k, 3)) :
|
|
13327
|
+
V(O, t, !0), kc(n(), t), e.payment ? (V(xe, e, !0), V(k, 3)) : et(t.id);
|
|
13311
13328
|
} catch (e) {
|
|
13312
|
-
|
|
13329
|
+
Qe(e);
|
|
13313
13330
|
} finally {
|
|
13314
13331
|
V(we, !1);
|
|
13315
13332
|
}
|
|
13316
13333
|
}
|
|
13317
|
-
function
|
|
13334
|
+
function Qe(e) {
|
|
13318
13335
|
let t = q(E).wizard;
|
|
13319
13336
|
if (!(e instanceof Ao) || e.status === 0) return void V(Te, t.errNetwork, !0);
|
|
13320
13337
|
if (Ja(e.status, e.message)) {
|
|
13321
|
-
V(
|
|
13338
|
+
V(Be, 1), V(k, 1), V(Te, q(E).docsStep.missingNow, !0);
|
|
13322
13339
|
return;
|
|
13323
13340
|
}
|
|
13324
13341
|
(e.status === 409 || e.status === 404) && nn(ge);
|
|
@@ -13331,7 +13348,7 @@ function Lc(e, t) {
|
|
|
13331
13348
|
};
|
|
13332
13349
|
V(Te, n[e.status] ?? (e.status >= 500 ? t.errUnavailable : e.message), !0);
|
|
13333
13350
|
}
|
|
13334
|
-
async function
|
|
13351
|
+
async function $e() {
|
|
13335
13352
|
let e = q(O);
|
|
13336
13353
|
if (!(!e || !q(Ce))) {
|
|
13337
13354
|
V(we, !0);
|
|
@@ -13341,20 +13358,20 @@ function Lc(e, t) {
|
|
|
13341
13358
|
V(Te, e instanceof Error ? e.message : q(E).wizard.errNetwork, !0), V(we, !1);
|
|
13342
13359
|
return;
|
|
13343
13360
|
}
|
|
13344
|
-
await Bo(r(), n(), e).catch(() => {}), V(we, !1),
|
|
13361
|
+
await Bo(r(), n(), e).catch(() => {}), V(we, !1), et(e.id);
|
|
13345
13362
|
}
|
|
13346
13363
|
}
|
|
13347
|
-
function
|
|
13364
|
+
function et(e) {
|
|
13348
13365
|
V(xe, null), V(k, 4), te("sidon-booked", {
|
|
13349
13366
|
bookingId: e,
|
|
13350
13367
|
marina: n()
|
|
13351
13368
|
});
|
|
13352
13369
|
}
|
|
13353
|
-
async function
|
|
13370
|
+
async function tt() {
|
|
13354
13371
|
let e = q(O);
|
|
13355
13372
|
if (q(we)) return;
|
|
13356
13373
|
if (q(k) === 2) {
|
|
13357
|
-
V(Te, null), V(k, q(
|
|
13374
|
+
V(Te, null), V(k, q(Be), !0);
|
|
13358
13375
|
return;
|
|
13359
13376
|
}
|
|
13360
13377
|
if (q(k) !== 3 || !e) return;
|
|
@@ -13363,16 +13380,16 @@ function Lc(e, t) {
|
|
|
13363
13380
|
if (V(we, !1), !t) return void V(Te, q(E).wizard.errNetwork, !0);
|
|
13364
13381
|
Ac(n()), V(O, null), V(xe, null), V(k, 2);
|
|
13365
13382
|
}
|
|
13366
|
-
function
|
|
13367
|
-
Ac(n()), V(O, null), V(Te, null), V(k, q(
|
|
13383
|
+
function nt() {
|
|
13384
|
+
Ac(n()), V(O, null), V(Te, null), V(k, q(Be), !0);
|
|
13368
13385
|
}
|
|
13369
|
-
function
|
|
13386
|
+
function rt(e, t) {
|
|
13370
13387
|
t !== null && q(O) && te("sidon-booking-status", {
|
|
13371
13388
|
bookingId: q(O).id,
|
|
13372
13389
|
status: e
|
|
13373
13390
|
});
|
|
13374
13391
|
}
|
|
13375
|
-
var
|
|
13392
|
+
var it = {
|
|
13376
13393
|
get marina() {
|
|
13377
13394
|
return n();
|
|
13378
13395
|
},
|
|
@@ -13517,7 +13534,7 @@ function Lc(e, t) {
|
|
|
13517
13534
|
set sailorApiOrigin(e = "") {
|
|
13518
13535
|
w(e), z();
|
|
13519
13536
|
}
|
|
13520
|
-
},
|
|
13537
|
+
}, at = Fc(), ot = hn(at), st = (e) => {
|
|
13521
13538
|
var t = Mc();
|
|
13522
13539
|
let n;
|
|
13523
13540
|
var r = H(t);
|
|
@@ -13542,6 +13559,9 @@ function Lc(e, t) {
|
|
|
13542
13559
|
get gold() {
|
|
13543
13560
|
return q(j);
|
|
13544
13561
|
},
|
|
13562
|
+
get sea() {
|
|
13563
|
+
return q(De);
|
|
13564
|
+
},
|
|
13545
13565
|
get logoMark() {
|
|
13546
13566
|
return v();
|
|
13547
13567
|
},
|
|
@@ -13564,25 +13584,25 @@ function Lc(e, t) {
|
|
|
13564
13584
|
return q(ie);
|
|
13565
13585
|
},
|
|
13566
13586
|
get selectedBerth() {
|
|
13567
|
-
return q(
|
|
13587
|
+
return q(Ie);
|
|
13568
13588
|
},
|
|
13569
|
-
onBerthClick:
|
|
13570
|
-
fitInset:
|
|
13589
|
+
onBerthClick: Ue,
|
|
13590
|
+
fitInset: je
|
|
13571
13591
|
});
|
|
13572
13592
|
}
|
|
13573
|
-
P(t), Ai(t, (e) => V(
|
|
13593
|
+
P(t), Ai(t, (e) => V(ke, e), () => q(ke)), W(() => {
|
|
13574
13594
|
n = fi(t, 1, "sbw-map-slot svelte-h0br6q", null, n, {
|
|
13575
13595
|
"sbw-map-slot--full-bleed": m() === "100vw",
|
|
13576
13596
|
"sbw-map-slot--overlay": _() === "overlay"
|
|
13577
13597
|
}), mi(t, `height: ${p() ?? ""}; width: ${m() ?? ""}; margin-bottom: ${h() ?? ""};`);
|
|
13578
13598
|
}), X(e, t);
|
|
13579
13599
|
};
|
|
13580
|
-
Q(
|
|
13581
|
-
q(
|
|
13600
|
+
Q(ot, (e) => {
|
|
13601
|
+
q(Me) && e(st);
|
|
13582
13602
|
});
|
|
13583
|
-
var
|
|
13584
|
-
let
|
|
13585
|
-
var
|
|
13603
|
+
var ct = U(ot, 2);
|
|
13604
|
+
let lt;
|
|
13605
|
+
var ut = H(ct), dt = (e) => {
|
|
13586
13606
|
var t = Fr(), i = hn(t), a = (e) => {
|
|
13587
13607
|
{
|
|
13588
13608
|
let t = /* @__PURE__ */ I(() => c() ? q(ne) : null);
|
|
@@ -13608,7 +13628,7 @@ function Lc(e, t) {
|
|
|
13608
13628
|
get host() {
|
|
13609
13629
|
return T;
|
|
13610
13630
|
},
|
|
13611
|
-
onstatus:
|
|
13631
|
+
onstatus: rt
|
|
13612
13632
|
});
|
|
13613
13633
|
}
|
|
13614
13634
|
}, o = (e) => {
|
|
@@ -13618,19 +13638,19 @@ function Lc(e, t) {
|
|
|
13618
13638
|
Q(i, (e) => {
|
|
13619
13639
|
q(O) ? e(a) : e(o, -1);
|
|
13620
13640
|
}), X(e, t);
|
|
13621
|
-
},
|
|
13641
|
+
}, ft = (e) => {
|
|
13622
13642
|
var t = Pc(), i = hn(t);
|
|
13623
13643
|
{
|
|
13624
|
-
let e = /* @__PURE__ */ I(() => q(
|
|
13644
|
+
let e = /* @__PURE__ */ I(() => q(Ie) ?? "—"), t = /* @__PURE__ */ I(() => c() || "en"), n = /* @__PURE__ */ I(() => q(k) > 2);
|
|
13625
13645
|
Ia(i, {
|
|
13626
13646
|
get berthLabel() {
|
|
13627
13647
|
return q(e);
|
|
13628
13648
|
},
|
|
13629
13649
|
get priceLabel() {
|
|
13630
|
-
return q(
|
|
13650
|
+
return q(Re);
|
|
13631
13651
|
},
|
|
13632
13652
|
get maxLoa() {
|
|
13633
|
-
return q(
|
|
13653
|
+
return q(Fe);
|
|
13634
13654
|
},
|
|
13635
13655
|
get locale() {
|
|
13636
13656
|
return q(t);
|
|
@@ -13666,7 +13686,7 @@ function Lc(e, t) {
|
|
|
13666
13686
|
return q(k);
|
|
13667
13687
|
},
|
|
13668
13688
|
get first() {
|
|
13669
|
-
return q(
|
|
13689
|
+
return q(Be);
|
|
13670
13690
|
},
|
|
13671
13691
|
get skip() {
|
|
13672
13692
|
return q(e);
|
|
@@ -13674,7 +13694,7 @@ function Lc(e, t) {
|
|
|
13674
13694
|
get labels() {
|
|
13675
13695
|
return q(E).steps;
|
|
13676
13696
|
},
|
|
13677
|
-
onStepClick:
|
|
13697
|
+
onStepClick: We
|
|
13678
13698
|
});
|
|
13679
13699
|
}
|
|
13680
13700
|
var o = U(a, 2), s = (e) => {
|
|
@@ -13691,7 +13711,7 @@ function Lc(e, t) {
|
|
|
13691
13711
|
logo: v(),
|
|
13692
13712
|
accent: q(j),
|
|
13693
13713
|
background: q(Ee),
|
|
13694
|
-
ink: q(
|
|
13714
|
+
ink: q(Oe)
|
|
13695
13715
|
}));
|
|
13696
13716
|
ms(e, {
|
|
13697
13717
|
get apiOrigin() {
|
|
@@ -13716,10 +13736,10 @@ function Lc(e, t) {
|
|
|
13716
13736
|
return q(t);
|
|
13717
13737
|
},
|
|
13718
13738
|
get arrival() {
|
|
13719
|
-
return q(
|
|
13739
|
+
return q(N).arrival;
|
|
13720
13740
|
},
|
|
13721
13741
|
get departure() {
|
|
13722
|
-
return q(
|
|
13742
|
+
return q(N).departure;
|
|
13723
13743
|
},
|
|
13724
13744
|
get lang() {
|
|
13725
13745
|
return q(ne);
|
|
@@ -13850,8 +13870,8 @@ function Lc(e, t) {
|
|
|
13850
13870
|
get host() {
|
|
13851
13871
|
return T;
|
|
13852
13872
|
},
|
|
13853
|
-
onstatus:
|
|
13854
|
-
onstartover:
|
|
13873
|
+
onstatus: rt,
|
|
13874
|
+
onstartover: nt
|
|
13855
13875
|
});
|
|
13856
13876
|
}
|
|
13857
13877
|
};
|
|
@@ -13866,7 +13886,7 @@ function Lc(e, t) {
|
|
|
13866
13886
|
return q(k);
|
|
13867
13887
|
},
|
|
13868
13888
|
get firstStep() {
|
|
13869
|
-
return q(
|
|
13889
|
+
return q(Be);
|
|
13870
13890
|
},
|
|
13871
13891
|
get sending() {
|
|
13872
13892
|
return q(we);
|
|
@@ -13883,17 +13903,17 @@ function Lc(e, t) {
|
|
|
13883
13903
|
get variant() {
|
|
13884
13904
|
return u();
|
|
13885
13905
|
},
|
|
13886
|
-
onBack:
|
|
13887
|
-
onNext:
|
|
13906
|
+
onBack: tt,
|
|
13907
|
+
onNext: Ge
|
|
13888
13908
|
});
|
|
13889
13909
|
}
|
|
13890
13910
|
X(e, t);
|
|
13891
13911
|
};
|
|
13892
|
-
return Q(
|
|
13893
|
-
D ? e(
|
|
13894
|
-
}), P(
|
|
13895
|
-
|
|
13896
|
-
}), X(e,
|
|
13912
|
+
return Q(ut, (e) => {
|
|
13913
|
+
D ? e(dt) : e(ft, -1);
|
|
13914
|
+
}), P(ct), Ai(ct, (e) => V(Ae, e), () => q(Ae)), W(() => {
|
|
13915
|
+
lt = fi(ct, 1, "sbw-root svelte-h0br6q", null, lt, { "sbw-root--overlay": _() === "overlay" }), mi(ct, `--sbw-map-h: ${(q(Me) ? p() : "0px") ?? ""}; --sbw-map-gap: ${(q(Me) ? h() : "0px") ?? ""};`);
|
|
13916
|
+
}), X(e, at), Ze(it);
|
|
13897
13917
|
}
|
|
13898
13918
|
customElements.define("sidon-booking-widget", Ii(Lc, {
|
|
13899
13919
|
marina: {
|