@planetaexo/design-system 0.33.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 +278 -33
- 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 +278 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5127,7 +5127,7 @@ var DEFAULT_LABELS5 = {
|
|
|
5127
5127
|
subject: "Complete Traveller Registration for Your Upcoming Adventure",
|
|
5128
5128
|
intro: "Your adventure with PlanetaEXO is getting closer, and there is one important step remaining before departure.",
|
|
5129
5129
|
contextNote: "To help us prepare logistics and ensure your experience runs smoothly, all travellers must complete their registration before the adventure starts.",
|
|
5130
|
-
pleaseNoteHeader: "
|
|
5130
|
+
pleaseNoteHeader: "Please note:",
|
|
5131
5131
|
pleaseNoteBullets: [
|
|
5132
5132
|
"Registration is mandatory for each traveller included in the booking",
|
|
5133
5133
|
"If your booking includes multiple adventures, registration must be completed for each adventure separately",
|
|
@@ -5283,7 +5283,6 @@ function RegistrationReminderEmail({
|
|
|
5283
5283
|
hasText(v.intro) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
|
|
5284
5284
|
hasText(v.contextNote) && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
5285
5285
|
hasIntroBlock && sectionDivider,
|
|
5286
|
-
slug === "d_minus_30" && /* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
|
|
5287
5286
|
slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
5288
5287
|
hasItems(adventures) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5289
5288
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5393,10 +5392,8 @@ function RegistrationReminderEmail({
|
|
|
5393
5392
|
children: v.importantNote
|
|
5394
5393
|
}
|
|
5395
5394
|
),
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows })
|
|
5399
|
-
] }),
|
|
5395
|
+
sectionDivider,
|
|
5396
|
+
/* @__PURE__ */ jsxRuntime.jsx(BookingSummary, { heading: l.bookingSummaryHeader, rows: summaryRows }),
|
|
5400
5397
|
hasPleaseNote && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5401
5398
|
sectionDivider,
|
|
5402
5399
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5438,7 +5435,254 @@ function RegistrationReminderEmail({
|
|
|
5438
5435
|
}
|
|
5439
5436
|
);
|
|
5440
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
|
+
}
|
|
5441
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 = {
|
|
5442
5686
|
logoAlt: "PlanetaEXO",
|
|
5443
5687
|
greeting: (name) => `Hi ${name},`,
|
|
5444
5688
|
receiptHeading: "Payment receipt",
|
|
@@ -5477,7 +5721,7 @@ function PaymentReceiptEmail({
|
|
|
5477
5721
|
labels,
|
|
5478
5722
|
className
|
|
5479
5723
|
}) {
|
|
5480
|
-
const l = __spreadValues(__spreadValues({},
|
|
5724
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels);
|
|
5481
5725
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
5482
5726
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
5483
5727
|
const receiptRows = [
|
|
@@ -5552,24 +5796,24 @@ function PaymentReceiptEmail({
|
|
|
5552
5796
|
}
|
|
5553
5797
|
);
|
|
5554
5798
|
}
|
|
5555
|
-
var
|
|
5799
|
+
var INLINE_LINK_STYLE3 = {
|
|
5556
5800
|
color: emailTokens.primary,
|
|
5557
5801
|
textDecoration: "underline"
|
|
5558
5802
|
};
|
|
5559
|
-
function
|
|
5803
|
+
function renderWhatsappLink3(contact, label) {
|
|
5560
5804
|
if (contact.whatsappUrl) {
|
|
5561
|
-
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style:
|
|
5805
|
+
return /* @__PURE__ */ jsxRuntime.jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
5562
5806
|
}
|
|
5563
5807
|
return label;
|
|
5564
5808
|
}
|
|
5565
|
-
function
|
|
5809
|
+
function renderEmailLink3(contact, label) {
|
|
5566
5810
|
if (contact.email) {
|
|
5567
|
-
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 });
|
|
5568
5812
|
}
|
|
5569
5813
|
return label;
|
|
5570
5814
|
}
|
|
5571
5815
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
5572
|
-
var
|
|
5816
|
+
var DEFAULT_LABELS8 = {
|
|
5573
5817
|
logoAlt: "PlanetaEXO",
|
|
5574
5818
|
greeting: (name) => `Hi ${name},`,
|
|
5575
5819
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -5584,9 +5828,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5584
5828
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
5585
5829
|
agentName,
|
|
5586
5830
|
" via ",
|
|
5587
|
-
|
|
5831
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5588
5832
|
" or ",
|
|
5589
|
-
|
|
5833
|
+
renderEmailLink3(contact, "email"),
|
|
5590
5834
|
"."
|
|
5591
5835
|
] }),
|
|
5592
5836
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -5630,9 +5874,9 @@ var DEFAULT_LABELS7 = {
|
|
|
5630
5874
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
5631
5875
|
agentName,
|
|
5632
5876
|
" via ",
|
|
5633
|
-
|
|
5877
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
5634
5878
|
" or ",
|
|
5635
|
-
|
|
5879
|
+
renderEmailLink3(contact, "email"),
|
|
5636
5880
|
". We'll be happy to assist."
|
|
5637
5881
|
] })
|
|
5638
5882
|
}
|
|
@@ -5656,7 +5900,7 @@ function PaymentReminderEmail({
|
|
|
5656
5900
|
}) {
|
|
5657
5901
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
5658
5902
|
const lOverride = labels != null ? labels : {};
|
|
5659
|
-
const variantDefaults =
|
|
5903
|
+
const variantDefaults = DEFAULT_LABELS8.variants[variant];
|
|
5660
5904
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
5661
5905
|
const variantLabels = {
|
|
5662
5906
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -5666,19 +5910,19 @@ function PaymentReminderEmail({
|
|
|
5666
5910
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
5667
5911
|
};
|
|
5668
5912
|
const l = {
|
|
5669
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
5670
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
5671
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
5672
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
5673
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
5674
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
5675
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
5676
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
5677
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
5678
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
5679
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
5680
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
5681
|
-
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 : {})
|
|
5682
5926
|
};
|
|
5683
5927
|
const ctaStyle = {
|
|
5684
5928
|
display: "inline-block",
|
|
@@ -6505,7 +6749,7 @@ function BookingForm({
|
|
|
6505
6749
|
}
|
|
6506
6750
|
);
|
|
6507
6751
|
}
|
|
6508
|
-
var
|
|
6752
|
+
var DEFAULT_LABELS9 = {
|
|
6509
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.",
|
|
6510
6754
|
detailsSectionTitle: "Your details",
|
|
6511
6755
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -7170,7 +7414,7 @@ function RegistrationForm({
|
|
|
7170
7414
|
}) {
|
|
7171
7415
|
var _a;
|
|
7172
7416
|
const L = React25__namespace.useMemo(
|
|
7173
|
-
() => __spreadValues(__spreadValues({},
|
|
7417
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels != null ? labels : {}),
|
|
7174
7418
|
[labels]
|
|
7175
7419
|
);
|
|
7176
7420
|
const sortedFields = React25__namespace.useMemo(
|
|
@@ -11818,6 +12062,7 @@ exports.PricingTrip = PricingTrip;
|
|
|
11818
12062
|
exports.RegistrationForm = RegistrationForm;
|
|
11819
12063
|
exports.RegistrationProgressBar = RegistrationProgressBar;
|
|
11820
12064
|
exports.RegistrationReminderEmail = RegistrationReminderEmail;
|
|
12065
|
+
exports.RegistrationReminderIndividualEmail = RegistrationReminderIndividualEmail;
|
|
11821
12066
|
exports.RegistrationSuccessCard = RegistrationSuccessCard;
|
|
11822
12067
|
exports.SiteHeader = SiteHeader;
|
|
11823
12068
|
exports.TERMS_ACCEPT_KEY = TERMS_ACCEPT_KEY;
|