@planetaexo/design-system 0.34.0 → 0.35.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/index.cjs +275 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +79 -1
- package/dist/index.d.ts +79 -1
- package/dist/index.js +275 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5435,7 +5435,254 @@ function RegistrationReminderEmail({
|
|
|
5435
5435
|
}
|
|
5436
5436
|
);
|
|
5437
5437
|
}
|
|
5438
|
+
var INLINE_LINK_STYLE2 = {
|
|
5439
|
+
color: emailTokens.primary,
|
|
5440
|
+
textDecoration: "underline"
|
|
5441
|
+
};
|
|
5442
|
+
function renderWhatsappLink2(contact, label) {
|
|
5443
|
+
if (contact.whatsappUrl) {
|
|
5444
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5445
|
+
}
|
|
5446
|
+
return label;
|
|
5447
|
+
}
|
|
5448
|
+
function renderEmailLink2(contact, label) {
|
|
5449
|
+
if (contact.email) {
|
|
5450
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5451
|
+
}
|
|
5452
|
+
return label;
|
|
5453
|
+
}
|
|
5438
5454
|
var DEFAULT_LABELS6 = {
|
|
5455
|
+
logoAlt: "PlanetaEXO",
|
|
5456
|
+
greeting: (n) => `Hi ${n},`,
|
|
5457
|
+
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
5458
|
+
bookingNumberLabel: "Booking Number",
|
|
5459
|
+
leadTravellerLabel: "Lead Traveller",
|
|
5460
|
+
adventureLabel: "Adventure",
|
|
5461
|
+
startingDateLabel: "Starting Date",
|
|
5462
|
+
partnerLabel: "Partner",
|
|
5463
|
+
ctaLabel: "Complete Registration",
|
|
5464
|
+
routingNoteUnderage: (travellerFirstName, bookerFirstName) => `We're sending this to you, ${bookerFirstName}, because ${travellerFirstName} is under 18. Please help complete the registration on their behalf.`,
|
|
5465
|
+
routingNoteNoEmail: (travellerFirstName) => `We don't have an email on file for ${travellerFirstName}. Please forward this message to them, or reply with their email so we can reach out directly.`,
|
|
5466
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5467
|
+
"If you have questions, your agent ",
|
|
5468
|
+
agentName,
|
|
5469
|
+
" is available via ",
|
|
5470
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5471
|
+
" or ",
|
|
5472
|
+
renderEmailLink2(contact, "email"),
|
|
5473
|
+
"."
|
|
5474
|
+
] }),
|
|
5475
|
+
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
5476
|
+
teamSignature: "The PlanetaEXO Team",
|
|
5477
|
+
variants: {
|
|
5478
|
+
d_minus_30: {
|
|
5479
|
+
subject: "Complete your registration for your upcoming adventure",
|
|
5480
|
+
intro: (_traveller, lead, adventure) => `Your adventure with PlanetaEXO, booked by ${lead}, is approaching and we noticed your registration is still incomplete.`,
|
|
5481
|
+
contextNote: "Completing your registration early helps us organise logistics and prepare your experience with our local partners.",
|
|
5482
|
+
mandatoryNote: "Registration is mandatory for all travellers and only takes a few minutes.",
|
|
5483
|
+
finalReminderTagline: "",
|
|
5484
|
+
consequencesNote: "",
|
|
5485
|
+
disregardIfCompleted: "",
|
|
5486
|
+
closingThanks: "See you soon,"
|
|
5487
|
+
},
|
|
5488
|
+
d_minus_15: {
|
|
5489
|
+
subject: "Registration still pending for your upcoming adventure",
|
|
5490
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} is getting closer, and your registration is still incomplete.`,
|
|
5491
|
+
contextNote: "Please complete your registration to help us finalise logistics and operational details before departure.",
|
|
5492
|
+
mandatoryNote: "Registration is required before departure and helps us prepare accommodation, transfers, safety information, and local operations.",
|
|
5493
|
+
finalReminderTagline: "",
|
|
5494
|
+
consequencesNote: "",
|
|
5495
|
+
disregardIfCompleted: "",
|
|
5496
|
+
closingThanks: ""
|
|
5497
|
+
},
|
|
5498
|
+
d_minus_7: {
|
|
5499
|
+
subject: "Action required: complete your registration before departure",
|
|
5500
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} begins in one week, and your registration is still incomplete.`,
|
|
5501
|
+
contextNote: "Please complete your registration as soon as possible.",
|
|
5502
|
+
mandatoryNote: "Registration is mandatory for participation in the adventure.",
|
|
5503
|
+
finalReminderTagline: "",
|
|
5504
|
+
consequencesNote: "",
|
|
5505
|
+
disregardIfCompleted: "",
|
|
5506
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5507
|
+
},
|
|
5508
|
+
d_minus_2: {
|
|
5509
|
+
subject: "\u{1F6A8} Final reminder: registration required before departure",
|
|
5510
|
+
intro: (_traveller, lead, _adventure) => `Your adventure booked by ${lead} starts in 2 days, and your registration is still incomplete.`,
|
|
5511
|
+
contextNote: "",
|
|
5512
|
+
finalReminderTagline: "This is a final reminder.",
|
|
5513
|
+
consequencesNote: "Without a completed registration form, we may be unable to confirm logistics and travellers may not be allowed to board transfers, flights, boats, or participate in activities.",
|
|
5514
|
+
mandatoryNote: "",
|
|
5515
|
+
disregardIfCompleted: "If you have already completed your registration, please disregard this email.",
|
|
5516
|
+
closingThanks: "We look forward to welcoming you soon."
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
};
|
|
5520
|
+
function hasText2(s) {
|
|
5521
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5522
|
+
}
|
|
5523
|
+
function RegistrationReminderIndividualEmail({
|
|
5524
|
+
slug,
|
|
5525
|
+
recipientFirstName,
|
|
5526
|
+
travellerFirstName,
|
|
5527
|
+
leadTravellerName,
|
|
5528
|
+
leadTravellerFirstName,
|
|
5529
|
+
bookingNumber,
|
|
5530
|
+
adventureName,
|
|
5531
|
+
startDateFormatted,
|
|
5532
|
+
partnerName,
|
|
5533
|
+
ctaUrl,
|
|
5534
|
+
route,
|
|
5535
|
+
agent,
|
|
5536
|
+
logoUrl,
|
|
5537
|
+
labels,
|
|
5538
|
+
className
|
|
5539
|
+
}) {
|
|
5540
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5541
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels), {
|
|
5542
|
+
variants: {
|
|
5543
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
5544
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
5545
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
5546
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS6.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
5547
|
+
}
|
|
5548
|
+
});
|
|
5549
|
+
const v = l.variants[slug];
|
|
5550
|
+
const ctaStyle = {
|
|
5551
|
+
display: "inline-block",
|
|
5552
|
+
backgroundColor: emailTokens.primary,
|
|
5553
|
+
color: emailTokens.primaryForeground,
|
|
5554
|
+
padding: "12px 24px",
|
|
5555
|
+
borderRadius: "8px",
|
|
5556
|
+
fontSize: "14px",
|
|
5557
|
+
fontWeight: 700,
|
|
5558
|
+
textDecoration: "none",
|
|
5559
|
+
fontFamily: emailTokens.fontFamily
|
|
5560
|
+
};
|
|
5561
|
+
const tripRows = [
|
|
5562
|
+
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
5563
|
+
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
5564
|
+
{ label: l.adventureLabel, value: adventureName },
|
|
5565
|
+
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
5566
|
+
...hasText2(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
5567
|
+
];
|
|
5568
|
+
const sectionDivider = /* @__PURE__ */ jsxRuntime.jsx(
|
|
5569
|
+
"hr",
|
|
5570
|
+
{
|
|
5571
|
+
style: {
|
|
5572
|
+
border: "none",
|
|
5573
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5574
|
+
marginTop: 0,
|
|
5575
|
+
marginBottom: "24px"
|
|
5576
|
+
}
|
|
5577
|
+
}
|
|
5578
|
+
);
|
|
5579
|
+
const introText = v.intro(travellerFirstName, leadTravellerFirstName, adventureName);
|
|
5580
|
+
const routingNote = route === "underage_to_booker" ? l.routingNoteUnderage(travellerFirstName, leadTravellerFirstName) : route === "no_email_fallback" ? l.routingNoteNoEmail(travellerFirstName) : null;
|
|
5581
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5582
|
+
"div",
|
|
5583
|
+
{
|
|
5584
|
+
style: {
|
|
5585
|
+
maxWidth: "576px",
|
|
5586
|
+
margin: "0 auto",
|
|
5587
|
+
backgroundColor: emailTokens.white,
|
|
5588
|
+
color: emailTokens.foreground,
|
|
5589
|
+
fontFamily: emailTokens.fontFamily,
|
|
5590
|
+
fontSize: "16px",
|
|
5591
|
+
lineHeight: "1.6",
|
|
5592
|
+
border: `1px solid ${emailTokens.border}`,
|
|
5593
|
+
borderRadius: "12px",
|
|
5594
|
+
overflow: "hidden",
|
|
5595
|
+
padding: "32px"
|
|
5596
|
+
},
|
|
5597
|
+
className,
|
|
5598
|
+
children: [
|
|
5599
|
+
/* @__PURE__ */ jsxRuntime.jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
5600
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
5601
|
+
hasText2(routingNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5602
|
+
"p",
|
|
5603
|
+
{
|
|
5604
|
+
style: {
|
|
5605
|
+
marginBottom: "16px",
|
|
5606
|
+
padding: "10px 14px",
|
|
5607
|
+
borderRadius: "8px",
|
|
5608
|
+
backgroundColor: emailTokens.muted,
|
|
5609
|
+
color: emailTokens.bodyText,
|
|
5610
|
+
fontSize: "14px"
|
|
5611
|
+
},
|
|
5612
|
+
children: routingNote
|
|
5613
|
+
}
|
|
5614
|
+
),
|
|
5615
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
5616
|
+
hasText2(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
5617
|
+
slug === "d_minus_2" && (hasText2(v.finalReminderTagline) || hasText2(v.consequencesNote)) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5618
|
+
"div",
|
|
5619
|
+
{
|
|
5620
|
+
style: {
|
|
5621
|
+
marginBottom: "20px",
|
|
5622
|
+
padding: "12px 16px",
|
|
5623
|
+
borderRadius: "8px",
|
|
5624
|
+
backgroundColor: "#fef2f2",
|
|
5625
|
+
border: "1px solid #fecaca",
|
|
5626
|
+
color: "#7f1d1d"
|
|
5627
|
+
},
|
|
5628
|
+
children: [
|
|
5629
|
+
hasText2(v.finalReminderTagline) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5630
|
+
"p",
|
|
5631
|
+
{
|
|
5632
|
+
style: {
|
|
5633
|
+
margin: 0,
|
|
5634
|
+
marginBottom: hasText2(v.consequencesNote) ? "8px" : 0,
|
|
5635
|
+
fontWeight: 700
|
|
5636
|
+
},
|
|
5637
|
+
children: v.finalReminderTagline
|
|
5638
|
+
}
|
|
5639
|
+
),
|
|
5640
|
+
hasText2(v.consequencesNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
5641
|
+
]
|
|
5642
|
+
}
|
|
5643
|
+
),
|
|
5644
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
5645
|
+
slug === "d_minus_7" && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5646
|
+
"p",
|
|
5647
|
+
{
|
|
5648
|
+
style: {
|
|
5649
|
+
marginBottom: "20px",
|
|
5650
|
+
padding: "12px 16px",
|
|
5651
|
+
borderRadius: "8px",
|
|
5652
|
+
backgroundColor: "#fef3c7",
|
|
5653
|
+
color: "#78350f",
|
|
5654
|
+
fontWeight: 600
|
|
5655
|
+
},
|
|
5656
|
+
children: v.mandatoryNote
|
|
5657
|
+
}
|
|
5658
|
+
),
|
|
5659
|
+
sectionDivider,
|
|
5660
|
+
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
5661
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText2(v.mandatoryNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
5662
|
+
slug === "d_minus_2" && hasText2(v.disregardIfCompleted) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5663
|
+
"p",
|
|
5664
|
+
{
|
|
5665
|
+
style: {
|
|
5666
|
+
marginBottom: "16px",
|
|
5667
|
+
color: emailTokens.mutedForeground,
|
|
5668
|
+
fontSize: "13px",
|
|
5669
|
+
fontStyle: "italic"
|
|
5670
|
+
},
|
|
5671
|
+
children: v.disregardIfCompleted
|
|
5672
|
+
}
|
|
5673
|
+
),
|
|
5674
|
+
sectionDivider,
|
|
5675
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", fontWeight: 700, color: emailTokens.bodyText }, children: (agent == null ? void 0 : agent.name) ? l.closingAgent(agent.name, {
|
|
5676
|
+
whatsappUrl: agent.whatsappUrl,
|
|
5677
|
+
email: agent.email
|
|
5678
|
+
}) : l.closingNoAgent }),
|
|
5679
|
+
hasText2(v.closingThanks) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
5680
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
5681
|
+
]
|
|
5682
|
+
}
|
|
5683
|
+
);
|
|
5684
|
+
}
|
|
5685
|
+
var DEFAULT_LABELS7 = {
|
|
5439
5686
|
logoAlt: "PlanetaEXO",
|
|
5440
5687
|
greeting: (name) => `Hi ${name},`,
|
|
5441
5688
|
receiptHeading: "Payment receipt",
|
|
@@ -5474,7 +5721,7 @@ function PaymentReceiptEmail({
|
|
|
5474
5721
|
labels,
|
|
5475
5722
|
className
|
|
5476
5723
|
}) {
|
|
5477
|
-
const l = __spreadValues(__spreadValues({},
|
|
5724
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
|
|
5478
5725
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
5479
5726
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
5480
5727
|
const receiptRows = [
|
|
@@ -5549,24 +5796,24 @@ function PaymentReceiptEmail({
|
|
|
5549
5796
|
}
|
|
5550
5797
|
);
|
|
5551
5798
|
}
|
|
5552
|
-
var
|
|
5799
|
+
var INLINE_LINK_STYLE3 = {
|
|
5553
5800
|
color: emailTokens.primary,
|
|
5554
5801
|
textDecoration: "underline"
|
|
5555
5802
|
};
|
|
5556
|
-
function
|
|
5803
|
+
function renderWhatsappLink3(contact, label) {
|
|
5557
5804
|
if (contact.whatsappUrl) {
|
|
5558
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
5805
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
5559
5806
|
}
|
|
5560
5807
|
return label;
|
|
5561
5808
|
}
|
|
5562
|
-
function
|
|
5809
|
+
function renderEmailLink3(contact, label) {
|
|
5563
5810
|
if (contact.email) {
|
|
5564
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style:
|
|
5811
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
5565
5812
|
}
|
|
5566
5813
|
return label;
|
|
5567
5814
|
}
|
|
5568
5815
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
5569
|
-
var
|
|
5816
|
+
var DEFAULT_LABELS8 = {
|
|
5570
5817
|
logoAlt: "PlanetaEXO",
|
|
5571
5818
|
greeting: (name) => `Hi ${name},`,
|
|
5572
5819
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -5581,9 +5828,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5581
5828
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
5582
5829
|
agentName,
|
|
5583
5830
|
" via ",
|
|
5584
|
-
|
|
5831
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5585
5832
|
" or ",
|
|
5586
|
-
|
|
5833
|
+
renderEmailLink3(contact, "email"),
|
|
5587
5834
|
"."
|
|
5588
5835
|
] }),
|
|
5589
5836
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -5627,9 +5874,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5627
5874
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
5628
5875
|
agentName,
|
|
5629
5876
|
" via ",
|
|
5630
|
-
|
|
5877
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5631
5878
|
" or ",
|
|
5632
|
-
|
|
5879
|
+
renderEmailLink3(contact, "email"),
|
|
5633
5880
|
". We'll be happy to assist."
|
|
5634
5881
|
] })
|
|
5635
5882
|
}
|
|
@@ -5653,7 +5900,7 @@ function PaymentReminderEmail({
|
|
|
5653
5900
|
}) {
|
|
5654
5901
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
5655
5902
|
const lOverride = labels != null ? labels : {};
|
|
5656
|
-
const variantDefaults =
|
|
5903
|
+
const variantDefaults = DEFAULT_LABELS8.variants[variant];
|
|
5657
5904
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
5658
5905
|
const variantLabels = {
|
|
5659
5906
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -5663,19 +5910,19 @@ function PaymentReminderEmail({
|
|
|
5663
5910
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
5664
5911
|
};
|
|
5665
5912
|
const l = {
|
|
5666
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
5667
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
5668
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
5669
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
5670
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
5671
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
5672
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
5673
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
5674
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
5675
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
5676
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
5677
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
5678
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
5913
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS8.logoAlt,
|
|
5914
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS8.greeting,
|
|
5915
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS8.intermediateHello,
|
|
5916
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS8.bookingSummaryHeader,
|
|
5917
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS8.amountAlreadyPaidLabel,
|
|
5918
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS8.remainingBalanceDueLabel,
|
|
5919
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS8.totalBookingAmountLabel,
|
|
5920
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS8.paymentDetailsHeading,
|
|
5921
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS8.ctaLabel,
|
|
5922
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS8.teamSignature,
|
|
5923
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS8.closingAgent,
|
|
5924
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS8.closingNoAgent,
|
|
5925
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
5679
5926
|
};
|
|
5680
5927
|
const ctaStyle = {
|
|
5681
5928
|
display: "inline-block",
|
|
@@ -6502,7 +6749,7 @@ function BookingForm({
|
|
|
6502
6749
|
}
|
|
6503
6750
|
);
|
|
6504
6751
|
}
|
|
6505
|
-
var
|
|
6752
|
+
var DEFAULT_LABELS9 = {
|
|
6506
6753
|
formSubtitle: "To confirm your participation, please complete this short form. It's required for all travellers and helps us coordinate logistics with our local partners and tailor the experience to you.",
|
|
6507
6754
|
detailsSectionTitle: "Your details",
|
|
6508
6755
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -7167,7 +7414,7 @@ function RegistrationForm({
|
|
|
7167
7414
|
}) {
|
|
7168
7415
|
var _a;
|
|
7169
7416
|
const L = React25__namespace.useMemo(
|
|
7170
|
-
() => __spreadValues(__spreadValues({},
|
|
7417
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels != null ? labels : {}),
|
|
7171
7418
|
[labels]
|
|
7172
7419
|
);
|
|
7173
7420
|
const sortedFields = React25__namespace.useMemo(
|
|
@@ -11815,6 +12062,7 @@ exports.PricingTrip = PricingTrip;
|
|
|
11815
12062
|
exports.RegistrationForm = RegistrationForm;
|
|
11816
12063
|
exports.RegistrationProgressBar = RegistrationProgressBar;
|
|
11817
12064
|
exports.RegistrationReminderEmail = RegistrationReminderEmail;
|
|
12065
|
+
exports.RegistrationReminderIndividualEmail = RegistrationReminderIndividualEmail;
|
|
11818
12066
|
exports.RegistrationSuccessCard = RegistrationSuccessCard;
|
|
11819
12067
|
exports.SiteHeader = SiteHeader;
|
|
11820
12068
|
exports.TERMS_ACCEPT_KEY = TERMS_ACCEPT_KEY;
|