@revolugo/booking-api-client 6.10.7-beta.12 → 6.10.7-beta.14
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.es.js +1019 -938
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
const
|
|
2
|
-
function
|
|
3
|
-
let e =
|
|
4
|
-
e = e.replace(
|
|
5
|
-
let n = 0,
|
|
1
|
+
const ut = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), ct = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), dt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), mt = /[^\p{L}\d]+/giu, ke = "$1\0$2", Ie = "";
|
|
2
|
+
function Qe(t) {
|
|
3
|
+
let e = t.trim();
|
|
4
|
+
e = e.replace(ut, ke).replace(ct, ke), e = e.replace(mt, "\0");
|
|
5
|
+
let n = 0, i = e.length;
|
|
6
6
|
for (; e.charAt(n) === "\0"; )
|
|
7
7
|
n++;
|
|
8
|
-
if (n ===
|
|
8
|
+
if (n === i)
|
|
9
9
|
return [];
|
|
10
|
-
for (; e.charAt(
|
|
11
|
-
|
|
12
|
-
return e.slice(n,
|
|
10
|
+
for (; e.charAt(i - 1) === "\0"; )
|
|
11
|
+
i--;
|
|
12
|
+
return e.slice(n, i).split(/\0/g);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
const e =
|
|
14
|
+
function ft(t) {
|
|
15
|
+
const e = Qe(t);
|
|
16
16
|
for (let n = 0; n < e.length; n++) {
|
|
17
|
-
const
|
|
17
|
+
const i = e[n], o = dt.exec(i);
|
|
18
18
|
if (o) {
|
|
19
19
|
const l = o.index + (o[1] ?? o[2]).length;
|
|
20
|
-
e.splice(n, 1,
|
|
20
|
+
e.splice(n, 1, i.slice(0, l), i.slice(l));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
return e;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const [n,
|
|
27
|
-
return n +
|
|
25
|
+
function et(t, e) {
|
|
26
|
+
const [n, i, o] = Me(t, e);
|
|
27
|
+
return n + i.map(Ae(e?.locale)).join(e?.delimiter ?? " ") + o;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
const [n,
|
|
31
|
-
return n +
|
|
29
|
+
function ht(t, e) {
|
|
30
|
+
const [n, i, o] = Me(t, e), l = Ae(e?.locale), u = Be(e?.locale), c = e?.mergeAmbiguousCharacters ? Ee(l, u) : at(l, u);
|
|
31
|
+
return n + i.map((h, S) => S === 0 ? l(h) : c(h, S)).join(e?.delimiter ?? "") + o;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const [n,
|
|
35
|
-
return n +
|
|
33
|
+
function gt(t, e) {
|
|
34
|
+
const [n, i, o] = Me(t, e), l = Ae(e?.locale), u = Be(e?.locale), c = e?.mergeAmbiguousCharacters ? Ee(l, u) : at(l, u);
|
|
35
|
+
return n + i.map(c).join(e?.delimiter ?? "") + o;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const [n,
|
|
39
|
-
return n +
|
|
37
|
+
function pt(t, e) {
|
|
38
|
+
const [n, i, o] = Me(t, e), l = Ae(e?.locale), u = Be(e?.locale);
|
|
39
|
+
return n + i.map(Ee(l, u)).join(e?.delimiter ?? " ") + o;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function tt(t, e) {
|
|
42
|
+
return et(t, { delimiter: "-", ...e });
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
44
|
+
function yt(t, e) {
|
|
45
|
+
return et(t, { delimiter: "_", ...e });
|
|
46
46
|
}
|
|
47
|
-
function Ae(
|
|
48
|
-
return
|
|
47
|
+
function Ae(t) {
|
|
48
|
+
return t === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(t);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function Be(t) {
|
|
51
|
+
return t === !1 ? (e) => e.toUpperCase() : (e) => e.toLocaleUpperCase(t);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return (n) => `${e(n[0])}${
|
|
53
|
+
function Ee(t, e) {
|
|
54
|
+
return (n) => `${e(n[0])}${t(n.slice(1))}`;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return (n,
|
|
56
|
+
function at(t, e) {
|
|
57
|
+
return (n, i) => {
|
|
58
58
|
const o = n[0];
|
|
59
|
-
return (
|
|
59
|
+
return (i > 0 && o >= "0" && o <= "9" ? "_" + o : e(o)) + t(n.slice(1));
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
const n = e.split ?? (e.separateNumbers ?
|
|
64
|
-
let l = 0, u =
|
|
65
|
-
for (; l <
|
|
66
|
-
const c =
|
|
67
|
-
if (!
|
|
62
|
+
function Me(t, e = {}) {
|
|
63
|
+
const n = e.split ?? (e.separateNumbers ? ft : Qe), i = e.prefixCharacters ?? Ie, o = e.suffixCharacters ?? Ie;
|
|
64
|
+
let l = 0, u = t.length;
|
|
65
|
+
for (; l < t.length; ) {
|
|
66
|
+
const c = t.charAt(l);
|
|
67
|
+
if (!i.includes(c))
|
|
68
68
|
break;
|
|
69
69
|
l++;
|
|
70
70
|
}
|
|
71
71
|
for (; u > l; ) {
|
|
72
|
-
const c = u - 1,
|
|
73
|
-
if (!o.includes(
|
|
72
|
+
const c = u - 1, h = t.charAt(c);
|
|
73
|
+
if (!o.includes(h))
|
|
74
74
|
break;
|
|
75
75
|
u = c;
|
|
76
76
|
}
|
|
77
77
|
return [
|
|
78
|
-
|
|
79
|
-
n(
|
|
80
|
-
|
|
78
|
+
t.slice(0, l),
|
|
79
|
+
n(t.slice(l, u)),
|
|
80
|
+
t.slice(u)
|
|
81
81
|
];
|
|
82
82
|
}
|
|
83
83
|
var le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
84
|
-
function W(
|
|
85
|
-
return
|
|
84
|
+
function W(t) {
|
|
85
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
86
86
|
}
|
|
87
|
-
var ce = { exports: {} },
|
|
88
|
-
function
|
|
89
|
-
return
|
|
90
|
-
(function(n,
|
|
91
|
-
|
|
92
|
-
})("slugify",
|
|
93
|
-
var n = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),
|
|
87
|
+
var ce = { exports: {} }, Dt = ce.exports, Ke;
|
|
88
|
+
function bt() {
|
|
89
|
+
return Ke || (Ke = 1, (function(t, e) {
|
|
90
|
+
(function(n, i, o) {
|
|
91
|
+
t.exports = o(), t.exports.default = o();
|
|
92
|
+
})("slugify", Dt, function() {
|
|
93
|
+
var n = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), i = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
|
|
94
94
|
function o(l, u) {
|
|
95
95
|
if (typeof l != "string")
|
|
96
96
|
throw new Error("slugify: string argument expected");
|
|
97
97
|
u = typeof u == "string" ? { replacement: u } : u || {};
|
|
98
|
-
var c =
|
|
99
|
-
var
|
|
100
|
-
return
|
|
98
|
+
var c = i[u.locale] || {}, h = u.replacement === void 0 ? "-" : u.replacement, S = u.trim === void 0 ? !0 : u.trim, P = l.normalize().split("").reduce(function(y, p) {
|
|
99
|
+
var w = c[p];
|
|
100
|
+
return w === void 0 && (w = n[p]), w === void 0 && (w = p), w === h && (w = " "), y + w.replace(u.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
101
101
|
}, "");
|
|
102
|
-
return u.strict && (
|
|
102
|
+
return u.strict && (P = P.replace(/[^A-Za-z0-9\s]/g, "")), S && (P = P.trim()), P = P.replace(/\s+/g, h), u.lower && (P = P.toLowerCase()), P;
|
|
103
103
|
}
|
|
104
104
|
return o.extend = function(l) {
|
|
105
105
|
Object.assign(n, l);
|
|
@@ -107,45 +107,45 @@ function Di() {
|
|
|
107
107
|
});
|
|
108
108
|
})(ce)), ce.exports;
|
|
109
109
|
}
|
|
110
|
-
var
|
|
111
|
-
const
|
|
112
|
-
function
|
|
113
|
-
return
|
|
110
|
+
var St = bt();
|
|
111
|
+
const vt = /* @__PURE__ */ W(St);
|
|
112
|
+
function Rt(t) {
|
|
113
|
+
return vt(tt(t), {
|
|
114
114
|
lower: !0,
|
|
115
115
|
strict: !0
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
var
|
|
119
|
-
const
|
|
120
|
-
camelCase:
|
|
121
|
-
capitalCase:
|
|
122
|
-
paramCase:
|
|
123
|
-
pascalCase:
|
|
124
|
-
slugCase:
|
|
125
|
-
snakeCase:
|
|
118
|
+
var v = /* @__PURE__ */ ((t) => (t.Camel = "camelCase", t.Capital = "capitalCase", t.Param = "paramCase", t.Pascal = "pascalCase", t.Slug = "slugCase", t.Snake = "snakeCase", t))(v || {});
|
|
119
|
+
const Pt = {
|
|
120
|
+
camelCase: ht,
|
|
121
|
+
capitalCase: pt,
|
|
122
|
+
paramCase: tt,
|
|
123
|
+
pascalCase: gt,
|
|
124
|
+
slugCase: Rt,
|
|
125
|
+
snakeCase: yt
|
|
126
126
|
};
|
|
127
|
-
function
|
|
128
|
-
return
|
|
127
|
+
function wt(t, e) {
|
|
128
|
+
return t.some(
|
|
129
129
|
(n) => typeof n == "string" ? n === e : n.test(e)
|
|
130
130
|
);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
return
|
|
132
|
+
function At(t) {
|
|
133
|
+
return t === Object(t) && !Array.isArray(t) && typeof t != "function";
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
return
|
|
137
|
-
const l = n?.exclude &&
|
|
138
|
-
return
|
|
139
|
-
}, {}) : Array.isArray(
|
|
135
|
+
function b(t, e, n = { deep: !0 }) {
|
|
136
|
+
return At(t) ? Object.keys(t).reduce((i, o) => {
|
|
137
|
+
const l = n?.exclude && wt(n.exclude, o) ? o : Pt[e](o);
|
|
138
|
+
return i[l] = n.deep ? b(t[o], e, n) : t[o], i;
|
|
139
|
+
}, {}) : Array.isArray(t) ? t.map((i) => b(i, e, n)) : t;
|
|
140
140
|
}
|
|
141
|
-
var a = /* @__PURE__ */ ((
|
|
142
|
-
function
|
|
141
|
+
var a = /* @__PURE__ */ ((t) => (t.AED = "AED", t.AFN = "AFN", t.ALL = "ALL", t.AMD = "AMD", t.ANG = "ANG", t.AOA = "AOA", t.ARS = "ARS", t.AUD = "AUD", t.AWG = "AWG", t.AZN = "AZN", t.BAM = "BAM", t.BBD = "BBD", t.BDT = "BDT", t.BGN = "BGN", t.BHD = "BHD", t.BIF = "BIF", t.BMD = "BMD", t.BND = "BND", t.BOB = "BOB", t.BRL = "BRL", t.BSD = "BSD", t.BTN = "BTN", t.BWP = "BWP", t.BYN = "BYN", t.BYR = "BYR", t.BZD = "BZD", t.CAD = "CAD", t.CDF = "CDF", t.CHF = "CHF", t.CLF = "CLF", t.CLP = "CLP", t.CNY = "CNY", t.COP = "COP", t.CRC = "CRC", t.CUC = "CUC", t.CUP = "CUP", t.CVE = "CVE", t.CZK = "CZK", t.DJF = "DJF", t.DKK = "DKK", t.DOP = "DOP", t.DZD = "DZD", t.EEK = "EEK", t.EGP = "EGP", t.ERN = "ERN", t.ETB = "ETB", t.EUR = "EUR", t.FJD = "FJD", t.FKP = "FKP", t.GBP = "GBP", t.GEL = "GEL", t.GHS = "GHS", t.GIP = "GIP", t.GMD = "GMD", t.GNF = "GNF", t.GTQ = "GTQ", t.GYD = "GYD", t.HKD = "HKD", t.HNL = "HNL", t.HRK = "HRK", t.HTG = "HTG", t.HUF = "HUF", t.IDR = "IDR", t.ILS = "ILS", t.INR = "INR", t.IQD = "IQD", t.IRR = "IRR", t.ISK = "ISK", t.JMD = "JMD", t.JOD = "JOD", t.JPY = "JPY", t.KES = "KES", t.KGS = "KGS", t.KHR = "KHR", t.KMF = "KMF", t.KPW = "KPW", t.KRW = "KRW", t.KWD = "KWD", t.KYD = "KYD", t.KZT = "KZT", t.LAK = "LAK", t.LBP = "LBP", t.LKR = "LKR", t.LRD = "LRD", t.LSL = "LSL", t.LTL = "LTL", t.LVL = "LVL", t.LYD = "LYD", t.MAD = "MAD", t.MDL = "MDL", t.MGA = "MGA", t.MKD = "MKD", t.MMK = "MMK", t.MNT = "MNT", t.MOP = "MOP", t.MRO = "MRO", t.MRU = "MRU", t.MUR = "MUR", t.MVR = "MVR", t.MWK = "MWK", t.MXN = "MXN", t.MYR = "MYR", t.MZN = "MZN", t.NAD = "NAD", t.NGN = "NGN", t.NIO = "NIO", t.NOK = "NOK", t.NPR = "NPR", t.NZD = "NZD", t.OMR = "OMR", t.PAB = "PAB", t.PEN = "PEN", t.PGK = "PGK", t.PHP = "PHP", t.PKR = "PKR", t.PLN = "PLN", t.PYG = "PYG", t.QAR = "QAR", t.RON = "RON", t.RSD = "RSD", t.RUB = "RUB", t.RWF = "RWF", t.SAR = "SAR", t.SBD = "SBD", t.SCR = "SCR", t.SDG = "SDG", t.SEK = "SEK", t.SGD = "SGD", t.SHP = "SHP", t.SLL = "SLL", t.SOS = "SOS", t.SRD = "SRD", t.SSP = "SSP", t.STD = "STD", t.SYP = "SYP", t.SZL = "SZL", t.THB = "THB", t.TJS = "TJS", t.TMT = "TMT", t.TND = "TND", t.TOP = "TOP", t.TRY = "TRY", t.TTD = "TTD", t.TWD = "TWD", t.TZS = "TZS", t.UAH = "UAH", t.UGX = "UGX", t.USD = "USD", t.UYU = "UYU", t.UZS = "UZS", t.VEF = "VEF", t.VES = "VES", t.VND = "VND", t.VUV = "VUV", t.WST = "WST", t.XAF = "XAF", t.XCD = "XCD", t.XOF = "XOF", t.XPF = "XPF", t.YER = "YER", t.ZAR = "ZAR", t.ZMK = "ZMK", t.ZMW = "ZMW", t.ZWL = "ZWL", t))(a || {});
|
|
142
|
+
function Mt(t, e) {
|
|
143
143
|
const n = {};
|
|
144
|
-
for (const
|
|
145
|
-
Object.hasOwn(
|
|
144
|
+
for (const i of e)
|
|
145
|
+
Object.hasOwn(t, i) && (n[i] = t[i]);
|
|
146
146
|
return n;
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const Le = {
|
|
149
149
|
AED: {
|
|
150
150
|
code: a.AED,
|
|
151
151
|
decimalDigits: 2,
|
|
@@ -1795,7 +1795,7 @@ const Ee = {
|
|
|
1795
1795
|
symbolNative: "ZWL$",
|
|
1796
1796
|
zeroDecimal: !0
|
|
1797
1797
|
}
|
|
1798
|
-
},
|
|
1798
|
+
}, Nt = [
|
|
1799
1799
|
a.AED,
|
|
1800
1800
|
a.AFN,
|
|
1801
1801
|
a.ALL,
|
|
@@ -1935,85 +1935,85 @@ const Ee = {
|
|
|
1935
1935
|
a.ZAR,
|
|
1936
1936
|
a.ZMW
|
|
1937
1937
|
];
|
|
1938
|
-
Object.values(
|
|
1939
|
-
const
|
|
1940
|
-
Object.values(
|
|
1941
|
-
(
|
|
1942
|
-
).map((
|
|
1943
|
-
var
|
|
1944
|
-
const
|
|
1938
|
+
Object.values(Le).filter((t) => !t.deprecated).map((t) => t.code);
|
|
1939
|
+
const Tt = Mt(Le, Nt);
|
|
1940
|
+
Object.values(Le).filter(
|
|
1941
|
+
(t) => t.zeroDecimal && t.code in Tt
|
|
1942
|
+
).map((t) => t.code);
|
|
1943
|
+
var Te = /* @__PURE__ */ ((t) => (t.V1 = "v1", t))(Te || {}), te = /* @__PURE__ */ ((t) => (t.Production = "LIVE", t.Sandbox = "SANDBOX", t.Staging = "STAGING", t.CiCd = "CI-CD", t.Local = "LOCAL", t))(te || {});
|
|
1944
|
+
const Bt = {
|
|
1945
1945
|
LIVE: "https://booking-api.revolugo.com",
|
|
1946
1946
|
SANDBOX: "https://booking-api.sandbox.revolugo.com",
|
|
1947
1947
|
STAGING: "https://booking-api.staging.revolugo.com",
|
|
1948
1948
|
"CI-CD": "https://booking-api.staging.revolugo.com",
|
|
1949
1949
|
LOCAL: "http://127.0.0.1:3001"
|
|
1950
1950
|
};
|
|
1951
|
-
var
|
|
1952
|
-
function
|
|
1953
|
-
return
|
|
1954
|
-
(function(n,
|
|
1955
|
-
|
|
1956
|
-
})(
|
|
1957
|
-
var n = 1e3,
|
|
1958
|
-
var r = ["th", "st", "nd", "rd"], s =
|
|
1959
|
-
return "[" +
|
|
1960
|
-
} },
|
|
1961
|
-
var m = String(
|
|
1962
|
-
return !m || m.length >= r ?
|
|
1963
|
-
},
|
|
1964
|
-
var r = -
|
|
1965
|
-
return (r <= 0 ? "+" : "-") +
|
|
1966
|
-
}, m: function
|
|
1967
|
-
if (r.date() < s.date()) return -
|
|
1968
|
-
var m = 12 * (s.year() - r.year()) + (s.month() - r.month()), d = r.clone().add(m,
|
|
1969
|
-
return +(-(m + (s - d) / (
|
|
1970
|
-
}, a: function(
|
|
1971
|
-
return
|
|
1972
|
-
}, p: function(
|
|
1973
|
-
return { M:
|
|
1974
|
-
}, u: function(
|
|
1975
|
-
return
|
|
1976
|
-
} },
|
|
1977
|
-
|
|
1978
|
-
var H = "$isDayjsObject", x = function(
|
|
1979
|
-
return
|
|
1980
|
-
}, z = function
|
|
1951
|
+
var Oe = /* @__PURE__ */ ((t) => (t.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", t.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", t))(Oe || {}), de = { exports: {} }, Et = de.exports, Ge;
|
|
1952
|
+
function it() {
|
|
1953
|
+
return Ge || (Ge = 1, (function(t, e) {
|
|
1954
|
+
(function(n, i) {
|
|
1955
|
+
t.exports = i();
|
|
1956
|
+
})(Et, (function() {
|
|
1957
|
+
var n = 1e3, i = 6e4, o = 36e5, l = "millisecond", u = "second", c = "minute", h = "hour", S = "day", P = "week", y = "month", p = "quarter", w = "year", A = "date", f = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(R) {
|
|
1958
|
+
var r = ["th", "st", "nd", "rd"], s = R % 100;
|
|
1959
|
+
return "[" + R + (r[(s - 20) % 10] || r[s] || r[0]) + "]";
|
|
1960
|
+
} }, E = function(R, r, s) {
|
|
1961
|
+
var m = String(R);
|
|
1962
|
+
return !m || m.length >= r ? R : "" + Array(r + 1 - m.length).join(s) + R;
|
|
1963
|
+
}, G = { s: E, z: function(R) {
|
|
1964
|
+
var r = -R.utcOffset(), s = Math.abs(r), m = Math.floor(s / 60), d = s % 60;
|
|
1965
|
+
return (r <= 0 ? "+" : "-") + E(m, 2, "0") + ":" + E(d, 2, "0");
|
|
1966
|
+
}, m: function R(r, s) {
|
|
1967
|
+
if (r.date() < s.date()) return -R(s, r);
|
|
1968
|
+
var m = 12 * (s.year() - r.year()) + (s.month() - r.month()), d = r.clone().add(m, y), D = s - d < 0, g = r.clone().add(m + (D ? -1 : 1), y);
|
|
1969
|
+
return +(-(m + (s - d) / (D ? d - g : g - d)) || 0);
|
|
1970
|
+
}, a: function(R) {
|
|
1971
|
+
return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
|
|
1972
|
+
}, p: function(R) {
|
|
1973
|
+
return { M: y, y: w, w: P, d: S, D: A, h, m: c, s: u, ms: l, Q: p }[R] || String(R || "").toLowerCase().replace(/s$/, "");
|
|
1974
|
+
}, u: function(R) {
|
|
1975
|
+
return R === void 0;
|
|
1976
|
+
} }, N = "en", k = {};
|
|
1977
|
+
k[N] = O;
|
|
1978
|
+
var H = "$isDayjsObject", x = function(R) {
|
|
1979
|
+
return R instanceof V || !(!R || !R[H]);
|
|
1980
|
+
}, z = function R(r, s, m) {
|
|
1981
1981
|
var d;
|
|
1982
|
-
if (!r) return
|
|
1982
|
+
if (!r) return N;
|
|
1983
1983
|
if (typeof r == "string") {
|
|
1984
|
-
var
|
|
1985
|
-
|
|
1986
|
-
var
|
|
1987
|
-
if (!d &&
|
|
1984
|
+
var D = r.toLowerCase();
|
|
1985
|
+
k[D] && (d = D), s && (k[D] = s, d = D);
|
|
1986
|
+
var g = r.split("-");
|
|
1987
|
+
if (!d && g.length > 1) return R(g[0]);
|
|
1988
1988
|
} else {
|
|
1989
|
-
var
|
|
1990
|
-
|
|
1989
|
+
var L = r.name;
|
|
1990
|
+
k[L] = r, d = L;
|
|
1991
1991
|
}
|
|
1992
|
-
return !m && d && (
|
|
1993
|
-
},
|
|
1994
|
-
if (x(
|
|
1992
|
+
return !m && d && (N = d), d || !m && N;
|
|
1993
|
+
}, I = function(R, r) {
|
|
1994
|
+
if (x(R)) return R.clone();
|
|
1995
1995
|
var s = typeof r == "object" ? r : {};
|
|
1996
|
-
return s.date =
|
|
1997
|
-
},
|
|
1998
|
-
|
|
1999
|
-
return
|
|
1996
|
+
return s.date = R, s.args = arguments, new V(s);
|
|
1997
|
+
}, T = G;
|
|
1998
|
+
T.l = z, T.i = x, T.w = function(R, r) {
|
|
1999
|
+
return I(R, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
2000
2000
|
};
|
|
2001
2001
|
var V = (function() {
|
|
2002
|
-
function
|
|
2002
|
+
function R(s) {
|
|
2003
2003
|
this.$L = z(s.locale, null, !0), this.parse(s), this.$x = this.$x || s.x || {}, this[H] = !0;
|
|
2004
2004
|
}
|
|
2005
|
-
var r =
|
|
2005
|
+
var r = R.prototype;
|
|
2006
2006
|
return r.parse = function(s) {
|
|
2007
2007
|
this.$d = (function(m) {
|
|
2008
|
-
var d = m.date,
|
|
2008
|
+
var d = m.date, D = m.utc;
|
|
2009
2009
|
if (d === null) return /* @__PURE__ */ new Date(NaN);
|
|
2010
|
-
if (
|
|
2010
|
+
if (T.u(d)) return /* @__PURE__ */ new Date();
|
|
2011
2011
|
if (d instanceof Date) return new Date(d);
|
|
2012
2012
|
if (typeof d == "string" && !/Z$/i.test(d)) {
|
|
2013
|
-
var
|
|
2014
|
-
if (
|
|
2015
|
-
var
|
|
2016
|
-
return
|
|
2013
|
+
var g = d.match(M);
|
|
2014
|
+
if (g) {
|
|
2015
|
+
var L = g[2] - 1 || 0, K = (g[7] || "0").substring(0, 3);
|
|
2016
|
+
return D ? new Date(Date.UTC(g[1], L, g[3] || 1, g[4] || 0, g[5] || 0, g[6] || 0, K)) : new Date(g[1], L, g[3] || 1, g[4] || 0, g[5] || 0, g[6] || 0, K);
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
2019
2019
|
return new Date(d);
|
|
@@ -2022,41 +2022,41 @@ function ii() {
|
|
|
2022
2022
|
var s = this.$d;
|
|
2023
2023
|
this.$y = s.getFullYear(), this.$M = s.getMonth(), this.$D = s.getDate(), this.$W = s.getDay(), this.$H = s.getHours(), this.$m = s.getMinutes(), this.$s = s.getSeconds(), this.$ms = s.getMilliseconds();
|
|
2024
2024
|
}, r.$utils = function() {
|
|
2025
|
-
return
|
|
2025
|
+
return T;
|
|
2026
2026
|
}, r.isValid = function() {
|
|
2027
2027
|
return this.$d.toString() !== f;
|
|
2028
2028
|
}, r.isSame = function(s, m) {
|
|
2029
|
-
var d =
|
|
2029
|
+
var d = I(s);
|
|
2030
2030
|
return this.startOf(m) <= d && d <= this.endOf(m);
|
|
2031
2031
|
}, r.isAfter = function(s, m) {
|
|
2032
|
-
return
|
|
2032
|
+
return I(s) < this.startOf(m);
|
|
2033
2033
|
}, r.isBefore = function(s, m) {
|
|
2034
|
-
return this.endOf(m) <
|
|
2034
|
+
return this.endOf(m) < I(s);
|
|
2035
2035
|
}, r.$g = function(s, m, d) {
|
|
2036
|
-
return
|
|
2036
|
+
return T.u(s) ? this[m] : this.set(d, s);
|
|
2037
2037
|
}, r.unix = function() {
|
|
2038
2038
|
return Math.floor(this.valueOf() / 1e3);
|
|
2039
2039
|
}, r.valueOf = function() {
|
|
2040
2040
|
return this.$d.getTime();
|
|
2041
2041
|
}, r.startOf = function(s, m) {
|
|
2042
|
-
var d = this,
|
|
2043
|
-
var J =
|
|
2044
|
-
return
|
|
2042
|
+
var d = this, D = !!T.u(m) || m, g = T.p(s), L = function(ee, Z) {
|
|
2043
|
+
var J = T.w(d.$u ? Date.UTC(d.$y, Z, ee) : new Date(d.$y, Z, ee), d);
|
|
2044
|
+
return D ? J : J.endOf(S);
|
|
2045
2045
|
}, K = function(ee, Z) {
|
|
2046
|
-
return
|
|
2047
|
-
}, F = this.$W,
|
|
2048
|
-
switch (
|
|
2049
|
-
case A:
|
|
2050
|
-
return p ? E(1, 0) : E(31, 11);
|
|
2046
|
+
return T.w(d.toDate()[ee].apply(d.toDate("s"), (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), d);
|
|
2047
|
+
}, F = this.$W, B = this.$M, $ = this.$D, ae = "set" + (this.$u ? "UTC" : "");
|
|
2048
|
+
switch (g) {
|
|
2051
2049
|
case w:
|
|
2052
|
-
return
|
|
2053
|
-
case
|
|
2054
|
-
|
|
2055
|
-
return E(p ? $ - ne : $ + (6 - ne), T);
|
|
2056
|
-
case b:
|
|
2050
|
+
return D ? L(1, 0) : L(31, 11);
|
|
2051
|
+
case y:
|
|
2052
|
+
return D ? L(1, B) : L(0, B + 1);
|
|
2057
2053
|
case P:
|
|
2054
|
+
var Q = this.$locale().weekStart || 0, ne = (F < Q ? F + 7 : F) - Q;
|
|
2055
|
+
return L(D ? $ - ne : $ + (6 - ne), B);
|
|
2056
|
+
case S:
|
|
2057
|
+
case A:
|
|
2058
2058
|
return K(ae + "Hours", 0);
|
|
2059
|
-
case
|
|
2059
|
+
case h:
|
|
2060
2060
|
return K(ae + "Minutes", 1);
|
|
2061
2061
|
case c:
|
|
2062
2062
|
return K(ae + "Seconds", 2);
|
|
@@ -2068,53 +2068,53 @@ function ii() {
|
|
|
2068
2068
|
}, r.endOf = function(s) {
|
|
2069
2069
|
return this.startOf(s, !1);
|
|
2070
2070
|
}, r.$set = function(s, m) {
|
|
2071
|
-
var d,
|
|
2072
|
-
if (
|
|
2073
|
-
var F = this.clone().set(
|
|
2074
|
-
F.$d[
|
|
2075
|
-
} else
|
|
2071
|
+
var d, D = T.p(s), g = "set" + (this.$u ? "UTC" : ""), L = (d = {}, d[S] = g + "Date", d[A] = g + "Date", d[y] = g + "Month", d[w] = g + "FullYear", d[h] = g + "Hours", d[c] = g + "Minutes", d[u] = g + "Seconds", d[l] = g + "Milliseconds", d)[D], K = D === S ? this.$D + (m - this.$W) : m;
|
|
2072
|
+
if (D === y || D === w) {
|
|
2073
|
+
var F = this.clone().set(A, 1);
|
|
2074
|
+
F.$d[L](K), F.init(), this.$d = F.set(A, Math.min(this.$D, F.daysInMonth())).$d;
|
|
2075
|
+
} else L && this.$d[L](K);
|
|
2076
2076
|
return this.init(), this;
|
|
2077
2077
|
}, r.set = function(s, m) {
|
|
2078
2078
|
return this.clone().$set(s, m);
|
|
2079
2079
|
}, r.get = function(s) {
|
|
2080
|
-
return this[
|
|
2080
|
+
return this[T.p(s)]();
|
|
2081
2081
|
}, r.add = function(s, m) {
|
|
2082
|
-
var d,
|
|
2082
|
+
var d, D = this;
|
|
2083
2083
|
s = Number(s);
|
|
2084
|
-
var
|
|
2085
|
-
var $ =
|
|
2086
|
-
return
|
|
2084
|
+
var g = T.p(m), L = function(B) {
|
|
2085
|
+
var $ = I(D);
|
|
2086
|
+
return T.w($.date($.date() + Math.round(B * s)), D);
|
|
2087
2087
|
};
|
|
2088
|
-
if (
|
|
2089
|
-
if (
|
|
2090
|
-
if (
|
|
2091
|
-
if (
|
|
2092
|
-
var K = (d = {}, d[c] =
|
|
2093
|
-
return
|
|
2088
|
+
if (g === y) return this.set(y, this.$M + s);
|
|
2089
|
+
if (g === w) return this.set(w, this.$y + s);
|
|
2090
|
+
if (g === S) return L(1);
|
|
2091
|
+
if (g === P) return L(7);
|
|
2092
|
+
var K = (d = {}, d[c] = i, d[h] = o, d[u] = n, d)[g] || 1, F = this.$d.getTime() + s * K;
|
|
2093
|
+
return T.w(F, this);
|
|
2094
2094
|
}, r.subtract = function(s, m) {
|
|
2095
2095
|
return this.add(-1 * s, m);
|
|
2096
2096
|
}, r.format = function(s) {
|
|
2097
2097
|
var m = this, d = this.$locale();
|
|
2098
2098
|
if (!this.isValid()) return d.invalidDate || f;
|
|
2099
|
-
var
|
|
2100
|
-
return Z && (Z[J] || Z(m,
|
|
2099
|
+
var D = s || "YYYY-MM-DDTHH:mm:ssZ", g = T.z(this), L = this.$H, K = this.$m, F = this.$M, B = d.weekdays, $ = d.months, ae = d.meridiem, Q = function(Z, J, oe, se) {
|
|
2100
|
+
return Z && (Z[J] || Z(m, D)) || oe[J].slice(0, se);
|
|
2101
2101
|
}, ne = function(Z) {
|
|
2102
|
-
return
|
|
2102
|
+
return T.s(L % 12 || 12, Z, "0");
|
|
2103
2103
|
}, ee = ae || function(Z, J, oe) {
|
|
2104
2104
|
var se = Z < 12 ? "AM" : "PM";
|
|
2105
2105
|
return oe ? se.toLowerCase() : se;
|
|
2106
2106
|
};
|
|
2107
|
-
return
|
|
2107
|
+
return D.replace(C, (function(Z, J) {
|
|
2108
2108
|
return J || (function(oe) {
|
|
2109
2109
|
switch (oe) {
|
|
2110
2110
|
case "YY":
|
|
2111
2111
|
return String(m.$y).slice(-2);
|
|
2112
2112
|
case "YYYY":
|
|
2113
|
-
return
|
|
2113
|
+
return T.s(m.$y, 4, "0");
|
|
2114
2114
|
case "M":
|
|
2115
2115
|
return F + 1;
|
|
2116
2116
|
case "MM":
|
|
2117
|
-
return
|
|
2117
|
+
return T.s(F + 1, 2, "0");
|
|
2118
2118
|
case "MMM":
|
|
2119
2119
|
return Q(d.monthsShort, F, $, 3);
|
|
2120
2120
|
case "MMMM":
|
|
@@ -2122,88 +2122,88 @@ function ii() {
|
|
|
2122
2122
|
case "D":
|
|
2123
2123
|
return m.$D;
|
|
2124
2124
|
case "DD":
|
|
2125
|
-
return
|
|
2125
|
+
return T.s(m.$D, 2, "0");
|
|
2126
2126
|
case "d":
|
|
2127
2127
|
return String(m.$W);
|
|
2128
2128
|
case "dd":
|
|
2129
|
-
return Q(d.weekdaysMin, m.$W,
|
|
2129
|
+
return Q(d.weekdaysMin, m.$W, B, 2);
|
|
2130
2130
|
case "ddd":
|
|
2131
|
-
return Q(d.weekdaysShort, m.$W,
|
|
2131
|
+
return Q(d.weekdaysShort, m.$W, B, 3);
|
|
2132
2132
|
case "dddd":
|
|
2133
|
-
return
|
|
2133
|
+
return B[m.$W];
|
|
2134
2134
|
case "H":
|
|
2135
|
-
return String(
|
|
2135
|
+
return String(L);
|
|
2136
2136
|
case "HH":
|
|
2137
|
-
return
|
|
2137
|
+
return T.s(L, 2, "0");
|
|
2138
2138
|
case "h":
|
|
2139
2139
|
return ne(1);
|
|
2140
2140
|
case "hh":
|
|
2141
2141
|
return ne(2);
|
|
2142
2142
|
case "a":
|
|
2143
|
-
return ee(
|
|
2143
|
+
return ee(L, K, !0);
|
|
2144
2144
|
case "A":
|
|
2145
|
-
return ee(
|
|
2145
|
+
return ee(L, K, !1);
|
|
2146
2146
|
case "m":
|
|
2147
2147
|
return String(K);
|
|
2148
2148
|
case "mm":
|
|
2149
|
-
return
|
|
2149
|
+
return T.s(K, 2, "0");
|
|
2150
2150
|
case "s":
|
|
2151
2151
|
return String(m.$s);
|
|
2152
2152
|
case "ss":
|
|
2153
|
-
return
|
|
2153
|
+
return T.s(m.$s, 2, "0");
|
|
2154
2154
|
case "SSS":
|
|
2155
|
-
return
|
|
2155
|
+
return T.s(m.$ms, 3, "0");
|
|
2156
2156
|
case "Z":
|
|
2157
|
-
return
|
|
2157
|
+
return g;
|
|
2158
2158
|
}
|
|
2159
2159
|
return null;
|
|
2160
|
-
})(Z) ||
|
|
2160
|
+
})(Z) || g.replace(":", "");
|
|
2161
2161
|
}));
|
|
2162
2162
|
}, r.utcOffset = function() {
|
|
2163
2163
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2164
2164
|
}, r.diff = function(s, m, d) {
|
|
2165
|
-
var
|
|
2166
|
-
return
|
|
2165
|
+
var D, g = this, L = T.p(m), K = I(s), F = (K.utcOffset() - this.utcOffset()) * i, B = this - K, $ = function() {
|
|
2166
|
+
return T.m(g, K);
|
|
2167
2167
|
};
|
|
2168
|
-
switch (
|
|
2169
|
-
case A:
|
|
2170
|
-
p = $() / 12;
|
|
2171
|
-
break;
|
|
2168
|
+
switch (L) {
|
|
2172
2169
|
case w:
|
|
2173
|
-
|
|
2170
|
+
D = $() / 12;
|
|
2174
2171
|
break;
|
|
2175
|
-
case
|
|
2176
|
-
|
|
2172
|
+
case y:
|
|
2173
|
+
D = $();
|
|
2177
2174
|
break;
|
|
2178
|
-
case
|
|
2179
|
-
|
|
2175
|
+
case p:
|
|
2176
|
+
D = $() / 3;
|
|
2180
2177
|
break;
|
|
2181
|
-
case
|
|
2182
|
-
|
|
2178
|
+
case P:
|
|
2179
|
+
D = (B - F) / 6048e5;
|
|
2180
|
+
break;
|
|
2181
|
+
case S:
|
|
2182
|
+
D = (B - F) / 864e5;
|
|
2183
2183
|
break;
|
|
2184
|
-
case
|
|
2185
|
-
|
|
2184
|
+
case h:
|
|
2185
|
+
D = B / o;
|
|
2186
2186
|
break;
|
|
2187
2187
|
case c:
|
|
2188
|
-
|
|
2188
|
+
D = B / i;
|
|
2189
2189
|
break;
|
|
2190
2190
|
case u:
|
|
2191
|
-
|
|
2191
|
+
D = B / n;
|
|
2192
2192
|
break;
|
|
2193
2193
|
default:
|
|
2194
|
-
|
|
2194
|
+
D = B;
|
|
2195
2195
|
}
|
|
2196
|
-
return d ?
|
|
2196
|
+
return d ? D : T.a(D);
|
|
2197
2197
|
}, r.daysInMonth = function() {
|
|
2198
|
-
return this.endOf(
|
|
2198
|
+
return this.endOf(y).$D;
|
|
2199
2199
|
}, r.$locale = function() {
|
|
2200
|
-
return
|
|
2200
|
+
return k[this.$L];
|
|
2201
2201
|
}, r.locale = function(s, m) {
|
|
2202
2202
|
if (!s) return this.$L;
|
|
2203
|
-
var d = this.clone(),
|
|
2204
|
-
return
|
|
2203
|
+
var d = this.clone(), D = z(s, m, !0);
|
|
2204
|
+
return D && (d.$L = D), d;
|
|
2205
2205
|
}, r.clone = function() {
|
|
2206
|
-
return
|
|
2206
|
+
return T.w(this.$d, this);
|
|
2207
2207
|
}, r.toDate = function() {
|
|
2208
2208
|
return new Date(this.valueOf());
|
|
2209
2209
|
}, r.toJSON = function() {
|
|
@@ -2212,54 +2212,54 @@ function ii() {
|
|
|
2212
2212
|
return this.$d.toISOString();
|
|
2213
2213
|
}, r.toString = function() {
|
|
2214
2214
|
return this.$d.toUTCString();
|
|
2215
|
-
},
|
|
2215
|
+
}, R;
|
|
2216
2216
|
})(), re = V.prototype;
|
|
2217
|
-
return
|
|
2218
|
-
re[
|
|
2219
|
-
return this.$g(r,
|
|
2217
|
+
return I.prototype = re, [["$ms", l], ["$s", u], ["$m", c], ["$H", h], ["$W", S], ["$M", y], ["$y", w], ["$D", A]].forEach((function(R) {
|
|
2218
|
+
re[R[1]] = function(r) {
|
|
2219
|
+
return this.$g(r, R[0], R[1]);
|
|
2220
2220
|
};
|
|
2221
|
-
})),
|
|
2222
|
-
return
|
|
2223
|
-
},
|
|
2224
|
-
return
|
|
2225
|
-
},
|
|
2221
|
+
})), I.extend = function(R, r) {
|
|
2222
|
+
return R.$i || (R(r, V, I), R.$i = !0), I;
|
|
2223
|
+
}, I.locale = z, I.isDayjs = x, I.unix = function(R) {
|
|
2224
|
+
return I(1e3 * R);
|
|
2225
|
+
}, I.en = k[N], I.Ls = k, I.p = {}, I;
|
|
2226
2226
|
}));
|
|
2227
2227
|
})(de)), de.exports;
|
|
2228
2228
|
}
|
|
2229
|
-
var
|
|
2230
|
-
const
|
|
2231
|
-
var me = { exports: {} },
|
|
2232
|
-
function
|
|
2233
|
-
return
|
|
2234
|
-
(function(n,
|
|
2235
|
-
|
|
2236
|
-
})(
|
|
2237
|
-
return function(n,
|
|
2238
|
-
var o =
|
|
2229
|
+
var Lt = it();
|
|
2230
|
+
const q = /* @__PURE__ */ W(Lt);
|
|
2231
|
+
var me = { exports: {} }, Ot = me.exports, Ue;
|
|
2232
|
+
function Ct() {
|
|
2233
|
+
return Ue || (Ue = 1, (function(t, e) {
|
|
2234
|
+
(function(n, i) {
|
|
2235
|
+
t.exports = i();
|
|
2236
|
+
})(Ot, (function() {
|
|
2237
|
+
return function(n, i) {
|
|
2238
|
+
var o = i.prototype, l = o.format;
|
|
2239
2239
|
o.format = function(u) {
|
|
2240
|
-
var c = this,
|
|
2240
|
+
var c = this, h = this.$locale();
|
|
2241
2241
|
if (!this.isValid()) return l.bind(this)(u);
|
|
2242
|
-
var
|
|
2243
|
-
switch (
|
|
2242
|
+
var S = this.$utils(), P = (u || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(y) {
|
|
2243
|
+
switch (y) {
|
|
2244
2244
|
case "Q":
|
|
2245
2245
|
return Math.ceil((c.$M + 1) / 3);
|
|
2246
2246
|
case "Do":
|
|
2247
|
-
return
|
|
2247
|
+
return h.ordinal(c.$D);
|
|
2248
2248
|
case "gggg":
|
|
2249
2249
|
return c.weekYear();
|
|
2250
2250
|
case "GGGG":
|
|
2251
2251
|
return c.isoWeekYear();
|
|
2252
2252
|
case "wo":
|
|
2253
|
-
return
|
|
2253
|
+
return h.ordinal(c.week(), "W");
|
|
2254
2254
|
case "w":
|
|
2255
2255
|
case "ww":
|
|
2256
|
-
return
|
|
2256
|
+
return S.s(c.week(), y === "w" ? 1 : 2, "0");
|
|
2257
2257
|
case "W":
|
|
2258
2258
|
case "WW":
|
|
2259
|
-
return
|
|
2259
|
+
return S.s(c.isoWeek(), y === "W" ? 1 : 2, "0");
|
|
2260
2260
|
case "k":
|
|
2261
2261
|
case "kk":
|
|
2262
|
-
return
|
|
2262
|
+
return S.s(String(c.$H === 0 ? 24 : c.$H), y === "k" ? 1 : 2, "0");
|
|
2263
2263
|
case "X":
|
|
2264
2264
|
return Math.floor(c.$d.getTime() / 1e3);
|
|
2265
2265
|
case "x":
|
|
@@ -2269,108 +2269,188 @@ function Li() {
|
|
|
2269
2269
|
case "zzz":
|
|
2270
2270
|
return "[" + c.offsetName("long") + "]";
|
|
2271
2271
|
default:
|
|
2272
|
-
return
|
|
2272
|
+
return y;
|
|
2273
2273
|
}
|
|
2274
2274
|
}));
|
|
2275
|
-
return l.bind(this)(
|
|
2275
|
+
return l.bind(this)(P);
|
|
2276
2276
|
};
|
|
2277
2277
|
};
|
|
2278
2278
|
}));
|
|
2279
2279
|
})(me)), me.exports;
|
|
2280
2280
|
}
|
|
2281
|
-
var
|
|
2282
|
-
const
|
|
2283
|
-
var fe = { exports: {} },
|
|
2284
|
-
function
|
|
2285
|
-
return
|
|
2286
|
-
(function(n,
|
|
2287
|
-
|
|
2288
|
-
})(
|
|
2289
|
-
return function(n,
|
|
2290
|
-
|
|
2291
|
-
var
|
|
2292
|
-
return (
|
|
2281
|
+
var kt = Ct();
|
|
2282
|
+
const It = /* @__PURE__ */ W(kt);
|
|
2283
|
+
var fe = { exports: {} }, Kt = fe.exports, _e;
|
|
2284
|
+
function Gt() {
|
|
2285
|
+
return _e || (_e = 1, (function(t, e) {
|
|
2286
|
+
(function(n, i) {
|
|
2287
|
+
t.exports = i();
|
|
2288
|
+
})(Kt, (function() {
|
|
2289
|
+
return function(n, i, o) {
|
|
2290
|
+
i.prototype.isBetween = function(l, u, c, h) {
|
|
2291
|
+
var S = o(l), P = o(u), y = (h = h || "()")[0] === "(", p = h[1] === ")";
|
|
2292
|
+
return (y ? this.isAfter(S, c) : !this.isBefore(S, c)) && (p ? this.isBefore(P, c) : !this.isAfter(P, c)) || (y ? this.isBefore(S, c) : !this.isAfter(S, c)) && (p ? this.isAfter(P, c) : !this.isBefore(P, c));
|
|
2293
2293
|
};
|
|
2294
2294
|
};
|
|
2295
2295
|
}));
|
|
2296
2296
|
})(fe)), fe.exports;
|
|
2297
2297
|
}
|
|
2298
|
-
var
|
|
2299
|
-
const
|
|
2300
|
-
var he = { exports: {} },
|
|
2301
|
-
function
|
|
2302
|
-
return
|
|
2303
|
-
(function(n,
|
|
2304
|
-
|
|
2305
|
-
})(
|
|
2306
|
-
return function(n,
|
|
2307
|
-
|
|
2298
|
+
var Ut = Gt();
|
|
2299
|
+
const _t = /* @__PURE__ */ W(Ut);
|
|
2300
|
+
var he = { exports: {} }, zt = he.exports, ze;
|
|
2301
|
+
function Ft() {
|
|
2302
|
+
return ze || (ze = 1, (function(t, e) {
|
|
2303
|
+
(function(n, i) {
|
|
2304
|
+
t.exports = i();
|
|
2305
|
+
})(zt, (function() {
|
|
2306
|
+
return function(n, i) {
|
|
2307
|
+
i.prototype.isSameOrAfter = function(o, l) {
|
|
2308
2308
|
return this.isSame(o, l) || this.isAfter(o, l);
|
|
2309
2309
|
};
|
|
2310
2310
|
};
|
|
2311
2311
|
}));
|
|
2312
2312
|
})(he)), he.exports;
|
|
2313
2313
|
}
|
|
2314
|
-
var
|
|
2315
|
-
const
|
|
2316
|
-
var ge = { exports: {} },
|
|
2317
|
-
function
|
|
2318
|
-
return
|
|
2319
|
-
(function(n,
|
|
2320
|
-
|
|
2321
|
-
})(
|
|
2322
|
-
return function(n,
|
|
2323
|
-
|
|
2314
|
+
var $t = Ft();
|
|
2315
|
+
const Ht = /* @__PURE__ */ W($t);
|
|
2316
|
+
var ge = { exports: {} }, xt = ge.exports, Fe;
|
|
2317
|
+
function Yt() {
|
|
2318
|
+
return Fe || (Fe = 1, (function(t, e) {
|
|
2319
|
+
(function(n, i) {
|
|
2320
|
+
t.exports = i();
|
|
2321
|
+
})(xt, (function() {
|
|
2322
|
+
return function(n, i) {
|
|
2323
|
+
i.prototype.isSameOrBefore = function(o, l) {
|
|
2324
2324
|
return this.isSame(o, l) || this.isBefore(o, l);
|
|
2325
2325
|
};
|
|
2326
2326
|
};
|
|
2327
2327
|
}));
|
|
2328
2328
|
})(ge)), ge.exports;
|
|
2329
2329
|
}
|
|
2330
|
-
var
|
|
2331
|
-
const
|
|
2332
|
-
var pe = { exports: {} },
|
|
2333
|
-
function
|
|
2334
|
-
return
|
|
2335
|
-
(function(n,
|
|
2336
|
-
|
|
2337
|
-
})(
|
|
2330
|
+
var Vt = Yt();
|
|
2331
|
+
const Zt = /* @__PURE__ */ W(Vt);
|
|
2332
|
+
var pe = { exports: {} }, Wt = pe.exports, $e;
|
|
2333
|
+
function qt() {
|
|
2334
|
+
return $e || ($e = 1, (function(t, e) {
|
|
2335
|
+
(function(n, i) {
|
|
2336
|
+
t.exports = i();
|
|
2337
|
+
})(Wt, (function() {
|
|
2338
|
+
return function(n, i, o) {
|
|
2339
|
+
var l = i.prototype, u = function(y) {
|
|
2340
|
+
return y && (y.indexOf ? y : y.s);
|
|
2341
|
+
}, c = function(y, p, w, A, f) {
|
|
2342
|
+
var M = y.name ? y : y.$locale(), C = u(M[p]), O = u(M[w]), E = C || O.map((function(N) {
|
|
2343
|
+
return N.slice(0, A);
|
|
2344
|
+
}));
|
|
2345
|
+
if (!f) return E;
|
|
2346
|
+
var G = M.weekStart;
|
|
2347
|
+
return E.map((function(N, k) {
|
|
2348
|
+
return E[(k + (G || 0)) % 7];
|
|
2349
|
+
}));
|
|
2350
|
+
}, h = function() {
|
|
2351
|
+
return o.Ls[o.locale()];
|
|
2352
|
+
}, S = function(y, p) {
|
|
2353
|
+
return y.formats[p] || (function(w) {
|
|
2354
|
+
return w.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(A, f, M) {
|
|
2355
|
+
return f || M.slice(1);
|
|
2356
|
+
}));
|
|
2357
|
+
})(y.formats[p.toUpperCase()]);
|
|
2358
|
+
}, P = function() {
|
|
2359
|
+
var y = this;
|
|
2360
|
+
return { months: function(p) {
|
|
2361
|
+
return p ? p.format("MMMM") : c(y, "months");
|
|
2362
|
+
}, monthsShort: function(p) {
|
|
2363
|
+
return p ? p.format("MMM") : c(y, "monthsShort", "months", 3);
|
|
2364
|
+
}, firstDayOfWeek: function() {
|
|
2365
|
+
return y.$locale().weekStart || 0;
|
|
2366
|
+
}, weekdays: function(p) {
|
|
2367
|
+
return p ? p.format("dddd") : c(y, "weekdays");
|
|
2368
|
+
}, weekdaysMin: function(p) {
|
|
2369
|
+
return p ? p.format("dd") : c(y, "weekdaysMin", "weekdays", 2);
|
|
2370
|
+
}, weekdaysShort: function(p) {
|
|
2371
|
+
return p ? p.format("ddd") : c(y, "weekdaysShort", "weekdays", 3);
|
|
2372
|
+
}, longDateFormat: function(p) {
|
|
2373
|
+
return S(y.$locale(), p);
|
|
2374
|
+
}, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
|
|
2375
|
+
};
|
|
2376
|
+
l.localeData = function() {
|
|
2377
|
+
return P.bind(this)();
|
|
2378
|
+
}, o.localeData = function() {
|
|
2379
|
+
var y = h();
|
|
2380
|
+
return { firstDayOfWeek: function() {
|
|
2381
|
+
return y.weekStart || 0;
|
|
2382
|
+
}, weekdays: function() {
|
|
2383
|
+
return o.weekdays();
|
|
2384
|
+
}, weekdaysShort: function() {
|
|
2385
|
+
return o.weekdaysShort();
|
|
2386
|
+
}, weekdaysMin: function() {
|
|
2387
|
+
return o.weekdaysMin();
|
|
2388
|
+
}, months: function() {
|
|
2389
|
+
return o.months();
|
|
2390
|
+
}, monthsShort: function() {
|
|
2391
|
+
return o.monthsShort();
|
|
2392
|
+
}, longDateFormat: function(p) {
|
|
2393
|
+
return S(y, p);
|
|
2394
|
+
}, meridiem: y.meridiem, ordinal: y.ordinal };
|
|
2395
|
+
}, o.months = function() {
|
|
2396
|
+
return c(h(), "months");
|
|
2397
|
+
}, o.monthsShort = function() {
|
|
2398
|
+
return c(h(), "monthsShort", "months", 3);
|
|
2399
|
+
}, o.weekdays = function(y) {
|
|
2400
|
+
return c(h(), "weekdays", null, null, y);
|
|
2401
|
+
}, o.weekdaysShort = function(y) {
|
|
2402
|
+
return c(h(), "weekdaysShort", "weekdays", 3, y);
|
|
2403
|
+
}, o.weekdaysMin = function(y) {
|
|
2404
|
+
return c(h(), "weekdaysMin", "weekdays", 2, y);
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
}));
|
|
2408
|
+
})(pe)), pe.exports;
|
|
2409
|
+
}
|
|
2410
|
+
var jt = qt();
|
|
2411
|
+
const Jt = /* @__PURE__ */ W(jt);
|
|
2412
|
+
var ye = { exports: {} }, Xt = ye.exports, He;
|
|
2413
|
+
function Qt() {
|
|
2414
|
+
return He || (He = 1, (function(t, e) {
|
|
2415
|
+
(function(n, i) {
|
|
2416
|
+
t.exports = i();
|
|
2417
|
+
})(Xt, (function() {
|
|
2338
2418
|
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
2339
|
-
return function(
|
|
2419
|
+
return function(i, o, l) {
|
|
2340
2420
|
var u = o.prototype, c = u.format;
|
|
2341
|
-
l.en.formats = n, u.format = function(
|
|
2342
|
-
|
|
2343
|
-
var
|
|
2344
|
-
return
|
|
2345
|
-
var
|
|
2346
|
-
return
|
|
2347
|
-
return O ||
|
|
2421
|
+
l.en.formats = n, u.format = function(h) {
|
|
2422
|
+
h === void 0 && (h = "YYYY-MM-DDTHH:mm:ssZ");
|
|
2423
|
+
var S = this.$locale().formats, P = (function(y, p) {
|
|
2424
|
+
return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(w, A, f) {
|
|
2425
|
+
var M = f && f.toUpperCase();
|
|
2426
|
+
return A || p[f] || n[f] || p[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(C, O, E) {
|
|
2427
|
+
return O || E.slice(1);
|
|
2348
2428
|
}));
|
|
2349
2429
|
}));
|
|
2350
|
-
})(
|
|
2351
|
-
return c.call(this,
|
|
2430
|
+
})(h, S === void 0 ? {} : S);
|
|
2431
|
+
return c.call(this, P);
|
|
2352
2432
|
};
|
|
2353
2433
|
};
|
|
2354
2434
|
}));
|
|
2355
|
-
})(
|
|
2435
|
+
})(ye)), ye.exports;
|
|
2356
2436
|
}
|
|
2357
|
-
var
|
|
2358
|
-
const
|
|
2359
|
-
var De = { exports: {} },
|
|
2360
|
-
function
|
|
2361
|
-
return
|
|
2362
|
-
(function(n,
|
|
2363
|
-
|
|
2364
|
-
})(
|
|
2365
|
-
return function(n,
|
|
2437
|
+
var ea = Qt();
|
|
2438
|
+
const ta = /* @__PURE__ */ W(ea);
|
|
2439
|
+
var De = { exports: {} }, aa = De.exports, xe;
|
|
2440
|
+
function ia() {
|
|
2441
|
+
return xe || (xe = 1, (function(t, e) {
|
|
2442
|
+
(function(n, i) {
|
|
2443
|
+
t.exports = i();
|
|
2444
|
+
})(aa, (function() {
|
|
2445
|
+
return function(n, i, o) {
|
|
2366
2446
|
var l = function(u, c) {
|
|
2367
2447
|
if (!c || !c.length || c.length === 1 && !c[0] || c.length === 1 && Array.isArray(c[0]) && !c[0].length) return null;
|
|
2368
|
-
var
|
|
2369
|
-
c.length === 1 && c[0].length > 0 && (c = c[0]),
|
|
2370
|
-
return
|
|
2448
|
+
var h;
|
|
2449
|
+
c.length === 1 && c[0].length > 0 && (c = c[0]), h = (c = c.filter((function(P) {
|
|
2450
|
+
return P;
|
|
2371
2451
|
})))[0];
|
|
2372
|
-
for (var
|
|
2373
|
-
return
|
|
2452
|
+
for (var S = 1; S < c.length; S += 1) c[S].isValid() && !c[S][u](h) || (h = c[S]);
|
|
2453
|
+
return h;
|
|
2374
2454
|
};
|
|
2375
2455
|
o.max = function() {
|
|
2376
2456
|
var u = [].slice.call(arguments, 0);
|
|
@@ -2383,317 +2463,318 @@ function Ji() {
|
|
|
2383
2463
|
}));
|
|
2384
2464
|
})(De)), De.exports;
|
|
2385
2465
|
}
|
|
2386
|
-
var
|
|
2387
|
-
const
|
|
2388
|
-
var
|
|
2389
|
-
function
|
|
2390
|
-
return
|
|
2391
|
-
(function(n,
|
|
2392
|
-
|
|
2393
|
-
})(
|
|
2394
|
-
return function(n,
|
|
2466
|
+
var na = ia();
|
|
2467
|
+
const oa = /* @__PURE__ */ W(na);
|
|
2468
|
+
var be = { exports: {} }, ra = be.exports, Ye;
|
|
2469
|
+
function sa() {
|
|
2470
|
+
return Ye || (Ye = 1, (function(t, e) {
|
|
2471
|
+
(function(n, i) {
|
|
2472
|
+
t.exports = i();
|
|
2473
|
+
})(ra, (function() {
|
|
2474
|
+
return function(n, i, o) {
|
|
2395
2475
|
n = n || {};
|
|
2396
|
-
var l =
|
|
2397
|
-
function c(
|
|
2398
|
-
return l.fromToBase(
|
|
2476
|
+
var l = i.prototype, u = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
2477
|
+
function c(S, P, y, p) {
|
|
2478
|
+
return l.fromToBase(S, P, y, p);
|
|
2399
2479
|
}
|
|
2400
|
-
o.en.relativeTime = u, l.fromToBase = function(
|
|
2401
|
-
for (var
|
|
2402
|
-
var
|
|
2403
|
-
|
|
2404
|
-
var
|
|
2405
|
-
if (
|
|
2406
|
-
|
|
2407
|
-
var H =
|
|
2408
|
-
|
|
2480
|
+
o.en.relativeTime = u, l.fromToBase = function(S, P, y, p, w) {
|
|
2481
|
+
for (var A, f, M, C = y.$locale().relativeTime || u, O = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], E = O.length, G = 0; G < E; G += 1) {
|
|
2482
|
+
var N = O[G];
|
|
2483
|
+
N.d && (A = p ? o(S).diff(y, N.d, !0) : y.diff(S, N.d, !0));
|
|
2484
|
+
var k = (n.rounding || Math.round)(Math.abs(A));
|
|
2485
|
+
if (M = A > 0, k <= N.r || !N.r) {
|
|
2486
|
+
k <= 1 && G > 0 && (N = O[G - 1]);
|
|
2487
|
+
var H = C[N.l];
|
|
2488
|
+
w && (k = w("" + k)), f = typeof H == "string" ? H.replace("%d", k) : H(k, P, N.l, M);
|
|
2409
2489
|
break;
|
|
2410
2490
|
}
|
|
2411
2491
|
}
|
|
2412
|
-
if (
|
|
2413
|
-
var x =
|
|
2492
|
+
if (P) return f;
|
|
2493
|
+
var x = M ? C.future : C.past;
|
|
2414
2494
|
return typeof x == "function" ? x(f) : x.replace("%s", f);
|
|
2415
|
-
}, l.to = function(
|
|
2416
|
-
return c(
|
|
2417
|
-
}, l.from = function(
|
|
2418
|
-
return c(
|
|
2495
|
+
}, l.to = function(S, P) {
|
|
2496
|
+
return c(S, P, this, !0);
|
|
2497
|
+
}, l.from = function(S, P) {
|
|
2498
|
+
return c(S, P, this);
|
|
2419
2499
|
};
|
|
2420
|
-
var
|
|
2421
|
-
return
|
|
2500
|
+
var h = function(S) {
|
|
2501
|
+
return S.$u ? o.utc() : o();
|
|
2422
2502
|
};
|
|
2423
|
-
l.toNow = function(
|
|
2424
|
-
return this.to(
|
|
2425
|
-
}, l.fromNow = function(
|
|
2426
|
-
return this.from(
|
|
2503
|
+
l.toNow = function(S) {
|
|
2504
|
+
return this.to(h(this), S);
|
|
2505
|
+
}, l.fromNow = function(S) {
|
|
2506
|
+
return this.from(h(this), S);
|
|
2427
2507
|
};
|
|
2428
2508
|
};
|
|
2429
2509
|
}));
|
|
2430
|
-
})(
|
|
2510
|
+
})(be)), be.exports;
|
|
2431
2511
|
}
|
|
2432
|
-
var
|
|
2433
|
-
const
|
|
2434
|
-
var
|
|
2435
|
-
function
|
|
2436
|
-
return
|
|
2437
|
-
(function(n,
|
|
2438
|
-
|
|
2439
|
-
})(
|
|
2440
|
-
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 },
|
|
2512
|
+
var la = sa();
|
|
2513
|
+
const ua = /* @__PURE__ */ W(la);
|
|
2514
|
+
var Se = { exports: {} }, ca = Se.exports, Ve;
|
|
2515
|
+
function da() {
|
|
2516
|
+
return Ve || (Ve = 1, (function(t, e) {
|
|
2517
|
+
(function(n, i) {
|
|
2518
|
+
t.exports = i();
|
|
2519
|
+
})(ca, (function() {
|
|
2520
|
+
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, i = {};
|
|
2441
2521
|
return function(o, l, u) {
|
|
2442
|
-
var c,
|
|
2443
|
-
|
|
2444
|
-
var f = new Date(
|
|
2522
|
+
var c, h = function(p, w, A) {
|
|
2523
|
+
A === void 0 && (A = {});
|
|
2524
|
+
var f = new Date(p), M = (function(C, O) {
|
|
2445
2525
|
O === void 0 && (O = {});
|
|
2446
|
-
var
|
|
2447
|
-
return
|
|
2448
|
-
})(
|
|
2449
|
-
return
|
|
2450
|
-
},
|
|
2451
|
-
for (var
|
|
2452
|
-
var
|
|
2453
|
-
|
|
2526
|
+
var E = O.timeZoneName || "short", G = C + "|" + E, N = i[G];
|
|
2527
|
+
return N || (N = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: C, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: E }), i[G] = N), N;
|
|
2528
|
+
})(w, A);
|
|
2529
|
+
return M.formatToParts(f);
|
|
2530
|
+
}, S = function(p, w) {
|
|
2531
|
+
for (var A = h(p, w), f = [], M = 0; M < A.length; M += 1) {
|
|
2532
|
+
var C = A[M], O = C.type, E = C.value, G = n[O];
|
|
2533
|
+
G >= 0 && (f[G] = parseInt(E, 10));
|
|
2454
2534
|
}
|
|
2455
|
-
var
|
|
2535
|
+
var N = f[3], k = N === 24 ? 0 : N, H = f[0] + "-" + f[1] + "-" + f[2] + " " + k + ":" + f[4] + ":" + f[5] + ":000", x = +p;
|
|
2456
2536
|
return (u.utc(H).valueOf() - (x -= x % 1e3)) / 6e4;
|
|
2457
|
-
},
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
var
|
|
2461
|
-
if (!Number(
|
|
2462
|
-
else if (
|
|
2463
|
-
var
|
|
2464
|
-
|
|
2537
|
+
}, P = l.prototype;
|
|
2538
|
+
P.tz = function(p, w) {
|
|
2539
|
+
p === void 0 && (p = c);
|
|
2540
|
+
var A, f = this.utcOffset(), M = this.toDate(), C = M.toLocaleString("en-US", { timeZone: p }), O = Math.round((M - new Date(C)) / 1e3 / 60), E = 15 * -Math.round(M.getTimezoneOffset() / 15) - O;
|
|
2541
|
+
if (!Number(E)) A = this.utcOffset(0, w);
|
|
2542
|
+
else if (A = u(C, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(E, !0), w) {
|
|
2543
|
+
var G = A.utcOffset();
|
|
2544
|
+
A = A.add(f - G, "minute");
|
|
2465
2545
|
}
|
|
2466
|
-
return
|
|
2467
|
-
},
|
|
2468
|
-
var
|
|
2546
|
+
return A.$x.$timezone = p, A;
|
|
2547
|
+
}, P.offsetName = function(p) {
|
|
2548
|
+
var w = this.$x.$timezone || u.tz.guess(), A = h(this.valueOf(), w, { timeZoneName: p }).find((function(f) {
|
|
2469
2549
|
return f.type.toLowerCase() === "timezonename";
|
|
2470
2550
|
}));
|
|
2471
|
-
return
|
|
2551
|
+
return A && A.value;
|
|
2472
2552
|
};
|
|
2473
|
-
var
|
|
2474
|
-
|
|
2475
|
-
if (!this.$x || !this.$x.$timezone) return
|
|
2476
|
-
var
|
|
2477
|
-
return
|
|
2478
|
-
}, u.tz = function(
|
|
2479
|
-
var f =
|
|
2480
|
-
if (typeof
|
|
2481
|
-
var O = (function(
|
|
2482
|
-
var z =
|
|
2483
|
-
if (H ===
|
|
2484
|
-
var
|
|
2485
|
-
return
|
|
2486
|
-
})(u.utc(
|
|
2487
|
-
return
|
|
2553
|
+
var y = P.startOf;
|
|
2554
|
+
P.startOf = function(p, w) {
|
|
2555
|
+
if (!this.$x || !this.$x.$timezone) return y.call(this, p, w);
|
|
2556
|
+
var A = u(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
2557
|
+
return y.call(A, p, w).tz(this.$x.$timezone, !0);
|
|
2558
|
+
}, u.tz = function(p, w, A) {
|
|
2559
|
+
var f = A && w, M = A || w || c, C = S(+u(), M);
|
|
2560
|
+
if (typeof p != "string") return u(p).tz(M);
|
|
2561
|
+
var O = (function(k, H, x) {
|
|
2562
|
+
var z = k - 60 * H * 1e3, I = S(z, x);
|
|
2563
|
+
if (H === I) return [z, H];
|
|
2564
|
+
var T = S(z -= 60 * (I - H) * 1e3, x);
|
|
2565
|
+
return I === T ? [z, I] : [k - 60 * Math.min(I, T) * 1e3, Math.max(I, T)];
|
|
2566
|
+
})(u.utc(p, f).valueOf(), C, M), E = O[0], G = O[1], N = u(E).utcOffset(G);
|
|
2567
|
+
return N.$x.$timezone = M, N;
|
|
2488
2568
|
}, u.tz.guess = function() {
|
|
2489
2569
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
2490
|
-
}, u.tz.setDefault = function(
|
|
2491
|
-
c =
|
|
2570
|
+
}, u.tz.setDefault = function(p) {
|
|
2571
|
+
c = p;
|
|
2492
2572
|
};
|
|
2493
2573
|
};
|
|
2494
2574
|
}));
|
|
2495
|
-
})(
|
|
2575
|
+
})(Se)), Se.exports;
|
|
2496
2576
|
}
|
|
2497
|
-
var
|
|
2498
|
-
const
|
|
2499
|
-
var
|
|
2500
|
-
function
|
|
2501
|
-
return
|
|
2502
|
-
(function(n,
|
|
2503
|
-
|
|
2504
|
-
})(
|
|
2505
|
-
var n = "minute",
|
|
2577
|
+
var ma = da();
|
|
2578
|
+
const fa = /* @__PURE__ */ W(ma);
|
|
2579
|
+
var ve = { exports: {} }, ha = ve.exports, Ze;
|
|
2580
|
+
function ga() {
|
|
2581
|
+
return Ze || (Ze = 1, (function(t, e) {
|
|
2582
|
+
(function(n, i) {
|
|
2583
|
+
t.exports = i();
|
|
2584
|
+
})(ha, (function() {
|
|
2585
|
+
var n = "minute", i = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
|
|
2506
2586
|
return function(l, u, c) {
|
|
2507
|
-
var
|
|
2587
|
+
var h = u.prototype;
|
|
2508
2588
|
c.utc = function(f) {
|
|
2509
|
-
var
|
|
2510
|
-
return new u(
|
|
2511
|
-
},
|
|
2512
|
-
var
|
|
2513
|
-
return f ?
|
|
2514
|
-
},
|
|
2589
|
+
var M = { date: f, utc: !0, args: arguments };
|
|
2590
|
+
return new u(M);
|
|
2591
|
+
}, h.utc = function(f) {
|
|
2592
|
+
var M = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
2593
|
+
return f ? M.add(this.utcOffset(), n) : M;
|
|
2594
|
+
}, h.local = function() {
|
|
2515
2595
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
2516
2596
|
};
|
|
2517
|
-
var
|
|
2518
|
-
|
|
2519
|
-
f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset),
|
|
2597
|
+
var S = h.parse;
|
|
2598
|
+
h.parse = function(f) {
|
|
2599
|
+
f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset), S.call(this, f);
|
|
2520
2600
|
};
|
|
2521
|
-
var
|
|
2522
|
-
|
|
2601
|
+
var P = h.init;
|
|
2602
|
+
h.init = function() {
|
|
2523
2603
|
if (this.$u) {
|
|
2524
2604
|
var f = this.$d;
|
|
2525
2605
|
this.$y = f.getUTCFullYear(), this.$M = f.getUTCMonth(), this.$D = f.getUTCDate(), this.$W = f.getUTCDay(), this.$H = f.getUTCHours(), this.$m = f.getUTCMinutes(), this.$s = f.getUTCSeconds(), this.$ms = f.getUTCMilliseconds();
|
|
2526
|
-
} else
|
|
2606
|
+
} else P.call(this);
|
|
2527
2607
|
};
|
|
2528
|
-
var
|
|
2529
|
-
|
|
2530
|
-
var
|
|
2531
|
-
if (
|
|
2532
|
-
if (typeof f == "string" && (f = (function(
|
|
2533
|
-
|
|
2534
|
-
var
|
|
2535
|
-
if (!
|
|
2536
|
-
var H = ("" +
|
|
2608
|
+
var y = h.utcOffset;
|
|
2609
|
+
h.utcOffset = function(f, M) {
|
|
2610
|
+
var C = this.$utils().u;
|
|
2611
|
+
if (C(f)) return this.$u ? 0 : C(this.$offset) ? y.call(this) : this.$offset;
|
|
2612
|
+
if (typeof f == "string" && (f = (function(N) {
|
|
2613
|
+
N === void 0 && (N = "");
|
|
2614
|
+
var k = N.match(i);
|
|
2615
|
+
if (!k) return null;
|
|
2616
|
+
var H = ("" + k[0]).match(o) || ["-", 0, 0], x = H[0], z = 60 * +H[1] + +H[2];
|
|
2537
2617
|
return z === 0 ? 0 : x === "+" ? z : -z;
|
|
2538
2618
|
})(f), f === null)) return this;
|
|
2539
2619
|
var O = Math.abs(f) <= 16 ? 60 * f : f;
|
|
2540
|
-
if (O === 0) return this.utc(
|
|
2541
|
-
var
|
|
2542
|
-
if (
|
|
2543
|
-
var
|
|
2544
|
-
return (
|
|
2620
|
+
if (O === 0) return this.utc(M);
|
|
2621
|
+
var E = this.clone();
|
|
2622
|
+
if (M) return E.$offset = O, E.$u = !1, E;
|
|
2623
|
+
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
2624
|
+
return (E = this.local().add(O + G, n)).$offset = O, E.$x.$localOffset = G, E;
|
|
2545
2625
|
};
|
|
2546
|
-
var
|
|
2547
|
-
|
|
2548
|
-
var
|
|
2549
|
-
return
|
|
2550
|
-
},
|
|
2626
|
+
var p = h.format;
|
|
2627
|
+
h.format = function(f) {
|
|
2628
|
+
var M = f || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
2629
|
+
return p.call(this, M);
|
|
2630
|
+
}, h.valueOf = function() {
|
|
2551
2631
|
var f = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
2552
2632
|
return this.$d.valueOf() - 6e4 * f;
|
|
2553
|
-
},
|
|
2633
|
+
}, h.isUTC = function() {
|
|
2554
2634
|
return !!this.$u;
|
|
2555
|
-
},
|
|
2635
|
+
}, h.toISOString = function() {
|
|
2556
2636
|
return this.toDate().toISOString();
|
|
2557
|
-
},
|
|
2637
|
+
}, h.toString = function() {
|
|
2558
2638
|
return this.toDate().toUTCString();
|
|
2559
2639
|
};
|
|
2560
|
-
var
|
|
2561
|
-
|
|
2562
|
-
return f === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
2640
|
+
var w = h.toDate;
|
|
2641
|
+
h.toDate = function(f) {
|
|
2642
|
+
return f === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : w.call(this);
|
|
2563
2643
|
};
|
|
2564
|
-
var
|
|
2565
|
-
|
|
2566
|
-
if (f && this.$u === f.$u) return
|
|
2567
|
-
var O = this.local(),
|
|
2568
|
-
return
|
|
2644
|
+
var A = h.diff;
|
|
2645
|
+
h.diff = function(f, M, C) {
|
|
2646
|
+
if (f && this.$u === f.$u) return A.call(this, f, M, C);
|
|
2647
|
+
var O = this.local(), E = c(f).local();
|
|
2648
|
+
return A.call(O, E, M, C);
|
|
2569
2649
|
};
|
|
2570
2650
|
};
|
|
2571
2651
|
}));
|
|
2572
|
-
})(
|
|
2652
|
+
})(ve)), ve.exports;
|
|
2573
2653
|
}
|
|
2574
|
-
var
|
|
2575
|
-
const
|
|
2576
|
-
var
|
|
2577
|
-
function
|
|
2578
|
-
return
|
|
2579
|
-
(function(n,
|
|
2580
|
-
|
|
2581
|
-
})(
|
|
2582
|
-
function
|
|
2654
|
+
var pa = ga();
|
|
2655
|
+
const ya = /* @__PURE__ */ W(pa);
|
|
2656
|
+
var Re = { exports: {} }, Da = Re.exports, We;
|
|
2657
|
+
function ba() {
|
|
2658
|
+
return We || (We = 1, (function(t, e) {
|
|
2659
|
+
(function(n, i) {
|
|
2660
|
+
t.exports = i(it());
|
|
2661
|
+
})(Da, (function(n) {
|
|
2662
|
+
function i(u) {
|
|
2583
2663
|
return u && typeof u == "object" && "default" in u ? u : { default: u };
|
|
2584
2664
|
}
|
|
2585
|
-
var o =
|
|
2665
|
+
var o = i(n), l = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(u) {
|
|
2586
2666
|
return "" + u + (u === 1 ? "er" : "");
|
|
2587
2667
|
} };
|
|
2588
2668
|
return o.default.locale(l, null, !0), l;
|
|
2589
2669
|
}));
|
|
2590
|
-
})(
|
|
2670
|
+
})(Re)), Re.exports;
|
|
2591
2671
|
}
|
|
2592
|
-
|
|
2593
|
-
var
|
|
2594
|
-
function
|
|
2595
|
-
return
|
|
2596
|
-
(function(n,
|
|
2597
|
-
|
|
2598
|
-
})(
|
|
2672
|
+
ba();
|
|
2673
|
+
var Pe = { exports: {} }, Sa = Pe.exports, qe;
|
|
2674
|
+
function va() {
|
|
2675
|
+
return qe || (qe = 1, (function(t, e) {
|
|
2676
|
+
(function(n, i) {
|
|
2677
|
+
t.exports = i();
|
|
2678
|
+
})(Sa, (function() {
|
|
2599
2679
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
|
|
2600
|
-
var
|
|
2601
|
-
return "[" + n + (
|
|
2680
|
+
var i = ["th", "st", "nd", "rd"], o = n % 100;
|
|
2681
|
+
return "[" + n + (i[(o - 20) % 10] || i[o] || i[0]) + "]";
|
|
2602
2682
|
} };
|
|
2603
2683
|
}));
|
|
2604
|
-
})(
|
|
2684
|
+
})(Pe)), Pe.exports;
|
|
2605
2685
|
}
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2686
|
+
va();
|
|
2687
|
+
q.extend(It);
|
|
2688
|
+
q.extend(_t);
|
|
2689
|
+
q.extend(Ht);
|
|
2690
|
+
q.extend(Zt);
|
|
2691
|
+
q.extend(ta);
|
|
2692
|
+
q.extend(Jt);
|
|
2693
|
+
q.extend(oa);
|
|
2694
|
+
q.extend(ua);
|
|
2695
|
+
q.extend(fa);
|
|
2696
|
+
q.extend(ya);
|
|
2697
|
+
function X(t) {
|
|
2698
|
+
if (t === null || typeof t != "object")
|
|
2618
2699
|
return !1;
|
|
2619
|
-
const e = Object.getPrototypeOf(
|
|
2700
|
+
const e = Object.getPrototypeOf(t);
|
|
2620
2701
|
return e === Object.prototype || e === null;
|
|
2621
2702
|
}
|
|
2622
|
-
function
|
|
2623
|
-
if (
|
|
2624
|
-
return
|
|
2625
|
-
if (e.add(
|
|
2626
|
-
return
|
|
2627
|
-
if (X(
|
|
2703
|
+
function we(t, e = /* @__PURE__ */ new WeakSet()) {
|
|
2704
|
+
if (t == null || typeof t != "object" || e.has(t))
|
|
2705
|
+
return t;
|
|
2706
|
+
if (e.add(t), Array.isArray(t))
|
|
2707
|
+
return t.map((n) => we(n, e));
|
|
2708
|
+
if (X(t)) {
|
|
2628
2709
|
const n = {};
|
|
2629
|
-
for (const
|
|
2630
|
-
Object.hasOwn(
|
|
2710
|
+
for (const i in t)
|
|
2711
|
+
Object.hasOwn(t, i) && (n[i] = we(t[i], e));
|
|
2631
2712
|
return n;
|
|
2632
2713
|
}
|
|
2633
|
-
return
|
|
2714
|
+
return t;
|
|
2634
2715
|
}
|
|
2635
|
-
function
|
|
2636
|
-
if (!(!X(e) || !X(
|
|
2716
|
+
function Ce(t, e, n = /* @__PURE__ */ new WeakSet()) {
|
|
2717
|
+
if (!(!X(e) || !X(t)) && !(e === t || n.has(e))) {
|
|
2637
2718
|
n.add(e);
|
|
2638
|
-
for (const
|
|
2639
|
-
if (Object.hasOwn(e,
|
|
2640
|
-
const o = e[
|
|
2641
|
-
X(o) && X(l) ?
|
|
2719
|
+
for (const i in e)
|
|
2720
|
+
if (Object.hasOwn(e, i)) {
|
|
2721
|
+
const o = e[i], l = t[i];
|
|
2722
|
+
X(o) && X(l) ? Ce(l, o, n) : Array.isArray(o) && Array.isArray(l) ? t[i] = nt(l, o, n) : t[i] = we(o, n);
|
|
2642
2723
|
}
|
|
2643
2724
|
}
|
|
2644
2725
|
}
|
|
2645
|
-
function
|
|
2646
|
-
const
|
|
2726
|
+
function nt(t, e, n) {
|
|
2727
|
+
const i = t.slice();
|
|
2647
2728
|
for (let o = 0; o < e.length; o++) {
|
|
2648
|
-
const l = e[o], u =
|
|
2729
|
+
const l = e[o], u = i[o];
|
|
2649
2730
|
if (X(l) && X(u)) {
|
|
2650
2731
|
const c = { ...u };
|
|
2651
|
-
|
|
2652
|
-
} else Array.isArray(l) && Array.isArray(u) ?
|
|
2732
|
+
Ce(c, l, n), i[o] = c;
|
|
2733
|
+
} else Array.isArray(l) && Array.isArray(u) ? i[o] = nt(u, l, n) : i[o] = we(l, n);
|
|
2653
2734
|
}
|
|
2654
|
-
return
|
|
2735
|
+
return i;
|
|
2655
2736
|
}
|
|
2656
|
-
function
|
|
2657
|
-
if (!X(
|
|
2737
|
+
function je(t, ...e) {
|
|
2738
|
+
if (!X(t))
|
|
2658
2739
|
throw new TypeError("Target must be a plain object");
|
|
2659
2740
|
const n = /* @__PURE__ */ new WeakSet();
|
|
2660
|
-
for (const
|
|
2661
|
-
|
|
2662
|
-
return
|
|
2741
|
+
for (const i of e)
|
|
2742
|
+
i != null && Ce(t, i, n);
|
|
2743
|
+
return t;
|
|
2663
2744
|
}
|
|
2664
2745
|
const Y = [];
|
|
2665
|
-
for (let
|
|
2666
|
-
Y.push((
|
|
2667
|
-
function
|
|
2668
|
-
return (Y[
|
|
2746
|
+
for (let t = 0; t < 256; ++t)
|
|
2747
|
+
Y.push((t + 256).toString(16).slice(1));
|
|
2748
|
+
function Ra(t, e = 0) {
|
|
2749
|
+
return (Y[t[e + 0]] + Y[t[e + 1]] + Y[t[e + 2]] + Y[t[e + 3]] + "-" + Y[t[e + 4]] + Y[t[e + 5]] + "-" + Y[t[e + 6]] + Y[t[e + 7]] + "-" + Y[t[e + 8]] + Y[t[e + 9]] + "-" + Y[t[e + 10]] + Y[t[e + 11]] + Y[t[e + 12]] + Y[t[e + 13]] + Y[t[e + 14]] + Y[t[e + 15]]).toLowerCase();
|
|
2669
2750
|
}
|
|
2670
|
-
let
|
|
2671
|
-
const
|
|
2672
|
-
function
|
|
2673
|
-
if (!
|
|
2751
|
+
let Ne;
|
|
2752
|
+
const Pa = new Uint8Array(16);
|
|
2753
|
+
function wa() {
|
|
2754
|
+
if (!Ne) {
|
|
2674
2755
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
2675
2756
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
2676
|
-
|
|
2757
|
+
Ne = crypto.getRandomValues.bind(crypto);
|
|
2677
2758
|
}
|
|
2678
|
-
return
|
|
2759
|
+
return Ne(Pa);
|
|
2679
2760
|
}
|
|
2680
|
-
const
|
|
2681
|
-
function
|
|
2682
|
-
|
|
2683
|
-
const
|
|
2684
|
-
if (
|
|
2761
|
+
const Aa = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Je = { randomUUID: Aa };
|
|
2762
|
+
function Ma(t, e, n) {
|
|
2763
|
+
t = t || {};
|
|
2764
|
+
const i = t.random ?? t.rng?.() ?? wa();
|
|
2765
|
+
if (i.length < 16)
|
|
2685
2766
|
throw new Error("Random bytes length must be >= 16");
|
|
2686
|
-
return
|
|
2767
|
+
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Ra(i);
|
|
2687
2768
|
}
|
|
2688
|
-
function
|
|
2689
|
-
return
|
|
2769
|
+
function Na(t, e, n) {
|
|
2770
|
+
return Je.randomUUID && !t ? Je.randomUUID() : Ma(t);
|
|
2690
2771
|
}
|
|
2691
|
-
const
|
|
2692
|
-
class
|
|
2772
|
+
const Ta = 1500;
|
|
2773
|
+
class ie {
|
|
2693
2774
|
static instance = null;
|
|
2694
2775
|
defaultOptions = {
|
|
2695
2776
|
callCount: 1,
|
|
2696
|
-
interval:
|
|
2777
|
+
interval: Ta,
|
|
2697
2778
|
maxCallCount: 20,
|
|
2698
2779
|
minCallCount: 1
|
|
2699
2780
|
};
|
|
@@ -2707,11 +2788,11 @@ class te {
|
|
|
2707
2788
|
}
|
|
2708
2789
|
};
|
|
2709
2790
|
static getInstance() {
|
|
2710
|
-
return
|
|
2791
|
+
return ie.instance || (ie.instance = new ie()), ie.instance;
|
|
2711
2792
|
}
|
|
2712
2793
|
poll(e, n) {
|
|
2713
|
-
const
|
|
2714
|
-
return this.storeCurrentPolling(
|
|
2794
|
+
const i = this.buildPollerOptions(n);
|
|
2795
|
+
return this.storeCurrentPolling(i), this.isActivePoller(i) && e().then((o) => this.onRequest(o, e, i)).catch((o) => {
|
|
2715
2796
|
this.dispatch("error", o);
|
|
2716
2797
|
}), this;
|
|
2717
2798
|
}
|
|
@@ -2724,9 +2805,9 @@ class te {
|
|
|
2724
2805
|
dispatch(e, n) {
|
|
2725
2806
|
this.events[e](n);
|
|
2726
2807
|
}
|
|
2727
|
-
async onRequest(e, n,
|
|
2728
|
-
const o =
|
|
2729
|
-
this.isActivePoller(
|
|
2808
|
+
async onRequest(e, n, i) {
|
|
2809
|
+
const o = b(e ?? {}, v.Camel);
|
|
2810
|
+
this.isActivePoller(i) && (this.isInProgress(o) && i.callCount && i.maxCallCount && i.callCount < i.maxCallCount || !this.isInProgress(o) && i.callCount && i.minCallCount && i.callCount < i.minCallCount ? (this.isInProgress(o) || (o.meta = o.meta || {}, o.meta.status = "IN_PROGRESS"), i.callCount += 1, this.dispatch("data", o), i.interval && await this.pause(i), this.poll(n, i)) : this.isInProgress(o) ? (o.meta = o.meta || {}, o.meta.status = "COMPLETE", this.onComplete(o, i)) : this.onComplete(o, i));
|
|
2730
2811
|
}
|
|
2731
2812
|
onComplete(e, n) {
|
|
2732
2813
|
this.dispatch("data", e), this.dispatch("complete", e), this.removeCurrentPolling(n);
|
|
@@ -2735,12 +2816,12 @@ class te {
|
|
|
2735
2816
|
return (e?.meta?.status ?? "") !== "COMPLETE";
|
|
2736
2817
|
}
|
|
2737
2818
|
buildPollerOptions(e) {
|
|
2738
|
-
const n = Object.entries(e).reduce((
|
|
2819
|
+
const n = Object.entries(e).reduce((i, [o, l]) => {
|
|
2739
2820
|
if (l !== void 0) {
|
|
2740
2821
|
const u = o;
|
|
2741
|
-
|
|
2822
|
+
i[u] = l;
|
|
2742
2823
|
}
|
|
2743
|
-
return
|
|
2824
|
+
return i;
|
|
2744
2825
|
}, {});
|
|
2745
2826
|
return {
|
|
2746
2827
|
...this.defaultOptions,
|
|
@@ -2748,7 +2829,7 @@ class te {
|
|
|
2748
2829
|
};
|
|
2749
2830
|
}
|
|
2750
2831
|
storeCurrentPolling(e) {
|
|
2751
|
-
e.type && !e.uuid && (e.uuid =
|
|
2832
|
+
e.type && !e.uuid && (e.uuid = Na(), this.pollings[e.type] = e.uuid);
|
|
2752
2833
|
}
|
|
2753
2834
|
isActivePoller(e) {
|
|
2754
2835
|
return e.type ? !!this.pollings[e.type] && this.pollings[e.type] === e.uuid : !0;
|
|
@@ -2762,21 +2843,21 @@ class te {
|
|
|
2762
2843
|
e.type && this.pollings[e.type] && delete this.pollings[e.type];
|
|
2763
2844
|
}
|
|
2764
2845
|
}
|
|
2765
|
-
function
|
|
2766
|
-
const
|
|
2767
|
-
return
|
|
2768
|
-
o instanceof Error ? n(o, void 0,
|
|
2769
|
-
}),
|
|
2846
|
+
function ot(t, e, n) {
|
|
2847
|
+
const i = ie.getInstance();
|
|
2848
|
+
return i.poll(t, e), n && typeof n == "function" ? (i.on("data", (o) => {
|
|
2849
|
+
o instanceof Error ? n(o, void 0, i) : n(null, o, i);
|
|
2850
|
+
}), i.on("error", (o) => {
|
|
2770
2851
|
o instanceof Error ? n(o) : n(null, o);
|
|
2771
|
-
}),
|
|
2772
|
-
|
|
2852
|
+
}), i) : new Promise((o, l) => {
|
|
2853
|
+
i.on("error", l), i.on("complete", (u) => {
|
|
2773
2854
|
u instanceof Error ? l(u) : o(u);
|
|
2774
2855
|
});
|
|
2775
2856
|
});
|
|
2776
2857
|
}
|
|
2777
|
-
const
|
|
2778
|
-
class
|
|
2779
|
-
constructor(e = new
|
|
2858
|
+
const Ba = "http://localhost".replace(/\/+$/, ""), Ea = (t) => typeof Blob < "u" && t instanceof Blob;
|
|
2859
|
+
class j {
|
|
2860
|
+
constructor(e = new rt()) {
|
|
2780
2861
|
this.configuration = e, this.middleware = e.middleware;
|
|
2781
2862
|
}
|
|
2782
2863
|
middleware;
|
|
@@ -2785,47 +2866,47 @@ class q {
|
|
|
2785
2866
|
return n.middleware = n.middleware.concat(...e), n;
|
|
2786
2867
|
}
|
|
2787
2868
|
withPreMiddleware(...e) {
|
|
2788
|
-
const n = e.map((
|
|
2869
|
+
const n = e.map((i) => ({ pre: i }));
|
|
2789
2870
|
return this.withMiddleware(...n);
|
|
2790
2871
|
}
|
|
2791
2872
|
withPostMiddleware(...e) {
|
|
2792
|
-
const n = e.map((
|
|
2873
|
+
const n = e.map((i) => ({ post: i }));
|
|
2793
2874
|
return this.withMiddleware(...n);
|
|
2794
2875
|
}
|
|
2795
2876
|
async request(e, n) {
|
|
2796
|
-
const { url:
|
|
2877
|
+
const { url: i, init: o } = this.createFetchParams(e, n), l = await this.fetchApi(i, o);
|
|
2797
2878
|
if (l.status >= 200 && l.status < 300)
|
|
2798
2879
|
return l;
|
|
2799
|
-
throw new
|
|
2880
|
+
throw new La(l, "Response returned an error code");
|
|
2800
2881
|
}
|
|
2801
2882
|
createFetchParams(e, n) {
|
|
2802
|
-
let
|
|
2803
|
-
e.query !== void 0 && Object.keys(e.query).length !== 0 && (
|
|
2804
|
-
const o = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams ||
|
|
2883
|
+
let i = this.configuration.basePath + e.path;
|
|
2884
|
+
e.query !== void 0 && Object.keys(e.query).length !== 0 && (i += "?" + this.configuration.queryParamsStringify(e.query));
|
|
2885
|
+
const o = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Ea(e.body) ? e.body : JSON.stringify(e.body), l = Object.assign({}, this.configuration.headers, e.headers);
|
|
2805
2886
|
Object.keys(l).forEach((c) => l[c] === void 0 ? delete l[c] : {});
|
|
2806
2887
|
const u = {
|
|
2807
2888
|
method: e.method,
|
|
2808
2889
|
body: o,
|
|
2809
2890
|
credentials: this.configuration.credentials,
|
|
2810
|
-
...
|
|
2811
|
-
headers:
|
|
2891
|
+
...je({}, n, {
|
|
2892
|
+
headers: je({}, l, n?.headers)
|
|
2812
2893
|
})
|
|
2813
2894
|
};
|
|
2814
|
-
return { url:
|
|
2895
|
+
return { url: i, init: u };
|
|
2815
2896
|
}
|
|
2816
2897
|
fetchApi = async (e, n) => {
|
|
2817
|
-
let
|
|
2898
|
+
let i = { url: e, init: n };
|
|
2818
2899
|
for (const l of this.middleware)
|
|
2819
|
-
l.pre && (
|
|
2900
|
+
l.pre && (i = await l.pre({
|
|
2820
2901
|
fetch: this.fetchApi,
|
|
2821
|
-
...
|
|
2822
|
-
}) ||
|
|
2823
|
-
let o = await (this.configuration.fetchApi || fetch)(
|
|
2902
|
+
...i
|
|
2903
|
+
}) || i);
|
|
2904
|
+
let o = await (this.configuration.fetchApi || fetch)(i.url, i.init);
|
|
2824
2905
|
for (const l of this.middleware)
|
|
2825
2906
|
l.post && (o = await l.post({
|
|
2826
2907
|
fetch: this.fetchApi,
|
|
2827
|
-
url:
|
|
2828
|
-
init:
|
|
2908
|
+
url: i.url,
|
|
2909
|
+
init: i.init,
|
|
2829
2910
|
response: o.clone()
|
|
2830
2911
|
}) || o);
|
|
2831
2912
|
return o;
|
|
@@ -2839,30 +2920,30 @@ class q {
|
|
|
2839
2920
|
return n.middleware = this.middleware.slice(), n;
|
|
2840
2921
|
}
|
|
2841
2922
|
}
|
|
2842
|
-
class
|
|
2923
|
+
class La extends Error {
|
|
2843
2924
|
constructor(e, n) {
|
|
2844
2925
|
super(n), this.response = e;
|
|
2845
2926
|
}
|
|
2846
2927
|
name = "ResponseError";
|
|
2847
2928
|
}
|
|
2848
|
-
class
|
|
2929
|
+
class _ extends Error {
|
|
2849
2930
|
constructor(e, n) {
|
|
2850
2931
|
super(n), this.field = e;
|
|
2851
2932
|
}
|
|
2852
2933
|
name = "RequiredError";
|
|
2853
2934
|
}
|
|
2854
|
-
const
|
|
2935
|
+
const ja = {
|
|
2855
2936
|
csv: ",",
|
|
2856
2937
|
ssv: " ",
|
|
2857
2938
|
tsv: " ",
|
|
2858
2939
|
pipes: "|"
|
|
2859
2940
|
};
|
|
2860
|
-
class
|
|
2941
|
+
class rt {
|
|
2861
2942
|
constructor(e = {}) {
|
|
2862
2943
|
this.configuration = e;
|
|
2863
2944
|
}
|
|
2864
2945
|
get basePath() {
|
|
2865
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
2946
|
+
return this.configuration.basePath != null ? this.configuration.basePath : Ba;
|
|
2866
2947
|
}
|
|
2867
2948
|
get fetchApi() {
|
|
2868
2949
|
return this.configuration.fetchApi;
|
|
@@ -2871,7 +2952,7 @@ class ni {
|
|
|
2871
2952
|
return this.configuration.middleware || [];
|
|
2872
2953
|
}
|
|
2873
2954
|
get queryParamsStringify() {
|
|
2874
|
-
return this.configuration.queryParamsStringify ||
|
|
2955
|
+
return this.configuration.queryParamsStringify || st;
|
|
2875
2956
|
}
|
|
2876
2957
|
get username() {
|
|
2877
2958
|
return this.configuration.username;
|
|
@@ -2896,48 +2977,48 @@ class ni {
|
|
|
2896
2977
|
return this.configuration.credentials;
|
|
2897
2978
|
}
|
|
2898
2979
|
}
|
|
2899
|
-
function
|
|
2900
|
-
const n =
|
|
2980
|
+
function Ja(t, e) {
|
|
2981
|
+
const n = t[e];
|
|
2901
2982
|
return n != null;
|
|
2902
2983
|
}
|
|
2903
|
-
function
|
|
2904
|
-
return Object.keys(
|
|
2905
|
-
const
|
|
2984
|
+
function st(t, e = "") {
|
|
2985
|
+
return Object.keys(t).map((n) => {
|
|
2986
|
+
const i = e + (e.length ? `[${n}]` : n), o = t[n];
|
|
2906
2987
|
if (o instanceof Array) {
|
|
2907
|
-
const l = o.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(
|
|
2908
|
-
return `${encodeURIComponent(
|
|
2988
|
+
const l = o.map((u) => encodeURIComponent(String(u))).join(`&${encodeURIComponent(i)}=`);
|
|
2989
|
+
return `${encodeURIComponent(i)}=${l}`;
|
|
2909
2990
|
}
|
|
2910
|
-
return o instanceof Date ? `${encodeURIComponent(
|
|
2991
|
+
return o instanceof Date ? `${encodeURIComponent(i)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ? st(o, i) : `${encodeURIComponent(i)}=${encodeURIComponent(String(o))}`;
|
|
2911
2992
|
}).filter((n) => n.length > 0).join("&");
|
|
2912
2993
|
}
|
|
2913
|
-
function
|
|
2914
|
-
return Object.keys(
|
|
2915
|
-
(n,
|
|
2994
|
+
function Xa(t, e) {
|
|
2995
|
+
return Object.keys(t).reduce(
|
|
2996
|
+
(n, i) => ({ ...n, [i]: e(t[i]) }),
|
|
2916
2997
|
{}
|
|
2917
2998
|
);
|
|
2918
2999
|
}
|
|
2919
|
-
function
|
|
2920
|
-
for (const e of
|
|
3000
|
+
function Qa(t) {
|
|
3001
|
+
for (const e of t)
|
|
2921
3002
|
if (e.contentType === "multipart/form-data")
|
|
2922
3003
|
return !0;
|
|
2923
3004
|
return !1;
|
|
2924
3005
|
}
|
|
2925
|
-
class
|
|
2926
|
-
constructor(e, n = (
|
|
3006
|
+
class U {
|
|
3007
|
+
constructor(e, n = (i) => i) {
|
|
2927
3008
|
this.raw = e, this.transformer = n;
|
|
2928
3009
|
}
|
|
2929
3010
|
async value() {
|
|
2930
3011
|
return this.transformer(await this.raw.json());
|
|
2931
3012
|
}
|
|
2932
3013
|
}
|
|
2933
|
-
class
|
|
3014
|
+
class ei {
|
|
2934
3015
|
constructor(e) {
|
|
2935
3016
|
this.raw = e;
|
|
2936
3017
|
}
|
|
2937
3018
|
async value() {
|
|
2938
3019
|
}
|
|
2939
3020
|
}
|
|
2940
|
-
class
|
|
3021
|
+
class ti {
|
|
2941
3022
|
constructor(e) {
|
|
2942
3023
|
this.raw = e;
|
|
2943
3024
|
}
|
|
@@ -2945,7 +3026,7 @@ class qa {
|
|
|
2945
3026
|
return await this.raw.blob();
|
|
2946
3027
|
}
|
|
2947
3028
|
}
|
|
2948
|
-
class
|
|
3029
|
+
class Oa {
|
|
2949
3030
|
constructor(e) {
|
|
2950
3031
|
this.raw = e;
|
|
2951
3032
|
}
|
|
@@ -2953,11 +3034,11 @@ class wa {
|
|
|
2953
3034
|
return await this.raw.text();
|
|
2954
3035
|
}
|
|
2955
3036
|
}
|
|
2956
|
-
const
|
|
3037
|
+
const ai = {
|
|
2957
3038
|
Disabled: "DISABLED",
|
|
2958
3039
|
Enabled: "ENABLED",
|
|
2959
3040
|
Forced: "FORCED"
|
|
2960
|
-
},
|
|
3041
|
+
}, ii = {
|
|
2961
3042
|
Cx: "bkg-cx",
|
|
2962
3043
|
Cf: "bkg-cf",
|
|
2963
3044
|
Created: "bkg-created",
|
|
@@ -2966,7 +3047,7 @@ const ja = {
|
|
|
2966
3047
|
Pc: "bkg-pc",
|
|
2967
3048
|
Pp: "bkg-pp",
|
|
2968
3049
|
Qr: "bkg-qr"
|
|
2969
|
-
},
|
|
3050
|
+
}, ni = {
|
|
2970
3051
|
DeDe: "de-DE",
|
|
2971
3052
|
EnUs: "en-US",
|
|
2972
3053
|
EsEs: "es-ES",
|
|
@@ -2974,7 +3055,7 @@ const ja = {
|
|
|
2974
3055
|
ItIt: "it-IT",
|
|
2975
3056
|
NlNl: "nl-NL",
|
|
2976
3057
|
PtPt: "pt-PT"
|
|
2977
|
-
},
|
|
3058
|
+
}, oi = {
|
|
2978
3059
|
DeDe: "de-DE",
|
|
2979
3060
|
EnUs: "en-US",
|
|
2980
3061
|
EsEs: "es-ES",
|
|
@@ -2982,14 +3063,14 @@ const ja = {
|
|
|
2982
3063
|
ItIt: "it-IT",
|
|
2983
3064
|
NlNl: "nl-NL",
|
|
2984
3065
|
PtPt: "pt-PT"
|
|
2985
|
-
},
|
|
3066
|
+
}, ri = {
|
|
2986
3067
|
Dr: "dr",
|
|
2987
3068
|
Mr: "mr",
|
|
2988
3069
|
Mrs: "mrs",
|
|
2989
3070
|
Ms: "ms",
|
|
2990
3071
|
NotSpecified: "notSpecified",
|
|
2991
3072
|
Prof: "prof"
|
|
2992
|
-
},
|
|
3073
|
+
}, si = {
|
|
2993
3074
|
Ad: "AD",
|
|
2994
3075
|
Ae: "AE",
|
|
2995
3076
|
Af: "AF",
|
|
@@ -3233,7 +3314,7 @@ const ja = {
|
|
|
3233
3314
|
Za: "ZA",
|
|
3234
3315
|
Zm: "ZM",
|
|
3235
3316
|
Zw: "ZW"
|
|
3236
|
-
},
|
|
3317
|
+
}, li = {
|
|
3237
3318
|
Aed: "AED",
|
|
3238
3319
|
Afn: "AFN",
|
|
3239
3320
|
All: "ALL",
|
|
@@ -3372,7 +3453,7 @@ const ja = {
|
|
|
3372
3453
|
Yer: "YER",
|
|
3373
3454
|
Zar: "ZAR",
|
|
3374
3455
|
Zmw: "ZMW"
|
|
3375
|
-
},
|
|
3456
|
+
}, ui = {
|
|
3376
3457
|
ApiError: "api_error",
|
|
3377
3458
|
BadGateway: "bad_gateway",
|
|
3378
3459
|
InternalServerError: "internal_server_error",
|
|
@@ -3382,19 +3463,19 @@ const ja = {
|
|
|
3382
3463
|
ResourceNotFound: "resource_not_found",
|
|
3383
3464
|
Unauthorized: "unauthorized",
|
|
3384
3465
|
ValidationError: "validation_error"
|
|
3385
|
-
},
|
|
3466
|
+
}, ci = {
|
|
3386
3467
|
Included: "INCLUDED",
|
|
3387
3468
|
NotIncluded: "NOT_INCLUDED",
|
|
3388
3469
|
Optional: "OPTIONAL"
|
|
3389
|
-
},
|
|
3470
|
+
}, di = {
|
|
3390
3471
|
BestMatch: "BEST_MATCH",
|
|
3391
3472
|
Cheapest: "CHEAPEST",
|
|
3392
3473
|
MatchingRoomCount: "MATCHING_ROOM_COUNT",
|
|
3393
3474
|
Regular: "REGULAR"
|
|
3394
|
-
},
|
|
3475
|
+
}, mi = {
|
|
3395
3476
|
HotelRoom: "HOTEL_ROOM",
|
|
3396
3477
|
Package: "PACKAGE"
|
|
3397
|
-
},
|
|
3478
|
+
}, fi = {
|
|
3398
3479
|
DeDe: "de-DE",
|
|
3399
3480
|
EnUs: "en-US",
|
|
3400
3481
|
EsEs: "es-ES",
|
|
@@ -3402,23 +3483,23 @@ const ja = {
|
|
|
3402
3483
|
ItIt: "it-IT",
|
|
3403
3484
|
NlNl: "nl-NL",
|
|
3404
3485
|
PtPt: "pt-PT"
|
|
3405
|
-
},
|
|
3486
|
+
}, hi = {
|
|
3406
3487
|
CreditNote: "credit_note",
|
|
3407
3488
|
Invoice: "invoice"
|
|
3408
|
-
},
|
|
3489
|
+
}, gi = {
|
|
3409
3490
|
CreditCard: "CREDIT_CARD"
|
|
3410
|
-
},
|
|
3491
|
+
}, pi = {
|
|
3411
3492
|
Coupon: "COUPON"
|
|
3412
|
-
},
|
|
3493
|
+
}, yi = {
|
|
3413
3494
|
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
3414
|
-
},
|
|
3495
|
+
}, Di = {
|
|
3415
3496
|
Coupon: "COUPON",
|
|
3416
3497
|
CreditCard: "CREDIT_CARD",
|
|
3417
3498
|
DepositAccount: "DEPOSIT_ACCOUNT"
|
|
3418
|
-
},
|
|
3499
|
+
}, bi = {
|
|
3419
3500
|
Complete: "COMPLETE",
|
|
3420
3501
|
InProgress: "IN_PROGRESS"
|
|
3421
|
-
},
|
|
3502
|
+
}, Si = {
|
|
3422
3503
|
Ad: "AD",
|
|
3423
3504
|
Ae: "AE",
|
|
3424
3505
|
Af: "AF",
|
|
@@ -3662,29 +3743,29 @@ const ja = {
|
|
|
3662
3743
|
Za: "ZA",
|
|
3663
3744
|
Zm: "ZM",
|
|
3664
3745
|
Zw: "ZW"
|
|
3665
|
-
},
|
|
3746
|
+
}, vi = {
|
|
3666
3747
|
Night: "PER_NIGHT",
|
|
3667
3748
|
Stay: "PER_STAY"
|
|
3668
|
-
},
|
|
3749
|
+
}, Ri = {
|
|
3669
3750
|
Adult: "PER_ADULT",
|
|
3670
3751
|
Booking: "PER_BOOKING"
|
|
3671
3752
|
};
|
|
3672
|
-
class
|
|
3753
|
+
class Ca extends j {
|
|
3673
3754
|
/**
|
|
3674
3755
|
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
3675
3756
|
* Create Booking Policies
|
|
3676
3757
|
*/
|
|
3677
3758
|
async createRaw(e, n) {
|
|
3678
|
-
const
|
|
3759
|
+
const i = {}, o = {};
|
|
3679
3760
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3680
3761
|
const l = await this.request({
|
|
3681
3762
|
path: "/v1/booking_policies",
|
|
3682
3763
|
method: "POST",
|
|
3683
3764
|
headers: o,
|
|
3684
|
-
query:
|
|
3685
|
-
body:
|
|
3765
|
+
query: b(i, v.Snake),
|
|
3766
|
+
body: b(e.bookingPoliciesCreateApi, v.Snake)
|
|
3686
3767
|
}, n);
|
|
3687
|
-
return await new
|
|
3768
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3688
3769
|
}
|
|
3689
3770
|
/**
|
|
3690
3771
|
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
@@ -3694,21 +3775,21 @@ class Ma extends q {
|
|
|
3694
3775
|
return this.createRaw(e, n);
|
|
3695
3776
|
}
|
|
3696
3777
|
}
|
|
3697
|
-
class
|
|
3778
|
+
class ka extends j {
|
|
3698
3779
|
/**
|
|
3699
3780
|
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
3700
3781
|
* Cancel a Booking
|
|
3701
3782
|
*/
|
|
3702
3783
|
async deleteRaw(e, n) {
|
|
3703
3784
|
if (e.token === null || e.token === void 0)
|
|
3704
|
-
throw new
|
|
3705
|
-
const
|
|
3785
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
|
|
3786
|
+
const i = {}, o = {}, l = await this.request({
|
|
3706
3787
|
path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(e.token))),
|
|
3707
3788
|
method: "DELETE",
|
|
3708
3789
|
headers: o,
|
|
3709
|
-
query:
|
|
3790
|
+
query: b(i, v.Snake)
|
|
3710
3791
|
}, n);
|
|
3711
|
-
return await new
|
|
3792
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3712
3793
|
}
|
|
3713
3794
|
/**
|
|
3714
3795
|
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
@@ -3722,17 +3803,17 @@ class Ta extends q {
|
|
|
3722
3803
|
* List Bookings
|
|
3723
3804
|
*/
|
|
3724
3805
|
async listRaw(e, n) {
|
|
3725
|
-
const
|
|
3726
|
-
e.endingBefore !== void 0 && (
|
|
3806
|
+
const i = {};
|
|
3807
|
+
e.endingBefore !== void 0 && (i.ending_before = e.endingBefore), e.filterByCheckInDate !== void 0 && (i.filter_by_check_in_date = e.filterByCheckInDate), e.filterByLastStatusUpdatedAt !== void 0 && (i.filter_by_last_status_updated_at = e.filterByLastStatusUpdatedAt), e.filterByStatus !== void 0 && (i.filter_by_status = e.filterByStatus), e.limit !== void 0 && (i.limit = e.limit), e.sortBy !== void 0 && (i.sort_by = e.sortBy), e.sortByOrder !== void 0 && (i.sort_by_order = e.sortByOrder), e.startingAfter !== void 0 && (i.starting_after = e.startingAfter);
|
|
3727
3808
|
const o = {};
|
|
3728
3809
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3729
3810
|
const l = await this.request({
|
|
3730
3811
|
path: "/v1/bookings",
|
|
3731
3812
|
method: "GET",
|
|
3732
3813
|
headers: o,
|
|
3733
|
-
query:
|
|
3814
|
+
query: b(i, v.Snake)
|
|
3734
3815
|
}, n);
|
|
3735
|
-
return await new
|
|
3816
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3736
3817
|
}
|
|
3737
3818
|
/**
|
|
3738
3819
|
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
@@ -3747,16 +3828,16 @@ class Ta extends q {
|
|
|
3747
3828
|
*/
|
|
3748
3829
|
async retrieveRaw(e, n) {
|
|
3749
3830
|
if (e.id === null || e.id === void 0)
|
|
3750
|
-
throw new
|
|
3751
|
-
const
|
|
3831
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
|
|
3832
|
+
const i = {}, o = {};
|
|
3752
3833
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3753
3834
|
const l = await this.request({
|
|
3754
3835
|
path: "/v1/bookings/{id}".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3755
3836
|
method: "GET",
|
|
3756
3837
|
headers: o,
|
|
3757
|
-
query:
|
|
3838
|
+
query: b(i, v.Snake)
|
|
3758
3839
|
}, n);
|
|
3759
|
-
return await new
|
|
3840
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3760
3841
|
}
|
|
3761
3842
|
/**
|
|
3762
3843
|
* Retrieve the status and information of a booking.
|
|
@@ -3771,14 +3852,14 @@ class Ta extends q {
|
|
|
3771
3852
|
*/
|
|
3772
3853
|
async retrievePublicRaw(e, n) {
|
|
3773
3854
|
if (e.token === null || e.token === void 0)
|
|
3774
|
-
throw new
|
|
3775
|
-
const
|
|
3855
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
|
|
3856
|
+
const i = {}, o = {}, l = await this.request({
|
|
3776
3857
|
path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(e.token))),
|
|
3777
3858
|
method: "GET",
|
|
3778
3859
|
headers: o,
|
|
3779
|
-
query:
|
|
3860
|
+
query: b(i, v.Snake)
|
|
3780
3861
|
}, n);
|
|
3781
|
-
return await new
|
|
3862
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3782
3863
|
}
|
|
3783
3864
|
/**
|
|
3784
3865
|
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -3792,16 +3873,16 @@ class Ta extends q {
|
|
|
3792
3873
|
* Create an unconfirmed Booking
|
|
3793
3874
|
*/
|
|
3794
3875
|
async createRaw(e, n) {
|
|
3795
|
-
const
|
|
3876
|
+
const i = {}, o = {};
|
|
3796
3877
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3797
3878
|
const l = await this.request({
|
|
3798
3879
|
path: "/v1/bookings",
|
|
3799
3880
|
method: "POST",
|
|
3800
3881
|
headers: o,
|
|
3801
|
-
query:
|
|
3802
|
-
body:
|
|
3882
|
+
query: b(i, v.Snake),
|
|
3883
|
+
body: b(e.bookingCreateApi, v.Snake)
|
|
3803
3884
|
}, n);
|
|
3804
|
-
return await new
|
|
3885
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3805
3886
|
}
|
|
3806
3887
|
/**
|
|
3807
3888
|
* Creates an unconfirmed booking
|
|
@@ -3816,18 +3897,18 @@ class Ta extends q {
|
|
|
3816
3897
|
*/
|
|
3817
3898
|
async couponChargeRaw(e, n) {
|
|
3818
3899
|
if (e.couponId === null || e.couponId === void 0)
|
|
3819
|
-
throw new
|
|
3900
|
+
throw new _("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
|
|
3820
3901
|
if (e.id === null || e.id === void 0)
|
|
3821
|
-
throw new
|
|
3822
|
-
const
|
|
3902
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
|
|
3903
|
+
const i = {}, o = {};
|
|
3823
3904
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3824
3905
|
const l = await this.request({
|
|
3825
3906
|
path: "/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}", encodeURIComponent(String(e.couponId))).replace("{id}", encodeURIComponent(String(e.id))),
|
|
3826
3907
|
method: "POST",
|
|
3827
3908
|
headers: o,
|
|
3828
|
-
query:
|
|
3909
|
+
query: b(i, v.Snake)
|
|
3829
3910
|
}, n);
|
|
3830
|
-
return await new
|
|
3911
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3831
3912
|
}
|
|
3832
3913
|
/**
|
|
3833
3914
|
* Confirm booking from Coupon payment method
|
|
@@ -3842,16 +3923,16 @@ class Ta extends q {
|
|
|
3842
3923
|
*/
|
|
3843
3924
|
async paylaterRaw(e, n) {
|
|
3844
3925
|
if (e.id === null || e.id === void 0)
|
|
3845
|
-
throw new
|
|
3846
|
-
const
|
|
3926
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
|
|
3927
|
+
const i = {}, o = {};
|
|
3847
3928
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3848
3929
|
const l = await this.request({
|
|
3849
3930
|
path: "/v1/bookings/{id}/pay-later".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3850
3931
|
method: "POST",
|
|
3851
3932
|
headers: o,
|
|
3852
|
-
query:
|
|
3933
|
+
query: b(i, v.Snake)
|
|
3853
3934
|
}, n);
|
|
3854
|
-
return await new
|
|
3935
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3855
3936
|
}
|
|
3856
3937
|
/**
|
|
3857
3938
|
* Pay later and retrieve the status and information of a booking.
|
|
@@ -3866,16 +3947,16 @@ class Ta extends q {
|
|
|
3866
3947
|
*/
|
|
3867
3948
|
async confirmpaylaterRaw(e, n) {
|
|
3868
3949
|
if (e.id === null || e.id === void 0)
|
|
3869
|
-
throw new
|
|
3870
|
-
const
|
|
3950
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
|
|
3951
|
+
const i = {}, o = {};
|
|
3871
3952
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3872
3953
|
const l = await this.request({
|
|
3873
3954
|
path: "/v1/bookings/{id}/pay-later/confirm".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3874
3955
|
method: "POST",
|
|
3875
3956
|
headers: o,
|
|
3876
|
-
query:
|
|
3957
|
+
query: b(i, v.Snake)
|
|
3877
3958
|
}, n);
|
|
3878
|
-
return await new
|
|
3959
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3879
3960
|
}
|
|
3880
3961
|
/**
|
|
3881
3962
|
* Confirm later paid and retrieve the status and information of a booking.
|
|
@@ -3890,16 +3971,16 @@ class Ta extends q {
|
|
|
3890
3971
|
*/
|
|
3891
3972
|
async confirmRaw(e, n) {
|
|
3892
3973
|
if (e.id === null || e.id === void 0)
|
|
3893
|
-
throw new
|
|
3894
|
-
const
|
|
3974
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
|
|
3975
|
+
const i = {}, o = {};
|
|
3895
3976
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3896
3977
|
const l = await this.request({
|
|
3897
3978
|
path: "/v1/bookings/{id}/confirm".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3898
3979
|
method: "POST",
|
|
3899
3980
|
headers: o,
|
|
3900
|
-
query:
|
|
3981
|
+
query: b(i, v.Snake)
|
|
3901
3982
|
}, n);
|
|
3902
|
-
return await new
|
|
3983
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3903
3984
|
}
|
|
3904
3985
|
/**
|
|
3905
3986
|
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
@@ -3914,17 +3995,17 @@ class Ta extends q {
|
|
|
3914
3995
|
*/
|
|
3915
3996
|
async updatePaymentMethodsRaw(e, n) {
|
|
3916
3997
|
if (e.id === null || e.id === void 0)
|
|
3917
|
-
throw new
|
|
3918
|
-
const
|
|
3998
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
|
|
3999
|
+
const i = {}, o = {};
|
|
3919
4000
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3920
4001
|
const l = await this.request({
|
|
3921
4002
|
path: "/v1/bookings/{id}/payment_methods".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3922
4003
|
method: "PUT",
|
|
3923
4004
|
headers: o,
|
|
3924
|
-
query:
|
|
3925
|
-
body:
|
|
4005
|
+
query: b(i, v.Snake),
|
|
4006
|
+
body: b(e.paymentMethodUpdatePayloadApi, v.Snake)
|
|
3926
4007
|
}, n);
|
|
3927
|
-
return await new
|
|
4008
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3928
4009
|
}
|
|
3929
4010
|
/**
|
|
3930
4011
|
* Updates an ongoing Booking payment methods
|
|
@@ -3934,33 +4015,33 @@ class Ta extends q {
|
|
|
3934
4015
|
return this.updatePaymentMethodsRaw(e, n);
|
|
3935
4016
|
}
|
|
3936
4017
|
}
|
|
3937
|
-
const
|
|
4018
|
+
const Pi = {
|
|
3938
4019
|
CheckInDate: "check_in_date",
|
|
3939
4020
|
CreatedAt: "created_at",
|
|
3940
4021
|
LastStatusUpdatedAt: "last_status_updated_at"
|
|
3941
|
-
},
|
|
4022
|
+
}, wi = {
|
|
3942
4023
|
Asc: "asc",
|
|
3943
4024
|
Desc: "desc"
|
|
3944
4025
|
};
|
|
3945
|
-
class
|
|
4026
|
+
class Ia extends j {
|
|
3946
4027
|
/**
|
|
3947
4028
|
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
|
|
3948
4029
|
* Retrieve Images of an Hotel
|
|
3949
4030
|
*/
|
|
3950
4031
|
async retrieveRaw(e, n) {
|
|
3951
4032
|
if (e.id === null || e.id === void 0)
|
|
3952
|
-
throw new
|
|
3953
|
-
const
|
|
3954
|
-
e.lang !== void 0 && (
|
|
4033
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
|
|
4034
|
+
const i = {};
|
|
4035
|
+
e.lang !== void 0 && (i.lang = e.lang);
|
|
3955
4036
|
const o = {};
|
|
3956
4037
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3957
4038
|
const l = await this.request({
|
|
3958
4039
|
path: "/v1/hotels/{id}/images".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3959
4040
|
method: "GET",
|
|
3960
4041
|
headers: o,
|
|
3961
|
-
query:
|
|
4042
|
+
query: b(i, v.Snake)
|
|
3962
4043
|
}, n);
|
|
3963
|
-
return new
|
|
4044
|
+
return new U(l, (u) => b(u, v.Camel)).value();
|
|
3964
4045
|
}
|
|
3965
4046
|
/**
|
|
3966
4047
|
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
|
|
@@ -3970,7 +4051,7 @@ class Ba extends q {
|
|
|
3970
4051
|
return this.retrieveRaw(e, n);
|
|
3971
4052
|
}
|
|
3972
4053
|
}
|
|
3973
|
-
const
|
|
4054
|
+
const Ai = {
|
|
3974
4055
|
DeDe: "de-DE",
|
|
3975
4056
|
EnUs: "en-US",
|
|
3976
4057
|
EsEs: "es-ES",
|
|
@@ -3979,23 +4060,23 @@ const bt = {
|
|
|
3979
4060
|
NlNl: "nl-NL",
|
|
3980
4061
|
PtPt: "pt-PT"
|
|
3981
4062
|
};
|
|
3982
|
-
class
|
|
4063
|
+
class Ka extends j {
|
|
3983
4064
|
/**
|
|
3984
4065
|
* Returns a single Hotel Offer Request by id
|
|
3985
4066
|
* Retrieve a Single Hotel Offer Request
|
|
3986
4067
|
*/
|
|
3987
4068
|
async retrieveRaw(e, n) {
|
|
3988
4069
|
if (e.id === null || e.id === void 0)
|
|
3989
|
-
throw new
|
|
3990
|
-
const
|
|
4070
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
|
|
4071
|
+
const i = {}, o = {};
|
|
3991
4072
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
3992
4073
|
const l = await this.request({
|
|
3993
4074
|
path: "/v1/hotel_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
|
|
3994
4075
|
method: "GET",
|
|
3995
4076
|
headers: o,
|
|
3996
|
-
query:
|
|
4077
|
+
query: b(i, v.Snake)
|
|
3997
4078
|
}, n);
|
|
3998
|
-
return await new
|
|
4079
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
3999
4080
|
}
|
|
4000
4081
|
/**
|
|
4001
4082
|
* Returns a single Hotel Offer Request by id
|
|
@@ -4009,16 +4090,16 @@ class Ea extends q {
|
|
|
4009
4090
|
* Create an Hotel Offer Request
|
|
4010
4091
|
*/
|
|
4011
4092
|
async createRaw(e, n) {
|
|
4012
|
-
const
|
|
4093
|
+
const i = {}, o = {};
|
|
4013
4094
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4014
4095
|
const l = await this.request({
|
|
4015
4096
|
path: "/v1/hotel_offer_requests",
|
|
4016
4097
|
method: "POST",
|
|
4017
4098
|
headers: o,
|
|
4018
|
-
query:
|
|
4019
|
-
body:
|
|
4099
|
+
query: b(i, v.Snake),
|
|
4100
|
+
body: b(e.hotelOfferRequestCreateApi, v.Snake)
|
|
4020
4101
|
}, n);
|
|
4021
|
-
return await new
|
|
4102
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4022
4103
|
}
|
|
4023
4104
|
/**
|
|
4024
4105
|
* Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
|
|
@@ -4028,41 +4109,41 @@ class Ea extends q {
|
|
|
4028
4109
|
return this.createRaw(e, n);
|
|
4029
4110
|
}
|
|
4030
4111
|
}
|
|
4031
|
-
class
|
|
4112
|
+
class Ga extends j {
|
|
4032
4113
|
/**
|
|
4033
4114
|
* You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
4034
4115
|
* ⚛️ Retrieve Hotel Offers
|
|
4035
4116
|
*/
|
|
4036
4117
|
async listRaw(e, n) {
|
|
4037
4118
|
if (e.currency === null || e.currency === void 0)
|
|
4038
|
-
throw new
|
|
4119
|
+
throw new _("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
|
|
4039
4120
|
if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0)
|
|
4040
|
-
throw new
|
|
4041
|
-
const
|
|
4042
|
-
e.currency !== void 0 && (
|
|
4121
|
+
throw new _("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
|
|
4122
|
+
const i = {};
|
|
4123
|
+
e.currency !== void 0 && (i.currency = e.currency), e.endingBefore !== void 0 && (i.ending_before = e.endingBefore), e.filterByPrice !== void 0 && (i.filter_by_price = e.filterByPrice), e.filterByReviewRating !== void 0 && (i.filter_by_review_rating = e.filterByReviewRating), e.filterByStar !== void 0 && (i.filter_by_star = e.filterByStar), e.hotelOfferRequestId !== void 0 && (i.hotel_offer_request_id = e.hotelOfferRequestId), e.hotelRoomOffersLimit !== void 0 && (i.hotel_room_offers_limit = e.hotelRoomOffersLimit), e.includeHotelContentDetails !== void 0 && (i.include_hotel_content_details = e.includeHotelContentDetails), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit), e.onlyRecommendedHotelOffers !== void 0 && (i.only_recommended_hotel_offers = e.onlyRecommendedHotelOffers), e.priceHistogramStepCount !== void 0 && (i.price_histogram_step_count = e.priceHistogramStepCount), e.sortBy !== void 0 && (i.sort_by = e.sortBy), e.sortByOrder !== void 0 && (i.sort_by_order = e.sortByOrder), e.startingAfter !== void 0 && (i.starting_after = e.startingAfter);
|
|
4043
4124
|
const o = {};
|
|
4044
4125
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4045
4126
|
const l = await this.request({
|
|
4046
4127
|
path: "/v1/hotel_offers",
|
|
4047
4128
|
method: "GET",
|
|
4048
4129
|
headers: o,
|
|
4049
|
-
query:
|
|
4130
|
+
query: b(i, v.Snake)
|
|
4050
4131
|
}, n);
|
|
4051
|
-
return await new
|
|
4132
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4052
4133
|
}
|
|
4053
4134
|
/**
|
|
4054
4135
|
* You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
4055
4136
|
* ⚛️ Retrieve Hotel Offers
|
|
4056
4137
|
*/
|
|
4057
|
-
async list(e, n,
|
|
4058
|
-
return await
|
|
4059
|
-
() => this.listRaw(e,
|
|
4060
|
-
{ type:
|
|
4138
|
+
async list(e, n, i) {
|
|
4139
|
+
return await ot(
|
|
4140
|
+
() => this.listRaw(e, i),
|
|
4141
|
+
{ type: Oe.HOTEL_SEARCH_POLLING, minCallCount: i?.minCallCount, maxCallCount: i?.maxCallCount },
|
|
4061
4142
|
n
|
|
4062
4143
|
);
|
|
4063
4144
|
}
|
|
4064
4145
|
}
|
|
4065
|
-
const
|
|
4146
|
+
const Mi = {
|
|
4066
4147
|
DeDe: "de-DE",
|
|
4067
4148
|
EnUs: "en-US",
|
|
4068
4149
|
EsEs: "es-ES",
|
|
@@ -4070,33 +4151,33 @@ const St = {
|
|
|
4070
4151
|
ItIt: "it-IT",
|
|
4071
4152
|
NlNl: "nl-NL",
|
|
4072
4153
|
PtPt: "pt-PT"
|
|
4073
|
-
},
|
|
4154
|
+
}, Ni = {
|
|
4074
4155
|
Distance: "distance",
|
|
4075
4156
|
Price: "price",
|
|
4076
4157
|
Rating: "rating",
|
|
4077
4158
|
ReviewRating: "review_rating",
|
|
4078
4159
|
TopPicks: "top_picks"
|
|
4079
|
-
},
|
|
4160
|
+
}, Ti = {
|
|
4080
4161
|
Asc: "asc",
|
|
4081
4162
|
Desc: "desc"
|
|
4082
4163
|
};
|
|
4083
|
-
class
|
|
4164
|
+
class Ua extends j {
|
|
4084
4165
|
/**
|
|
4085
4166
|
* Returns a single Hotel Room Offer Request by id
|
|
4086
4167
|
* Retrieve a Single Hotel Room Offer Request
|
|
4087
4168
|
*/
|
|
4088
4169
|
async retrieveRaw(e, n) {
|
|
4089
4170
|
if (e.id === null || e.id === void 0)
|
|
4090
|
-
throw new
|
|
4091
|
-
const
|
|
4171
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
|
|
4172
|
+
const i = {}, o = {};
|
|
4092
4173
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4093
4174
|
const l = await this.request({
|
|
4094
4175
|
path: "/v1/hotel_room_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
|
|
4095
4176
|
method: "GET",
|
|
4096
4177
|
headers: o,
|
|
4097
|
-
query:
|
|
4178
|
+
query: b(i, v.Snake)
|
|
4098
4179
|
}, n);
|
|
4099
|
-
return await new
|
|
4180
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4100
4181
|
}
|
|
4101
4182
|
/**
|
|
4102
4183
|
* Returns a single Hotel Room Offer Request by id
|
|
@@ -4110,16 +4191,16 @@ class Oa extends q {
|
|
|
4110
4191
|
* Create an Hotel Room Offer Request
|
|
4111
4192
|
*/
|
|
4112
4193
|
async createRaw(e, n) {
|
|
4113
|
-
const
|
|
4194
|
+
const i = {}, o = {};
|
|
4114
4195
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4115
4196
|
const l = await this.request({
|
|
4116
4197
|
path: "/v1/hotel_room_offer_requests",
|
|
4117
4198
|
method: "POST",
|
|
4118
4199
|
headers: o,
|
|
4119
|
-
query:
|
|
4120
|
-
body:
|
|
4200
|
+
query: b(i, v.Snake),
|
|
4201
|
+
body: b(e.hotelRoomOfferRequestCreateApi, v.Snake)
|
|
4121
4202
|
}, n);
|
|
4122
|
-
return await new
|
|
4203
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4123
4204
|
}
|
|
4124
4205
|
/**
|
|
4125
4206
|
* To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
|
|
@@ -4129,36 +4210,36 @@ class Oa extends q {
|
|
|
4129
4210
|
return this.createRaw(e, n);
|
|
4130
4211
|
}
|
|
4131
4212
|
}
|
|
4132
|
-
class
|
|
4213
|
+
class _a extends j {
|
|
4133
4214
|
/**
|
|
4134
4215
|
* You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
4135
4216
|
* ⚛️ Retrieve Hotel Room Offers
|
|
4136
4217
|
*/
|
|
4137
4218
|
async listRaw(e, n) {
|
|
4138
4219
|
if (e.currency === null || e.currency === void 0)
|
|
4139
|
-
throw new
|
|
4220
|
+
throw new _("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
|
|
4140
4221
|
if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0)
|
|
4141
|
-
throw new
|
|
4142
|
-
const
|
|
4143
|
-
e.currency !== void 0 && (
|
|
4222
|
+
throw new _("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
|
|
4223
|
+
const i = {};
|
|
4224
|
+
e.currency !== void 0 && (i.currency = e.currency), e.hotelRoomOfferRequestId !== void 0 && (i.hotel_room_offer_request_id = e.hotelRoomOfferRequestId), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit);
|
|
4144
4225
|
const o = {};
|
|
4145
4226
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4146
4227
|
const l = await this.request({
|
|
4147
4228
|
path: "/v1/hotel_room_offers",
|
|
4148
4229
|
method: "GET",
|
|
4149
4230
|
headers: o,
|
|
4150
|
-
query:
|
|
4231
|
+
query: b(i, v.Snake)
|
|
4151
4232
|
}, n);
|
|
4152
|
-
return await new
|
|
4233
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4153
4234
|
}
|
|
4154
4235
|
/**
|
|
4155
4236
|
* You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
|
|
4156
4237
|
* ⚛️ Retrieve Hotel Room Offers
|
|
4157
4238
|
*/
|
|
4158
|
-
async list(e, n,
|
|
4159
|
-
return await
|
|
4160
|
-
() => this.listRaw(e,
|
|
4161
|
-
{ type:
|
|
4239
|
+
async list(e, n, i) {
|
|
4240
|
+
return await ot(
|
|
4241
|
+
() => this.listRaw(e, i),
|
|
4242
|
+
{ type: Oe.HOTEL_ROOM_OFFERS, minCallCount: i?.minCallCount, maxCallCount: i?.maxCallCount },
|
|
4162
4243
|
n
|
|
4163
4244
|
);
|
|
4164
4245
|
}
|
|
@@ -4167,16 +4248,16 @@ class Ca extends q {
|
|
|
4167
4248
|
* Create Hotel Room Offer
|
|
4168
4249
|
*/
|
|
4169
4250
|
async createRaw(e, n) {
|
|
4170
|
-
const
|
|
4251
|
+
const i = {}, o = {};
|
|
4171
4252
|
o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4172
4253
|
const l = await this.request({
|
|
4173
4254
|
path: "/v1/hotel_room_offers",
|
|
4174
4255
|
method: "POST",
|
|
4175
4256
|
headers: o,
|
|
4176
|
-
query:
|
|
4177
|
-
body:
|
|
4257
|
+
query: b(i, v.Snake),
|
|
4258
|
+
body: b(e.hotelRoomOffersCreateApi, v.Snake)
|
|
4178
4259
|
}, n);
|
|
4179
|
-
return await new
|
|
4260
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4180
4261
|
}
|
|
4181
4262
|
/**
|
|
4182
4263
|
* This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
|
|
@@ -4186,7 +4267,7 @@ class Ca extends q {
|
|
|
4186
4267
|
return this.createRaw(e, n);
|
|
4187
4268
|
}
|
|
4188
4269
|
}
|
|
4189
|
-
const
|
|
4270
|
+
const Bi = {
|
|
4190
4271
|
DeDe: "de-DE",
|
|
4191
4272
|
EnUs: "en-US",
|
|
4192
4273
|
EsEs: "es-ES",
|
|
@@ -4195,23 +4276,23 @@ const Pt = {
|
|
|
4195
4276
|
NlNl: "nl-NL",
|
|
4196
4277
|
PtPt: "pt-PT"
|
|
4197
4278
|
};
|
|
4198
|
-
class
|
|
4279
|
+
class za extends j {
|
|
4199
4280
|
/**
|
|
4200
4281
|
* Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
4201
4282
|
* Delete Hotel Room List Guest
|
|
4202
4283
|
*/
|
|
4203
4284
|
async deleteRaw(e, n) {
|
|
4204
4285
|
if (e.id === null || e.id === void 0)
|
|
4205
|
-
throw new
|
|
4286
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
|
|
4206
4287
|
if (e.token === null || e.token === void 0)
|
|
4207
|
-
throw new
|
|
4208
|
-
const
|
|
4288
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
|
|
4289
|
+
const i = {}, o = {}, l = await this.request({
|
|
4209
4290
|
path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
|
|
4210
4291
|
method: "DELETE",
|
|
4211
4292
|
headers: o,
|
|
4212
|
-
query:
|
|
4293
|
+
query: b(i, v.Snake)
|
|
4213
4294
|
}, n);
|
|
4214
|
-
return new
|
|
4295
|
+
return new Oa(l);
|
|
4215
4296
|
}
|
|
4216
4297
|
/**
|
|
4217
4298
|
* Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -4226,19 +4307,19 @@ class ka extends q {
|
|
|
4226
4307
|
*/
|
|
4227
4308
|
async updateRaw(e, n) {
|
|
4228
4309
|
if (e.id === null || e.id === void 0)
|
|
4229
|
-
throw new
|
|
4310
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
|
|
4230
4311
|
if (e.token === null || e.token === void 0)
|
|
4231
|
-
throw new
|
|
4232
|
-
const
|
|
4312
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
|
|
4313
|
+
const i = {}, o = {};
|
|
4233
4314
|
o["Content-Type"] = "application/json";
|
|
4234
4315
|
const l = await this.request({
|
|
4235
4316
|
path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
|
|
4236
4317
|
method: "PATCH",
|
|
4237
4318
|
headers: o,
|
|
4238
|
-
query:
|
|
4239
|
-
body:
|
|
4319
|
+
query: b(i, v.Snake),
|
|
4320
|
+
body: b(e.hotelRoomingListGuestsUpdateApi, v.Snake)
|
|
4240
4321
|
}, n);
|
|
4241
|
-
return await new
|
|
4322
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4242
4323
|
}
|
|
4243
4324
|
/**
|
|
4244
4325
|
* Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -4253,17 +4334,17 @@ class ka extends q {
|
|
|
4253
4334
|
*/
|
|
4254
4335
|
async createRaw(e, n) {
|
|
4255
4336
|
if (e.token === null || e.token === void 0)
|
|
4256
|
-
throw new
|
|
4257
|
-
const
|
|
4337
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
|
|
4338
|
+
const i = {}, o = {};
|
|
4258
4339
|
o["Content-Type"] = "application/json";
|
|
4259
4340
|
const l = await this.request({
|
|
4260
4341
|
path: "/v1/hotel_rooming_list_guests/{token}".replace("{token}", encodeURIComponent(String(e.token))),
|
|
4261
4342
|
method: "POST",
|
|
4262
4343
|
headers: o,
|
|
4263
|
-
query:
|
|
4264
|
-
body:
|
|
4344
|
+
query: b(i, v.Snake),
|
|
4345
|
+
body: b(e.hotelRoomingListGuestsCreateApi, v.Snake)
|
|
4265
4346
|
}, n);
|
|
4266
|
-
return await new
|
|
4347
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4267
4348
|
}
|
|
4268
4349
|
/**
|
|
4269
4350
|
* Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
@@ -4273,23 +4354,23 @@ class ka extends q {
|
|
|
4273
4354
|
return this.createRaw(e, n);
|
|
4274
4355
|
}
|
|
4275
4356
|
}
|
|
4276
|
-
class
|
|
4357
|
+
class Fa extends j {
|
|
4277
4358
|
/**
|
|
4278
4359
|
* Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
|
|
4279
4360
|
* Get Hotel Rooming Lists for a booking
|
|
4280
4361
|
*/
|
|
4281
4362
|
async listRaw(e, n) {
|
|
4282
4363
|
if (e.token === null || e.token === void 0)
|
|
4283
|
-
throw new
|
|
4284
|
-
const
|
|
4285
|
-
e.lang !== void 0 && (
|
|
4364
|
+
throw new _("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
|
|
4365
|
+
const i = {};
|
|
4366
|
+
e.lang !== void 0 && (i.lang = e.lang);
|
|
4286
4367
|
const o = {}, l = await this.request({
|
|
4287
4368
|
path: "/v1/hotel_rooming_lists/{token}".replace("{token}", encodeURIComponent(String(e.token))),
|
|
4288
4369
|
method: "GET",
|
|
4289
4370
|
headers: o,
|
|
4290
|
-
query:
|
|
4371
|
+
query: b(i, v.Snake)
|
|
4291
4372
|
}, n);
|
|
4292
|
-
return new
|
|
4373
|
+
return new U(l, (u) => b(u, v.Camel)).value();
|
|
4293
4374
|
}
|
|
4294
4375
|
/**
|
|
4295
4376
|
* Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
|
|
@@ -4299,7 +4380,7 @@ class Ia extends q {
|
|
|
4299
4380
|
return this.listRaw(e, n);
|
|
4300
4381
|
}
|
|
4301
4382
|
}
|
|
4302
|
-
const
|
|
4383
|
+
const Ei = {
|
|
4303
4384
|
DeDe: "de-DE",
|
|
4304
4385
|
EnUs: "en-US",
|
|
4305
4386
|
EsEs: "es-ES",
|
|
@@ -4308,25 +4389,25 @@ const At = {
|
|
|
4308
4389
|
NlNl: "nl-NL",
|
|
4309
4390
|
PtPt: "pt-PT"
|
|
4310
4391
|
};
|
|
4311
|
-
class
|
|
4392
|
+
class $a extends j {
|
|
4312
4393
|
/**
|
|
4313
4394
|
* Returns a single Hotel by id with their content localize into the requested **lang**.
|
|
4314
4395
|
* Retrieve a Hotel
|
|
4315
4396
|
*/
|
|
4316
4397
|
async retrieveRaw(e, n) {
|
|
4317
4398
|
if (e.id === null || e.id === void 0)
|
|
4318
|
-
throw new
|
|
4319
|
-
const
|
|
4320
|
-
e.event !== void 0 && (
|
|
4399
|
+
throw new _("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
|
|
4400
|
+
const i = {};
|
|
4401
|
+
e.event !== void 0 && (i.event = e.event), e.lang !== void 0 && (i.lang = e.lang);
|
|
4321
4402
|
const o = {};
|
|
4322
4403
|
this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
|
|
4323
4404
|
const l = await this.request({
|
|
4324
4405
|
path: "/v1/hotels/{id}".replace("{id}", encodeURIComponent(String(e.id))),
|
|
4325
4406
|
method: "GET",
|
|
4326
4407
|
headers: o,
|
|
4327
|
-
query:
|
|
4408
|
+
query: b(i, v.Snake)
|
|
4328
4409
|
}, n);
|
|
4329
|
-
return await new
|
|
4410
|
+
return await new U(l, (u) => b(u, v.Camel)).value();
|
|
4330
4411
|
}
|
|
4331
4412
|
/**
|
|
4332
4413
|
* Returns a single Hotel by id with their content localize into the requested **lang**.
|
|
@@ -4336,7 +4417,7 @@ class Ka extends q {
|
|
|
4336
4417
|
return this.retrieveRaw(e, n);
|
|
4337
4418
|
}
|
|
4338
4419
|
}
|
|
4339
|
-
const
|
|
4420
|
+
const Li = {
|
|
4340
4421
|
DeDe: "de-DE",
|
|
4341
4422
|
EnUs: "en-US",
|
|
4342
4423
|
EsEs: "es-ES",
|
|
@@ -4345,10 +4426,10 @@ const Nt = {
|
|
|
4345
4426
|
NlNl: "nl-NL",
|
|
4346
4427
|
PtPt: "pt-PT"
|
|
4347
4428
|
};
|
|
4348
|
-
var ue = { exports: {} },
|
|
4349
|
-
function
|
|
4350
|
-
return
|
|
4351
|
-
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof le < "u" && le,
|
|
4429
|
+
var ue = { exports: {} }, Xe;
|
|
4430
|
+
function Ha() {
|
|
4431
|
+
return Xe || (Xe = 1, (function(t, e) {
|
|
4432
|
+
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof le < "u" && le, i = (function() {
|
|
4352
4433
|
function l() {
|
|
4353
4434
|
this.fetch = !1, this.DOMException = n.DOMException;
|
|
4354
4435
|
}
|
|
@@ -4357,7 +4438,7 @@ function Ga() {
|
|
|
4357
4438
|
(function(l) {
|
|
4358
4439
|
(function(u) {
|
|
4359
4440
|
var c = typeof l < "u" && l || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
4360
|
-
typeof le < "u" && le || {},
|
|
4441
|
+
typeof le < "u" && le || {}, h = {
|
|
4361
4442
|
searchParams: "URLSearchParams" in c,
|
|
4362
4443
|
iterable: "Symbol" in c && "iterator" in Symbol,
|
|
4363
4444
|
blob: "FileReader" in c && "Blob" in c && (function() {
|
|
@@ -4370,11 +4451,11 @@ function Ga() {
|
|
|
4370
4451
|
formData: "FormData" in c,
|
|
4371
4452
|
arrayBuffer: "ArrayBuffer" in c
|
|
4372
4453
|
};
|
|
4373
|
-
function
|
|
4454
|
+
function S(r) {
|
|
4374
4455
|
return r && DataView.prototype.isPrototypeOf(r);
|
|
4375
4456
|
}
|
|
4376
|
-
if (
|
|
4377
|
-
var
|
|
4457
|
+
if (h.arrayBuffer)
|
|
4458
|
+
var P = [
|
|
4378
4459
|
"[object Int8Array]",
|
|
4379
4460
|
"[object Uint8Array]",
|
|
4380
4461
|
"[object Uint8ClampedArray]",
|
|
@@ -4384,25 +4465,25 @@ function Ga() {
|
|
|
4384
4465
|
"[object Uint32Array]",
|
|
4385
4466
|
"[object Float32Array]",
|
|
4386
4467
|
"[object Float64Array]"
|
|
4387
|
-
],
|
|
4388
|
-
return r &&
|
|
4468
|
+
], y = ArrayBuffer.isView || function(r) {
|
|
4469
|
+
return r && P.indexOf(Object.prototype.toString.call(r)) > -1;
|
|
4389
4470
|
};
|
|
4390
|
-
function
|
|
4471
|
+
function p(r) {
|
|
4391
4472
|
if (typeof r != "string" && (r = String(r)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(r) || r === "")
|
|
4392
4473
|
throw new TypeError('Invalid character in header field name: "' + r + '"');
|
|
4393
4474
|
return r.toLowerCase();
|
|
4394
4475
|
}
|
|
4395
|
-
function
|
|
4476
|
+
function w(r) {
|
|
4396
4477
|
return typeof r != "string" && (r = String(r)), r;
|
|
4397
4478
|
}
|
|
4398
|
-
function
|
|
4479
|
+
function A(r) {
|
|
4399
4480
|
var s = {
|
|
4400
4481
|
next: function() {
|
|
4401
4482
|
var m = r.shift();
|
|
4402
4483
|
return { done: m === void 0, value: m };
|
|
4403
4484
|
}
|
|
4404
4485
|
};
|
|
4405
|
-
return
|
|
4486
|
+
return h.iterable && (s[Symbol.iterator] = function() {
|
|
4406
4487
|
return s;
|
|
4407
4488
|
}), s;
|
|
4408
4489
|
}
|
|
@@ -4418,17 +4499,17 @@ function Ga() {
|
|
|
4418
4499
|
}, this);
|
|
4419
4500
|
}
|
|
4420
4501
|
f.prototype.append = function(r, s) {
|
|
4421
|
-
r =
|
|
4502
|
+
r = p(r), s = w(s);
|
|
4422
4503
|
var m = this.map[r];
|
|
4423
4504
|
this.map[r] = m ? m + ", " + s : s;
|
|
4424
4505
|
}, f.prototype.delete = function(r) {
|
|
4425
|
-
delete this.map[
|
|
4506
|
+
delete this.map[p(r)];
|
|
4426
4507
|
}, f.prototype.get = function(r) {
|
|
4427
|
-
return r =
|
|
4508
|
+
return r = p(r), this.has(r) ? this.map[r] : null;
|
|
4428
4509
|
}, f.prototype.has = function(r) {
|
|
4429
|
-
return this.map.hasOwnProperty(
|
|
4510
|
+
return this.map.hasOwnProperty(p(r));
|
|
4430
4511
|
}, f.prototype.set = function(r, s) {
|
|
4431
|
-
this.map[
|
|
4512
|
+
this.map[p(r)] = w(s);
|
|
4432
4513
|
}, f.prototype.forEach = function(r, s) {
|
|
4433
4514
|
for (var m in this.map)
|
|
4434
4515
|
this.map.hasOwnProperty(m) && r.call(s, this.map[m], m, this);
|
|
@@ -4436,26 +4517,26 @@ function Ga() {
|
|
|
4436
4517
|
var r = [];
|
|
4437
4518
|
return this.forEach(function(s, m) {
|
|
4438
4519
|
r.push(m);
|
|
4439
|
-
}),
|
|
4520
|
+
}), A(r);
|
|
4440
4521
|
}, f.prototype.values = function() {
|
|
4441
4522
|
var r = [];
|
|
4442
4523
|
return this.forEach(function(s) {
|
|
4443
4524
|
r.push(s);
|
|
4444
|
-
}),
|
|
4525
|
+
}), A(r);
|
|
4445
4526
|
}, f.prototype.entries = function() {
|
|
4446
4527
|
var r = [];
|
|
4447
4528
|
return this.forEach(function(s, m) {
|
|
4448
4529
|
r.push([m, s]);
|
|
4449
|
-
}),
|
|
4450
|
-
},
|
|
4451
|
-
function
|
|
4530
|
+
}), A(r);
|
|
4531
|
+
}, h.iterable && (f.prototype[Symbol.iterator] = f.prototype.entries);
|
|
4532
|
+
function M(r) {
|
|
4452
4533
|
if (!r._noBody) {
|
|
4453
4534
|
if (r.bodyUsed)
|
|
4454
4535
|
return Promise.reject(new TypeError("Already read"));
|
|
4455
4536
|
r.bodyUsed = !0;
|
|
4456
4537
|
}
|
|
4457
4538
|
}
|
|
4458
|
-
function
|
|
4539
|
+
function C(r) {
|
|
4459
4540
|
return new Promise(function(s, m) {
|
|
4460
4541
|
r.onload = function() {
|
|
4461
4542
|
s(r.result);
|
|
@@ -4465,29 +4546,29 @@ function Ga() {
|
|
|
4465
4546
|
});
|
|
4466
4547
|
}
|
|
4467
4548
|
function O(r) {
|
|
4468
|
-
var s = new FileReader(), m =
|
|
4549
|
+
var s = new FileReader(), m = C(s);
|
|
4469
4550
|
return s.readAsArrayBuffer(r), m;
|
|
4470
4551
|
}
|
|
4471
|
-
function
|
|
4472
|
-
var s = new FileReader(), m =
|
|
4473
|
-
return s.readAsText(r,
|
|
4552
|
+
function E(r) {
|
|
4553
|
+
var s = new FileReader(), m = C(s), d = /charset=([A-Za-z0-9_-]+)/.exec(r.type), D = d ? d[1] : "utf-8";
|
|
4554
|
+
return s.readAsText(r, D), m;
|
|
4474
4555
|
}
|
|
4475
|
-
function
|
|
4556
|
+
function G(r) {
|
|
4476
4557
|
for (var s = new Uint8Array(r), m = new Array(s.length), d = 0; d < s.length; d++)
|
|
4477
4558
|
m[d] = String.fromCharCode(s[d]);
|
|
4478
4559
|
return m.join("");
|
|
4479
4560
|
}
|
|
4480
|
-
function
|
|
4561
|
+
function N(r) {
|
|
4481
4562
|
if (r.slice)
|
|
4482
4563
|
return r.slice(0);
|
|
4483
4564
|
var s = new Uint8Array(r.byteLength);
|
|
4484
4565
|
return s.set(new Uint8Array(r)), s.buffer;
|
|
4485
4566
|
}
|
|
4486
|
-
function
|
|
4567
|
+
function k() {
|
|
4487
4568
|
return this.bodyUsed = !1, this._initBody = function(r) {
|
|
4488
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = r, r ? typeof r == "string" ? this._bodyText = r :
|
|
4489
|
-
},
|
|
4490
|
-
var r =
|
|
4569
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = r, r ? typeof r == "string" ? this._bodyText = r : h.blob && Blob.prototype.isPrototypeOf(r) ? this._bodyBlob = r : h.formData && FormData.prototype.isPrototypeOf(r) ? this._bodyFormData = r : h.searchParams && URLSearchParams.prototype.isPrototypeOf(r) ? this._bodyText = r.toString() : h.arrayBuffer && h.blob && S(r) ? (this._bodyArrayBuffer = N(r.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(r) || y(r)) ? this._bodyArrayBuffer = N(r) : this._bodyText = r = Object.prototype.toString.call(r) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof r == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(r) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
4570
|
+
}, h.blob && (this.blob = function() {
|
|
4571
|
+
var r = M(this);
|
|
4491
4572
|
if (r)
|
|
4492
4573
|
return r;
|
|
4493
4574
|
if (this._bodyBlob)
|
|
@@ -4499,7 +4580,7 @@ function Ga() {
|
|
|
4499
4580
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
4500
4581
|
}), this.arrayBuffer = function() {
|
|
4501
4582
|
if (this._bodyArrayBuffer) {
|
|
4502
|
-
var r =
|
|
4583
|
+
var r = M(this);
|
|
4503
4584
|
return r || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
|
|
4504
4585
|
this._bodyArrayBuffer.buffer.slice(
|
|
4505
4586
|
this._bodyArrayBuffer.byteOffset,
|
|
@@ -4507,23 +4588,23 @@ function Ga() {
|
|
|
4507
4588
|
)
|
|
4508
4589
|
) : Promise.resolve(this._bodyArrayBuffer));
|
|
4509
4590
|
} else {
|
|
4510
|
-
if (
|
|
4591
|
+
if (h.blob)
|
|
4511
4592
|
return this.blob().then(O);
|
|
4512
4593
|
throw new Error("could not read as ArrayBuffer");
|
|
4513
4594
|
}
|
|
4514
4595
|
}, this.text = function() {
|
|
4515
|
-
var r =
|
|
4596
|
+
var r = M(this);
|
|
4516
4597
|
if (r)
|
|
4517
4598
|
return r;
|
|
4518
4599
|
if (this._bodyBlob)
|
|
4519
|
-
return
|
|
4600
|
+
return E(this._bodyBlob);
|
|
4520
4601
|
if (this._bodyArrayBuffer)
|
|
4521
|
-
return Promise.resolve(
|
|
4602
|
+
return Promise.resolve(G(this._bodyArrayBuffer));
|
|
4522
4603
|
if (this._bodyFormData)
|
|
4523
4604
|
throw new Error("could not read FormData body as text");
|
|
4524
4605
|
return Promise.resolve(this._bodyText);
|
|
4525
|
-
},
|
|
4526
|
-
return this.text().then(
|
|
4606
|
+
}, h.formData && (this.formData = function() {
|
|
4607
|
+
return this.text().then(I);
|
|
4527
4608
|
}), this.json = function() {
|
|
4528
4609
|
return this.text().then(JSON.parse);
|
|
4529
4610
|
}, this;
|
|
@@ -4546,8 +4627,8 @@ function Ga() {
|
|
|
4546
4627
|
this.url = String(r);
|
|
4547
4628
|
if (this.credentials = s.credentials || this.credentials || "same-origin", (s.headers || !this.headers) && (this.headers = new f(s.headers)), this.method = x(s.method || this.method || "GET"), this.mode = s.mode || this.mode || null, this.signal = s.signal || this.signal || (function() {
|
|
4548
4629
|
if ("AbortController" in c) {
|
|
4549
|
-
var
|
|
4550
|
-
return
|
|
4630
|
+
var g = new AbortController();
|
|
4631
|
+
return g.signal;
|
|
4551
4632
|
}
|
|
4552
4633
|
})(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && m)
|
|
4553
4634
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
@@ -4556,41 +4637,41 @@ function Ga() {
|
|
|
4556
4637
|
if (d.test(this.url))
|
|
4557
4638
|
this.url = this.url.replace(d, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
|
|
4558
4639
|
else {
|
|
4559
|
-
var
|
|
4560
|
-
this.url += (
|
|
4640
|
+
var D = /\?/;
|
|
4641
|
+
this.url += (D.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
4561
4642
|
}
|
|
4562
4643
|
}
|
|
4563
4644
|
}
|
|
4564
4645
|
z.prototype.clone = function() {
|
|
4565
4646
|
return new z(this, { body: this._bodyInit });
|
|
4566
4647
|
};
|
|
4567
|
-
function
|
|
4648
|
+
function I(r) {
|
|
4568
4649
|
var s = new FormData();
|
|
4569
4650
|
return r.trim().split("&").forEach(function(m) {
|
|
4570
4651
|
if (m) {
|
|
4571
|
-
var d = m.split("="),
|
|
4572
|
-
s.append(decodeURIComponent(
|
|
4652
|
+
var d = m.split("="), D = d.shift().replace(/\+/g, " "), g = d.join("=").replace(/\+/g, " ");
|
|
4653
|
+
s.append(decodeURIComponent(D), decodeURIComponent(g));
|
|
4573
4654
|
}
|
|
4574
4655
|
}), s;
|
|
4575
4656
|
}
|
|
4576
|
-
function
|
|
4657
|
+
function T(r) {
|
|
4577
4658
|
var s = new f(), m = r.replace(/\r?\n[\t ]+/g, " ");
|
|
4578
4659
|
return m.split("\r").map(function(d) {
|
|
4579
4660
|
return d.indexOf(`
|
|
4580
4661
|
`) === 0 ? d.substr(1, d.length) : d;
|
|
4581
4662
|
}).forEach(function(d) {
|
|
4582
|
-
var
|
|
4583
|
-
if (
|
|
4584
|
-
var
|
|
4663
|
+
var D = d.split(":"), g = D.shift().trim();
|
|
4664
|
+
if (g) {
|
|
4665
|
+
var L = D.join(":").trim();
|
|
4585
4666
|
try {
|
|
4586
|
-
s.append(
|
|
4667
|
+
s.append(g, L);
|
|
4587
4668
|
} catch (K) {
|
|
4588
4669
|
console.warn("Response " + K.message);
|
|
4589
4670
|
}
|
|
4590
4671
|
}
|
|
4591
4672
|
}), s;
|
|
4592
4673
|
}
|
|
4593
|
-
|
|
4674
|
+
k.call(z.prototype);
|
|
4594
4675
|
function V(r, s) {
|
|
4595
4676
|
if (!(this instanceof V))
|
|
4596
4677
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
@@ -4598,7 +4679,7 @@ function Ga() {
|
|
|
4598
4679
|
throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
|
|
4599
4680
|
this.ok = this.status >= 200 && this.status < 300, this.statusText = s.statusText === void 0 ? "" : "" + s.statusText, this.headers = new f(s.headers), this.url = s.url || "", this._initBody(r);
|
|
4600
4681
|
}
|
|
4601
|
-
|
|
4682
|
+
k.call(V.prototype), V.prototype.clone = function() {
|
|
4602
4683
|
return new V(this._bodyInit, {
|
|
4603
4684
|
status: this.status,
|
|
4604
4685
|
statusText: this.statusText,
|
|
@@ -4624,130 +4705,130 @@ function Ga() {
|
|
|
4624
4705
|
this.stack = d.stack;
|
|
4625
4706
|
}, u.DOMException.prototype = Object.create(Error.prototype), u.DOMException.prototype.constructor = u.DOMException;
|
|
4626
4707
|
}
|
|
4627
|
-
function
|
|
4708
|
+
function R(r, s) {
|
|
4628
4709
|
return new Promise(function(m, d) {
|
|
4629
|
-
var
|
|
4630
|
-
if (
|
|
4710
|
+
var D = new z(r, s);
|
|
4711
|
+
if (D.signal && D.signal.aborted)
|
|
4631
4712
|
return d(new u.DOMException("Aborted", "AbortError"));
|
|
4632
|
-
var
|
|
4633
|
-
function
|
|
4634
|
-
|
|
4713
|
+
var g = new XMLHttpRequest();
|
|
4714
|
+
function L() {
|
|
4715
|
+
g.abort();
|
|
4635
4716
|
}
|
|
4636
|
-
|
|
4637
|
-
var
|
|
4638
|
-
statusText:
|
|
4639
|
-
headers:
|
|
4717
|
+
g.onload = function() {
|
|
4718
|
+
var B = {
|
|
4719
|
+
statusText: g.statusText,
|
|
4720
|
+
headers: T(g.getAllResponseHeaders() || "")
|
|
4640
4721
|
};
|
|
4641
|
-
|
|
4642
|
-
var $ = "response" in
|
|
4722
|
+
D.url.indexOf("file://") === 0 && (g.status < 200 || g.status > 599) ? B.status = 200 : B.status = g.status, B.url = "responseURL" in g ? g.responseURL : B.headers.get("X-Request-URL");
|
|
4723
|
+
var $ = "response" in g ? g.response : g.responseText;
|
|
4643
4724
|
setTimeout(function() {
|
|
4644
|
-
m(new V($,
|
|
4725
|
+
m(new V($, B));
|
|
4645
4726
|
}, 0);
|
|
4646
|
-
},
|
|
4727
|
+
}, g.onerror = function() {
|
|
4647
4728
|
setTimeout(function() {
|
|
4648
4729
|
d(new TypeError("Network request failed"));
|
|
4649
4730
|
}, 0);
|
|
4650
|
-
},
|
|
4731
|
+
}, g.ontimeout = function() {
|
|
4651
4732
|
setTimeout(function() {
|
|
4652
4733
|
d(new TypeError("Network request timed out"));
|
|
4653
4734
|
}, 0);
|
|
4654
|
-
},
|
|
4735
|
+
}, g.onabort = function() {
|
|
4655
4736
|
setTimeout(function() {
|
|
4656
4737
|
d(new u.DOMException("Aborted", "AbortError"));
|
|
4657
4738
|
}, 0);
|
|
4658
4739
|
};
|
|
4659
|
-
function K(
|
|
4740
|
+
function K(B) {
|
|
4660
4741
|
try {
|
|
4661
|
-
return
|
|
4742
|
+
return B === "" && c.location.href ? c.location.href : B;
|
|
4662
4743
|
} catch {
|
|
4663
|
-
return
|
|
4744
|
+
return B;
|
|
4664
4745
|
}
|
|
4665
4746
|
}
|
|
4666
|
-
if (
|
|
4747
|
+
if (g.open(D.method, K(D.url), !0), D.credentials === "include" ? g.withCredentials = !0 : D.credentials === "omit" && (g.withCredentials = !1), "responseType" in g && (h.blob ? g.responseType = "blob" : h.arrayBuffer && (g.responseType = "arraybuffer")), s && typeof s.headers == "object" && !(s.headers instanceof f || c.Headers && s.headers instanceof c.Headers)) {
|
|
4667
4748
|
var F = [];
|
|
4668
|
-
Object.getOwnPropertyNames(s.headers).forEach(function(
|
|
4669
|
-
F.push(
|
|
4670
|
-
}),
|
|
4671
|
-
F.indexOf($) === -1 &&
|
|
4749
|
+
Object.getOwnPropertyNames(s.headers).forEach(function(B) {
|
|
4750
|
+
F.push(p(B)), g.setRequestHeader(B, w(s.headers[B]));
|
|
4751
|
+
}), D.headers.forEach(function(B, $) {
|
|
4752
|
+
F.indexOf($) === -1 && g.setRequestHeader($, B);
|
|
4672
4753
|
});
|
|
4673
4754
|
} else
|
|
4674
|
-
|
|
4675
|
-
|
|
4755
|
+
D.headers.forEach(function(B, $) {
|
|
4756
|
+
g.setRequestHeader($, B);
|
|
4676
4757
|
});
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
}),
|
|
4758
|
+
D.signal && (D.signal.addEventListener("abort", L), g.onreadystatechange = function() {
|
|
4759
|
+
g.readyState === 4 && D.signal.removeEventListener("abort", L);
|
|
4760
|
+
}), g.send(typeof D._bodyInit > "u" ? null : D._bodyInit);
|
|
4680
4761
|
});
|
|
4681
4762
|
}
|
|
4682
|
-
return
|
|
4763
|
+
return R.polyfill = !0, c.fetch || (c.fetch = R, c.Headers = f, c.Request = z, c.Response = V), u.Headers = f, u.Request = z, u.Response = V, u.fetch = R, u;
|
|
4683
4764
|
})({});
|
|
4684
|
-
})(
|
|
4685
|
-
var o = n.fetch ? n :
|
|
4686
|
-
e = o.fetch, e.default = o.fetch, e.fetch = o.fetch, e.Headers = o.Headers, e.Request = o.Request, e.Response = o.Response,
|
|
4765
|
+
})(i), i.fetch.ponyfill = !0, delete i.fetch.polyfill;
|
|
4766
|
+
var o = n.fetch ? n : i;
|
|
4767
|
+
e = o.fetch, e.default = o.fetch, e.fetch = o.fetch, e.Headers = o.Headers, e.Request = o.Request, e.Response = o.Response, t.exports = e;
|
|
4687
4768
|
})(ue, ue.exports)), ue.exports;
|
|
4688
4769
|
}
|
|
4689
|
-
var
|
|
4690
|
-
const
|
|
4691
|
-
bookingPolicies: new
|
|
4692
|
-
bookings: new
|
|
4693
|
-
hotelImages: new
|
|
4694
|
-
hotelOfferRequests: new
|
|
4695
|
-
hotelOffers: new
|
|
4696
|
-
hotelRoomOfferRequests: new
|
|
4697
|
-
hotelRoomOffers: new
|
|
4698
|
-
hotelRoomingListGuests: new
|
|
4699
|
-
hotelRoomingLists: new
|
|
4700
|
-
hotels: new
|
|
4770
|
+
var xa = Ha();
|
|
4771
|
+
const Ya = /* @__PURE__ */ W(xa), Va = (t) => ({
|
|
4772
|
+
bookingPolicies: new Ca(t),
|
|
4773
|
+
bookings: new ka(t),
|
|
4774
|
+
hotelImages: new Ia(t),
|
|
4775
|
+
hotelOfferRequests: new Ka(t),
|
|
4776
|
+
hotelOffers: new Ga(t),
|
|
4777
|
+
hotelRoomOfferRequests: new Ua(t),
|
|
4778
|
+
hotelRoomOffers: new _a(t),
|
|
4779
|
+
hotelRoomingListGuests: new za(t),
|
|
4780
|
+
hotelRoomingLists: new Fa(t),
|
|
4781
|
+
hotels: new $a(t)
|
|
4701
4782
|
});
|
|
4702
|
-
function
|
|
4703
|
-
switch (
|
|
4704
|
-
case
|
|
4783
|
+
function Za(t) {
|
|
4784
|
+
switch (t) {
|
|
4785
|
+
case te.Production:
|
|
4705
4786
|
return "AUTH_TOKEN";
|
|
4706
|
-
case
|
|
4787
|
+
case te.Sandbox:
|
|
4707
4788
|
return "AUTH_TOKEN_SANDBOX";
|
|
4708
|
-
case
|
|
4789
|
+
case te.Staging:
|
|
4709
4790
|
return "AUTH_TOKEN_STAGING";
|
|
4710
|
-
case
|
|
4791
|
+
case te.CiCd:
|
|
4711
4792
|
return "AUTH_TOKEN_CICD";
|
|
4712
|
-
case
|
|
4793
|
+
case te.Local:
|
|
4713
4794
|
return "AUTH_TOKEN_LOCAL";
|
|
4714
4795
|
case void 0:
|
|
4715
4796
|
default:
|
|
4716
4797
|
return "AUTH_TOKEN";
|
|
4717
4798
|
}
|
|
4718
4799
|
}
|
|
4719
|
-
function
|
|
4800
|
+
function lt(t) {
|
|
4720
4801
|
return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find(
|
|
4721
|
-
(
|
|
4802
|
+
(i) => i.includes(Za(t))
|
|
4722
4803
|
));
|
|
4723
4804
|
}
|
|
4724
|
-
class
|
|
4805
|
+
class Wa {
|
|
4725
4806
|
constructor(e) {
|
|
4726
4807
|
this.config = e;
|
|
4727
4808
|
}
|
|
4728
4809
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
4729
4810
|
async pre(e) {
|
|
4730
|
-
return e.init.mode = "cors",
|
|
4811
|
+
return e.init.mode = "cors", lt(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
|
|
4731
4812
|
}
|
|
4732
4813
|
}
|
|
4733
|
-
class
|
|
4814
|
+
class qa {
|
|
4734
4815
|
constructor(e) {
|
|
4735
4816
|
this.config = e;
|
|
4736
4817
|
}
|
|
4737
4818
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
4738
4819
|
async pre(e) {
|
|
4739
|
-
return
|
|
4820
|
+
return lt(this.config.apiEnvironment) && (e.init.headers = {
|
|
4740
4821
|
...e.init.headers,
|
|
4741
4822
|
"x-auth-type": "user"
|
|
4742
4823
|
}), e;
|
|
4743
4824
|
}
|
|
4744
4825
|
}
|
|
4745
|
-
class
|
|
4826
|
+
class Oi {
|
|
4746
4827
|
constructor(e) {
|
|
4747
|
-
if (this.config = e, !e.apiVersion || !Object.values(
|
|
4828
|
+
if (this.config = e, !e.apiVersion || !Object.values(Te).includes(e.apiVersion))
|
|
4748
4829
|
throw new Error(
|
|
4749
4830
|
`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(
|
|
4750
|
-
Object.values(
|
|
4831
|
+
Object.values(Te)
|
|
4751
4832
|
)}`
|
|
4752
4833
|
);
|
|
4753
4834
|
let n = {
|
|
@@ -4757,20 +4838,20 @@ class wt {
|
|
|
4757
4838
|
...n,
|
|
4758
4839
|
...this.config.optionalHeaders
|
|
4759
4840
|
});
|
|
4760
|
-
const
|
|
4761
|
-
let o = this.config.apiBaseUrl ??
|
|
4762
|
-
|
|
4763
|
-
const l = new
|
|
4841
|
+
const i = this.config.apiEnvironment;
|
|
4842
|
+
let o = this.config.apiBaseUrl ?? Bt[i];
|
|
4843
|
+
i === te.Local && process.env.BOOKING_API_BASE_URL && (o = process.env.BOOKING_API_BASE_URL);
|
|
4844
|
+
const l = new rt({
|
|
4764
4845
|
basePath: o,
|
|
4765
|
-
fetchApi:
|
|
4846
|
+
fetchApi: Ya,
|
|
4766
4847
|
headers: n,
|
|
4767
4848
|
middleware: [
|
|
4768
|
-
new
|
|
4769
|
-
new
|
|
4849
|
+
new Wa(this.config),
|
|
4850
|
+
new qa(this.config)
|
|
4770
4851
|
]
|
|
4771
4852
|
});
|
|
4772
4853
|
this.apiVersionsToClient = {
|
|
4773
|
-
v1:
|
|
4854
|
+
v1: Va(l)
|
|
4774
4855
|
};
|
|
4775
4856
|
}
|
|
4776
4857
|
apiVersionsToClient;
|
|
@@ -4806,60 +4887,60 @@ class wt {
|
|
|
4806
4887
|
}
|
|
4807
4888
|
}
|
|
4808
4889
|
export {
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4890
|
+
Oi as ApiClient,
|
|
4891
|
+
Ba as BASE_PATH,
|
|
4892
|
+
j as BaseAPI,
|
|
4893
|
+
ti as BlobApiResponse,
|
|
4894
|
+
ai as BookingApiPayLaterEnum,
|
|
4895
|
+
ii as BookingApiStatusEnum,
|
|
4896
|
+
Ca as BookingPolicies,
|
|
4897
|
+
ni as BookingPoliciesCreateApiLangEnum,
|
|
4898
|
+
ka as Bookings,
|
|
4899
|
+
Pi as BookingsSortByEnum,
|
|
4900
|
+
wi as BookingsSortByOrderEnum,
|
|
4901
|
+
ja as COLLECTION_FORMATS,
|
|
4902
|
+
rt as Configuration,
|
|
4903
|
+
oi as ContactPersonApiLangEnum,
|
|
4904
|
+
ri as ContactPersonApiSalutationEnum,
|
|
4905
|
+
si as CountryIso2Code,
|
|
4906
|
+
li as CurrencyBookingApiClient,
|
|
4907
|
+
ui as ErrorApiResponseTypeEnum,
|
|
4908
|
+
Ia as HotelImages,
|
|
4909
|
+
Ai as HotelImagesLangEnum,
|
|
4910
|
+
Ka as HotelOfferRequests,
|
|
4911
|
+
Ga as HotelOffers,
|
|
4912
|
+
Mi as HotelOffersLangEnum,
|
|
4913
|
+
Ni as HotelOffersSortByEnum,
|
|
4914
|
+
Ti as HotelOffersSortByOrderEnum,
|
|
4915
|
+
ci as HotelRoomOfferApiBreakfastOptionEnum,
|
|
4916
|
+
di as HotelRoomOfferApiPackageTypeEnum,
|
|
4917
|
+
mi as HotelRoomOfferApiTypeEnum,
|
|
4918
|
+
Ua as HotelRoomOfferRequests,
|
|
4919
|
+
_a as HotelRoomOffers,
|
|
4920
|
+
fi as HotelRoomOffersCreateApiLangEnum,
|
|
4921
|
+
Bi as HotelRoomOffersLangEnum,
|
|
4922
|
+
za as HotelRoomingListGuests,
|
|
4923
|
+
Fa as HotelRoomingLists,
|
|
4924
|
+
Ei as HotelRoomingListsLangEnum,
|
|
4925
|
+
$a as Hotels,
|
|
4926
|
+
Li as HotelsLangEnum,
|
|
4927
|
+
hi as InvoiceApiTypeEnum,
|
|
4928
|
+
U as JSONApiResponse,
|
|
4929
|
+
pi as PaymentMethodApiOneOf1NameEnum,
|
|
4930
|
+
yi as PaymentMethodApiOneOf2NameEnum,
|
|
4931
|
+
gi as PaymentMethodApiOneOfNameEnum,
|
|
4932
|
+
Di as PaymentMethodRequestApiNameEnum,
|
|
4933
|
+
bi as PollerStatus,
|
|
4934
|
+
_ as RequiredError,
|
|
4935
|
+
La as ResponseError,
|
|
4936
|
+
Si as SourceMarket,
|
|
4937
|
+
vi as TaxApiTaxFrequencyEnum,
|
|
4938
|
+
Ri as TaxApiTaxModeEnum,
|
|
4939
|
+
Oa as TextApiResponse,
|
|
4940
|
+
ei as VoidApiResponse,
|
|
4941
|
+
Qa as canConsumeForm,
|
|
4942
|
+
Ja as exists,
|
|
4943
|
+
Xa as mapValues,
|
|
4944
|
+
st as querystring,
|
|
4945
|
+
Va as v1ApiClient
|
|
4865
4946
|
};
|