@planetaexo/design-system 0.66.0 → 0.67.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 +296 -106
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +74 -1
- package/dist/index.d.ts +74 -1
- package/dist/index.js +296 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5909,6 +5909,195 @@ function BookingCancellationEmail({
|
|
|
5909
5909
|
}
|
|
5910
5910
|
);
|
|
5911
5911
|
}
|
|
5912
|
+
var INLINE_LINK_STYLE2 = {
|
|
5913
|
+
color: emailTokens.primary,
|
|
5914
|
+
textDecoration: "underline"
|
|
5915
|
+
};
|
|
5916
|
+
function renderWhatsappLink2(contact, label) {
|
|
5917
|
+
if (contact.whatsappUrl) {
|
|
5918
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE2, children: label });
|
|
5919
|
+
}
|
|
5920
|
+
return label;
|
|
5921
|
+
}
|
|
5922
|
+
function renderEmailLink2(contact, label) {
|
|
5923
|
+
if (contact.email) {
|
|
5924
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE2, children: label });
|
|
5925
|
+
}
|
|
5926
|
+
return label;
|
|
5927
|
+
}
|
|
5928
|
+
function hasText2(s) {
|
|
5929
|
+
return typeof s === "string" && s.trim().length > 0;
|
|
5930
|
+
}
|
|
5931
|
+
var DEFAULT_LABELS6 = {
|
|
5932
|
+
logoAlt: "PlanetaEXO",
|
|
5933
|
+
greeting: (recipientName) => `Hi ${recipientName},`,
|
|
5934
|
+
title: "We've received your cancellation request",
|
|
5935
|
+
intro: (bookingRef) => `We've received your request to cancel booking ${bookingRef}. Our team will review it according to our cancellation policy and get back to you within 2 business days.`,
|
|
5936
|
+
summaryHeading: "Your request",
|
|
5937
|
+
bookingNumberLabel: "Booking number",
|
|
5938
|
+
adventuresLabel: "Adventure",
|
|
5939
|
+
datesLabel: "Dates",
|
|
5940
|
+
travellersLabel: "Travellers",
|
|
5941
|
+
nextStepsHeading: "What happens next",
|
|
5942
|
+
nextStepsNote: "No action is needed from you right now. We'll be in touch soon with the next steps.",
|
|
5943
|
+
closingAgent: (agentName, contact) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5944
|
+
"If you have any questions, your agent ",
|
|
5945
|
+
agentName,
|
|
5946
|
+
" is available via",
|
|
5947
|
+
" ",
|
|
5948
|
+
renderWhatsappLink2(contact, "WhatsApp"),
|
|
5949
|
+
" or ",
|
|
5950
|
+
renderEmailLink2(contact, "email"),
|
|
5951
|
+
"."
|
|
5952
|
+
] }),
|
|
5953
|
+
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
5954
|
+
teamSignature: "The PlanetaEXO Team"
|
|
5955
|
+
};
|
|
5956
|
+
function CancellationRequestReceivedEmail({
|
|
5957
|
+
recipientName,
|
|
5958
|
+
bookingRef,
|
|
5959
|
+
adventures,
|
|
5960
|
+
travellersCount,
|
|
5961
|
+
agentName,
|
|
5962
|
+
agentContactLinks,
|
|
5963
|
+
logoUrl,
|
|
5964
|
+
labels,
|
|
5965
|
+
className
|
|
5966
|
+
}) {
|
|
5967
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS6), labels);
|
|
5968
|
+
const adventureLines = adventures.map((a) => a.name).join("\n");
|
|
5969
|
+
const dateLines = adventures.map((a) => `${a.startDate} \u2013 ${a.endDate}`).join("\n");
|
|
5970
|
+
const summaryRows = [
|
|
5971
|
+
{
|
|
5972
|
+
label: l.bookingNumberLabel,
|
|
5973
|
+
value: `#${bookingRef}`,
|
|
5974
|
+
valueColor: emailTokens.primary
|
|
5975
|
+
},
|
|
5976
|
+
{ label: l.adventuresLabel, value: adventureLines },
|
|
5977
|
+
{ label: l.datesLabel, value: dateLines },
|
|
5978
|
+
{ label: l.travellersLabel, value: travellersCount }
|
|
5979
|
+
];
|
|
5980
|
+
const agentNameTrimmed = agentName == null ? void 0 : agentName.trim();
|
|
5981
|
+
const contact = agentContactLinks != null ? agentContactLinks : {};
|
|
5982
|
+
const closingNode = agentNameTrimmed ? l.closingAgent(agentNameTrimmed, contact) : l.closingNoAgent;
|
|
5983
|
+
const sectionDivider = /* @__PURE__ */ jsx(
|
|
5984
|
+
"hr",
|
|
5985
|
+
{
|
|
5986
|
+
style: {
|
|
5987
|
+
border: "none",
|
|
5988
|
+
borderTop: `1px solid ${emailTokens.border}`,
|
|
5989
|
+
marginTop: 0,
|
|
5990
|
+
marginBottom: "24px"
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
);
|
|
5994
|
+
return /* @__PURE__ */ jsxs(
|
|
5995
|
+
"div",
|
|
5996
|
+
{
|
|
5997
|
+
style: {
|
|
5998
|
+
maxWidth: "576px",
|
|
5999
|
+
margin: "0 auto",
|
|
6000
|
+
backgroundColor: emailTokens.white,
|
|
6001
|
+
color: emailTokens.foreground,
|
|
6002
|
+
fontFamily: emailTokens.fontFamily,
|
|
6003
|
+
fontSize: "16px",
|
|
6004
|
+
lineHeight: "1.6",
|
|
6005
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6006
|
+
borderRadius: "12px",
|
|
6007
|
+
overflow: "hidden",
|
|
6008
|
+
padding: "32px"
|
|
6009
|
+
},
|
|
6010
|
+
className,
|
|
6011
|
+
children: [
|
|
6012
|
+
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6013
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientName) }),
|
|
6014
|
+
/* @__PURE__ */ jsx(
|
|
6015
|
+
"p",
|
|
6016
|
+
{
|
|
6017
|
+
style: {
|
|
6018
|
+
marginTop: 0,
|
|
6019
|
+
marginBottom: "16px",
|
|
6020
|
+
fontWeight: 700,
|
|
6021
|
+
color: emailTokens.foreground,
|
|
6022
|
+
fontSize: "20px",
|
|
6023
|
+
lineHeight: "1.3",
|
|
6024
|
+
fontFamily: emailTokens.fontFamily
|
|
6025
|
+
},
|
|
6026
|
+
children: l.title
|
|
6027
|
+
}
|
|
6028
|
+
),
|
|
6029
|
+
/* @__PURE__ */ jsx("p", { style: { marginBottom: "24px" }, children: l.intro(`#${bookingRef}`) }),
|
|
6030
|
+
sectionDivider,
|
|
6031
|
+
/* @__PURE__ */ jsx(BookingSummary, { heading: l.summaryHeading, rows: summaryRows }),
|
|
6032
|
+
(hasText2(l.nextStepsHeading) || hasText2(l.nextStepsNote)) && /* @__PURE__ */ jsxs(
|
|
6033
|
+
"div",
|
|
6034
|
+
{
|
|
6035
|
+
style: {
|
|
6036
|
+
marginBottom: "24px",
|
|
6037
|
+
padding: "16px 20px",
|
|
6038
|
+
borderRadius: "12px",
|
|
6039
|
+
border: `1px solid ${emailTokens.border}`,
|
|
6040
|
+
backgroundColor: emailTokens.muted
|
|
6041
|
+
},
|
|
6042
|
+
children: [
|
|
6043
|
+
hasText2(l.nextStepsHeading) && /* @__PURE__ */ jsx(
|
|
6044
|
+
"p",
|
|
6045
|
+
{
|
|
6046
|
+
style: {
|
|
6047
|
+
margin: "0 0 8px 0",
|
|
6048
|
+
fontSize: "12px",
|
|
6049
|
+
fontWeight: 700,
|
|
6050
|
+
color: emailTokens.mutedForeground,
|
|
6051
|
+
textTransform: "uppercase",
|
|
6052
|
+
letterSpacing: "0.08em",
|
|
6053
|
+
fontFamily: emailTokens.fontFamily
|
|
6054
|
+
},
|
|
6055
|
+
children: l.nextStepsHeading
|
|
6056
|
+
}
|
|
6057
|
+
),
|
|
6058
|
+
hasText2(l.nextStepsNote) && /* @__PURE__ */ jsx(
|
|
6059
|
+
"p",
|
|
6060
|
+
{
|
|
6061
|
+
style: {
|
|
6062
|
+
margin: 0,
|
|
6063
|
+
fontSize: "14px",
|
|
6064
|
+
color: emailTokens.bodyText
|
|
6065
|
+
},
|
|
6066
|
+
children: l.nextStepsNote
|
|
6067
|
+
}
|
|
6068
|
+
)
|
|
6069
|
+
]
|
|
6070
|
+
}
|
|
6071
|
+
),
|
|
6072
|
+
sectionDivider,
|
|
6073
|
+
/* @__PURE__ */ jsx(
|
|
6074
|
+
"p",
|
|
6075
|
+
{
|
|
6076
|
+
style: {
|
|
6077
|
+
marginBottom: "16px",
|
|
6078
|
+
fontSize: "14px",
|
|
6079
|
+
fontWeight: 700,
|
|
6080
|
+
color: emailTokens.bodyText
|
|
6081
|
+
},
|
|
6082
|
+
children: closingNode
|
|
6083
|
+
}
|
|
6084
|
+
),
|
|
6085
|
+
/* @__PURE__ */ jsx(
|
|
6086
|
+
"p",
|
|
6087
|
+
{
|
|
6088
|
+
style: {
|
|
6089
|
+
marginTop: 0,
|
|
6090
|
+
marginBottom: 0,
|
|
6091
|
+
fontSize: "14px",
|
|
6092
|
+
color: emailTokens.bodyText
|
|
6093
|
+
},
|
|
6094
|
+
children: l.teamSignature
|
|
6095
|
+
}
|
|
6096
|
+
)
|
|
6097
|
+
]
|
|
6098
|
+
}
|
|
6099
|
+
);
|
|
6100
|
+
}
|
|
5912
6101
|
function RegistrationProgressBar({
|
|
5913
6102
|
tone,
|
|
5914
6103
|
pct,
|
|
@@ -5971,23 +6160,23 @@ function RegistrationProgressBar({
|
|
|
5971
6160
|
}
|
|
5972
6161
|
) });
|
|
5973
6162
|
}
|
|
5974
|
-
var
|
|
6163
|
+
var INLINE_LINK_STYLE3 = {
|
|
5975
6164
|
color: emailTokens.primary,
|
|
5976
6165
|
textDecoration: "underline"
|
|
5977
6166
|
};
|
|
5978
|
-
function
|
|
6167
|
+
function renderWhatsappLink3(contact, label) {
|
|
5979
6168
|
if (contact.whatsappUrl) {
|
|
5980
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6169
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE3, children: label });
|
|
5981
6170
|
}
|
|
5982
6171
|
return label;
|
|
5983
6172
|
}
|
|
5984
|
-
function
|
|
6173
|
+
function renderEmailLink3(contact, label) {
|
|
5985
6174
|
if (contact.email) {
|
|
5986
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6175
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE3, children: label });
|
|
5987
6176
|
}
|
|
5988
6177
|
return label;
|
|
5989
6178
|
}
|
|
5990
|
-
var
|
|
6179
|
+
var DEFAULT_LABELS7 = {
|
|
5991
6180
|
logoAlt: "PlanetaEXO",
|
|
5992
6181
|
greeting: (n) => `Hi ${n},`,
|
|
5993
6182
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -6006,9 +6195,9 @@ var DEFAULT_LABELS6 = {
|
|
|
6006
6195
|
"If you need any assistance with the traveller registrations, feel free to contact your agent ",
|
|
6007
6196
|
agentName,
|
|
6008
6197
|
" via ",
|
|
6009
|
-
|
|
6198
|
+
renderWhatsappLink3(contact, "WhatsApp"),
|
|
6010
6199
|
" or ",
|
|
6011
|
-
|
|
6200
|
+
renderEmailLink3(contact, "email"),
|
|
6012
6201
|
"."
|
|
6013
6202
|
] }),
|
|
6014
6203
|
closingNoAgent: "If you need any assistance with the traveller registrations, feel free to contact us via WhatsApp or email.",
|
|
@@ -6081,7 +6270,7 @@ var DEFAULT_LABELS6 = {
|
|
|
6081
6270
|
}
|
|
6082
6271
|
}
|
|
6083
6272
|
};
|
|
6084
|
-
function
|
|
6273
|
+
function hasText3(s) {
|
|
6085
6274
|
return typeof s === "string" && s.trim().length > 0;
|
|
6086
6275
|
}
|
|
6087
6276
|
function hasItems(arr) {
|
|
@@ -6101,12 +6290,12 @@ function RegistrationReminderEmail({
|
|
|
6101
6290
|
className
|
|
6102
6291
|
}) {
|
|
6103
6292
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6104
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6293
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS7), labels), {
|
|
6105
6294
|
variants: {
|
|
6106
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6107
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6108
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6109
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6295
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
6296
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
6297
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
6298
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS7.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
6110
6299
|
}
|
|
6111
6300
|
});
|
|
6112
6301
|
const v = l.variants[slug];
|
|
@@ -6127,14 +6316,14 @@ function RegistrationReminderEmail({
|
|
|
6127
6316
|
{ label: l.travellersRowLabel, value: l.travellersCountLabel(totalTravellers) },
|
|
6128
6317
|
...(agent == null ? void 0 : agent.name) ? [{ label: l.agentRowLabel, value: agent.name }] : []
|
|
6129
6318
|
];
|
|
6130
|
-
const showPleaseNote =
|
|
6131
|
-
const showBookerCoord =
|
|
6132
|
-
const showEarlyBenefit =
|
|
6133
|
-
const showImportant =
|
|
6134
|
-
const showFinalTagline =
|
|
6135
|
-
|
|
6136
|
-
const showDisregard =
|
|
6137
|
-
const showClosingThanks =
|
|
6319
|
+
const showPleaseNote = hasText3(v.pleaseNoteHeader) && hasItems(v.pleaseNoteBullets);
|
|
6320
|
+
const showBookerCoord = hasText3(v.bookerCoordinationNote);
|
|
6321
|
+
const showEarlyBenefit = hasText3(v.earlyCompletionBenefit);
|
|
6322
|
+
const showImportant = hasText3(v.importantNote);
|
|
6323
|
+
const showFinalTagline = hasText3(v.finalReminderTagline);
|
|
6324
|
+
hasText3(v.multiTravellerNote);
|
|
6325
|
+
const showDisregard = hasText3(v.disregardIfCompleted);
|
|
6326
|
+
const showClosingThanks = hasText3(v.closingThanks);
|
|
6138
6327
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6139
6328
|
"hr",
|
|
6140
6329
|
{
|
|
@@ -6146,7 +6335,7 @@ function RegistrationReminderEmail({
|
|
|
6146
6335
|
}
|
|
6147
6336
|
}
|
|
6148
6337
|
);
|
|
6149
|
-
const hasIntroBlock =
|
|
6338
|
+
const hasIntroBlock = hasText3(v.intro) || hasText3(v.contextNote);
|
|
6150
6339
|
const hasPleaseNote = showPleaseNote;
|
|
6151
6340
|
const hasD7Highlight = showImportant && slug === "d_minus_7";
|
|
6152
6341
|
const hasD2Highlight = showFinalTagline || showImportant && slug === "d_minus_2";
|
|
@@ -6170,9 +6359,9 @@ function RegistrationReminderEmail({
|
|
|
6170
6359
|
children: [
|
|
6171
6360
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6172
6361
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6362
|
+
hasText3(l.intermediateHello) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.intermediateHello }),
|
|
6363
|
+
hasText3(v.intro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.intro }),
|
|
6364
|
+
hasText3(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6176
6365
|
hasIntroBlock && sectionDivider,
|
|
6177
6366
|
slug === "d_minus_15" && showBookerCoord && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.bookerCoordinationNote }),
|
|
6178
6367
|
hasItems(adventures) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -6190,7 +6379,7 @@ function RegistrationReminderEmail({
|
|
|
6190
6379
|
children: l.progressHeader
|
|
6191
6380
|
}
|
|
6192
6381
|
),
|
|
6193
|
-
|
|
6382
|
+
hasText3(v.progressIntro) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.progressIntro }),
|
|
6194
6383
|
adventures.map((adv, i) => /* @__PURE__ */ jsxs(
|
|
6195
6384
|
"div",
|
|
6196
6385
|
{
|
|
@@ -6326,23 +6515,23 @@ function RegistrationReminderEmail({
|
|
|
6326
6515
|
}
|
|
6327
6516
|
);
|
|
6328
6517
|
}
|
|
6329
|
-
var
|
|
6518
|
+
var INLINE_LINK_STYLE4 = {
|
|
6330
6519
|
color: emailTokens.primary,
|
|
6331
6520
|
textDecoration: "underline"
|
|
6332
6521
|
};
|
|
6333
|
-
function
|
|
6522
|
+
function renderWhatsappLink4(contact, label) {
|
|
6334
6523
|
if (contact.whatsappUrl) {
|
|
6335
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6524
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE4, children: label });
|
|
6336
6525
|
}
|
|
6337
6526
|
return label;
|
|
6338
6527
|
}
|
|
6339
|
-
function
|
|
6528
|
+
function renderEmailLink4(contact, label) {
|
|
6340
6529
|
if (contact.email) {
|
|
6341
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6530
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE4, children: label });
|
|
6342
6531
|
}
|
|
6343
6532
|
return label;
|
|
6344
6533
|
}
|
|
6345
|
-
var
|
|
6534
|
+
var DEFAULT_LABELS8 = {
|
|
6346
6535
|
logoAlt: "PlanetaEXO",
|
|
6347
6536
|
greeting: (n) => `Hi ${n},`,
|
|
6348
6537
|
tripDetailsHeader: "\u{1F4CB} Trip details",
|
|
@@ -6358,9 +6547,9 @@ var DEFAULT_LABELS7 = {
|
|
|
6358
6547
|
"If you have questions, your agent ",
|
|
6359
6548
|
agentName,
|
|
6360
6549
|
" is available via ",
|
|
6361
|
-
|
|
6550
|
+
renderWhatsappLink4(contact, "WhatsApp"),
|
|
6362
6551
|
" or ",
|
|
6363
|
-
|
|
6552
|
+
renderEmailLink4(contact, "email"),
|
|
6364
6553
|
"."
|
|
6365
6554
|
] }),
|
|
6366
6555
|
closingNoAgent: "If you have questions or need assistance, our team is available via WhatsApp or email.",
|
|
@@ -6408,7 +6597,7 @@ var DEFAULT_LABELS7 = {
|
|
|
6408
6597
|
}
|
|
6409
6598
|
}
|
|
6410
6599
|
};
|
|
6411
|
-
function
|
|
6600
|
+
function hasText4(s) {
|
|
6412
6601
|
return typeof s === "string" && s.trim().length > 0;
|
|
6413
6602
|
}
|
|
6414
6603
|
function RegistrationReminderIndividualEmail({
|
|
@@ -6429,12 +6618,12 @@ function RegistrationReminderIndividualEmail({
|
|
|
6429
6618
|
className
|
|
6430
6619
|
}) {
|
|
6431
6620
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6432
|
-
const l = __spreadProps(__spreadValues(__spreadValues({},
|
|
6621
|
+
const l = __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_LABELS8), labels), {
|
|
6433
6622
|
variants: {
|
|
6434
|
-
d_minus_30: __spreadValues(__spreadValues({},
|
|
6435
|
-
d_minus_15: __spreadValues(__spreadValues({},
|
|
6436
|
-
d_minus_7: __spreadValues(__spreadValues({},
|
|
6437
|
-
d_minus_2: __spreadValues(__spreadValues({},
|
|
6623
|
+
d_minus_30: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_30), (_b = (_a = labels == null ? void 0 : labels.variants) == null ? void 0 : _a.d_minus_30) != null ? _b : {}),
|
|
6624
|
+
d_minus_15: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_15), (_d = (_c = labels == null ? void 0 : labels.variants) == null ? void 0 : _c.d_minus_15) != null ? _d : {}),
|
|
6625
|
+
d_minus_7: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_7), (_f = (_e = labels == null ? void 0 : labels.variants) == null ? void 0 : _e.d_minus_7) != null ? _f : {}),
|
|
6626
|
+
d_minus_2: __spreadValues(__spreadValues({}, DEFAULT_LABELS8.variants.d_minus_2), (_h = (_g = labels == null ? void 0 : labels.variants) == null ? void 0 : _g.d_minus_2) != null ? _h : {})
|
|
6438
6627
|
}
|
|
6439
6628
|
});
|
|
6440
6629
|
const v = l.variants[slug];
|
|
@@ -6454,7 +6643,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6454
6643
|
{ label: l.leadTravellerLabel, value: leadTravellerName },
|
|
6455
6644
|
{ label: l.adventureLabel, value: adventureName },
|
|
6456
6645
|
{ label: l.startingDateLabel, value: startDateFormatted },
|
|
6457
|
-
...
|
|
6646
|
+
...hasText4(partnerName) ? [{ label: l.partnerLabel, value: partnerName }] : []
|
|
6458
6647
|
];
|
|
6459
6648
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6460
6649
|
"hr",
|
|
@@ -6489,7 +6678,7 @@ function RegistrationReminderIndividualEmail({
|
|
|
6489
6678
|
children: [
|
|
6490
6679
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6491
6680
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: l.greeting(recipientFirstName) }),
|
|
6492
|
-
|
|
6681
|
+
hasText4(routingNote) && /* @__PURE__ */ jsx(
|
|
6493
6682
|
"p",
|
|
6494
6683
|
{
|
|
6495
6684
|
style: {
|
|
@@ -6504,8 +6693,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6504
6693
|
}
|
|
6505
6694
|
),
|
|
6506
6695
|
/* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: introText }),
|
|
6507
|
-
|
|
6508
|
-
slug === "d_minus_2" && (
|
|
6696
|
+
hasText4(v.contextNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px" }, children: v.contextNote }),
|
|
6697
|
+
slug === "d_minus_2" && (hasText4(v.finalReminderTagline) || hasText4(v.consequencesNote)) && /* @__PURE__ */ jsxs(
|
|
6509
6698
|
"div",
|
|
6510
6699
|
{
|
|
6511
6700
|
style: {
|
|
@@ -6517,23 +6706,23 @@ function RegistrationReminderIndividualEmail({
|
|
|
6517
6706
|
color: "#7f1d1d"
|
|
6518
6707
|
},
|
|
6519
6708
|
children: [
|
|
6520
|
-
|
|
6709
|
+
hasText4(v.finalReminderTagline) && /* @__PURE__ */ jsx(
|
|
6521
6710
|
"p",
|
|
6522
6711
|
{
|
|
6523
6712
|
style: {
|
|
6524
6713
|
margin: 0,
|
|
6525
|
-
marginBottom:
|
|
6714
|
+
marginBottom: hasText4(v.consequencesNote) ? "8px" : 0,
|
|
6526
6715
|
fontWeight: 700
|
|
6527
6716
|
},
|
|
6528
6717
|
children: v.finalReminderTagline
|
|
6529
6718
|
}
|
|
6530
6719
|
),
|
|
6531
|
-
|
|
6720
|
+
hasText4(v.consequencesNote) && /* @__PURE__ */ jsx("p", { style: { margin: 0 }, children: v.consequencesNote })
|
|
6532
6721
|
]
|
|
6533
6722
|
}
|
|
6534
6723
|
),
|
|
6535
6724
|
/* @__PURE__ */ jsx("div", { style: { marginBottom: "24px", textAlign: "left" }, children: /* @__PURE__ */ jsx("a", { href: ctaUrl, style: ctaStyle, children: l.ctaLabel }) }),
|
|
6536
|
-
slug === "d_minus_7" &&
|
|
6725
|
+
slug === "d_minus_7" && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsx(
|
|
6537
6726
|
"p",
|
|
6538
6727
|
{
|
|
6539
6728
|
style: {
|
|
@@ -6549,8 +6738,8 @@ function RegistrationReminderIndividualEmail({
|
|
|
6549
6738
|
),
|
|
6550
6739
|
sectionDivider,
|
|
6551
6740
|
/* @__PURE__ */ jsx(BookingSummary, { heading: l.tripDetailsHeader, rows: tripRows }),
|
|
6552
|
-
(slug === "d_minus_30" || slug === "d_minus_15") &&
|
|
6553
|
-
slug === "d_minus_2" &&
|
|
6741
|
+
(slug === "d_minus_30" || slug === "d_minus_15") && hasText4(v.mandatoryNote) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", color: emailTokens.bodyText }, children: v.mandatoryNote }),
|
|
6742
|
+
slug === "d_minus_2" && hasText4(v.disregardIfCompleted) && /* @__PURE__ */ jsx(
|
|
6554
6743
|
"p",
|
|
6555
6744
|
{
|
|
6556
6745
|
style: {
|
|
@@ -6567,29 +6756,29 @@ function RegistrationReminderIndividualEmail({
|
|
|
6567
6756
|
whatsappUrl: agent.whatsappUrl,
|
|
6568
6757
|
email: agent.email
|
|
6569
6758
|
}) : l.closingNoAgent }),
|
|
6570
|
-
|
|
6759
|
+
hasText4(v.closingThanks) && /* @__PURE__ */ jsx("p", { style: { marginBottom: "16px", fontSize: "14px", color: emailTokens.bodyText }, children: v.closingThanks }),
|
|
6571
6760
|
/* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: 0, fontSize: "14px", color: emailTokens.bodyText }, children: l.teamSignature })
|
|
6572
6761
|
]
|
|
6573
6762
|
}
|
|
6574
6763
|
);
|
|
6575
6764
|
}
|
|
6576
|
-
var
|
|
6765
|
+
var INLINE_LINK_STYLE5 = {
|
|
6577
6766
|
color: emailTokens.primary,
|
|
6578
6767
|
textDecoration: "underline"
|
|
6579
6768
|
};
|
|
6580
|
-
function
|
|
6769
|
+
function renderWhatsappLink5(contact, label) {
|
|
6581
6770
|
if (contact.whatsappUrl) {
|
|
6582
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6771
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE5, children: label });
|
|
6583
6772
|
}
|
|
6584
6773
|
return label;
|
|
6585
6774
|
}
|
|
6586
|
-
function
|
|
6775
|
+
function renderEmailLink5(contact, label) {
|
|
6587
6776
|
if (contact.email) {
|
|
6588
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6777
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE5, children: label });
|
|
6589
6778
|
}
|
|
6590
6779
|
return label;
|
|
6591
6780
|
}
|
|
6592
|
-
var
|
|
6781
|
+
var DEFAULT_LABELS9 = {
|
|
6593
6782
|
logoAlt: "PlanetaEXO",
|
|
6594
6783
|
greeting: (n) => `Hi ${n},`,
|
|
6595
6784
|
introAllDone: (adv, dr) => `All travellers for ${adv} (${dr}) have completed their registration. Their consolidated registration details are attached, and below you'll find what they're most looking forward to.`,
|
|
@@ -6611,15 +6800,15 @@ var DEFAULT_LABELS8 = {
|
|
|
6611
6800
|
agentName,
|
|
6612
6801
|
" is available via",
|
|
6613
6802
|
" ",
|
|
6614
|
-
|
|
6803
|
+
renderWhatsappLink5(contact, "WhatsApp"),
|
|
6615
6804
|
" or ",
|
|
6616
|
-
|
|
6805
|
+
renderEmailLink5(contact, "email"),
|
|
6617
6806
|
"."
|
|
6618
6807
|
] }),
|
|
6619
6808
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
6620
6809
|
teamSignature: "The PlanetaEXO Team"
|
|
6621
6810
|
};
|
|
6622
|
-
function
|
|
6811
|
+
function hasText5(s) {
|
|
6623
6812
|
return typeof s === "string" && s.trim().length > 0;
|
|
6624
6813
|
}
|
|
6625
6814
|
function PartnerRegistrationCompleteEmail({
|
|
@@ -6639,14 +6828,14 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6639
6828
|
labels,
|
|
6640
6829
|
className
|
|
6641
6830
|
}) {
|
|
6642
|
-
const l = __spreadValues(__spreadValues({},
|
|
6831
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS9), labels);
|
|
6643
6832
|
const tripRows = [
|
|
6644
6833
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6645
6834
|
{ label: l.adventureLabel, value: adventureName },
|
|
6646
6835
|
{ label: l.datesLabel, value: dateRange },
|
|
6647
6836
|
{ label: l.partnerLabel, value: partnerName },
|
|
6648
|
-
...
|
|
6649
|
-
...
|
|
6837
|
+
...hasText5(bookingPersonName) ? [{ label: l.bookingPersonLabel, value: bookingPersonName }] : [],
|
|
6838
|
+
...hasText5(bookingPersonPassport) ? [{ label: l.passportLabel, value: bookingPersonPassport }] : []
|
|
6650
6839
|
];
|
|
6651
6840
|
const sectionDivider = /* @__PURE__ */ jsx(
|
|
6652
6841
|
"hr",
|
|
@@ -6680,7 +6869,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6680
6869
|
className,
|
|
6681
6870
|
children: [
|
|
6682
6871
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6683
|
-
|
|
6872
|
+
hasText5(topNotice) && /* @__PURE__ */ jsx(
|
|
6684
6873
|
"div",
|
|
6685
6874
|
{
|
|
6686
6875
|
style: {
|
|
@@ -6757,7 +6946,7 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6757
6946
|
}) })
|
|
6758
6947
|
}
|
|
6759
6948
|
) : /* @__PURE__ */ jsx("p", { style: { marginTop: 0, marginBottom: "24px", color: emailTokens.bodyText }, children: l.expectationsEmptyNote }),
|
|
6760
|
-
pdfAttached &&
|
|
6949
|
+
pdfAttached && hasText5(l.pdfNote) && /* @__PURE__ */ jsx(
|
|
6761
6950
|
"div",
|
|
6762
6951
|
{
|
|
6763
6952
|
style: {
|
|
@@ -6782,26 +6971,26 @@ function PartnerRegistrationCompleteEmail({
|
|
|
6782
6971
|
}
|
|
6783
6972
|
);
|
|
6784
6973
|
}
|
|
6785
|
-
var
|
|
6974
|
+
var INLINE_LINK_STYLE6 = {
|
|
6786
6975
|
color: emailTokens.primary,
|
|
6787
6976
|
textDecoration: "underline"
|
|
6788
6977
|
};
|
|
6789
|
-
function
|
|
6978
|
+
function renderWhatsappLink6(contact, label) {
|
|
6790
6979
|
if (contact.whatsappUrl) {
|
|
6791
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
6980
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE6, children: label });
|
|
6792
6981
|
}
|
|
6793
6982
|
return label;
|
|
6794
6983
|
}
|
|
6795
|
-
function
|
|
6984
|
+
function renderEmailLink6(contact, label) {
|
|
6796
6985
|
if (contact.email) {
|
|
6797
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
6986
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE6, children: label });
|
|
6798
6987
|
}
|
|
6799
6988
|
return label;
|
|
6800
6989
|
}
|
|
6801
|
-
function
|
|
6990
|
+
function hasText6(s) {
|
|
6802
6991
|
return typeof s === "string" && s.trim().length > 0;
|
|
6803
6992
|
}
|
|
6804
|
-
var
|
|
6993
|
+
var DEFAULT_LABELS10 = {
|
|
6805
6994
|
logoAlt: "PlanetaEXO",
|
|
6806
6995
|
greeting: (n) => `Hi ${n},`,
|
|
6807
6996
|
intro: (adv) => `You have a new booking for your adventure ${adv}. Here are the details:`,
|
|
@@ -6827,9 +7016,9 @@ var DEFAULT_LABELS9 = {
|
|
|
6827
7016
|
agentName,
|
|
6828
7017
|
" is available via",
|
|
6829
7018
|
" ",
|
|
6830
|
-
|
|
7019
|
+
renderWhatsappLink6(contact, "WhatsApp"),
|
|
6831
7020
|
" or ",
|
|
6832
|
-
|
|
7021
|
+
renderEmailLink6(contact, "email"),
|
|
6833
7022
|
"."
|
|
6834
7023
|
] }),
|
|
6835
7024
|
closingNoAgent: "If you have any questions, our team is available via WhatsApp or email.",
|
|
@@ -6850,10 +7039,10 @@ function PartnerBookingCreatedEmail({
|
|
|
6850
7039
|
labels,
|
|
6851
7040
|
className
|
|
6852
7041
|
}) {
|
|
6853
|
-
const l = __spreadValues(__spreadValues({},
|
|
7042
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS10), labels);
|
|
6854
7043
|
const summaryRows = [
|
|
6855
7044
|
{ label: l.bookerNameLabel, value: booker.name },
|
|
6856
|
-
...
|
|
7045
|
+
...hasText6(booker.country) ? [{ label: l.bookerCountryLabel, value: booker.country }] : [],
|
|
6857
7046
|
{ label: l.bookingNumberLabel, value: `#${bookingNumber}`, valueColor: emailTokens.primary },
|
|
6858
7047
|
{ label: l.adventureLabel, value: adventureName },
|
|
6859
7048
|
{ label: l.datesLabel, value: dateRange },
|
|
@@ -6890,7 +7079,7 @@ function PartnerBookingCreatedEmail({
|
|
|
6890
7079
|
className,
|
|
6891
7080
|
children: [
|
|
6892
7081
|
/* @__PURE__ */ jsx(EmailLogo, { src: logoUrl, alt: l.logoAlt }),
|
|
6893
|
-
|
|
7082
|
+
hasText6(topNotice) && /* @__PURE__ */ jsx(
|
|
6894
7083
|
"div",
|
|
6895
7084
|
{
|
|
6896
7085
|
style: {
|
|
@@ -6949,7 +7138,7 @@ function PartnerBookingCreatedEmail({
|
|
|
6949
7138
|
}
|
|
6950
7139
|
);
|
|
6951
7140
|
}
|
|
6952
|
-
var
|
|
7141
|
+
var DEFAULT_LABELS11 = {
|
|
6953
7142
|
logoAlt: "PlanetaEXO",
|
|
6954
7143
|
greeting: (name) => `Hi ${name},`,
|
|
6955
7144
|
introMessage: "",
|
|
@@ -6992,7 +7181,7 @@ function PaymentReceiptEmail({
|
|
|
6992
7181
|
labels,
|
|
6993
7182
|
className
|
|
6994
7183
|
}) {
|
|
6995
|
-
const l = __spreadValues(__spreadValues({},
|
|
7184
|
+
const l = __spreadValues(__spreadValues({}, DEFAULT_LABELS11), labels);
|
|
6996
7185
|
const travellersLine = travellers.filter((s) => s.trim().length > 0).join(", ");
|
|
6997
7186
|
const interestRow = chargedAmount && chargedAmount !== amount;
|
|
6998
7187
|
const receiptRows = [
|
|
@@ -7136,24 +7325,24 @@ function PaymentReceiptEmail({
|
|
|
7136
7325
|
}
|
|
7137
7326
|
);
|
|
7138
7327
|
}
|
|
7139
|
-
var
|
|
7328
|
+
var INLINE_LINK_STYLE7 = {
|
|
7140
7329
|
color: emailTokens.primary,
|
|
7141
7330
|
textDecoration: "underline"
|
|
7142
7331
|
};
|
|
7143
|
-
function
|
|
7332
|
+
function renderWhatsappLink7(contact, label) {
|
|
7144
7333
|
if (contact.whatsappUrl) {
|
|
7145
|
-
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style:
|
|
7334
|
+
return /* @__PURE__ */ jsx("a", { href: contact.whatsappUrl, style: INLINE_LINK_STYLE7, children: label });
|
|
7146
7335
|
}
|
|
7147
7336
|
return label;
|
|
7148
7337
|
}
|
|
7149
|
-
function
|
|
7338
|
+
function renderEmailLink7(contact, label) {
|
|
7150
7339
|
if (contact.email) {
|
|
7151
|
-
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style:
|
|
7340
|
+
return /* @__PURE__ */ jsx("a", { href: `mailto:${contact.email}`, style: INLINE_LINK_STYLE7, children: label });
|
|
7152
7341
|
}
|
|
7153
7342
|
return label;
|
|
7154
7343
|
}
|
|
7155
7344
|
var EMPTY_CLOSING_ALTERNATIVE = (_agentName, _contact) => null;
|
|
7156
|
-
var
|
|
7345
|
+
var DEFAULT_LABELS12 = {
|
|
7157
7346
|
logoAlt: "PlanetaEXO",
|
|
7158
7347
|
greeting: (name) => `Hi ${name},`,
|
|
7159
7348
|
intermediateHello: "Hope you're doing well.",
|
|
@@ -7168,9 +7357,9 @@ var DEFAULT_LABELS11 = {
|
|
|
7168
7357
|
"If you need any assistance or would like to discuss your payment, feel free to contact your agent ",
|
|
7169
7358
|
agentName,
|
|
7170
7359
|
" via ",
|
|
7171
|
-
|
|
7360
|
+
renderWhatsappLink7(contact, "WhatsApp"),
|
|
7172
7361
|
" or ",
|
|
7173
|
-
|
|
7362
|
+
renderEmailLink7(contact, "email"),
|
|
7174
7363
|
"."
|
|
7175
7364
|
] }),
|
|
7176
7365
|
closingNoAgent: "If you need any assistance or would like to discuss your payment, feel free to contact us via WhatsApp or email.",
|
|
@@ -7214,9 +7403,9 @@ var DEFAULT_LABELS11 = {
|
|
|
7214
7403
|
"If you are experiencing any issues with payment or need additional time, please contact your agent ",
|
|
7215
7404
|
agentName,
|
|
7216
7405
|
" via ",
|
|
7217
|
-
|
|
7406
|
+
renderWhatsappLink7(contact, "WhatsApp"),
|
|
7218
7407
|
" or ",
|
|
7219
|
-
|
|
7408
|
+
renderEmailLink7(contact, "email"),
|
|
7220
7409
|
". We'll be happy to assist."
|
|
7221
7410
|
] })
|
|
7222
7411
|
}
|
|
@@ -7240,7 +7429,7 @@ function PaymentReminderEmail({
|
|
|
7240
7429
|
}) {
|
|
7241
7430
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
7242
7431
|
const lOverride = labels != null ? labels : {};
|
|
7243
|
-
const variantDefaults =
|
|
7432
|
+
const variantDefaults = DEFAULT_LABELS12.variants[variant];
|
|
7244
7433
|
const variantOverride = (_b = (_a = lOverride.variants) == null ? void 0 : _a[variant]) != null ? _b : {};
|
|
7245
7434
|
const variantLabels = {
|
|
7246
7435
|
intro: (_c = variantOverride.intro) != null ? _c : variantDefaults.intro,
|
|
@@ -7250,19 +7439,19 @@ function PaymentReminderEmail({
|
|
|
7250
7439
|
closingAlternative: (_f = variantOverride.closingAlternative) != null ? _f : variantDefaults.closingAlternative
|
|
7251
7440
|
};
|
|
7252
7441
|
const l = {
|
|
7253
|
-
logoAlt: (_g = lOverride.logoAlt) != null ? _g :
|
|
7254
|
-
greeting: (_h = lOverride.greeting) != null ? _h :
|
|
7255
|
-
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i :
|
|
7256
|
-
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j :
|
|
7257
|
-
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k :
|
|
7258
|
-
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l :
|
|
7259
|
-
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m :
|
|
7260
|
-
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n :
|
|
7261
|
-
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o :
|
|
7262
|
-
teamSignature: (_p = lOverride.teamSignature) != null ? _p :
|
|
7263
|
-
closingAgent: (_q = lOverride.closingAgent) != null ? _q :
|
|
7264
|
-
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r :
|
|
7265
|
-
adventureCard: __spreadValues(__spreadValues({},
|
|
7442
|
+
logoAlt: (_g = lOverride.logoAlt) != null ? _g : DEFAULT_LABELS12.logoAlt,
|
|
7443
|
+
greeting: (_h = lOverride.greeting) != null ? _h : DEFAULT_LABELS12.greeting,
|
|
7444
|
+
intermediateHello: (_i = lOverride.intermediateHello) != null ? _i : DEFAULT_LABELS12.intermediateHello,
|
|
7445
|
+
bookingSummaryHeader: (_j = lOverride.bookingSummaryHeader) != null ? _j : DEFAULT_LABELS12.bookingSummaryHeader,
|
|
7446
|
+
amountAlreadyPaidLabel: (_k = lOverride.amountAlreadyPaidLabel) != null ? _k : DEFAULT_LABELS12.amountAlreadyPaidLabel,
|
|
7447
|
+
remainingBalanceDueLabel: (_l = lOverride.remainingBalanceDueLabel) != null ? _l : DEFAULT_LABELS12.remainingBalanceDueLabel,
|
|
7448
|
+
totalBookingAmountLabel: (_m = lOverride.totalBookingAmountLabel) != null ? _m : DEFAULT_LABELS12.totalBookingAmountLabel,
|
|
7449
|
+
paymentDetailsHeading: (_n = lOverride.paymentDetailsHeading) != null ? _n : DEFAULT_LABELS12.paymentDetailsHeading,
|
|
7450
|
+
ctaLabel: (_o = lOverride.ctaLabel) != null ? _o : DEFAULT_LABELS12.ctaLabel,
|
|
7451
|
+
teamSignature: (_p = lOverride.teamSignature) != null ? _p : DEFAULT_LABELS12.teamSignature,
|
|
7452
|
+
closingAgent: (_q = lOverride.closingAgent) != null ? _q : DEFAULT_LABELS12.closingAgent,
|
|
7453
|
+
closingNoAgent: (_r = lOverride.closingNoAgent) != null ? _r : DEFAULT_LABELS12.closingNoAgent,
|
|
7454
|
+
adventureCard: __spreadValues(__spreadValues({}, DEFAULT_LABELS12.adventureCard), (_s = lOverride.adventureCard) != null ? _s : {})
|
|
7266
7455
|
};
|
|
7267
7456
|
const ctaStyle = {
|
|
7268
7457
|
display: "inline-block",
|
|
@@ -8543,7 +8732,7 @@ function validateCpf(value) {
|
|
|
8543
8732
|
if (secondDigit !== parseInt(digits[10], 10)) return false;
|
|
8544
8733
|
return true;
|
|
8545
8734
|
}
|
|
8546
|
-
var
|
|
8735
|
+
var DEFAULT_LABELS13 = {
|
|
8547
8736
|
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.",
|
|
8548
8737
|
detailsSectionTitle: "Your details",
|
|
8549
8738
|
tripInfoSectionTitle: "Trip info",
|
|
@@ -9287,7 +9476,7 @@ function RegistrationForm({
|
|
|
9287
9476
|
}) {
|
|
9288
9477
|
var _a;
|
|
9289
9478
|
const L = React32.useMemo(
|
|
9290
|
-
() => __spreadValues(__spreadValues({},
|
|
9479
|
+
() => __spreadValues(__spreadValues({}, DEFAULT_LABELS13), labels != null ? labels : {}),
|
|
9291
9480
|
[labels]
|
|
9292
9481
|
);
|
|
9293
9482
|
const sortedFields = React32.useMemo(
|
|
@@ -18910,6 +19099,6 @@ function SegmentedControl({
|
|
|
18910
19099
|
);
|
|
18911
19100
|
}
|
|
18912
19101
|
|
|
18913
|
-
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, Picture, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
19102
|
+
export { ActivityCard, AdventureExplorer, AgentContactCard, Alert, AskExo, BirthDateField, BlogCard, BlogJournal, BlogPost, BookingAdventureCard, BookingCancellationEmail, BookingConfirmedCard, BookingCreatedEmail, BookingDetails, BookingForm, BookingOtpEmail, BookingPaymentConfirmationEmail, BookingShell, BookingSummary, Button, COUNTRIES, CancellationForm, CancellationRequestReceivedEmail, CategoryPage2, Chip, CounterField, CountrySearchField, CtaBanner, DEFAULT_FOOTER_BADGES, DEFAULT_FOOTER_DESTINATIONS, DEFAULT_FOOTER_LANGUAGES, DEFAULT_FOOTER_LEGAL, DEFAULT_FOOTER_PAGES, DEFAULT_FOOTER_SOCIALS, DEFAULT_FOOTER_THEMES, DEFAULT_HEADER_LINKS, DEFAULT_LANGUAGES, STATUS_MAP as DEPARTURE_STATUS_MAP, DatePickerField, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, ExoOrb, FilterPanel, FloatingInput, FloatingSelect, GroupProgressBar, GroupStatusBanner, HomeHeader, Itinerary, ItineraryDay, LOGO_PLANETAEXO_DATA_URI, LeadCapturePopup, MenuTrip, NewHome, NotificationEmail, OTPCodeInput, Offer, OfferAdventureCard, ParticipantCounter, ParticipantList, PartnerBookingCreatedEmail, PartnerRegistrationCompleteEmail, PaymentAmountSelector, PaymentDetailsBlock, PaymentMethodSelector, PaymentModalShell, PaymentReceiptEmail, PaymentReminderEmail, PhoneCountrySelect, PhotoGallery, Picture, PriceProgress, PricingMatrixCard, PricingTrip, RegistrationForm, RegistrationProgressBar, RegistrationReminderEmail, RegistrationReminderIndividualEmail, RegistrationSuccessCard, SegmentedControl, ShareWidget, SiteFooter, SiteHeader, StatusBadge2 as StatusBadge, StickyBookingCard, TERMS_ACCEPT_KEY, TermsSection, ThemeToggle, Toast, TransferDetailsBlock, TravellerFormInviteEmail, TripCard, TripHeader, TripPage, TrustpilotEmbed, USP, buttonVariants, chipVariants, cn, emailTokens, formatCpf, getStripeAppearance, itineraryDaySpecIcons, stripeAppearance, validateCpf, webpVariantUrl, wrapEmailHtml };
|
|
18914
19103
|
//# sourceMappingURL=index.js.map
|
|
18915
19104
|
//# sourceMappingURL=index.js.map
|