@odynn/awayz-core 0.5.1 → 0.5.2
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/components/Bookings/FlightBooking/FlightBooking.js +65 -205
- package/dist/components/Bookings/HotelBooking/HotelBooking.js +1 -1
- package/dist/components/CashValue/CashValue.js +5 -4
- package/dist/components/CashValue/CashValue.stories.js +17 -16
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Wallet/Card/Card.js +1 -1
- package/dist/components/Wallet/Card/Card.stories.js +7 -6
- package/dist/hooks/useBookingManagement/useBookingManagement.js +7 -6
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +2 -1
- package/dist/hooks/useTripManagement/useTripManagement.js +3 -2
- package/dist/hooks/useTripManagement/useTripManagement.test.js +1 -0
- package/dist/hooks/useWallet/useWallet.js +8 -7
- package/dist/hooks/useWallet/useWallet.test.js +1 -0
- package/dist/{index-agnspg2e.js → index-CDh8vAM_.js} +2 -2
- package/dist/lib/hooks/useBookingManagement/mocks/HotelBooking200.json.d.ts +1 -1
- package/dist/providers/AwayzProvider.js +6 -5
- package/dist/services/bookings/BookingService.js +26 -25
- package/dist/services/currency/CurrencyService.js +7 -6
- package/package.json +1 -1
|
@@ -1,237 +1,97 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { h as
|
|
3
|
-
import { E as
|
|
4
|
-
import { a as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { h as t } from "../../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
+
import { E as o } from "../../../DateFormats-DZD30Nea.js";
|
|
4
|
+
import { a as r } from "../../../keys-DcSEucOc.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { useTranslation as D } from "react-i18next";
|
|
7
|
+
import { F as E } from "../../../index-CDh8vAM_.js";
|
|
8
|
+
import M from "../../Menu/Menu.js";
|
|
8
9
|
import '../../../assets/_styles4.css';/* empty css */
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return e.services.logger.forward(r, "warn", "react-i18next::", !0);
|
|
17
|
-
E(r[0]) && (r[0] = `react-i18next:: ${r[0]}`), (N = (p = e == null ? void 0 : e.services) == null ? void 0 : p.logger) != null && N.warn ? e.services.logger.warn(...r) : console != null && console.warn && console.warn(...r);
|
|
18
|
-
}, U = {}, M = (e, t, s, i) => {
|
|
19
|
-
E(s) && U[s] || (E(s) && (U[s] = /* @__PURE__ */ new Date()), K(e, t, s, i));
|
|
20
|
-
}, j = (e, t) => () => {
|
|
21
|
-
if (e.isInitialized)
|
|
22
|
-
t();
|
|
23
|
-
else {
|
|
24
|
-
const s = () => {
|
|
25
|
-
setTimeout(() => {
|
|
26
|
-
e.off("initialized", s);
|
|
27
|
-
}, 0), t();
|
|
28
|
-
};
|
|
29
|
-
e.on("initialized", s);
|
|
30
|
-
}
|
|
31
|
-
}, D = (e, t, s) => {
|
|
32
|
-
e.loadNamespaces(t, j(e, s));
|
|
33
|
-
}, z = (e, t, s, i) => {
|
|
34
|
-
if (E(s) && (s = [s]), e.options.preload && e.options.preload.indexOf(t) > -1) return D(e, s, i);
|
|
35
|
-
s.forEach((r) => {
|
|
36
|
-
e.options.ns.indexOf(r) < 0 && e.options.ns.push(r);
|
|
37
|
-
}), e.loadLanguages(t, j(e, i));
|
|
38
|
-
}, J = (e, t, s = {}) => !t.languages || !t.languages.length ? (M(t, "NO_LANGUAGES", "i18n.languages were undefined or empty", {
|
|
39
|
-
languages: t.languages
|
|
40
|
-
}), !0) : t.hasLoadedNamespace(e, {
|
|
41
|
-
lng: s.lng,
|
|
42
|
-
precheck: (i, r) => {
|
|
43
|
-
if (s.bindI18n && s.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !r(i.isLanguageChangingTo, e)) return !1;
|
|
44
|
-
}
|
|
45
|
-
}), E = (e) => typeof e == "string", X = (e) => typeof e == "object" && e !== null, Q = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Z = {
|
|
46
|
-
"&": "&",
|
|
47
|
-
"&": "&",
|
|
48
|
-
"<": "<",
|
|
49
|
-
"<": "<",
|
|
50
|
-
">": ">",
|
|
51
|
-
">": ">",
|
|
52
|
-
"'": "'",
|
|
53
|
-
"'": "'",
|
|
54
|
-
""": '"',
|
|
55
|
-
""": '"',
|
|
56
|
-
" ": " ",
|
|
57
|
-
" ": " ",
|
|
58
|
-
"©": "©",
|
|
59
|
-
"©": "©",
|
|
60
|
-
"®": "®",
|
|
61
|
-
"®": "®",
|
|
62
|
-
"…": "…",
|
|
63
|
-
"…": "…",
|
|
64
|
-
"/": "/",
|
|
65
|
-
"/": "/"
|
|
66
|
-
}, V = (e) => Z[e], ee = (e) => e.replace(Q, V);
|
|
67
|
-
let te = {
|
|
68
|
-
bindI18n: "languageChanged",
|
|
69
|
-
bindI18nStore: "",
|
|
70
|
-
transEmptyNodeValue: "",
|
|
71
|
-
transSupportBasicHtmlNodes: !0,
|
|
72
|
-
transWrapTextNodes: "",
|
|
73
|
-
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
74
|
-
useSuspense: !0,
|
|
75
|
-
unescape: ee
|
|
76
|
-
};
|
|
77
|
-
const se = () => te;
|
|
78
|
-
let ne;
|
|
79
|
-
const ae = () => ne, ie = B();
|
|
80
|
-
class oe {
|
|
81
|
-
constructor() {
|
|
82
|
-
this.usedNamespaces = {};
|
|
83
|
-
}
|
|
84
|
-
addUsedNamespaces(t) {
|
|
85
|
-
t.forEach((s) => {
|
|
86
|
-
this.usedNamespaces[s] || (this.usedNamespaces[s] = !0);
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
getUsedNamespaces() {
|
|
90
|
-
return Object.keys(this.usedNamespaces);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
const re = (e, t) => {
|
|
94
|
-
const s = A();
|
|
95
|
-
return F(() => {
|
|
96
|
-
s.current = e;
|
|
97
|
-
}, [e, t]), s.current;
|
|
98
|
-
}, H = (e, t, s, i) => e.getFixedT(t, s, i), ce = (e, t, s, i) => W(H(e, t, s, i), [e, t, s, i]), le = (e, t = {}) => {
|
|
99
|
-
var R, k, L, O;
|
|
100
|
-
const {
|
|
101
|
-
i18n: s
|
|
102
|
-
} = t, {
|
|
103
|
-
i18n: i,
|
|
104
|
-
defaultNS: r
|
|
105
|
-
} = G(ie) || {}, n = s || i || ae();
|
|
106
|
-
if (n && !n.reportNamespaces && (n.reportNamespaces = new oe()), !n) {
|
|
107
|
-
M(n, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
108
|
-
const l = (g, h) => E(h) ? h : X(h) && E(h.defaultValue) ? h.defaultValue : Array.isArray(g) ? g[g.length - 1] : g, f = [l, {}, !1];
|
|
109
|
-
return f.t = l, f.i18n = {}, f.ready = !1, f;
|
|
110
|
-
}
|
|
111
|
-
(R = n.options.react) != null && R.wait && M(n, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
112
|
-
const d = {
|
|
113
|
-
...se(),
|
|
114
|
-
...n.options.react,
|
|
115
|
-
...t
|
|
116
|
-
}, {
|
|
117
|
-
useSuspense: p,
|
|
118
|
-
keyPrefix: N
|
|
119
|
-
} = d;
|
|
120
|
-
let o = r || ((k = n.options) == null ? void 0 : k.defaultNS);
|
|
121
|
-
o = E(o) ? [o] : o || ["translation"], (O = (L = n.reportNamespaces).addUsedNamespaces) == null || O.call(L, o);
|
|
122
|
-
const m = (n.isInitialized || n.initializedStoreOnce) && o.every((l) => J(l, n, d)), S = ce(n, t.lng || null, d.nsMode === "fallback" ? o : o[0], N), u = () => S, C = () => H(n, t.lng || null, d.nsMode === "fallback" ? o : o[0], N), [_, T] = Y(u);
|
|
123
|
-
let y = o.join();
|
|
124
|
-
t.lng && (y = `${t.lng}${y}`);
|
|
125
|
-
const P = re(y), v = A(!0);
|
|
126
|
-
F(() => {
|
|
127
|
-
const {
|
|
128
|
-
bindI18n: l,
|
|
129
|
-
bindI18nStore: f
|
|
130
|
-
} = d;
|
|
131
|
-
v.current = !0, !m && !p && (t.lng ? z(n, t.lng, o, () => {
|
|
132
|
-
v.current && T(C);
|
|
133
|
-
}) : D(n, o, () => {
|
|
134
|
-
v.current && T(C);
|
|
135
|
-
})), m && P && P !== y && v.current && T(C);
|
|
136
|
-
const g = () => {
|
|
137
|
-
v.current && T(C);
|
|
138
|
-
};
|
|
139
|
-
return l && (n == null || n.on(l, g)), f && (n == null || n.store.on(f, g)), () => {
|
|
140
|
-
v.current = !1, n && l && (l == null || l.split(" ").forEach((h) => n.off(h, g))), f && n && f.split(" ").forEach((h) => n.store.off(h, g));
|
|
141
|
-
};
|
|
142
|
-
}, [n, y]), F(() => {
|
|
143
|
-
v.current && m && T(u);
|
|
144
|
-
}, [n, N, m]);
|
|
145
|
-
const w = [_, n, m];
|
|
146
|
-
if (w.t = _, w.i18n = n, w.ready = m, m || !m && !p) return w;
|
|
147
|
-
throw new Promise((l) => {
|
|
148
|
-
t.lng ? z(n, t.lng, o, () => l()) : D(n, o, () => l());
|
|
149
|
-
});
|
|
150
|
-
}, ve = ({
|
|
151
|
-
airlines: e,
|
|
152
|
-
departure: t,
|
|
153
|
-
arrival: s,
|
|
154
|
-
bookingRef: i,
|
|
155
|
-
flightClass: r,
|
|
156
|
-
numberOfPassengers: n,
|
|
10
|
+
const b = ({
|
|
11
|
+
airlines: s,
|
|
12
|
+
departure: c,
|
|
13
|
+
arrival: l,
|
|
14
|
+
bookingRef: v,
|
|
15
|
+
flightClass: N,
|
|
16
|
+
numberOfPassengers: g,
|
|
157
17
|
cancelledAt: d,
|
|
158
|
-
hasAirlineChanges:
|
|
159
|
-
onClick:
|
|
160
|
-
contextOptions:
|
|
18
|
+
hasAirlineChanges: m,
|
|
19
|
+
onClick: f,
|
|
20
|
+
contextOptions: h = []
|
|
161
21
|
}) => {
|
|
162
|
-
var
|
|
163
|
-
const { t:
|
|
164
|
-
return /* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
] },
|
|
171
|
-
|
|
22
|
+
var p;
|
|
23
|
+
const { t: n } = D();
|
|
24
|
+
return /* @__PURE__ */ e("div", { className: "selected-flight-card", onClick: f, children: /* @__PURE__ */ i("div", { className: "content", children: [
|
|
25
|
+
/* @__PURE__ */ i("div", { className: "top-section", children: [
|
|
26
|
+
/* @__PURE__ */ i("div", { className: "header", children: [
|
|
27
|
+
/* @__PURE__ */ e("div", { children: s == null ? void 0 : s.map((a) => /* @__PURE__ */ i("div", { className: "airline-logo tip", children: [
|
|
28
|
+
/* @__PURE__ */ e("img", { src: a.logo, alt: a.name }),
|
|
29
|
+
/* @__PURE__ */ e("span", { className: "right", children: a.name })
|
|
30
|
+
] }, a.name)) }),
|
|
31
|
+
h.length > 0 && /* @__PURE__ */ e(
|
|
172
32
|
"div",
|
|
173
33
|
{
|
|
174
|
-
onClick: (
|
|
175
|
-
|
|
34
|
+
onClick: (a) => {
|
|
35
|
+
a.stopPropagation();
|
|
176
36
|
},
|
|
177
|
-
children: /* @__PURE__ */
|
|
37
|
+
children: /* @__PURE__ */ e(M, { options: h })
|
|
178
38
|
}
|
|
179
39
|
)
|
|
180
40
|
] }),
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ i("div", { className: "flight", children: [
|
|
42
|
+
/* @__PURE__ */ e("p", { className: "departure-title", children: c.airportCode }),
|
|
43
|
+
/* @__PURE__ */ e(E, {}),
|
|
44
|
+
/* @__PURE__ */ e("p", { className: "arrival-title", children: l.airportCode }),
|
|
45
|
+
/* @__PURE__ */ e("span", { className: "flight-trail" })
|
|
186
46
|
] }),
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ i("div", { className: "flight-details", children: [
|
|
48
|
+
/* @__PURE__ */ i("div", { className: "destination", children: [
|
|
49
|
+
/* @__PURE__ */ e("span", { children: c.location }),
|
|
50
|
+
/* @__PURE__ */ e("span", { children: l.location })
|
|
191
51
|
] }),
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
/* @__PURE__ */
|
|
194
|
-
|
|
52
|
+
/* @__PURE__ */ i("div", { className: "time", children: [
|
|
53
|
+
/* @__PURE__ */ e("p", { children: t(c.dateTime).format(
|
|
54
|
+
n(r.DATE_TIME_MEDIUM, o.FlightShortDate)
|
|
195
55
|
) }),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
|
|
56
|
+
/* @__PURE__ */ e("p", { children: t(l.dateTime).format(
|
|
57
|
+
n(r.DATE_TIME_MEDIUM, o.FlightShortDate)
|
|
198
58
|
) })
|
|
199
59
|
] })
|
|
200
60
|
] })
|
|
201
61
|
] }),
|
|
202
|
-
/* @__PURE__ */
|
|
203
|
-
/* @__PURE__ */
|
|
204
|
-
(d ||
|
|
205
|
-
d && /* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ e("div", { className: "mid-section", children: /* @__PURE__ */ e("div", { className: "dashes" }) }),
|
|
63
|
+
/* @__PURE__ */ i("div", { className: "bottom-section", children: [
|
|
64
|
+
(d || m) && /* @__PURE__ */ i("div", { className: "notices", children: [
|
|
65
|
+
d && /* @__PURE__ */ e("div", { className: "cancelled-notice", children: /* @__PURE__ */ i("p", { children: [
|
|
206
66
|
"Cancelled:",
|
|
207
67
|
" ",
|
|
208
|
-
(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
68
|
+
(p = t(d)) == null ? void 0 : p.format(
|
|
69
|
+
n(
|
|
70
|
+
r.DISPLAY_MEDIUM_WITH_YEAR,
|
|
71
|
+
o.USStringDateFormat
|
|
212
72
|
)
|
|
213
73
|
)
|
|
214
74
|
] }) }),
|
|
215
|
-
|
|
75
|
+
m && /* @__PURE__ */ e("div", { className: "cancelled-notice", children: /* @__PURE__ */ e("p", { children: "Changes Pending Review" }) })
|
|
216
76
|
] }),
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ i("div", { className: "bottom-header", children: [
|
|
78
|
+
/* @__PURE__ */ e("p", { children: "Booking Confirmation" }),
|
|
219
79
|
" ",
|
|
220
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ e("div", { className: "id-and-icon", children: /* @__PURE__ */ e("span", { children: v }) })
|
|
221
81
|
] }),
|
|
222
|
-
/* @__PURE__ */
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ i("div", { className: "bottom-section-details", children: [
|
|
83
|
+
/* @__PURE__ */ i("div", { children: [
|
|
84
|
+
/* @__PURE__ */ e("p", { children: "Class" }),
|
|
85
|
+
/* @__PURE__ */ e("span", { children: N })
|
|
226
86
|
] }),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ i("div", { children: [
|
|
88
|
+
/* @__PURE__ */ e("p", { children: "Passengers" }),
|
|
89
|
+
/* @__PURE__ */ e("span", { children: g })
|
|
230
90
|
] })
|
|
231
91
|
] })
|
|
232
92
|
] })
|
|
233
93
|
] }) });
|
|
234
94
|
};
|
|
235
95
|
export {
|
|
236
|
-
|
|
96
|
+
b as FlightBooking
|
|
237
97
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { G as g } from "../../../index-
|
|
2
|
+
import { G as g } from "../../../index-CDh8vAM_.js";
|
|
3
3
|
import { h as k } from "../../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import { E as N } from "../../../DateFormats-DZD30Nea.js";
|
|
5
5
|
import "react";
|
|
@@ -6,7 +6,7 @@ import { r as mt, R as yt } from "../../index-Cv-wvFlM.js";
|
|
|
6
6
|
import { useQuery as gt } from "@tanstack/react-query";
|
|
7
7
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
8
8
|
import { E as Ct } from "../../AccountService-CtMwRIoL.js";
|
|
9
|
-
import { b as de } from "../../index-
|
|
9
|
+
import { b as de } from "../../index-CDh8vAM_.js";
|
|
10
10
|
import "../../context/AwayzContext.js";
|
|
11
11
|
import "../../configs/awayzClient.js";
|
|
12
12
|
import { useAwayzContext as wt } from "../../hooks/useAwayzContext.js";
|
|
@@ -14,6 +14,7 @@ import "../../services/noRetryInstance.js";
|
|
|
14
14
|
import { CurrencyService as Et } from "../../services/currency/CurrencyService.js";
|
|
15
15
|
import { EInvalidAmountDisplayOption as N, EToolTipPosition as Pt } from "./CashValueTypes.js";
|
|
16
16
|
import '../../assets/_styles.css';import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';/* empty css */
|
|
17
|
+
import "react-i18next";
|
|
17
18
|
/* empty css */
|
|
18
19
|
/* empty css */
|
|
19
20
|
/* empty css */
|
|
@@ -478,7 +479,7 @@ var Jt = Object.freeze({
|
|
|
478
479
|
)
|
|
479
480
|
);
|
|
480
481
|
_e.displayName = er;
|
|
481
|
-
var tr = _e, [V,
|
|
482
|
+
var tr = _e, [V, jr] = he("Tooltip", [
|
|
482
483
|
Pe
|
|
483
484
|
]), j = Pe(), Le = "TooltipProvider", rr = 700, X = "tooltip.open", [nr, J] = V(Le), Ie = (e) => {
|
|
484
485
|
const {
|
|
@@ -789,7 +790,7 @@ function mr(e) {
|
|
|
789
790
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
790
791
|
}
|
|
791
792
|
var yr = Ie, gr = Me, Cr = He, wr = Fe, Er = ke, Pr = Be;
|
|
792
|
-
const br = 1e3 * 60 * 60,
|
|
793
|
+
const br = 1e3 * 60 * 60, Gr = ({
|
|
793
794
|
amount: e,
|
|
794
795
|
currency: t,
|
|
795
796
|
position: r = Pt.RIGHT,
|
|
@@ -889,6 +890,6 @@ const br = 1e3 * 60 * 60, jr = ({
|
|
|
889
890
|
) })
|
|
890
891
|
] }) });
|
|
891
892
|
export {
|
|
892
|
-
|
|
893
|
+
Gr as CashValue,
|
|
893
894
|
br as CurrencyCallStaleTimeMs
|
|
894
895
|
};
|
|
@@ -11,10 +11,11 @@ import { EAuthFlow as i } from "../../types/EAuthFlow.js";
|
|
|
11
11
|
import "../../services/noRetryInstance.js";
|
|
12
12
|
import { EToolTipPosition as t, EInvalidAmountDisplayOption as o } from "./CashValueTypes.js";
|
|
13
13
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';/* empty css */
|
|
14
|
+
import "react-i18next";
|
|
14
15
|
/* empty css */
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
|
-
const
|
|
18
|
+
const h = {
|
|
18
19
|
title: "Core/Cash Value",
|
|
19
20
|
component: n,
|
|
20
21
|
parameters: {
|
|
@@ -56,46 +57,46 @@ const f = {
|
|
|
56
57
|
}
|
|
57
58
|
)
|
|
58
59
|
]
|
|
59
|
-
},
|
|
60
|
+
}, _ = {
|
|
60
61
|
name: "Euro to Dollar Cash Value",
|
|
61
62
|
args: {
|
|
62
63
|
amount: 100,
|
|
63
64
|
currency: "EUR"
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, v = {
|
|
66
67
|
name: "Invalid Amount",
|
|
67
68
|
args: {
|
|
68
69
|
amount: "invalid",
|
|
69
70
|
currency: "EUR"
|
|
70
71
|
}
|
|
71
|
-
},
|
|
72
|
+
}, I = {
|
|
72
73
|
name: "Zero Amount with Display as Zero",
|
|
73
74
|
args: {
|
|
74
75
|
amount: 0,
|
|
75
76
|
zeroDisplayOption: o.DISPLAY_AS_ZERO,
|
|
76
77
|
currency: "EUR"
|
|
77
78
|
}
|
|
78
|
-
},
|
|
79
|
+
}, U = {
|
|
79
80
|
name: "Zero Amount with Display as Zero With Currency",
|
|
80
81
|
args: {
|
|
81
82
|
amount: 0,
|
|
82
83
|
zeroDisplayOption: o.DISPLAY_AS_ZERO_WITH_CURRENCY,
|
|
83
84
|
currency: "EUR"
|
|
84
85
|
}
|
|
85
|
-
},
|
|
86
|
+
}, b = {
|
|
86
87
|
name: "Zero Amount with Display as Zero With Currency No Decimal",
|
|
87
88
|
args: {
|
|
88
89
|
amount: 0,
|
|
89
90
|
zeroDisplayOption: o.DISPLAY_AS_ZERO_WITH_CURRENCY_NO_DECIMAL,
|
|
90
91
|
currency: "EUR"
|
|
91
92
|
}
|
|
92
|
-
},
|
|
93
|
+
}, N = {
|
|
93
94
|
name: "Negative Amount",
|
|
94
95
|
args: {
|
|
95
96
|
amount: -100,
|
|
96
97
|
currency: "EUR"
|
|
97
98
|
}
|
|
98
|
-
},
|
|
99
|
+
}, S = {
|
|
99
100
|
name: "Custom Zero Amount",
|
|
100
101
|
args: {
|
|
101
102
|
amount: 0,
|
|
@@ -105,12 +106,12 @@ const f = {
|
|
|
105
106
|
}
|
|
106
107
|
};
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
S as CustomZeroAmount,
|
|
110
|
+
_ as Default,
|
|
111
|
+
v as InvalidAmount,
|
|
112
|
+
N as NegativeAmount,
|
|
113
|
+
I as ZeroAmount,
|
|
114
|
+
U as ZeroCurrencyAmount,
|
|
115
|
+
b as ZeroCurrencyNoDecimalAmount,
|
|
116
|
+
h as default
|
|
116
117
|
};
|
|
@@ -4,7 +4,7 @@ import Z, { useState as or } from "react";
|
|
|
4
4
|
import { q as ie, d as me, u as T, a as ar, c as R, b as U, e as ir, f as cr, g as Ue, o as sr, s as ur, h as lr, i as dr, j as fr, k as pr, l as vr, m as mr, n as oe, p as Qe, P as Oe } from "../../index-BC-KTkxU.js";
|
|
5
5
|
import { r as hr, R as gr } from "../../index-Cv-wvFlM.js";
|
|
6
6
|
import '../../assets/_styles3.css';/* empty css */
|
|
7
|
-
import { c as br, d as yr } from "../../index-
|
|
7
|
+
import { c as br, d as yr } from "../../index-CDh8vAM_.js";
|
|
8
8
|
// @__NO_SIDE_EFFECTS__
|
|
9
9
|
function ht(e) {
|
|
10
10
|
const t = /* @__PURE__ */ Cr(e), n = a.forwardRef((r, o) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import '../../../assets/_styles2.css';/* empty css */
|
|
3
|
-
import {
|
|
3
|
+
import { a as l } from "../../../index-CDh8vAM_.js";
|
|
4
4
|
import "../../../arrayExtensions-DlcBOj5a.js";
|
|
5
5
|
import "react";
|
|
6
6
|
const t = (r) => {
|
|
@@ -10,10 +10,11 @@ import "../../../configs/awayzClient.js";
|
|
|
10
10
|
import { EAuthFlow as e } from "../../../types/EAuthFlow.js";
|
|
11
11
|
import "../../../services/noRetryInstance.js";
|
|
12
12
|
import '../../../assets/_styles5.css';import '../../../assets/_styles4.css';import '../../../assets/_styles3.css';import '../../../assets/_styles.css';/* empty css */
|
|
13
|
+
import "react-i18next";
|
|
13
14
|
/* empty css */
|
|
14
15
|
/* empty css */
|
|
15
16
|
/* empty css */
|
|
16
|
-
const
|
|
17
|
+
const y = {
|
|
17
18
|
title: "Wallet/Card",
|
|
18
19
|
component: r,
|
|
19
20
|
parameters: {
|
|
@@ -34,7 +35,7 @@ const v = {
|
|
|
34
35
|
}
|
|
35
36
|
)
|
|
36
37
|
]
|
|
37
|
-
},
|
|
38
|
+
}, z = {
|
|
38
39
|
args: {
|
|
39
40
|
details: {
|
|
40
41
|
id: "12345",
|
|
@@ -46,7 +47,7 @@ const v = {
|
|
|
46
47
|
console.log("Card deleted:", o);
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
},
|
|
50
|
+
}, D = {
|
|
50
51
|
args: {
|
|
51
52
|
details: {
|
|
52
53
|
name: "IHG Rewards Club Premier",
|
|
@@ -56,7 +57,7 @@ const v = {
|
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
z as DarkCard,
|
|
61
|
+
D as LightCard,
|
|
62
|
+
y as default
|
|
62
63
|
};
|
|
@@ -9,11 +9,12 @@ import { EBookingType as e } from "../../services/trips/TripService.types.js";
|
|
|
9
9
|
import "../../services/noRetryInstance.js";
|
|
10
10
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
+
import "react-i18next";
|
|
12
13
|
/* empty css */
|
|
13
14
|
/* empty css */
|
|
14
15
|
/* empty css */
|
|
15
16
|
import { BookingService as o } from "../../services/bookings/BookingService.js";
|
|
16
|
-
const
|
|
17
|
+
const A = (r, i) => {
|
|
17
18
|
const {
|
|
18
19
|
data: l,
|
|
19
20
|
isError: c,
|
|
@@ -34,8 +35,8 @@ const z = (r, i) => {
|
|
|
34
35
|
mutate: g,
|
|
35
36
|
isPending: O,
|
|
36
37
|
isError: y,
|
|
37
|
-
error:
|
|
38
|
-
isSuccess:
|
|
38
|
+
error: p,
|
|
39
|
+
isSuccess: f
|
|
39
40
|
} = s({
|
|
40
41
|
mutationFn: async () => {
|
|
41
42
|
if (i === e.FLIGHT)
|
|
@@ -77,8 +78,8 @@ const z = (r, i) => {
|
|
|
77
78
|
initiateCancellation: g,
|
|
78
79
|
isInitiatingCancellation: O,
|
|
79
80
|
isInitiateCancellationError: y,
|
|
80
|
-
initiateCancellationError:
|
|
81
|
-
isInitiateCancellationSuccess:
|
|
81
|
+
initiateCancellationError: p,
|
|
82
|
+
isInitiateCancellationSuccess: f,
|
|
82
83
|
cancelBooking: C,
|
|
83
84
|
isCancelingBooking: F,
|
|
84
85
|
isCancelBookingError: K,
|
|
@@ -87,5 +88,5 @@ const z = (r, i) => {
|
|
|
87
88
|
};
|
|
88
89
|
};
|
|
89
90
|
export {
|
|
90
|
-
|
|
91
|
+
A as useBookingManagement
|
|
91
92
|
};
|
|
@@ -12,11 +12,12 @@ import "@tanstack/react-query";
|
|
|
12
12
|
import { EBookingType as n } from "../../services/trips/TripService.types.js";
|
|
13
13
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
+
import "react-i18next";
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
18
19
|
import { d as s, v as u, t as l, g as e } from "../../vi.ClIskdbk-k6t29WRA.js";
|
|
19
|
-
const d = !0, m = /* @__PURE__ */ JSON.parse('{"_id":"684887c537d26f7b107a760a","booking_id":"bok_0000AvQVt1LpHMWHbINGyv","user_id":"67d82b1c52c4a4dbe4e640c0","guest_types":[{"age":null,"type":"adult"},{"age":null,"type":"adult"}],"supported_loyalty_programme":"marriott_bonvoy","guests":[{"family_name":"Botha","given_name":"Adriaan","user_id":null},{"family_name":"terst","given_name":"test","user_id":null}],"check_out_date":"2025-07-15","loyalty_programme_account_number":null,"rooms":1,"accommodation":{"payment_instruction_supported":false,"check_in_information":{"check_out_before_time":"12:00","check_in_before_time":"00:00","check_in_after_time":"15:00"},"review_score":7.9,"rating":5,"supported_loyalty_programme":"marriott_bonvoy","photos":[{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/121/vierz-entrance-6310-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/183/668/598/rz-vierz-vienna-sunset-38389_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/149/vierz-lobby-0027-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/157/vierz-lobby-0026-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/141/vierz-exterior-6710-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/133/vierz-exterior-6299-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/721/o5JdVggTVkKFtvT1DItFaA_Elegant_hotel_lobby_light_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/89/fmg3QZ5Jq0eDuP4nJwcZ9A_Easter-Shooting-19_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/113/qlenNnrdUkm8b5LPQQfAg_Easter-Shooting-5_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/267/g4PwHPfbUGC0fKb009VIA_Art_museum_gallery_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/15/vierz-presidential-bedroom-8422-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/983/vierz-bedroom-6317-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/761/pdFLyxA5EeDMOsoaEtUmw_Guest_suite_entrance_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/928/rz-vierz-bedroom-34939_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/901/rz-vierz-bedroom-25588_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/321/rz-vierz-vierz-bedroom-15559-16137_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/690/OUEnemjKB0CEJjxOoOXxA_Private_lounge_experience_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/842/943/rz-vierz-symphony-bedroom-27894-95023_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/863/vierz-albertina-suite-4193-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/923/vierz-suite-6325-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/857/vierz-master-bedroom-2587-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/957/rz-vierz-junior-family-suite-37388-25341_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/963/vierz-suite-6335-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/951/vierz-suite-6331-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/957/vierz-suite-6333-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/997/vierz-suite-0011-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/990/vierz-suite-0023-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/875/vierz-albertina-dining-8426-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/3/vierz-presidential-living-8420-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/987/rz-vierz-presidential-suite-12713-39794_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/869/vierz-albertina-living-8425-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/936/vierz-suite-6328-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/943/vierz-suite-6329-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/929/vierz-suite-6324-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/645/rz-vierz-living-room-29570_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/657/rz-vierz-vierz-living-room-29938-84307_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/631/rz-vierz-vierz-living-room-41895-96289_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/665/rz-vierz-vierz-living-room-21235-09499_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/611/JawdUYtvK0mIfjiLnx4gYA_Intimate_hotel_suite_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/731/XLGF9v4OkC25CBu6ux7HQ_Luxury_lounge_seating_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/977/vierz-junior-2880-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/971/vierz-junior-2879-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/881/vierz-albertina-suite-8411-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/892/vierz-albertina-9033-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/898/vierz-albertina-9032-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/904/vierz-premium-9034-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/911/vierz-premium-9035-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/917/vierz-premium-9036-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/710/CpTJpzIYR0i4MOOdcoSJQ_Close-up_of_violin_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/66/35lGr9hhAkqVTgp6fCyvdA_Symphony_Violin_23059_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/751/4ZoR0Ivg9kWmtCaq2em8EQ_Elegant_suite_artwork_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/97/5S4hKYpLK0KjlHFGEWVRlw_Easter-Shooting-9_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/129/Rg2r3LALEy9wlAik7ryBA_Easter-Shooting-8_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/21/vierz-presidential-9031-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/887/vierz-albertina-9042-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/469/CbP50S8RGEiNCe9JWJ5sw_Dramatic_lighting_effect_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/497/fPEf3R7IJUKJkEIMORRpQ_Royal_ballroom_ceiling_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/343/rz-vierz-spa-suite-40141_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/288/YiRNIuydcUKDPeCFkGOvSQ_Exclusive_suite_interiors_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/311/n5AxlvAZaUuoJyv6ywG0jQ_Classic_architecture_view_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/361/B3ePfhiHESj91tmkFz3YA_Opulent_curtain_backdrop_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/336/Wsrfz2WACkqOIPaupELdw_Guest_enjoying_sunset_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/28/vierz-suite-0017-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/35/vierz-suite-0018-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/47/vierz-albertina-bathroom-8806-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/695/rz-vierz-vierz-main-bathroom-24479-38248_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/18/rz-vierz-main-bathroom-37139_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/41/vierz-bathroom-9043-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/26/rz-vierz-bathtub-16386_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/634/vierz-guestroom-6316-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/622/vierz-king-deluxe-8419-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/630/vierz-guestroom-6322-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/837/vierz-premium-deluxe-8823-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/642/vierz-king-premium-8418-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/618/vierz-twin-premium-8416-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/638/vierz-guestroom-6315-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/626/vierz-guestroom-6319-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/614/vierz-twin-deluxe-8417-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/232/rz-vierz-twin-guest-room-16635_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/273/rz-vierz-deluxe-room-bedroom-34538_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/847/vierz-pastamara-amenities-8814-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/646/vierz-premium-9039-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/650/vierz-premium-9038-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/662/vierz-guest-view-6339-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/654/vierz-premium-9037-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/252/rz-vierz-premium-guest-room-28590-12892_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/666/vierz-guest-view-6340-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/129/816/nnLtrdG87k2mY2ju6J096g_Easter-Shooting-15_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/680/vierz-bathroom-7118-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/684/vierz-guest-bathroom-2585-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/688/vierz-guest-bathroom-2586-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/782/vierz-club-lounge-7450-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/790/vierz-club-lounge-7451-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/770/vierz-club-lounge-7446-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/798/vierz-club-lounge-7453-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/778/vierz-club-lounge-7449-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/794/vierz-club-lounge-7452-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/13/rz-vierz-club-lounge-34358_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/17/rz-vierz-club-lounge-32465_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/21/rz-vierz-club-lounge-12689_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/866/vierz-bar-9487-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/862/vierz-dstrikt-steakhouse-1829-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/838/rz-vierz-josper-steak--fire-19136-43292_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/822/rz-vierz-josper-grill-beans-26692_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/800/rz-vierz-dry-gin-21450_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/537/rz-vierz-atmosphere-rooftop-23150-21549_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/97/zYxULMrSCEW0nUpWvM1eg_Atmosphere_Rooftop_29915_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/549/rz-vierz-d-bar-12475_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/521/rz-vierz-atmosphere-rooftop-32999-45914_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/567/rz-vierz-d-bar-27828_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/557/rz-vierz-d-bar-31643_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/600/rz-vierz-atmosphere-rooftop-29936-12789_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/594/rz-vierz-atmosphere-rooftop--13641-24498_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/240/rz-vierz-atmosphere-rooftop--38254-15441_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/604/rz-vierz-atmosphere-rooftop--40092-98172_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/608/rz-vierz-atmosphere-rooftop--21195-64954_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/830/vierz-bar-9486-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/153/heZggMucIkaGlTFOe3tuTg_vierz-dstrikt-steakhouse-8817_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/128/PRzNm4mTwkGe0UHCM0dMw_vierz-dstrikt-steakhouse-8820_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/177/nWULD9brwE284eqbUqFO1A_vierz-dstrikt-steakhouse-8818_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/826/vierz-bar-9482-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/199/BpdlaJeJKEu04gVtjPVmrQ_vierz-dstrikt-steakhouse-8821_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/222/BfaE9BMnG0qE9NEHZixa4A_vierz-dbar-8811_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/216/385/vierz-dstrikt-outside-8819_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/274/xl0gEuptz0eED35IlKf7bA_vierz-dstrikt-steakhouse-8807_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/248/oOXS9CC8L0C6yWyxcnI6IQ_vierz-cheesecake-8541_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/266/50579485-trcv201812_0325kl_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/105/gIwmWNOgoEWFINSMC9i3eA_Easter-Shooting-03_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/479/wulNBILXsk28GWAlrPZBQ_Breakfast_18417_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/494/VQRJkijAKEeOEOYXfhlkEg_Lunch_and_Dinner_27129_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/858/vierz-rooftop-bar-3601-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/872/vierz-pool-7296-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/883/vierz-fitness-center-8414-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/876/vierz-pool-7297-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/296/SMJxxxRO3E6kjfIDTVEIvQ_vierz-indoor-pool-8815_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/889/vierz-spa-suite-7305-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/309/vierz-spa-suite-8822-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/319/vierz-sauna-8824-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/335/rz-vierz-spa-suite-18269_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/318/mOG7Iu9DiEyZdm8x89WsXQ_vierz-crystal-foyer-6303_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/342/46syc0hmf0q747jnkgQpNw_vierz-crystal-ballroom-6308_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/361/dnAsuBd2Ee8fBGVgRwrmw_vierz-petite-palais-6305_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/460/8a536oe9akqni8qVSpiHmw_vierz-boardroom-2583_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/376/5qdgU8kWy0i9gdNoKC4u1A_vierz-crystal-foyer-6306_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/392/foHS8ILfeUKUqRpGs0pLUA_vierz-palais-6304_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/489/SuozDZGK3UC7FJESLnIqSQ_vierz-boardroom-2584_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/412/Fda7Ml0DZ02Xizt1JtA4Q_vierz-crystal-foyer-8542_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/512/yV0XzqjoVEmT9NeVAPOi5A_vierz-seminar-setup-8829_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/539/SJ1tQQ6I6U2b7IIqpF7gQ_vierz-boardroom-0046_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/572/26H1BaGroUaLHogB9kICEQ_vierz-refreshment-0043_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/600/VHWdMS5dnUSx4NpvCma0fg_vierz-rooftop-wedding-8424_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/624/yV5nXukqkGnxhCzREp5NA_vierz-crystal-0048_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/645/tzrK3J23kEqqsXvvWbMDsg_vierz-palais-0047_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/774/vierz-club-lounge-7447-hor-clsc_H.jpg"}],"ratings":[{"source":"northstar","value":5}],"key_collection":null,"rooms":[{"beds":null,"photos":null,"rates":[{"payment_instruction_allowed":false,"cancellation_timeline":[{"refund_amount":"531.00","currency":"EUR","before":"2025-06-24T10:00:00Z"}],"public_currency":"EUR","due_at_accommodation_currency":"EUR","due_at_accommodation_amount":null,"quantity_available":null,"public_amount":null,"deal_types":null,"loyalty_programme_required":false,"board_type":"room_only","supported_loyalty_programme":"marriott_bonvoy","available_payment_methods":["card"],"fee_amount":"0.00","tax_currency":"EUR","base_currency":"EUR","base_amount":"531.00","tax_amount":"0.00","fee_currency":"EUR","total_currency":"EUR","payment_type":"deposit","total_amount":"531.00","conditions":[{"title":"Cancellation","description":"cancel: changes not allowed non - refundable rate cancellation permitted up to 1 days after booking."},{"title":"Deposit","description":"Book 10 Days Before Arrival 531.00 Eur Deposit Due - 1 Days After Booking Credit Card Deposit Only"},{"title":"Other","description":"A Credit Card Is Required For Payment To Guarantee The Prepay Non-Refundable Non-Changeable Rate. Prepay Rates Will Be Charged The Full Cost Of The Reservation Within 24 Hours Of Making The Reservation. If Payment Is Unsuccessful Within 48 Hours Of Making The Reservation The Hotel Reserves The Right To Cancel The Reservation. Date Changes To The Reservation Are Not Allowed. Cancellation Will Result In Forfeiture Of The Prepayment. The Credit Card Used At The Time Of Making The Reservation Must Be Valid For The Entire Stay. After 2 People - 120.00 Eur Person Extra Person Person Night"},{"title":"Room detail","description":"Deluxe Guest Room 2 Twin Mini Fridge 38 Square Metre/409 Square Feet Wireless Internet Complimentary Coffee/Tea Maker Maximum Occupancy- 2 Guests"},{"title":"Property","description":"Location: Property Offers Check Out For Children/Unicef Program. Voluntary Participation Offered At Check-In."},{"title":"Room Hold Expiration Time","description":"BOOKING HELD UNTIL 00:00 LOCAL HOTEL TIME ON ARRIVAL DATE"}],"source":"travelport","id":"rat_0000AvQVl8YKcSy3cTSr56","code":null}],"name":"Full, No Changes, Deluxe, Guest Room, 2 Twin"}],"amenities":[{"description":"24-Hour Front Desk","type":"24_hour_front_desk"},{"description":"Concierge","type":"concierge"},{"description":"Spa","type":"spa"},{"description":"Gym","type":"gym"},{"description":"Swimming Pool","type":"pool"},{"description":"Room Service","type":"room_service"},{"description":"Wheelchair Access","type":"accessibility_mobility"},{"description":"Wi-Fi","type":"wifi"},{"description":"Childcare Services","type":"childcare_service"}],"brand":{"name":"The Ritz-Carlton","id":"bra_DQPneLbCejxRuxAqD7amaW"},"phone_number":"00000 000 000","chain":{"name":"Marriott International"},"email":"test-mode-accommodation@example.com","location":{"geographic_coordinates":{"latitude":48.202473,"longitude":16.376202},"address":{"line_one":"Schubertring 5-7","city_name":"Vienna","postal_code":"1010 ","country_code":"AT","region":null}},"description":"The Ritz-Carlton, Vienna, located in four historic 19th-century palaces combines legendary service with Austrian hospitality. The 201 luxurious guest rooms and suites are generously proportioned and stylishly furnished. The Ritz-Carlton Club Lounge on the 7th floor pampers its guests with personalized service as well as five culinary offers per day. The Ritz-Carlton Spa has elegantly appointed treatment suites, an 18m indoor pool and a range of amenities that invite our guests to unique spa experiences. Unique culinary delights await guests at the farm-to-table Dstrikt Steakhouse, during aperitivo time at Pastamara - Bar con Cucina and the elegant hotel bar D-bar. Located on the 8th floor rooftop terrace, the Atmosphere Rooftop Bar offers a breathtaking view over the city. Located in the heart of the city and only a short walk from the city park, the luxury hotel is the perfect starting point to discover Vienna.","name":"The Ritz-Carlton Vienna","id":"acc_0000AWPszvlu6zjbTePuxQ"},"confirmed_at":"2025-06-23T15:52:20.328139Z","check_in_date":"2025-07-14","phone_number":"+1 612 345 8516","cancelled_at":null,"email":"adriaanb98@gmail.com","users":["icu_0000Asbm8q0FlWOhf0fDUm"],"reference":"O4C6IS","metadata":null,"status":"booking confirmed"}'), g = { internalRequestId: "818a9940-57ee-444e-923c-d0d6fc2bc82d" }, _ = {
|
|
20
|
+
const d = !0, m = /* @__PURE__ */ JSON.parse('{"_id":"684887c537d26f7b107a760a","booking_id":"bok_0000AvQVt1LpHMWHbINGyv","user_id":"67d82b1c52c4a4dbe4e640c0","guest_types":[{"age":null,"type":"adult"},{"age":null,"type":"adult"}],"supported_loyalty_programme":"marriott_bonvoy","guests":[{"family_name":"Botha","given_name":"Adriaan","user_id":null},{"family_name":"terst","given_name":"test","user_id":null}],"check_out_date":"2025-07-15","loyalty_programme_account_number":null,"rooms":[{}],"accommodation":{"payment_instruction_supported":false,"check_in_information":{"check_out_before_time":"12:00","check_in_before_time":"00:00","check_in_after_time":"15:00"},"review_score":7.9,"rating":5,"supported_loyalty_programme":"marriott_bonvoy","photos":[{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/121/vierz-entrance-6310-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/183/668/598/rz-vierz-vienna-sunset-38389_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/149/vierz-lobby-0027-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/157/vierz-lobby-0026-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/141/vierz-exterior-6710-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/647/133/vierz-exterior-6299-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/721/o5JdVggTVkKFtvT1DItFaA_Elegant_hotel_lobby_light_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/89/fmg3QZ5Jq0eDuP4nJwcZ9A_Easter-Shooting-19_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/113/qlenNnrdUkm8b5LPQQfAg_Easter-Shooting-5_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/267/g4PwHPfbUGC0fKb009VIA_Art_museum_gallery_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/15/vierz-presidential-bedroom-8422-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/983/vierz-bedroom-6317-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/761/pdFLyxA5EeDMOsoaEtUmw_Guest_suite_entrance_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/928/rz-vierz-bedroom-34939_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/901/rz-vierz-bedroom-25588_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/321/rz-vierz-vierz-bedroom-15559-16137_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/690/OUEnemjKB0CEJjxOoOXxA_Private_lounge_experience_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/842/943/rz-vierz-symphony-bedroom-27894-95023_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/863/vierz-albertina-suite-4193-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/923/vierz-suite-6325-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/857/vierz-master-bedroom-2587-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/957/rz-vierz-junior-family-suite-37388-25341_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/963/vierz-suite-6335-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/951/vierz-suite-6331-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/957/vierz-suite-6333-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/997/vierz-suite-0011-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/990/vierz-suite-0023-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/875/vierz-albertina-dining-8426-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/3/vierz-presidential-living-8420-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/987/rz-vierz-presidential-suite-12713-39794_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/869/vierz-albertina-living-8425-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/936/vierz-suite-6328-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/943/vierz-suite-6329-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/929/vierz-suite-6324-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/645/rz-vierz-living-room-29570_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/657/rz-vierz-vierz-living-room-29938-84307_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/631/rz-vierz-vierz-living-room-41895-96289_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/665/rz-vierz-vierz-living-room-21235-09499_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/611/JawdUYtvK0mIfjiLnx4gYA_Intimate_hotel_suite_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/731/XLGF9v4OkC25CBu6ux7HQ_Luxury_lounge_seating_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/977/vierz-junior-2880-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/971/vierz-junior-2879-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/881/vierz-albertina-suite-8411-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/892/vierz-albertina-9033-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/898/vierz-albertina-9032-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/904/vierz-premium-9034-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/911/vierz-premium-9035-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/917/vierz-premium-9036-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/710/CpTJpzIYR0i4MOOdcoSJQ_Close-up_of_violin_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/66/35lGr9hhAkqVTgp6fCyvdA_Symphony_Violin_23059_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/193/507/751/4ZoR0Ivg9kWmtCaq2em8EQ_Elegant_suite_artwork_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/97/5S4hKYpLK0KjlHFGEWVRlw_Easter-Shooting-9_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/129/Rg2r3LALEy9wlAik7ryBA_Easter-Shooting-8_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/21/vierz-presidential-9031-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/887/vierz-albertina-9042-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/469/CbP50S8RGEiNCe9JWJ5sw_Dramatic_lighting_effect_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/975/497/fPEf3R7IJUKJkEIMORRpQ_Royal_ballroom_ceiling_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/343/rz-vierz-spa-suite-40141_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/288/YiRNIuydcUKDPeCFkGOvSQ_Exclusive_suite_interiors_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/311/n5AxlvAZaUuoJyv6ywG0jQ_Classic_architecture_view_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/361/B3ePfhiHESj91tmkFz3YA_Opulent_curtain_backdrop_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/194/803/336/Wsrfz2WACkqOIPaupELdw_Guest_enjoying_sunset_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/28/vierz-suite-0017-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/35/vierz-suite-0018-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/47/vierz-albertina-bathroom-8806-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/157/805/695/rz-vierz-vierz-main-bathroom-24479-38248_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/18/rz-vierz-main-bathroom-37139_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/697/41/vierz-bathroom-9043-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/610/26/rz-vierz-bathtub-16386_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/634/vierz-guestroom-6316-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/622/vierz-king-deluxe-8419-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/630/vierz-guestroom-6322-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/837/vierz-premium-deluxe-8823-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/642/vierz-king-premium-8418-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/618/vierz-twin-premium-8416-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/638/vierz-guestroom-6315-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/626/vierz-guestroom-6319-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/614/vierz-twin-deluxe-8417-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/232/rz-vierz-twin-guest-room-16635_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/273/rz-vierz-deluxe-room-bedroom-34538_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/153/696/847/vierz-pastamara-amenities-8814-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/646/vierz-premium-9039-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/650/vierz-premium-9038-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/662/vierz-guest-view-6339-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/654/vierz-premium-9037-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/154/548/252/rz-vierz-premium-guest-room-28590-12892_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/666/vierz-guest-view-6340-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/4/0/195/129/816/nnLtrdG87k2mY2ju6J096g_Easter-Shooting-15_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/680/vierz-bathroom-7118-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/684/vierz-guest-bathroom-2585-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/688/vierz-guest-bathroom-2586-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/782/vierz-club-lounge-7450-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/790/vierz-club-lounge-7451-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/770/vierz-club-lounge-7446-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/798/vierz-club-lounge-7453-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/778/vierz-club-lounge-7449-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/794/vierz-club-lounge-7452-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/13/rz-vierz-club-lounge-34358_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/17/rz-vierz-club-lounge-32465_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/1/0/177/800/21/rz-vierz-club-lounge-12689_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/866/vierz-bar-9487-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/862/vierz-dstrikt-steakhouse-1829-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/838/rz-vierz-josper-steak--fire-19136-43292_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/822/rz-vierz-josper-grill-beans-26692_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/399/800/rz-vierz-dry-gin-21450_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/537/rz-vierz-atmosphere-rooftop-23150-21549_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/97/zYxULMrSCEW0nUpWvM1eg_Atmosphere_Rooftop_29915_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/549/rz-vierz-d-bar-12475_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/521/rz-vierz-atmosphere-rooftop-32999-45914_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/567/rz-vierz-d-bar-27828_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/166/509/557/rz-vierz-d-bar-31643_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/600/rz-vierz-atmosphere-rooftop-29936-12789_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/594/rz-vierz-atmosphere-rooftop--13641-24498_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/240/rz-vierz-atmosphere-rooftop--38254-15441_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/604/rz-vierz-atmosphere-rooftop--40092-98172_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/179/261/608/rz-vierz-atmosphere-rooftop--21195-64954_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/830/vierz-bar-9486-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/153/heZggMucIkaGlTFOe3tuTg_vierz-dstrikt-steakhouse-8817_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/128/PRzNm4mTwkGe0UHCM0dMw_vierz-dstrikt-steakhouse-8820_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/177/nWULD9brwE284eqbUqFO1A_vierz-dstrikt-steakhouse-8818_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/826/vierz-bar-9482-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/199/BpdlaJeJKEu04gVtjPVmrQ_vierz-dstrikt-steakhouse-8821_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/222/BfaE9BMnG0qE9NEHZixa4A_vierz-dbar-8811_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/216/385/vierz-dstrikt-outside-8819_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/274/xl0gEuptz0eED35IlKf7bA_vierz-dstrikt-steakhouse-8807_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/248/oOXS9CC8L0C6yWyxcnI6IQ_vierz-cheesecake-8541_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/3/0/182/764/266/50579485-trcv201812_0325kl_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/5/0/194/16/105/gIwmWNOgoEWFINSMC9i3eA_Easter-Shooting-03_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/479/wulNBILXsk28GWAlrPZBQ_Breakfast_18417_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/197/539/494/VQRJkijAKEeOEOYXfhlkEg_Lunch_and_Dinner_27129_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/858/vierz-rooftop-bar-3601-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/872/vierz-pool-7296-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/883/vierz-fitness-center-8414-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/876/vierz-pool-7297-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/296/SMJxxxRO3E6kjfIDTVEIvQ_vierz-indoor-pool-8815_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/889/vierz-spa-suite-7305-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/309/vierz-spa-suite-8822-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/319/vierz-sauna-8824-hor-clsc_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/162/843/335/rz-vierz-spa-suite-18269_Classic-Hor_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/318/mOG7Iu9DiEyZdm8x89WsXQ_vierz-crystal-foyer-6303_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/342/46syc0hmf0q747jnkgQpNw_vierz-crystal-ballroom-6308_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/361/dnAsuBd2Ee8fBGVgRwrmw_vierz-petite-palais-6305_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/460/8a536oe9akqni8qVSpiHmw_vierz-boardroom-2583_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/376/5qdgU8kWy0i9gdNoKC4u1A_vierz-crystal-foyer-6306_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/392/foHS8ILfeUKUqRpGs0pLUA_vierz-palais-6304_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/489/SuozDZGK3UC7FJESLnIqSQ_vierz-boardroom-2584_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/160/412/Fda7Ml0DZ02Xizt1JtA4Q_vierz-crystal-foyer-8542_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/512/yV0XzqjoVEmT9NeVAPOi5A_vierz-seminar-setup-8829_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/539/SJ1tQQ6I6U2b7IIqpF7gQ_vierz-boardroom-0046_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/572/26H1BaGroUaLHogB9kICEQ_vierz-refreshment-0043_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/600/VHWdMS5dnUSx4NpvCma0fg_vierz-rooftop-wedding-8424_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/624/yV5nXukqkGnxhCzREp5NA_vierz-crystal-0048_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/2/0/189/161/645/tzrK3J23kEqqsXvvWbMDsg_vierz-palais-0047_H.jpg"},{"url":"https://travelport.leonardocontentcloud.com/imageRepo/7/0/148/115/774/vierz-club-lounge-7447-hor-clsc_H.jpg"}],"ratings":[{"source":"northstar","value":5}],"key_collection":null,"rooms":[{"beds":null,"photos":null,"rates":[{"payment_instruction_allowed":false,"cancellation_timeline":[{"refund_amount":"531.00","currency":"EUR","before":"2025-06-24T10:00:00Z"}],"public_currency":"EUR","due_at_accommodation_currency":"EUR","due_at_accommodation_amount":null,"quantity_available":null,"public_amount":null,"deal_types":null,"loyalty_programme_required":false,"board_type":"room_only","supported_loyalty_programme":"marriott_bonvoy","available_payment_methods":["card"],"fee_amount":"0.00","tax_currency":"EUR","base_currency":"EUR","base_amount":"531.00","tax_amount":"0.00","fee_currency":"EUR","total_currency":"EUR","payment_type":"deposit","total_amount":"531.00","conditions":[{"title":"Cancellation","description":"cancel: changes not allowed non - refundable rate cancellation permitted up to 1 days after booking."},{"title":"Deposit","description":"Book 10 Days Before Arrival 531.00 Eur Deposit Due - 1 Days After Booking Credit Card Deposit Only"},{"title":"Other","description":"A Credit Card Is Required For Payment To Guarantee The Prepay Non-Refundable Non-Changeable Rate. Prepay Rates Will Be Charged The Full Cost Of The Reservation Within 24 Hours Of Making The Reservation. If Payment Is Unsuccessful Within 48 Hours Of Making The Reservation The Hotel Reserves The Right To Cancel The Reservation. Date Changes To The Reservation Are Not Allowed. Cancellation Will Result In Forfeiture Of The Prepayment. The Credit Card Used At The Time Of Making The Reservation Must Be Valid For The Entire Stay. After 2 People - 120.00 Eur Person Extra Person Person Night"},{"title":"Room detail","description":"Deluxe Guest Room 2 Twin Mini Fridge 38 Square Metre/409 Square Feet Wireless Internet Complimentary Coffee/Tea Maker Maximum Occupancy- 2 Guests"},{"title":"Property","description":"Location: Property Offers Check Out For Children/Unicef Program. Voluntary Participation Offered At Check-In."},{"title":"Room Hold Expiration Time","description":"BOOKING HELD UNTIL 00:00 LOCAL HOTEL TIME ON ARRIVAL DATE"}],"source":"travelport","id":"rat_0000AvQVl8YKcSy3cTSr56","code":null}],"name":"Full, No Changes, Deluxe, Guest Room, 2 Twin"}],"amenities":[{"description":"24-Hour Front Desk","type":"24_hour_front_desk"},{"description":"Concierge","type":"concierge"},{"description":"Spa","type":"spa"},{"description":"Gym","type":"gym"},{"description":"Swimming Pool","type":"pool"},{"description":"Room Service","type":"room_service"},{"description":"Wheelchair Access","type":"accessibility_mobility"},{"description":"Wi-Fi","type":"wifi"},{"description":"Childcare Services","type":"childcare_service"}],"brand":{"name":"The Ritz-Carlton","id":"bra_DQPneLbCejxRuxAqD7amaW"},"phone_number":"00000 000 000","chain":{"name":"Marriott International"},"email":"test-mode-accommodation@example.com","location":{"geographic_coordinates":{"latitude":48.202473,"longitude":16.376202},"address":{"line_one":"Schubertring 5-7","city_name":"Vienna","postal_code":"1010 ","country_code":"AT","region":null}},"description":"The Ritz-Carlton, Vienna, located in four historic 19th-century palaces combines legendary service with Austrian hospitality. The 201 luxurious guest rooms and suites are generously proportioned and stylishly furnished. The Ritz-Carlton Club Lounge on the 7th floor pampers its guests with personalized service as well as five culinary offers per day. The Ritz-Carlton Spa has elegantly appointed treatment suites, an 18m indoor pool and a range of amenities that invite our guests to unique spa experiences. Unique culinary delights await guests at the farm-to-table Dstrikt Steakhouse, during aperitivo time at Pastamara - Bar con Cucina and the elegant hotel bar D-bar. Located on the 8th floor rooftop terrace, the Atmosphere Rooftop Bar offers a breathtaking view over the city. Located in the heart of the city and only a short walk from the city park, the luxury hotel is the perfect starting point to discover Vienna.","name":"The Ritz-Carlton Vienna","id":"acc_0000AWPszvlu6zjbTePuxQ"},"confirmed_at":"2025-06-23T15:52:20.328139Z","check_in_date":"2025-07-14","phone_number":"+1 612 345 8516","cancelled_at":null,"email":"adriaanb98@gmail.com","users":["icu_0000Asbm8q0FlWOhf0fDUm"],"reference":"O4C6IS","metadata":null,"status":"booking confirmed"}'), g = { internalRequestId: "818a9940-57ee-444e-923c-d0d6fc2bc82d" }, _ = {
|
|
20
21
|
success: d,
|
|
21
22
|
data: m,
|
|
22
23
|
metadata: g
|
|
@@ -9,6 +9,7 @@ import { awayzClient as o } from "../../configs/awayzClient.js";
|
|
|
9
9
|
import "../../services/noRetryInstance.js";
|
|
10
10
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
+
import "react-i18next";
|
|
12
13
|
/* empty css */
|
|
13
14
|
/* empty css */
|
|
14
15
|
/* empty css */
|
|
@@ -20,7 +21,7 @@ const b = ({
|
|
|
20
21
|
throw new Error("Trip ID is required");
|
|
21
22
|
if (!a || Object.keys(a).length === 0)
|
|
22
23
|
throw new Error("Trip details must be provided for update");
|
|
23
|
-
},
|
|
24
|
+
}, er = () => {
|
|
24
25
|
const { data: u = [] } = p({
|
|
25
26
|
queryKey: [
|
|
26
27
|
e.TRIPS,
|
|
@@ -240,6 +241,6 @@ const b = ({
|
|
|
240
241
|
};
|
|
241
242
|
};
|
|
242
243
|
export {
|
|
243
|
-
|
|
244
|
+
er as useTripManagement,
|
|
244
245
|
b as validateUpdateTripArgs
|
|
245
246
|
};
|
|
@@ -13,6 +13,7 @@ import { EBookingType as m } from "../../services/trips/TripService.types.js";
|
|
|
13
13
|
import "../../services/noRetryInstance.js";
|
|
14
14
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
+
import "react-i18next";
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
18
19
|
/* empty css */
|
|
@@ -9,11 +9,12 @@ import { useAwayzContext as w } from "../useAwayzContext.js";
|
|
|
9
9
|
import "../../services/noRetryInstance.js";
|
|
10
10
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
+
import "react-i18next";
|
|
12
13
|
/* empty css */
|
|
13
14
|
/* empty css */
|
|
14
15
|
/* empty css */
|
|
15
16
|
import { WalletService as o } from "../../services/wallet/WalletService.js";
|
|
16
|
-
const
|
|
17
|
+
const b = () => {
|
|
17
18
|
const { user: r } = w(), { data: e } = n({
|
|
18
19
|
queryKey: [t.PROGRAMS],
|
|
19
20
|
queryFn: o.getAwards,
|
|
@@ -42,8 +43,8 @@ const I = () => {
|
|
|
42
43
|
placeholderData: []
|
|
43
44
|
}), { mutate: S } = i({
|
|
44
45
|
mutationFn: async (a) => {
|
|
45
|
-
const { mainProgram:
|
|
46
|
-
await o.addAwardProgram(
|
|
46
|
+
const { mainProgram: m, awardsAmount: d } = typeof a == "string" ? { mainProgram: a, awardsAmount: 0 } : a;
|
|
47
|
+
await o.addAwardProgram(m, d);
|
|
47
48
|
},
|
|
48
49
|
onSuccess: () => {
|
|
49
50
|
s.invalidateQueries({
|
|
@@ -61,12 +62,12 @@ const I = () => {
|
|
|
61
62
|
}
|
|
62
63
|
}), { mutate: p } = i({
|
|
63
64
|
mutationFn: async (a) => {
|
|
64
|
-
const { mainProgram:
|
|
65
|
-
(C) => C.mainProgram ===
|
|
65
|
+
const { mainProgram: m, awardsAmount: d } = a, c = e == null ? void 0 : e.find(
|
|
66
|
+
(C) => C.mainProgram === m
|
|
66
67
|
);
|
|
67
68
|
if (!c)
|
|
68
69
|
throw new Error("Program not found");
|
|
69
|
-
await o.setAwardPoints(c.mainProgram,
|
|
70
|
+
await o.setAwardPoints(c.mainProgram, d);
|
|
70
71
|
},
|
|
71
72
|
onSuccess: () => {
|
|
72
73
|
[
|
|
@@ -122,5 +123,5 @@ const I = () => {
|
|
|
122
123
|
};
|
|
123
124
|
};
|
|
124
125
|
export {
|
|
125
|
-
|
|
126
|
+
b as useWallet
|
|
126
127
|
};
|
|
@@ -10,6 +10,7 @@ import { useWallet as t } from "./useWallet.js";
|
|
|
10
10
|
import "../../services/noRetryInstance.js";
|
|
11
11
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
|
+
import "react-i18next";
|
|
13
14
|
/* empty css */
|
|
14
15
|
/* empty css */
|
|
15
16
|
/* empty css */
|
|
@@ -123,9 +123,9 @@ function _(t) {
|
|
|
123
123
|
return o({ attr: { viewBox: "0 0 352 512" }, child: [{ tag: "path", attr: { d: "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" }, child: [] }] })(t);
|
|
124
124
|
}
|
|
125
125
|
export {
|
|
126
|
-
|
|
126
|
+
E as F,
|
|
127
127
|
o as G,
|
|
128
|
-
|
|
128
|
+
_ as a,
|
|
129
129
|
C as b,
|
|
130
130
|
z as c,
|
|
131
131
|
L as d
|
|
@@ -5,17 +5,18 @@ import "../arrayExtensions-DlcBOj5a.js";
|
|
|
5
5
|
import { E as r } from "../keys-DcSEucOc.js";
|
|
6
6
|
import { useAwayzAuth as l } from "../hooks/useAwayzAuth/useAwayzAuth.js";
|
|
7
7
|
import { setCustomBaseUrl as i, setBaseUrl as u } from "../configs/baseUrl.js";
|
|
8
|
-
import { QueryClientProvider as
|
|
8
|
+
import { QueryClientProvider as p } from "@tanstack/react-query";
|
|
9
9
|
import "../AccountService-CtMwRIoL.js";
|
|
10
|
-
import { awayzClient as
|
|
10
|
+
import { awayzClient as d } from "../configs/awayzClient.js";
|
|
11
11
|
import "../services/noRetryInstance.js";
|
|
12
12
|
import '../assets/_styles5.css';import '../assets/_styles4.css';import '../assets/_styles3.css';import '../assets/_styles2.css';import '../assets/_styles.css';/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
|
+
import "react-i18next";
|
|
14
15
|
/* empty css */
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
18
|
import { defaultAwayzConfig as h } from "../configs/defaultAwayzConfig.js";
|
|
18
|
-
const
|
|
19
|
+
const b = ({ children: o, config: e }) => {
|
|
19
20
|
const s = l({
|
|
20
21
|
authFlow: e.authFlow,
|
|
21
22
|
onSuccess: e.onAuthSuccess,
|
|
@@ -28,7 +29,7 @@ const P = ({ children: o, config: e }) => {
|
|
|
28
29
|
return;
|
|
29
30
|
}
|
|
30
31
|
localStorage.setItem(r.CLIENT_ID, e.clientId), localStorage.setItem(r.AUTH_FLOW, e.authFlow), e.debugRefreshToken && e.testMode && (localStorage.setItem(r.REFRESH_TOKEN, e.debugRefreshToken), localStorage.setItem(r.TOKEN, e.debugRefreshToken)), e.overrideBaseUrl ? i(e.overrideBaseUrl) : u(e.testMode ?? !1);
|
|
31
|
-
}, [e]), /* @__PURE__ */ t(
|
|
32
|
+
}, [e]), /* @__PURE__ */ t(p, { client: d, children: /* @__PURE__ */ t(
|
|
32
33
|
a.Provider,
|
|
33
34
|
{
|
|
34
35
|
value: {
|
|
@@ -43,5 +44,5 @@ const P = ({ children: o, config: e }) => {
|
|
|
43
44
|
) });
|
|
44
45
|
};
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
+
b as AwayzProvider
|
|
47
48
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var c = (
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
|
+
var _ = (n, e, a) => e in n ? u(n, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[e] = a;
|
|
3
|
+
var c = (n, e, a) => _(n, typeof e != "symbol" ? e + "" : e, a);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as i, b as
|
|
5
|
+
import { c as i, b as m } from "../../AccountService-CtMwRIoL.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EBookingEndpoints as d } from "../../configs/endpoints.js";
|
|
8
|
-
const
|
|
9
|
-
const e = /P((\d+)D)?T((\d+)H)?((\d+)M)?/, a =
|
|
8
|
+
const p = (n) => {
|
|
9
|
+
const e = /P((\d+)D)?T((\d+)H)?((\d+)M)?/, a = n.match(e);
|
|
10
10
|
if (a) {
|
|
11
|
-
const o = a[2] ? `${a[2]}d ` : "", t = a[4] ? `${a[4]}h ` : "",
|
|
12
|
-
return `${o}${t}${
|
|
11
|
+
const o = a[2] ? `${a[2]}d ` : "", t = a[4] ? `${a[4]}h ` : "", s = a[6] ? `${a[6]}m` : "";
|
|
12
|
+
return `${o}${t}${s}`.trim();
|
|
13
13
|
} else
|
|
14
|
-
return
|
|
14
|
+
return n;
|
|
15
15
|
};
|
|
16
|
-
class
|
|
16
|
+
class g {
|
|
17
17
|
constructor() {
|
|
18
18
|
c(this, "getHotelBooking", async (e) => {
|
|
19
|
+
var s;
|
|
19
20
|
const { data: a } = await i.get(
|
|
20
21
|
`${d.USER_HOTEL_BOOKINGS}/${e}`
|
|
21
22
|
), o = a.data.accommodation.rooms[0].rates[0];
|
|
@@ -49,18 +50,18 @@ class p {
|
|
|
49
50
|
latitude: a.data.accommodation.location.geographic_coordinates.latitude,
|
|
50
51
|
longitude: a.data.accommodation.location.geographic_coordinates.longitude
|
|
51
52
|
},
|
|
52
|
-
images: a.data.accommodation.photos.map((
|
|
53
|
-
guests: a.data.guests.map((
|
|
54
|
-
familyName:
|
|
55
|
-
givenName:
|
|
56
|
-
type: a.data.guest_types[
|
|
53
|
+
images: a.data.accommodation.photos.map((r) => r.url),
|
|
54
|
+
guests: a.data.guests.map((r, l) => ({
|
|
55
|
+
familyName: r.family_name,
|
|
56
|
+
givenName: r.given_name,
|
|
57
|
+
type: a.data.guest_types[l].type
|
|
57
58
|
})),
|
|
58
|
-
numberOfRooms: a.data.rooms,
|
|
59
|
+
numberOfRooms: (s = a.data.rooms) == null ? void 0 : s.length,
|
|
59
60
|
cancellationTimeline: o.cancellation_timeline.map(
|
|
60
|
-
(
|
|
61
|
-
refundAmount: parseFloat(
|
|
62
|
-
currency:
|
|
63
|
-
before:
|
|
61
|
+
(r) => ({
|
|
62
|
+
refundAmount: parseFloat(r.refund_amount),
|
|
63
|
+
currency: r.currency,
|
|
64
|
+
before: r.before
|
|
64
65
|
})
|
|
65
66
|
)
|
|
66
67
|
};
|
|
@@ -116,9 +117,9 @@ class p {
|
|
|
116
117
|
arrivingAt: t.segments.getLast().arriving_at,
|
|
117
118
|
numberOfStops: t.segments.length - 1,
|
|
118
119
|
reference: a.data.booking_reference,
|
|
119
|
-
durationInMinutes:
|
|
120
|
-
origin:
|
|
121
|
-
destination:
|
|
120
|
+
durationInMinutes: p(t.duration),
|
|
121
|
+
origin: m(t.origin),
|
|
122
|
+
destination: m(t.destination)
|
|
122
123
|
})),
|
|
123
124
|
availableActions: a.data.available_actions
|
|
124
125
|
};
|
|
@@ -143,7 +144,7 @@ class p {
|
|
|
143
144
|
});
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
|
-
const
|
|
147
|
+
const A = new g();
|
|
147
148
|
export {
|
|
148
|
-
|
|
149
|
+
A as BookingService
|
|
149
150
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';var
|
|
2
|
-
var m = (t, r, e) => r in t ?
|
|
1
|
+
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';var y = Object.defineProperty;
|
|
2
|
+
var m = (t, r, e) => r in t ? y(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var n = (t, r, e) => m(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
5
|
import { A as C, E, c as s } from "../../AccountService-CtMwRIoL.js";
|
|
@@ -12,6 +12,7 @@ import "@tanstack/react-query";
|
|
|
12
12
|
import "../noRetryInstance.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
+
import "react-i18next";
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
@@ -28,12 +29,12 @@ class d {
|
|
|
28
29
|
});
|
|
29
30
|
if (!c)
|
|
30
31
|
throw new Error("Failed to fetch user data");
|
|
31
|
-
const { userRegion: i, preferences: u } = o, { data:
|
|
32
|
+
const { userRegion: i, preferences: u } = o, { data: p } = await s.post(a.CURRENCY_CONVERSION, {
|
|
32
33
|
target_currency: e ?? u.currency ?? i.currency,
|
|
33
34
|
base_currency: r
|
|
34
35
|
});
|
|
35
36
|
if (c)
|
|
36
|
-
return
|
|
37
|
+
return p.data.conversion_rate;
|
|
37
38
|
} catch (c) {
|
|
38
39
|
console.error(c);
|
|
39
40
|
}
|
|
@@ -67,7 +68,7 @@ class d {
|
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
|
-
const
|
|
71
|
+
const F = new d();
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
F as CurrencyService
|
|
73
74
|
};
|