@mirai/core 0.3.173 → 0.3.176
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/.env +7 -4
- package/build/components/Booking/Booking.js +1 -1
- package/build/components/Booking/Booking.js.map +1 -1
- package/build/components/Booking/Booking.l10n.js +0 -15
- package/build/components/Booking/Booking.l10n.js.map +1 -1
- package/build/components/Booking/Booking.module.css +0 -9
- package/build/components/Booking/components/Hotelverse/Hotelverse.js +1 -1
- package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Booking/partials/index.js +2 -13
- package/build/components/Booking/partials/index.js.map +1 -1
- package/build/components/Chat/Chat.constants.js +28 -0
- package/build/components/Chat/Chat.constants.js.map +1 -0
- package/build/components/Chat/Chat.js +231 -0
- package/build/components/Chat/Chat.js.map +1 -0
- package/build/components/Chat/Chat.l10n.js +24 -0
- package/build/components/Chat/Chat.l10n.js.map +1 -0
- package/build/components/Chat/Chat.module.css +90 -0
- package/build/components/Chat/Chat.theme.module.css +49 -0
- package/build/components/Chat/components/Avatar/Avatar.js +68 -0
- package/build/components/Chat/components/Avatar/Avatar.js.map +1 -0
- package/build/components/Chat/components/Avatar/Avatar.module.css +81 -0
- package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +97 -0
- package/build/components/Chat/components/Avatar/index.js +17 -0
- package/build/components/Chat/components/Avatar/index.js.map +1 -0
- package/build/components/Chat/components/Input/Input.js +72 -0
- package/build/components/Chat/components/Input/Input.js.map +1 -0
- package/build/components/Chat/components/Input/Input.l10n.js +15 -0
- package/build/components/Chat/components/Input/Input.l10n.js.map +1 -0
- package/build/components/Chat/components/Input/Input.module.css +19 -0
- package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +175 -0
- package/build/components/Chat/components/Input/index.js +17 -0
- package/build/components/Chat/components/Input/index.js.map +1 -0
- package/build/components/Chat/components/InputRich/InputRich.List.js +52 -0
- package/build/components/Chat/components/InputRich/InputRich.List.js.map +1 -0
- package/build/components/Chat/components/InputRich/InputRich.js +182 -0
- package/build/components/Chat/components/InputRich/InputRich.js.map +1 -0
- package/build/components/Chat/components/InputRich/InputRich.l10n.js +12 -0
- package/build/components/Chat/components/InputRich/InputRich.l10n.js.map +1 -0
- package/build/components/Chat/components/InputRich/InputRich.module.css +73 -0
- package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +275 -0
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js +20 -0
- package/build/components/Chat/components/InputRich/helpers/getVerboseList.js.map +1 -0
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js +27 -0
- package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js.map +1 -0
- package/build/components/Chat/components/InputRich/helpers/index.js +28 -0
- package/build/components/Chat/components/InputRich/helpers/index.js.map +1 -0
- package/build/components/Chat/components/InputRich/index.js +17 -0
- package/build/components/Chat/components/InputRich/index.js.map +1 -0
- package/build/components/Chat/components/Message/Message.constants.js +18 -0
- package/build/components/Chat/components/Message/Message.constants.js.map +1 -0
- package/build/components/Chat/components/Message/Message.js +104 -0
- package/build/components/Chat/components/Message/Message.js.map +1 -0
- package/build/components/Chat/components/Message/Message.module.css +126 -0
- package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +211 -0
- package/build/components/Chat/components/Message/components/Booking.js +63 -0
- package/build/components/Chat/components/Message/components/Booking.js.map +1 -0
- package/build/components/Chat/components/Message/components/Card.js +67 -0
- package/build/components/Chat/components/Message/components/Card.js.map +1 -0
- package/build/components/Chat/components/Message/components/Card.module.css +41 -0
- package/build/components/Chat/components/Message/components/Environment.js +58 -0
- package/build/components/Chat/components/Message/components/Environment.js.map +1 -0
- package/build/components/Chat/components/Message/components/Environment.module.css +22 -0
- package/build/components/Chat/components/Message/components/index.js +39 -0
- package/build/components/Chat/components/Message/components/index.js.map +1 -0
- package/build/components/Chat/components/Message/helpers/getActionIcon.js +13 -0
- package/build/components/Chat/components/Message/helpers/getActionIcon.js.map +1 -0
- package/build/components/Chat/components/Message/helpers/getTime.js +28 -0
- package/build/components/Chat/components/Message/helpers/getTime.js.map +1 -0
- package/build/components/Chat/components/Message/helpers/index.js +28 -0
- package/build/components/Chat/components/Message/helpers/index.js.map +1 -0
- package/build/components/Chat/components/Message/index.js +17 -0
- package/build/components/Chat/components/Message/index.js.map +1 -0
- package/build/components/Chat/components/Message/intents/BookingQuery.js +66 -0
- package/build/components/Chat/components/Message/intents/BookingQuery.js.map +1 -0
- package/build/components/Chat/components/Message/intents/HotelInfo.js +73 -0
- package/build/components/Chat/components/Message/intents/HotelInfo.js.map +1 -0
- package/build/components/Chat/components/Message/intents/Offers.js +57 -0
- package/build/components/Chat/components/Message/intents/Offers.js.map +1 -0
- package/build/components/Chat/components/Message/intents/Unknown.js +67 -0
- package/build/components/Chat/components/Message/intents/Unknown.js.map +1 -0
- package/build/components/Chat/components/Message/intents/index.js +50 -0
- package/build/components/Chat/components/Message/intents/index.js.map +1 -0
- package/build/components/Chat/components/Offline/Offline.js +22 -0
- package/build/components/Chat/components/Offline/Offline.js.map +1 -0
- package/build/components/Chat/components/Offline/Offline.module.css +3 -0
- package/build/components/Chat/components/Offline/index.js +17 -0
- package/build/components/Chat/components/Offline/index.js.map +1 -0
- package/build/components/Chat/components/index.js +61 -0
- package/build/components/Chat/components/index.js.map +1 -0
- package/build/components/Chat/helpers/getVerboseDate.js +18 -0
- package/build/components/Chat/helpers/getVerboseDate.js.map +1 -0
- package/build/components/Chat/helpers/index.js +17 -0
- package/build/components/Chat/helpers/index.js.map +1 -0
- package/build/components/Chat/index.js +17 -0
- package/build/components/Chat/index.js.map +1 -0
- package/build/components/Checkout/Checkout.js +20 -5
- package/build/components/Checkout/Checkout.js.map +1 -1
- package/build/components/Checkout/Checkout.module.css +14 -0
- package/build/components/Checkout/helpers/getFieldProps.js +3 -1
- package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Confirmation.js +11 -7
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
- package/build/components/Checkout/partials/Checkout.Form.js +23 -4
- package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +932 -16
- package/build/components/Profile/components/Settings/Settings.Account.js +26 -8
- package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
- package/build/components/Profile/components/Settings/Settings.module.css +4 -0
- package/build/components/Rates/Rates.constants.js +1 -0
- package/build/components/Rates/Rates.constants.js.map +1 -1
- package/build/components/Rates/Rates.js +2 -0
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.js +1 -1
- package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
- package/build/components/Rates/components/Item/components/Features/Features.js +27 -2
- package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +5 -1
- package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
- package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js +1 -1
- package/build/components/Rates/components/Item/components/ModalRateInfo/ModalRateInfo.js.map +1 -1
- package/build/components/Signup/Signup.js +24 -6
- package/build/components/Signup/Signup.js.map +1 -1
- package/build/components/Signup/Signup.module.css +4 -0
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +24 -9
- package/build/components/{Booking/partials/Booking.Others.js → __shared__/BookingTerms/BookingTerms.js} +17 -18
- package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -0
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +27 -0
- package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +1 -0
- package/build/components/__shared__/BookingTerms/BookingTerms.module.css +42 -0
- package/build/components/{Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap → __shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap} +4 -8
- package/build/components/__shared__/BookingTerms/index.js +17 -0
- package/build/components/__shared__/BookingTerms/index.js.map +1 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +52 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +62 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +1 -0
- package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.module.css +8 -0
- package/build/components/__shared__/NotificationRequiredFields/index.js +17 -0
- package/build/components/__shared__/NotificationRequiredFields/index.js.map +1 -0
- package/build/components/__shared__/Payment/Payment.js +1 -1
- package/build/components/__shared__/Payment/Payment.js.map +1 -1
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +302 -8
- package/build/components/__shared__/Payment/components/Card/Card.js +4 -0
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +23 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +2 -0
- package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +1 -2
- package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/PCI.js +59 -56
- package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +15 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +2 -0
- package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
- package/build/components/__shared__/Payment/helpers/formatExpire.js +15 -0
- package/build/components/__shared__/Payment/helpers/formatExpire.js.map +1 -0
- package/build/components/__shared__/Payment/helpers/index.js +11 -0
- package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
- package/build/components/__shared__/index.js +22 -0
- package/build/components/__shared__/index.js.map +1 -1
- package/build/components/helpers/ICON.js +13 -0
- package/build/components/helpers/ICON.js.map +1 -1
- package/build/components/index.js +2 -0
- package/build/components/index.js.map +1 -1
- package/build/services/Lisa/action.js +28 -0
- package/build/services/Lisa/action.js.map +1 -0
- package/build/services/Lisa/index.js +17 -0
- package/build/services/Lisa/index.js.map +1 -0
- package/build/services/Lisa/message.js +26 -0
- package/build/services/Lisa/message.js.map +1 -0
- package/build/services/Lisa/status.js +13 -0
- package/build/services/Lisa/status.js.map +1 -0
- package/build/services/Lisa/welcome.js +25 -0
- package/build/services/Lisa/welcome.js.map +1 -0
- package/build/services/Rates/__tests__/__mocks__/rates-response-cancel-types.json +21 -0
- package/build/services/Rates/__tests__/__mocks__/rates-response-no-taxes-no-local.json +6 -0
- package/build/services/Rates/__tests__/__mocks__/rates-response-no-taxes.json +4 -0
- package/build/services/Rates/__tests__/__mocks__/rates-response.json +6 -0
- package/build/services/Rates/extras.js +1 -1
- package/build/services/Rates/extras.js.map +1 -1
- package/build/services/Rates/helpers/getItems.js +1 -1
- package/build/services/Rates/helpers/getItems.js.map +1 -1
- package/build/services/Rates/helpers/parseBoards.js +1 -0
- package/build/services/Rates/helpers/parseBoards.js.map +1 -1
- package/build/services/index.js +11 -0
- package/build/services/index.js.map +1 -1
- package/package.json +1 -1
- package/public/App.Container.jsx +2 -0
- package/build/components/Booking/partials/Booking.Others.js.map +0 -1
package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap
CHANGED
|
@@ -10,6 +10,7 @@ exports[`component:<PCI> inherit:className 1`] = `
|
|
|
10
10
|
/>
|
|
11
11
|
<div
|
|
12
12
|
class="view"
|
|
13
|
+
id="checkout-card"
|
|
13
14
|
>
|
|
14
15
|
<div
|
|
15
16
|
class="view"
|
|
@@ -43,6 +44,7 @@ exports[`component:<PCI> inherit:className 1`] = `
|
|
|
43
44
|
</span>
|
|
44
45
|
<input
|
|
45
46
|
class="input"
|
|
47
|
+
id="checkout-name"
|
|
46
48
|
name="name"
|
|
47
49
|
required=""
|
|
48
50
|
type="text"
|
|
@@ -69,6 +71,7 @@ exports[`component:<PCI> inherit:className 1`] = `
|
|
|
69
71
|
</span>
|
|
70
72
|
<input
|
|
71
73
|
class="input"
|
|
74
|
+
id="checkout-expire"
|
|
72
75
|
maxlength="5"
|
|
73
76
|
name="expire"
|
|
74
77
|
placeholder="payments.label.month_format/payments.label.year_format"
|
|
@@ -80,6 +83,7 @@ exports[`component:<PCI> inherit:className 1`] = `
|
|
|
80
83
|
</div>
|
|
81
84
|
<div
|
|
82
85
|
class="view"
|
|
86
|
+
id="checkout-cvv"
|
|
83
87
|
>
|
|
84
88
|
<div
|
|
85
89
|
class="view"
|
|
@@ -114,6 +118,7 @@ exports[`component:<PCI> prop:showCVV 1`] = `
|
|
|
114
118
|
<div
|
|
115
119
|
class="view"
|
|
116
120
|
data-testid="showCVV-PCI-card"
|
|
121
|
+
id="checkout-card"
|
|
117
122
|
>
|
|
118
123
|
<div
|
|
119
124
|
class="view"
|
|
@@ -148,6 +153,7 @@ exports[`component:<PCI> prop:showCVV 1`] = `
|
|
|
148
153
|
</span>
|
|
149
154
|
<input
|
|
150
155
|
class="input"
|
|
156
|
+
id="checkout-name"
|
|
151
157
|
name="name"
|
|
152
158
|
required=""
|
|
153
159
|
type="text"
|
|
@@ -175,6 +181,7 @@ exports[`component:<PCI> prop:showCVV 1`] = `
|
|
|
175
181
|
</span>
|
|
176
182
|
<input
|
|
177
183
|
class="input"
|
|
184
|
+
id="checkout-expire"
|
|
178
185
|
maxlength="5"
|
|
179
186
|
name="expire"
|
|
180
187
|
placeholder="payments.label.month_format/payments.label.year_format"
|
|
@@ -199,6 +206,7 @@ exports[`component:<PCI> renders 1`] = `
|
|
|
199
206
|
/>
|
|
200
207
|
<div
|
|
201
208
|
class="view"
|
|
209
|
+
id="checkout-card"
|
|
202
210
|
>
|
|
203
211
|
<div
|
|
204
212
|
class="view"
|
|
@@ -232,6 +240,7 @@ exports[`component:<PCI> renders 1`] = `
|
|
|
232
240
|
</span>
|
|
233
241
|
<input
|
|
234
242
|
class="input"
|
|
243
|
+
id="checkout-name"
|
|
235
244
|
name="name"
|
|
236
245
|
required=""
|
|
237
246
|
type="text"
|
|
@@ -258,6 +267,7 @@ exports[`component:<PCI> renders 1`] = `
|
|
|
258
267
|
</span>
|
|
259
268
|
<input
|
|
260
269
|
class="input"
|
|
270
|
+
id="checkout-expire"
|
|
261
271
|
maxlength="5"
|
|
262
272
|
name="expire"
|
|
263
273
|
placeholder="payments.label.month_format/payments.label.year_format"
|
|
@@ -269,6 +279,7 @@ exports[`component:<PCI> renders 1`] = `
|
|
|
269
279
|
</div>
|
|
270
280
|
<div
|
|
271
281
|
class="view"
|
|
282
|
+
id="checkout-cvv"
|
|
272
283
|
>
|
|
273
284
|
<div
|
|
274
285
|
class="view"
|
|
@@ -303,6 +314,7 @@ exports[`component:<PCI> testID 1`] = `
|
|
|
303
314
|
<div
|
|
304
315
|
class="view"
|
|
305
316
|
data-testid="mirai-PCI-card"
|
|
317
|
+
id="checkout-card"
|
|
306
318
|
>
|
|
307
319
|
<div
|
|
308
320
|
class="view"
|
|
@@ -337,6 +349,7 @@ exports[`component:<PCI> testID 1`] = `
|
|
|
337
349
|
</span>
|
|
338
350
|
<input
|
|
339
351
|
class="input"
|
|
352
|
+
id="checkout-name"
|
|
340
353
|
name="name"
|
|
341
354
|
required=""
|
|
342
355
|
type="text"
|
|
@@ -364,6 +377,7 @@ exports[`component:<PCI> testID 1`] = `
|
|
|
364
377
|
</span>
|
|
365
378
|
<input
|
|
366
379
|
class="input"
|
|
380
|
+
id="checkout-expire"
|
|
367
381
|
maxlength="5"
|
|
368
382
|
name="expire"
|
|
369
383
|
placeholder="payments.label.month_format/payments.label.year_format"
|
|
@@ -376,6 +390,7 @@ exports[`component:<PCI> testID 1`] = `
|
|
|
376
390
|
<div
|
|
377
391
|
class="view"
|
|
378
392
|
data-testid="mirai-PCI-CVV"
|
|
393
|
+
id="checkout-cvv"
|
|
379
394
|
>
|
|
380
395
|
<div
|
|
381
396
|
class="view"
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.formatValues = void 0;
|
|
7
|
+
var _helpers = require("../../../helpers");
|
|
7
8
|
const PARSER = [/[^\d]/g, ''];
|
|
8
9
|
const SLASH = '/';
|
|
9
10
|
const formatValues = function () {
|
|
@@ -18,6 +19,7 @@ const formatValues = function () {
|
|
|
18
19
|
expire = "".concat(expire.substr(0, 2).replace(...PARSER)).concat(expire.substr(2, 1) ? SLASH : '').concat(expire.substr(3, 2).replace(...PARSER));
|
|
19
20
|
name = name.toUpperCase();
|
|
20
21
|
expire = expire.length === 2 ? expire.length > currentExpire.length ? "".concat(expire).concat(SLASH) : expire[0] : expire;
|
|
22
|
+
expire = (0, _helpers.formatExpire)(expire);
|
|
21
23
|
return {
|
|
22
24
|
expire,
|
|
23
25
|
name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatValues.js","names":["PARSER","SLASH","formatValues","values","arguments","length","undefined","expire","currentExpire","name","concat","substr","replace","toUpperCase","exports"],"sources":["../../../../../../../src/components/__shared__/Payment/components/PCI/helpers/formatValues.js"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"formatValues.js","names":["_helpers","require","PARSER","SLASH","formatValues","values","arguments","length","undefined","expire","currentExpire","name","concat","substr","replace","toUpperCase","formatExpire","exports"],"sources":["../../../../../../../src/components/__shared__/Payment/components/PCI/helpers/formatValues.js"],"sourcesContent":["import { formatExpire } from '../../../helpers';\n\nconst PARSER = [/[^\\d]/g, ''];\nconst SLASH = '/';\n\nexport const formatValues = (values = {}, { expire: currentExpire = '' } = {}) => {\n let { expire = '', name = '' } = values;\n\n expire = `${expire.substr(0, 2).replace(...PARSER)}${expire.substr(2, 1) ? SLASH : ''}${expire\n .substr(3, 2)\n .replace(...PARSER)}`;\n name = name.toUpperCase();\n\n expire = expire.length === 2 ? (expire.length > currentExpire.length ? `${expire}${SLASH}` : expire[0]) : expire;\n expire = formatExpire(expire);\n\n return { expire, name };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,MAAMC,MAAM,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC;AAC7B,MAAMC,KAAK,GAAG,GAAG;AAEV,MAAMC,YAAY,GAAG,SAAAA,CAAA,EAAsD;EAAA,IAArDC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,IAAE;IAAEG,MAAM,EAAEC,aAAa,GAAG;EAAG,CAAC,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC3E,IAAI;IAAEG,MAAM,GAAG,EAAE;IAAEE,IAAI,GAAG;EAAG,CAAC,GAAGN,MAAM;EAEvCI,MAAM,MAAAG,MAAA,CAAMH,MAAM,CAACI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAACC,OAAO,CAAC,GAAGZ,MAAM,CAAC,EAAAU,MAAA,CAAGH,MAAM,CAACI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAGV,KAAK,GAAG,EAAE,EAAAS,MAAA,CAAGH,MAAM,CAC3FI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CACZC,OAAO,CAAC,GAAGZ,MAAM,CAAC,CAAE;EACvBS,IAAI,GAAGA,IAAI,CAACI,WAAW,CAAC,CAAC;EAEzBN,MAAM,GAAGA,MAAM,CAACF,MAAM,KAAK,CAAC,GAAIE,MAAM,CAACF,MAAM,GAAGG,aAAa,CAACH,MAAM,MAAAK,MAAA,CAAMH,MAAM,EAAAG,MAAA,CAAGT,KAAK,IAAKM,MAAM,CAAC,CAAC,CAAC,GAAIA,MAAM;EAChHA,MAAM,GAAG,IAAAO,qBAAY,EAACP,MAAM,CAAC;EAE7B,OAAO;IAAEA,MAAM;IAAEE;EAAK,CAAC;AACzB,CAAC;AAACM,OAAA,CAAAb,YAAA,GAAAA,YAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.formatExpire = void 0;
|
|
7
|
+
const formatExpire = function () {
|
|
8
|
+
let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
9
|
+
let result = value;
|
|
10
|
+
if (value.length === 1 && Number(value) > 1) result = "0".concat(value, "/");
|
|
11
|
+
if (value.length >= 2 && Number(value.substring(0, 2)) > 12) result = value.replace(value.substring(0, 2), '12');
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
exports.formatExpire = formatExpire;
|
|
15
|
+
//# sourceMappingURL=formatExpire.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatExpire.js","names":["formatExpire","value","arguments","length","undefined","result","Number","concat","substring","replace","exports"],"sources":["../../../../../src/components/__shared__/Payment/helpers/formatExpire.js"],"sourcesContent":["export const formatExpire = (value = '') => {\n let result = value;\n\n if (value.length === 1 && Number(value) > 1) result = `0${value}/`;\n if (value.length >= 2 && Number(value.substring(0, 2)) > 12) result = value.replace(value.substring(0, 2), '12');\n\n return result;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,YAAY,GAAG,SAAAA,CAAA,EAAgB;EAAA,IAAfC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACrC,IAAIG,MAAM,GAAGJ,KAAK;EAElB,IAAIA,KAAK,CAACE,MAAM,KAAK,CAAC,IAAIG,MAAM,CAACL,KAAK,CAAC,GAAG,CAAC,EAAEI,MAAM,OAAAE,MAAA,CAAON,KAAK,MAAG;EAClE,IAAIA,KAAK,CAACE,MAAM,IAAI,CAAC,IAAIG,MAAM,CAACL,KAAK,CAACO,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,EAAEH,MAAM,GAAGJ,KAAK,CAACQ,OAAO,CAACR,KAAK,CAACO,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC;EAEhH,OAAOH,MAAM;AACf,CAAC;AAACK,OAAA,CAAAV,YAAA,GAAAA,YAAA"}
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _formatExpire = require("./formatExpire");
|
|
7
|
+
Object.keys(_formatExpire).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _formatExpire[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _formatExpire[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
6
17
|
var _getCaption = require("./getCaption");
|
|
7
18
|
Object.keys(_getCaption).forEach(function (key) {
|
|
8
19
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_formatExpire","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_getCaption","_getComponent","_getImage"],"sources":["../../../../../src/components/__shared__/Payment/helpers/index.js"],"sourcesContent":["export * from './formatExpire';\nexport * from './getCaption';\nexport * from './getComponent';\nexport * from './getImage';\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,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,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,SAAA,CAAAP,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -25,6 +25,17 @@ Object.keys(_BookingTable).forEach(function (key) {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
|
+
var _BookingTerms = require("./BookingTerms");
|
|
29
|
+
Object.keys(_BookingTerms).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _BookingTerms[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _BookingTerms[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
28
39
|
var _ButtonMore = require("./ButtonMore");
|
|
29
40
|
Object.keys(_ButtonMore).forEach(function (key) {
|
|
30
41
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -91,6 +102,17 @@ Object.keys(_FieldPromocode).forEach(function (key) {
|
|
|
91
102
|
}
|
|
92
103
|
});
|
|
93
104
|
});
|
|
105
|
+
var _NotificationRequiredFields = require("./NotificationRequiredFields");
|
|
106
|
+
Object.keys(_NotificationRequiredFields).forEach(function (key) {
|
|
107
|
+
if (key === "default" || key === "__esModule") return;
|
|
108
|
+
if (key in exports && exports[key] === _NotificationRequiredFields[key]) return;
|
|
109
|
+
Object.defineProperty(exports, key, {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () {
|
|
112
|
+
return _NotificationRequiredFields[key];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
});
|
|
94
116
|
var _Occupation = require("./Occupation");
|
|
95
117
|
Object.keys(_Occupation).forEach(function (key) {
|
|
96
118
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_BookingDates","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_BookingTable","_ButtonMore","_ButtonPayment","_Card","_Field","_FieldOccupation","_FieldPromocode","_Occupation","_Payment","_PriceBreakdown","_SelectEnvironment","_Skeleton","_TextRequiredFields"],"sources":["../../../src/components/__shared__/index.js"],"sourcesContent":["export * from './BookingDates';\nexport * from './BookingTable';\nexport * from './ButtonMore';\nexport * from './ButtonPayment';\nexport * from './Card';\nexport * from './Field';\nexport * from './FieldOccupation';\nexport * from './FieldPromocode';\nexport * from './Occupation';\nexport * from './Payment';\nexport * from './PriceBreakdown';\nexport * from './SelectEnvironment';\nexport * from './Skeleton';\nexport * from './TextRequiredFields';\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,aAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,aAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,aAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,aAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,aAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_BookingDates","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_BookingTable","_BookingTerms","_ButtonMore","_ButtonPayment","_Card","_Field","_FieldOccupation","_FieldPromocode","_NotificationRequiredFields","_Occupation","_Payment","_PriceBreakdown","_SelectEnvironment","_Skeleton","_TextRequiredFields"],"sources":["../../../src/components/__shared__/index.js"],"sourcesContent":["export * from './BookingDates';\nexport * from './BookingTable';\nexport * from './BookingTerms';\nexport * from './ButtonMore';\nexport * from './ButtonPayment';\nexport * from './Card';\nexport * from './Field';\nexport * from './FieldOccupation';\nexport * from './FieldPromocode';\nexport * from './NotificationRequiredFields';\nexport * from './Occupation';\nexport * from './Payment';\nexport * from './PriceBreakdown';\nexport * from './SelectEnvironment';\nexport * from './Skeleton';\nexport * from './TextRequiredFields';\n"],"mappings":";;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,aAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,aAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,aAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,aAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,aAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,aAAA,GAAAV,OAAA;AAAAC,MAAA,CAA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K,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAe,mBAAA,CAAAnB,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -26,17 +26,24 @@ var _MdOutlineListAlt = require("@react-icons/all-files/md/MdOutlineListAlt");
|
|
|
26
26
|
var _MdOutlineLocationOn = require("@react-icons/all-files/md/MdOutlineLocationOn");
|
|
27
27
|
var _MdOutlineLock = require("@react-icons/all-files/md/MdOutlineLock");
|
|
28
28
|
var _MdOutlineLogout = require("@react-icons/all-files/md/MdOutlineLogout");
|
|
29
|
+
var _MdOutlineMinimize = require("@react-icons/all-files/md/MdOutlineMinimize");
|
|
30
|
+
var _MdOutlineOutput = require("@react-icons/all-files/md/MdOutlineOutput");
|
|
29
31
|
var _MdOutlinePageview = require("@react-icons/all-files/md/MdOutlinePageview");
|
|
30
32
|
var _MdOutlinePeopleAlt = require("@react-icons/all-files/md/MdOutlinePeopleAlt");
|
|
31
33
|
var _MdOutlinePersonOff = require("@react-icons/all-files/md/MdOutlinePersonOff");
|
|
34
|
+
var _MdOutlinePhone = require("@react-icons/all-files/md/MdOutlinePhone");
|
|
32
35
|
var _MdOutlinePlayCircle = require("@react-icons/all-files/md/MdOutlinePlayCircle");
|
|
33
36
|
var _MdOutlinePrint = require("@react-icons/all-files/md/MdOutlinePrint");
|
|
37
|
+
var _MdOutlineSchedule = require("@react-icons/all-files/md/MdOutlineSchedule");
|
|
34
38
|
var _MdPersonOutline = require("@react-icons/all-files/md/MdPersonOutline");
|
|
35
39
|
var _MdPhotoSizeSelectSmall = require("@react-icons/all-files/md/MdPhotoSizeSelectSmall");
|
|
40
|
+
var _MdSend = require("@react-icons/all-files/md/MdSend");
|
|
36
41
|
var _MdSingleBed = require("@react-icons/all-files/md/MdSingleBed");
|
|
37
42
|
var _MdUnfoldMore = require("@react-icons/all-files/md/MdUnfoldMore");
|
|
38
43
|
var _TbDiscountCheck = require("@react-icons/all-files/tb/TbDiscountCheck");
|
|
39
44
|
var _ICON = require("./ICON.AMENITIES");
|
|
45
|
+
// import { MdOutlineSupportAgent as SUPPORT_AGENT } from '@react-icons/all-files/md/MdOutlineSupportAgent';
|
|
46
|
+
|
|
40
47
|
const ICON = exports.ICON = {
|
|
41
48
|
..._ui.ICON,
|
|
42
49
|
THREE_D: _GrThreeD.GrThreeD,
|
|
@@ -60,16 +67,22 @@ const ICON = exports.ICON = {
|
|
|
60
67
|
LOCK: _MdOutlineLock.MdOutlineLock,
|
|
61
68
|
LOGOUT: _MdOutlineLogout.MdOutlineLogout,
|
|
62
69
|
MAIL: _MdMailOutline.MdMailOutline,
|
|
70
|
+
MINIMIZE: _MdOutlineMinimize.MdOutlineMinimize,
|
|
63
71
|
MORE: _MdMoreVert.MdMoreVert,
|
|
64
72
|
OFFER: _TbDiscountCheck.TbDiscountCheck,
|
|
65
73
|
PEOPLE: _MdOutlinePeopleAlt.MdOutlinePeopleAlt,
|
|
66
74
|
PERSON: _MdPersonOutline.MdPersonOutline,
|
|
67
75
|
PERSON_OFF: _MdOutlinePersonOff.MdOutlinePersonOff,
|
|
76
|
+
PHONE: _MdOutlinePhone.MdOutlinePhone,
|
|
68
77
|
PLAY: _MdOutlinePlayCircle.MdOutlinePlayCircle,
|
|
69
78
|
PRINT: _MdOutlinePrint.MdOutlinePrint,
|
|
79
|
+
SCHEDULE: _MdOutlineSchedule.MdOutlineSchedule,
|
|
80
|
+
SEND: _MdSend.MdSend,
|
|
81
|
+
// SUPPORT_AGENT,
|
|
70
82
|
SITE: _MdOutlinePageview.MdOutlinePageview,
|
|
71
83
|
SIZE: _MdPhotoSizeSelectSmall.MdPhotoSizeSelectSmall,
|
|
72
84
|
UNFOLD: _MdUnfoldMore.MdUnfoldMore,
|
|
85
|
+
URL: _MdOutlineOutput.MdOutlineOutput,
|
|
73
86
|
// Amenities & Features,
|
|
74
87
|
..._ICON.ICON_AMENITIES
|
|
75
88
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICON.js","names":["_ui","require","_GrThreeD","_MdAccessAlarm","_MdMailOutline","_MdMoreVert","_MdOutlineAccountCircle","_MdOutlineAddToPhotos","_MdOutlineAutorenew","_MdOutlineBed","_MdOutlineCalendarToday","_MdOutlineCurrencyExchange","_MdOutlineEditCalendar","_MdOutlineEventBusy","_MdOutlineFreeCancellation","_MdOutlineGroup","_MdOutlineGroups","_MdOutlineLanguage","_MdOutlineLink","_MdOutlineListAlt","_MdOutlineLocationOn","_MdOutlineLock","_MdOutlineLogout","_MdOutlinePageview","_MdOutlinePeopleAlt","_MdOutlinePersonOff","_MdOutlinePlayCircle","_MdOutlinePrint","_MdPersonOutline","_MdPhotoSizeSelectSmall","_MdSingleBed","_MdUnfoldMore","_TbDiscountCheck","_ICON","ICON","exports","ICON_BASE","THREE_D","ACCOUNT","ADD_EXTRAS","ALARM","BED_DOUBLE","BED_SINGLE","CALENDAR","CALENDAR_BUSY","CALENDAR_CANCEL","CALENDAR_EDIT","CLEAR","CURRENCY","GROUP","GROUPS","LANGUAGE","LINK","LIST","LOCATION","LOCK","LOGOUT","MAIL","MORE","OFFER","PEOPLE","PERSON","PERSON_OFF","PLAY","PRINT","SITE","SIZE","UNFOLD","ICON_AMENITIES"],"sources":["../../../src/components/helpers/ICON.js"],"sourcesContent":["import { ICON as ICON_BASE } from '@mirai/ui';\nimport { GrThreeD as THREE_D } from '@react-icons/all-files/gr/GrThreeD';\nimport { MdAccessAlarm as ALARM } from '@react-icons/all-files/md/MdAccessAlarm';\nimport { MdMailOutline as MAIL } from '@react-icons/all-files/md/MdMailOutline';\nimport { MdMoreVert as MORE } from '@react-icons/all-files/md/MdMoreVert';\nimport { MdOutlineAccountCircle as ACCOUNT } from '@react-icons/all-files/md/MdOutlineAccountCircle';\nimport { MdOutlineAddToPhotos as ADD_EXTRAS } from '@react-icons/all-files/md/MdOutlineAddToPhotos';\nimport { MdOutlineAutorenew as CLEAR } from '@react-icons/all-files/md/MdOutlineAutorenew';\nimport { MdOutlineBed as BED_DOUBLE } from '@react-icons/all-files/md/MdOutlineBed';\nimport { MdOutlineCalendarToday as CALENDAR } from '@react-icons/all-files/md/MdOutlineCalendarToday';\nimport { MdOutlineCurrencyExchange as CURRENCY } from '@react-icons/all-files/md/MdOutlineCurrencyExchange';\nimport { MdOutlineEditCalendar as CALENDAR_EDIT } from '@react-icons/all-files/md/MdOutlineEditCalendar';\nimport { MdOutlineEventBusy as CALENDAR_BUSY } from '@react-icons/all-files/md/MdOutlineEventBusy';\nimport { MdOutlineFreeCancellation as CALENDAR_CANCEL } from '@react-icons/all-files/md/MdOutlineFreeCancellation';\nimport { MdOutlineGroup as GROUP } from '@react-icons/all-files/md/MdOutlineGroup';\nimport { MdOutlineGroups as GROUPS } from '@react-icons/all-files/md/MdOutlineGroups';\nimport { MdOutlineLanguage as LANGUAGE } from '@react-icons/all-files/md/MdOutlineLanguage';\nimport { MdOutlineLink as LINK } from '@react-icons/all-files/md/MdOutlineLink';\nimport { MdOutlineListAlt as LIST } from '@react-icons/all-files/md/MdOutlineListAlt';\nimport { MdOutlineLocationOn as LOCATION } from '@react-icons/all-files/md/MdOutlineLocationOn';\nimport { MdOutlineLock as LOCK } from '@react-icons/all-files/md/MdOutlineLock';\nimport { MdOutlineLogout as LOGOUT } from '@react-icons/all-files/md/MdOutlineLogout';\nimport { MdOutlinePageview as SITE } from '@react-icons/all-files/md/MdOutlinePageview';\nimport { MdOutlinePeopleAlt as PEOPLE } from '@react-icons/all-files/md/MdOutlinePeopleAlt';\nimport { MdOutlinePersonOff as PERSON_OFF } from '@react-icons/all-files/md/MdOutlinePersonOff';\nimport { MdOutlinePlayCircle as PLAY } from '@react-icons/all-files/md/MdOutlinePlayCircle';\nimport { MdOutlinePrint as PRINT } from '@react-icons/all-files/md/MdOutlinePrint';\nimport { MdPersonOutline as PERSON } from '@react-icons/all-files/md/MdPersonOutline';\nimport { MdPhotoSizeSelectSmall as SIZE } from '@react-icons/all-files/md/MdPhotoSizeSelectSmall';\nimport { MdSingleBed as BED_SINGLE } from '@react-icons/all-files/md/MdSingleBed';\nimport { MdUnfoldMore as UNFOLD } from '@react-icons/all-files/md/MdUnfoldMore';\nimport { TbDiscountCheck as OFFER } from '@react-icons/all-files/tb/TbDiscountCheck';\n\nimport { ICON_AMENITIES } from './ICON.AMENITIES';\n\nexport const ICON = {\n ...ICON_BASE,\n THREE_D,\n ACCOUNT,\n ADD_EXTRAS,\n ALARM,\n BED_DOUBLE,\n BED_SINGLE,\n CALENDAR,\n CALENDAR_BUSY,\n CALENDAR_CANCEL,\n CALENDAR_EDIT,\n CLEAR,\n CURRENCY,\n GROUP,\n GROUPS,\n LANGUAGE,\n LINK,\n LIST,\n LOCATION,\n LOCK,\n LOGOUT,\n MAIL,\n MORE,\n OFFER,\n PEOPLE,\n PERSON,\n PERSON_OFF,\n PLAY,\n PRINT,\n SITE,\n SIZE,\n UNFOLD,\n // Amenities & Features,\n ...ICON_AMENITIES,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AACA,IAAAS,uBAAA,GAAAT,OAAA;AACA,IAAAU,0BAAA,GAAAV,OAAA;AACA,IAAAW,sBAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAZ,OAAA;AACA,IAAAa,0BAAA,GAAAb,OAAA;AACA,IAAAc,eAAA,GAAAd,OAAA;AACA,IAAAe,gBAAA,GAAAf,OAAA;AACA,IAAAgB,kBAAA,GAAAhB,OAAA;AACA,IAAAiB,cAAA,GAAAjB,OAAA;AACA,IAAAkB,iBAAA,GAAAlB,OAAA;AACA,IAAAmB,oBAAA,GAAAnB,OAAA;AACA,IAAAoB,cAAA,GAAApB,OAAA;AACA,IAAAqB,gBAAA,GAAArB,OAAA;AACA,IAAAsB,kBAAA,GAAAtB,OAAA;AACA,IAAAuB,
|
|
1
|
+
{"version":3,"file":"ICON.js","names":["_ui","require","_GrThreeD","_MdAccessAlarm","_MdMailOutline","_MdMoreVert","_MdOutlineAccountCircle","_MdOutlineAddToPhotos","_MdOutlineAutorenew","_MdOutlineBed","_MdOutlineCalendarToday","_MdOutlineCurrencyExchange","_MdOutlineEditCalendar","_MdOutlineEventBusy","_MdOutlineFreeCancellation","_MdOutlineGroup","_MdOutlineGroups","_MdOutlineLanguage","_MdOutlineLink","_MdOutlineListAlt","_MdOutlineLocationOn","_MdOutlineLock","_MdOutlineLogout","_MdOutlineMinimize","_MdOutlineOutput","_MdOutlinePageview","_MdOutlinePeopleAlt","_MdOutlinePersonOff","_MdOutlinePhone","_MdOutlinePlayCircle","_MdOutlinePrint","_MdOutlineSchedule","_MdPersonOutline","_MdPhotoSizeSelectSmall","_MdSend","_MdSingleBed","_MdUnfoldMore","_TbDiscountCheck","_ICON","ICON","exports","ICON_BASE","THREE_D","ACCOUNT","ADD_EXTRAS","ALARM","BED_DOUBLE","BED_SINGLE","CALENDAR","CALENDAR_BUSY","CALENDAR_CANCEL","CALENDAR_EDIT","CLEAR","CURRENCY","GROUP","GROUPS","LANGUAGE","LINK","LIST","LOCATION","LOCK","LOGOUT","MAIL","MINIMIZE","MORE","OFFER","PEOPLE","PERSON","PERSON_OFF","PHONE","PLAY","PRINT","SCHEDULE","SEND","SITE","SIZE","UNFOLD","URL","ICON_AMENITIES"],"sources":["../../../src/components/helpers/ICON.js"],"sourcesContent":["import { ICON as ICON_BASE } from '@mirai/ui';\nimport { GrThreeD as THREE_D } from '@react-icons/all-files/gr/GrThreeD';\nimport { MdAccessAlarm as ALARM } from '@react-icons/all-files/md/MdAccessAlarm';\nimport { MdMailOutline as MAIL } from '@react-icons/all-files/md/MdMailOutline';\nimport { MdMoreVert as MORE } from '@react-icons/all-files/md/MdMoreVert';\nimport { MdOutlineAccountCircle as ACCOUNT } from '@react-icons/all-files/md/MdOutlineAccountCircle';\nimport { MdOutlineAddToPhotos as ADD_EXTRAS } from '@react-icons/all-files/md/MdOutlineAddToPhotos';\nimport { MdOutlineAutorenew as CLEAR } from '@react-icons/all-files/md/MdOutlineAutorenew';\nimport { MdOutlineBed as BED_DOUBLE } from '@react-icons/all-files/md/MdOutlineBed';\nimport { MdOutlineCalendarToday as CALENDAR } from '@react-icons/all-files/md/MdOutlineCalendarToday';\nimport { MdOutlineCurrencyExchange as CURRENCY } from '@react-icons/all-files/md/MdOutlineCurrencyExchange';\nimport { MdOutlineEditCalendar as CALENDAR_EDIT } from '@react-icons/all-files/md/MdOutlineEditCalendar';\nimport { MdOutlineEventBusy as CALENDAR_BUSY } from '@react-icons/all-files/md/MdOutlineEventBusy';\nimport { MdOutlineFreeCancellation as CALENDAR_CANCEL } from '@react-icons/all-files/md/MdOutlineFreeCancellation';\nimport { MdOutlineGroup as GROUP } from '@react-icons/all-files/md/MdOutlineGroup';\nimport { MdOutlineGroups as GROUPS } from '@react-icons/all-files/md/MdOutlineGroups';\nimport { MdOutlineLanguage as LANGUAGE } from '@react-icons/all-files/md/MdOutlineLanguage';\nimport { MdOutlineLink as LINK } from '@react-icons/all-files/md/MdOutlineLink';\nimport { MdOutlineListAlt as LIST } from '@react-icons/all-files/md/MdOutlineListAlt';\nimport { MdOutlineLocationOn as LOCATION } from '@react-icons/all-files/md/MdOutlineLocationOn';\nimport { MdOutlineLock as LOCK } from '@react-icons/all-files/md/MdOutlineLock';\nimport { MdOutlineLogout as LOGOUT } from '@react-icons/all-files/md/MdOutlineLogout';\nimport { MdOutlineMinimize as MINIMIZE } from '@react-icons/all-files/md/MdOutlineMinimize';\nimport { MdOutlineOutput as URL } from '@react-icons/all-files/md/MdOutlineOutput';\nimport { MdOutlinePageview as SITE } from '@react-icons/all-files/md/MdOutlinePageview';\nimport { MdOutlinePeopleAlt as PEOPLE } from '@react-icons/all-files/md/MdOutlinePeopleAlt';\nimport { MdOutlinePersonOff as PERSON_OFF } from '@react-icons/all-files/md/MdOutlinePersonOff';\nimport { MdOutlinePhone as PHONE } from '@react-icons/all-files/md/MdOutlinePhone';\nimport { MdOutlinePlayCircle as PLAY } from '@react-icons/all-files/md/MdOutlinePlayCircle';\nimport { MdOutlinePrint as PRINT } from '@react-icons/all-files/md/MdOutlinePrint';\nimport { MdOutlineSchedule as SCHEDULE } from '@react-icons/all-files/md/MdOutlineSchedule';\n// import { MdOutlineSupportAgent as SUPPORT_AGENT } from '@react-icons/all-files/md/MdOutlineSupportAgent';\nimport { MdPersonOutline as PERSON } from '@react-icons/all-files/md/MdPersonOutline';\nimport { MdPhotoSizeSelectSmall as SIZE } from '@react-icons/all-files/md/MdPhotoSizeSelectSmall';\nimport { MdSend as SEND } from '@react-icons/all-files/md/MdSend';\nimport { MdSingleBed as BED_SINGLE } from '@react-icons/all-files/md/MdSingleBed';\nimport { MdUnfoldMore as UNFOLD } from '@react-icons/all-files/md/MdUnfoldMore';\nimport { TbDiscountCheck as OFFER } from '@react-icons/all-files/tb/TbDiscountCheck';\n\nimport { ICON_AMENITIES } from './ICON.AMENITIES';\n\nexport const ICON = {\n ...ICON_BASE,\n THREE_D,\n ACCOUNT,\n ADD_EXTRAS,\n ALARM,\n BED_DOUBLE,\n BED_SINGLE,\n CALENDAR,\n CALENDAR_BUSY,\n CALENDAR_CANCEL,\n CALENDAR_EDIT,\n CLEAR,\n CURRENCY,\n GROUP,\n GROUPS,\n LANGUAGE,\n LINK,\n LIST,\n LOCATION,\n LOCK,\n LOGOUT,\n MAIL,\n MINIMIZE,\n MORE,\n OFFER,\n PEOPLE,\n PERSON,\n PERSON_OFF,\n PHONE,\n PLAY,\n PRINT,\n SCHEDULE,\n SEND,\n // SUPPORT_AGENT,\n SITE,\n SIZE,\n UNFOLD,\n URL,\n // Amenities &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|
8
8
|
var _Booking = require("./Booking");
|
|
9
9
|
var _BookingQuery = require("./BookingQuery");
|
|
10
|
+
var _Chat = require("./Chat");
|
|
10
11
|
var _Checkout = require("./Checkout");
|
|
11
12
|
var _Deals = require("./Deals");
|
|
12
13
|
var _Environment = require("./Environment");
|
|
@@ -20,6 +21,7 @@ const COMPONENTS = exports.COMPONENTS = {
|
|
|
20
21
|
bannerLoyalty: _BannerLoyalty.BannerLoyalty,
|
|
21
22
|
booking: _Booking.Booking,
|
|
22
23
|
bookingQuery: _BookingQuery.BookingQuery,
|
|
24
|
+
chat: _Chat.Chat,
|
|
23
25
|
checkout: _Checkout.Checkout,
|
|
24
26
|
deals: _Deals.Deals,
|
|
25
27
|
environment: _Environment.Environment,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_BannerLoyalty","require","_Booking","_BookingQuery","_Checkout","_Deals","_Environment","_Finder","_Header","_Profile","_Rates","_Session","_Signup","COMPONENTS","exports","bannerLoyalty","BannerLoyalty","booking","Booking","bookingQuery","BookingQuery","checkout","Checkout","deals","Deals","environment","Environment","finder","Finder","header","Header","profile","Profile","rates","Rates","session","Session","signup","Signup"],"sources":["../../src/components/index.js"],"sourcesContent":["import { BannerLoyalty } from './BannerLoyalty';\nimport { Booking } from './Booking';\nimport { BookingQuery } from './BookingQuery';\nimport { Checkout } from './Checkout';\nimport { Deals } from './Deals';\nimport { Environment } from './Environment';\nimport { Finder } from './Finder';\nimport { Header } from './Header';\nimport { Profile } from './Profile';\nimport { Rates } from './Rates';\nimport { Session } from './Session';\nimport { Signup } from './Signup';\n\nexport const COMPONENTS = {\n bannerLoyalty: BannerLoyalty,\n booking: Booking,\n bookingQuery: BookingQuery,\n checkout: Checkout,\n deals: Deals,\n environment: Environment,\n finder: Finder,\n header: Header,\n profile: Profile,\n rates: Rates,\n session: Session,\n signup: Signup,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_BannerLoyalty","require","_Booking","_BookingQuery","_Chat","_Checkout","_Deals","_Environment","_Finder","_Header","_Profile","_Rates","_Session","_Signup","COMPONENTS","exports","bannerLoyalty","BannerLoyalty","booking","Booking","bookingQuery","BookingQuery","chat","Chat","checkout","Checkout","deals","Deals","environment","Environment","finder","Finder","header","Header","profile","Profile","rates","Rates","session","Session","signup","Signup"],"sources":["../../src/components/index.js"],"sourcesContent":["import { BannerLoyalty } from './BannerLoyalty';\nimport { Booking } from './Booking';\nimport { BookingQuery } from './BookingQuery';\nimport { Chat } from './Chat';\nimport { Checkout } from './Checkout';\nimport { Deals } from './Deals';\nimport { Environment } from './Environment';\nimport { Finder } from './Finder';\nimport { Header } from './Header';\nimport { Profile } from './Profile';\nimport { Rates } from './Rates';\nimport { Session } from './Session';\nimport { Signup } from './Signup';\n\nexport const COMPONENTS = {\n bannerLoyalty: BannerLoyalty,\n booking: Booking,\n bookingQuery: BookingQuery,\n chat: Chat,\n checkout: Checkout,\n deals: Deals,\n environment: Environment,\n finder: Finder,\n header: Header,\n profile: Profile,\n rates: Rates,\n session: Session,\n signup: Signup,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,MAAA,GAAAV,OAAA;AACA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AAEO,MAAMa,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,aAAa,EAAEC,4BAAa;EAC5BC,OAAO,EAAEC,gBAAO;EAChBC,YAAY,EAAEC,0BAAY;EAC1BC,IAAI,EAAEC,UAAI;EACVC,QAAQ,EAAEC,kBAAQ;EAClBC,KAAK,EAAEC,YAAK;EACZC,WAAW,EAAEC,wBAAW;EACxBC,MAAM,EAAEC,cAAM;EACdC,MAAM,EAAEC,cAAM;EACdC,OAAO,EAAEC,gBAAO;EAChBC,KAAK,EAAEC,YAAK;EACZC,OAAO,EAAEC,gBAAO;EAChBC,MAAM,EAAEC;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.action = void 0;
|
|
7
|
+
var _dataSources = require("@mirai/data-sources");
|
|
8
|
+
const action = function () {
|
|
9
|
+
let {
|
|
10
|
+
context,
|
|
11
|
+
intent,
|
|
12
|
+
locale,
|
|
13
|
+
session = {}
|
|
14
|
+
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
15
|
+
return (0, _dataSources.request)({
|
|
16
|
+
method: 'POST',
|
|
17
|
+
hostname: process.env.SERVICE_LISA,
|
|
18
|
+
endpoint: '/action',
|
|
19
|
+
headers: {
|
|
20
|
+
authorization: session.authorization
|
|
21
|
+
},
|
|
22
|
+
context,
|
|
23
|
+
intent,
|
|
24
|
+
locale
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
exports.action = action;
|
|
28
|
+
//# sourceMappingURL=action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.js","names":["_dataSources","require","action","context","intent","locale","session","arguments","length","undefined","request","method","hostname","process","env","SERVICE_LISA","endpoint","headers","authorization","exports"],"sources":["../../../src/services/Lisa/action.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\n\nexport const action = ({ context, intent, locale, session = {} } = {}) =>\n request({\n method: 'POST',\n hostname: process.env.SERVICE_LISA,\n endpoint: '/action',\n headers: { authorization: session.authorization },\n context,\n intent,\n locale,\n });\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,MAAM,GAAG,SAAAA,CAAA;EAAA,IAAC;IAAEC,OAAO;IAAEC,MAAM;IAAEC,MAAM;IAAEC,OAAO,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,OACnE,IAAAG,oBAAO,EAAC;IACNC,MAAM,EAAE,MAAM;IACdC,QAAQ,EAAEC,OAAO,CAACC,GAAG,CAACC,YAAY;IAClCC,QAAQ,EAAE,SAAS;IACnBC,OAAO,EAAE;MAAEC,aAAa,EAAEZ,OAAO,CAACY;IAAc,CAAC;IACjDf,OAAO;IACPC,MAAM;IACNC;EACF,CAAC,CAAC;AAAA;AAACc,OAAA,CAAAjB,MAAA,GAAAA,MAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ServiceLisa = void 0;
|
|
7
|
+
var _action = require("./action");
|
|
8
|
+
var _message = require("./message");
|
|
9
|
+
var _status = require("./status");
|
|
10
|
+
var _welcome = require("./welcome");
|
|
11
|
+
const ServiceLisa = exports.ServiceLisa = {
|
|
12
|
+
action: _action.action,
|
|
13
|
+
message: _message.message,
|
|
14
|
+
status: _status.status,
|
|
15
|
+
welcome: _welcome.welcome
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_action","require","_message","_status","_welcome","ServiceLisa","exports","action","message","status","welcome"],"sources":["../../../src/services/Lisa/index.js"],"sourcesContent":["import { action } from './action';\nimport { message } from './message';\nimport { status } from './status';\nimport { welcome } from './welcome';\n\nexport const ServiceLisa = {\n action,\n message,\n status,\n welcome,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEO,MAAMI,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EACzBE,MAAM,EAANA,cAAM;EACNC,OAAO,EAAPA,gBAAO;EACPC,MAAM,EAANA,cAAM;EACNC,OAAO,EAAPA;AACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.message = void 0;
|
|
7
|
+
var _dataSources = require("@mirai/data-sources");
|
|
8
|
+
const message = function () {
|
|
9
|
+
let {
|
|
10
|
+
context,
|
|
11
|
+
input,
|
|
12
|
+
session = {}
|
|
13
|
+
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
|
+
return (0, _dataSources.request)({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
hostname: process.env.SERVICE_LISA,
|
|
17
|
+
endpoint: "/message",
|
|
18
|
+
headers: {
|
|
19
|
+
authorization: session.authorization
|
|
20
|
+
},
|
|
21
|
+
input,
|
|
22
|
+
context
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
exports.message = message;
|
|
26
|
+
//# sourceMappingURL=message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.js","names":["_dataSources","require","message","context","input","session","arguments","length","undefined","request","method","hostname","process","env","SERVICE_LISA","endpoint","headers","authorization","exports"],"sources":["../../../src/services/Lisa/message.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\n\nexport const message = ({ context, input, session = {} } = {}) =>\n request({\n method: 'POST',\n hostname: process.env.SERVICE_LISA,\n endpoint: `/message`,\n headers: { authorization: session.authorization },\n input,\n context,\n });\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,OAAO,GAAG,SAAAA,CAAA;EAAA,IAAC;IAAEC,OAAO;IAAEC,KAAK;IAAEC,OAAO,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,OAC3D,IAAAG,oBAAO,EAAC;IACNC,MAAM,EAAE,MAAM;IACdC,QAAQ,EAAEC,OAAO,CAACC,GAAG,CAACC,YAAY;IAClCC,QAAQ,YAAY;IACpBC,OAAO,EAAE;MAAEC,aAAa,EAAEZ,OAAO,CAACY;IAAc,CAAC;IACjDb,KAAK;IACLD;EACF,CAAC,CAAC;AAAA;AAACe,OAAA,CAAAhB,OAAA,GAAAA,OAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.status = void 0;
|
|
7
|
+
var _dataSources = require("@mirai/data-sources");
|
|
8
|
+
const status = () => (0, _dataSources.request)({
|
|
9
|
+
hostname: process.env.SERVICE_LISA,
|
|
10
|
+
endpoint: '/status'
|
|
11
|
+
});
|
|
12
|
+
exports.status = status;
|
|
13
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","names":["_dataSources","require","status","request","hostname","process","env","SERVICE_LISA","endpoint","exports"],"sources":["../../../src/services/Lisa/status.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\n\nexport const status = () => request({ hostname: process.env.SERVICE_LISA, endpoint: '/status' });\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,MAAM,GAAGA,CAAA,KAAM,IAAAC,oBAAO,EAAC;EAAEC,QAAQ,EAAEC,OAAO,CAACC,GAAG,CAACC,YAAY;EAAEC,QAAQ,EAAE;AAAU,CAAC,CAAC;AAACC,OAAA,CAAAP,MAAA,GAAAA,MAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.welcome = void 0;
|
|
7
|
+
var _dataSources = require("@mirai/data-sources");
|
|
8
|
+
const welcome = function () {
|
|
9
|
+
let {
|
|
10
|
+
locale,
|
|
11
|
+
session: {
|
|
12
|
+
authorization,
|
|
13
|
+
firstName: name = ''
|
|
14
|
+
} = {}
|
|
15
|
+
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
16
|
+
return (0, _dataSources.request)({
|
|
17
|
+
hostname: process.env.SERVICE_LISA,
|
|
18
|
+
endpoint: "/welcome?locale=".concat(locale, "&name=").concat(name, "&time=").concat(new Date().getHours()),
|
|
19
|
+
headers: {
|
|
20
|
+
authorization
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
exports.welcome = welcome;
|
|
25
|
+
//# sourceMappingURL=welcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"welcome.js","names":["_dataSources","require","welcome","locale","session","authorization","firstName","name","arguments","length","undefined","request","hostname","process","env","SERVICE_LISA","endpoint","concat","Date","getHours","headers","exports"],"sources":["../../../src/services/Lisa/welcome.js"],"sourcesContent":["import { request } from '@mirai/data-sources';\n\nexport const welcome = ({ locale, session: { authorization, firstName: name = '' } = {} } = {}) =>\n request({\n hostname: process.env.SERVICE_LISA,\n endpoint: `/welcome?locale=${locale}&name=${name}&time=${new Date().getHours()}`,\n headers: { authorization },\n });\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,OAAO,GAAG,SAAAA,CAAA;EAAA,IAAC;IAAEC,MAAM;IAAEC,OAAO,EAAE;MAAEC,aAAa;MAAEC,SAAS,EAAEC,IAAI,GAAG;IAAG,CAAC,GAAG,CAAC;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,OAC5F,IAAAG,oBAAO,EAAC;IACNC,QAAQ,EAAEC,OAAO,CAACC,GAAG,CAACC,YAAY;IAClCC,QAAQ,qBAAAC,MAAA,CAAqBd,MAAM,YAAAc,MAAA,CAASV,IAAI,YAAAU,MAAA,CAAS,IAAIC,IAAI,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,CAAE;IAChFC,OAAO,EAAE;MAAEf;IAAc;EAC3B,CAAC,CAAC;AAAA;AAACgB,OAAA,CAAAnB,OAAA,GAAAA,OAAA"}
|