@mirai/core 0.3.171 → 0.3.173

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.
Files changed (55) hide show
  1. package/build/components/Booking/Booking.js +1 -1
  2. package/build/components/Booking/Booking.js.map +1 -1
  3. package/build/components/Booking/Booking.l10n.js +15 -0
  4. package/build/components/Booking/Booking.l10n.js.map +1 -1
  5. package/build/components/Booking/Booking.module.css +9 -0
  6. package/build/components/{__shared__/BookingTerms/BookingTerms.js → Booking/partials/Booking.Others.js} +18 -17
  7. package/build/components/Booking/partials/Booking.Others.js.map +1 -0
  8. package/build/components/{__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap → Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap} +8 -4
  9. package/build/components/Booking/partials/index.js +13 -2
  10. package/build/components/Booking/partials/index.js.map +1 -1
  11. package/build/components/Checkout/Checkout.js +5 -20
  12. package/build/components/Checkout/Checkout.js.map +1 -1
  13. package/build/components/Checkout/Checkout.module.css +0 -14
  14. package/build/components/Checkout/helpers/getFieldProps.js +1 -3
  15. package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
  16. package/build/components/Checkout/partials/Checkout.Confirmation.js +7 -11
  17. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  18. package/build/components/Checkout/partials/Checkout.Form.js +4 -23
  19. package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
  20. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +0 -492
  21. package/build/components/Profile/components/Settings/Settings.Account.js +8 -26
  22. package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
  23. package/build/components/Profile/components/Settings/Settings.module.css +0 -4
  24. package/build/components/Signup/Signup.js +6 -24
  25. package/build/components/Signup/Signup.js.map +1 -1
  26. package/build/components/Signup/Signup.module.css +0 -4
  27. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +9 -24
  28. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +0 -12
  29. package/build/components/__shared__/Payment/components/Card/Card.js +0 -4
  30. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  31. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +0 -23
  32. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +0 -2
  33. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
  34. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +0 -2
  35. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
  36. package/build/components/__shared__/Payment/helpers/index.js +0 -11
  37. package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
  38. package/build/components/__shared__/index.js +0 -22
  39. package/build/components/__shared__/index.js.map +1 -1
  40. package/package.json +1 -1
  41. package/build/components/__shared__/BookingTerms/BookingTerms.js.map +0 -1
  42. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +0 -27
  43. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +0 -1
  44. package/build/components/__shared__/BookingTerms/BookingTerms.module.css +0 -42
  45. package/build/components/__shared__/BookingTerms/index.js +0 -17
  46. package/build/components/__shared__/BookingTerms/index.js.map +0 -1
  47. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +0 -52
  48. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +0 -1
  49. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +0 -62
  50. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +0 -1
  51. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.module.css +0 -8
  52. package/build/components/__shared__/NotificationRequiredFields/index.js +0 -17
  53. package/build/components/__shared__/NotificationRequiredFields/index.js.map +0 -1
  54. package/build/components/__shared__/Payment/helpers/formatExpire.js +0 -15
  55. package/build/components/__shared__/Payment/helpers/formatExpire.js.map +0 -1
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _BookingTerms = require("./BookingTerms.jsx");
7
- Object.keys(_BookingTerms).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _BookingTerms[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _BookingTerms[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["_BookingTerms","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/__shared__/BookingTerms/index.js"],"sourcesContent":["export * from './BookingTerms.jsx';\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"}
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.NotificationRequiredFields = void 0;
7
- var _locale = require("@mirai/locale");
8
- var _ui = require("@mirai/ui");
9
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
- var _react = _interopRequireDefault(require("react"));
11
- var _NotificationRequiredFields = require("./NotificationRequiredFields.l10n");
12
- var style = _interopRequireWildcard(require("./NotificationRequiredFields.module.css"));
13
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
- const NotificationRequiredFields = _ref => {
18
- let {
19
- form = 'form',
20
- values = {},
21
- ...others
22
- } = _ref;
23
- const {
24
- isMobile
25
- } = (0, _ui.useDevice)();
26
- const {
27
- translate
28
- } = (0, _locale.useLocale)();
29
- return Object.keys(values).length ? /*#__PURE__*/_react.default.createElement(_ui.Notification, _extends({}, others, {
30
- error: true,
31
- small: isMobile,
32
- wide: true
33
- }), translate(_NotificationRequiredFields.L10N.NOTIFICATION_REQUIRED_FIELDS), /*#__PURE__*/_react.default.createElement(_ui.View, {
34
- row: true,
35
- wide: true,
36
- className: style.fields
37
- }, Object.keys(values).map(field => /*#__PURE__*/_react.default.createElement(_ui.Action, {
38
- href: "#".concat(form, "-").concat(field),
39
- inline: true,
40
- key: field,
41
- markdown: false,
42
- underlined: true,
43
- small: true
44
- }, _NotificationRequiredFields.L10N["LABEL_".concat(field.toUpperCase())] ? translate(_NotificationRequiredFields.L10N["LABEL_".concat(field.toUpperCase())]) : field)))) : null;
45
- };
46
- exports.NotificationRequiredFields = NotificationRequiredFields;
47
- NotificationRequiredFields.displayName = 'Mirai:Core:NotificationRequiredFields';
48
- NotificationRequiredFields.propTypes = {
49
- form: _propTypes.default.string,
50
- values: _propTypes.default.shape({})
51
- };
52
- //# sourceMappingURL=NotificationRequiredFields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NotificationRequiredFields.js","names":["_locale","require","_ui","_propTypes","_interopRequireDefault","_react","_NotificationRequiredFields","style","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","_extends","assign","bind","target","arguments","length","source","key","apply","NotificationRequiredFields","_ref","form","values","others","isMobile","useDevice","translate","useLocale","keys","createElement","Notification","error","small","wide","L10N","NOTIFICATION_REQUIRED_FIELDS","View","row","className","fields","map","field","Action","href","concat","inline","markdown","underlined","toUpperCase","exports","displayName","propTypes","PropTypes","string","shape"],"sources":["../../../../src/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Action, Notification, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { L10N } from './NotificationRequiredFields.l10n';\nimport * as style from './NotificationRequiredFields.module.css';\n\nconst NotificationRequiredFields = ({ form = 'form', values = {}, ...others }) => {\n const { isMobile } = useDevice();\n const { translate } = useLocale();\n\n return Object.keys(values).length ? (\n <Notification {...others} error small={isMobile} wide>\n {translate(L10N.NOTIFICATION_REQUIRED_FIELDS)}\n <View row wide className={style.fields}>\n {Object.keys(values).map((field) => (\n <Action href={`#${form}-${field}`} inline key={field} markdown={false} underlined small>\n {L10N[`LABEL_${field.toUpperCase()}`] ? translate(L10N[`LABEL_${field.toUpperCase()}`]) : field}\n </Action>\n ))}\n </View>\n </Notification>\n ) : null;\n};\n\nNotificationRequiredFields.displayName = 'Mirai:Core:NotificationRequiredFields';\n\nNotificationRequiredFields.propTypes = {\n form: PropTypes.string,\n values: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gCAAI,CAACC,4BAA4B,CAAC,eAC7CnD,MAAA,CAAAU,OAAA,CAAAmC,aAAA,CAAChD,GAAA,CAAAuD,IAAI;IAACC,GAAG;IAACJ,IAAI;IAACK,SAAS,EAAEpD,KAAK,CAACqD;EAAO,GACpCvC,MAAM,CAAC4B,IAAI,CAACN,MAAM,CAAC,CAACkB,GAAG,CAAEC,KAAK,iBAC7BzD,MAAA,CAAAU,OAAA,CAAAmC,aAAA,CAAChD,GAAA,CAAA6D,MAAM;IAACC,IAAI,MAAAC,MAAA,CAAMvB,IAAI,OAAAuB,MAAA,CAAIH,KAAK,CAAG;IAACI,MAAM;IAAC5B,GAAG,EAAEwB,KAAM;IAACK,QAAQ,EAAE,KAAM;IAACC,UAAU;IAACf,KAAK;EAAA,GACpFE,gCAAI,UAAAU,MAAA,CAAUH,KAAK,CAACO,WAAW,CAAC,CAAC,EAAG,GAAGtB,SAAS,CAACQ,gCAAI,UAAAU,MAAA,CAAUH,KAAK,CAACO,WAAW,CAAC,CAAC,EAAG,CAAC,GAAGP,KACpF,CACT,CACG,CACM,CAAC,GACb,IAAI;AACV,CAAC;AAACQ,OAAA,CAAA9B,0BAAA,GAAAA,0BAAA;AAEFA,0BAA0B,CAAC+B,WAAW,GAAG,uCAAuC;AAEhF/B,0BAA0B,CAACgC,SAAS,GAAG;EACrC9B,IAAI,EAAE+B,kBAAS,CAACC,MAAM;EACtB/B,MAAM,EAAE8B,kBAAS,CAACE,KAAK,CAAC,CAAC,CAAC;AAC5B,CAAC"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.L10N = void 0;
7
- const L10N = exports.L10N = {
8
- LABEL_CARD: {
9
- id: 'payments.label.card_number'
10
- },
11
- LABEL_COUNTRY: {
12
- id: 'common.label.country'
13
- },
14
- LABEL_CVV: {
15
- id: 'payments.label.cvv'
16
- },
17
- LABEL_DATEOFBIRTH: {
18
- id: 'user.label.date_of_birth',
19
- defaultMessage: ' '
20
- },
21
- LABEL_DNI: {
22
- id: 'common.label.id_card'
23
- },
24
- LABEL_EMAIL: {
25
- id: 'common.label.email'
26
- },
27
- LABEL_EXPIRE: {
28
- id: 'payments.label.expiration'
29
- },
30
- LABEL_FIRSTNAME: {
31
- id: 'common.label.firstname'
32
- },
33
- LABEL_JOINCLUB: {
34
- id: 'common.label.member_conditions'
35
- },
36
- LABEL_LASTNAME: {
37
- id: 'common.label.lastname'
38
- },
39
- LABEL_NAME: {
40
- id: 'payments.label.card_name'
41
- },
42
- LABEL_PASSWORD: {
43
- id: 'common.label.password',
44
- defaultMessage: ' '
45
- },
46
- LABEL_PHONE: {
47
- id: 'common.label.phone'
48
- },
49
- LABEL_PRIVACY: {
50
- id: 'common.label.privacy_policy'
51
- },
52
- LABEL_PRIVACYPOLICY: {
53
- id: 'common.label.privacy_policy'
54
- },
55
- LABEL_SECONDLASTNAME: {
56
- id: 'common.label.second_lastname'
57
- },
58
- NOTIFICATION_REQUIRED_FIELDS: {
59
- id: 'user.notification.required_fields'
60
- }
61
- };
62
- //# sourceMappingURL=NotificationRequiredFields.l10n.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NotificationRequiredFields.l10n.js","names":["L10N","exports","LABEL_CARD","id","LABEL_COUNTRY","LABEL_CVV","LABEL_DATEOFBIRTH","defaultMessage","LABEL_DNI","LABEL_EMAIL","LABEL_EXPIRE","LABEL_FIRSTNAME","LABEL_JOINCLUB","LABEL_LASTNAME","LABEL_NAME","LABEL_PASSWORD","LABEL_PHONE","LABEL_PRIVACY","LABEL_PRIVACYPOLICY","LABEL_SECONDLASTNAME","NOTIFICATION_REQUIRED_FIELDS"],"sources":["../../../../src/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js"],"sourcesContent":["export const L10N = {\n LABEL_CARD: { id: 'payments.label.card_number' },\n LABEL_COUNTRY: { id: 'common.label.country' },\n LABEL_CVV: { id: 'payments.label.cvv' },\n LABEL_DATEOFBIRTH: { id: 'user.label.date_of_birth', defaultMessage: ' ' },\n LABEL_DNI: { id: 'common.label.id_card' },\n LABEL_EMAIL: { id: 'common.label.email' },\n LABEL_EXPIRE: { id: 'payments.label.expiration' },\n LABEL_FIRSTNAME: { id: 'common.label.firstname' },\n LABEL_JOINCLUB: { id: 'common.label.member_conditions' },\n LABEL_LASTNAME: { id: 'common.label.lastname' },\n LABEL_NAME: { id: 'payments.label.card_name' },\n LABEL_PASSWORD: { id: 'common.label.password', defaultMessage: ' ' },\n LABEL_PHONE: { id: 'common.label.phone' },\n LABEL_PRIVACY: { id: 'common.label.privacy_policy' },\n LABEL_PRIVACYPOLICY: { id: 'common.label.privacy_policy' },\n LABEL_SECONDLASTNAME: { id: 'common.label.second_lastname' },\n\n NOTIFICATION_REQUIRED_FIELDS: { id: 'user.notification.required_fields' },\n};\n"],"mappings":";;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,UAAU,EAAE;IAAEC,EAAE,EAAE;EAA6B,CAAC;EAChDC,aAAa,EAAE;IAAED,EAAE,EAAE;EAAuB,CAAC;EAC7CE,SAAS,EAAE;IAAEF,EAAE,EAAE;EAAqB,CAAC;EACvCG,iBAAiB,EAAE;IAAEH,EAAE,EAAE,0BAA0B;IAAEI,cAAc,EAAE;EAAI,CAAC;EAC1EC,SAAS,EAAE;IAAEL,EAAE,EAAE;EAAuB,CAAC;EACzCM,WAAW,EAAE;IAAEN,EAAE,EAAE;EAAqB,CAAC;EACzCO,YAAY,EAAE;IAAEP,EAAE,EAAE;EAA4B,CAAC;EACjDQ,eAAe,EAAE;IAAER,EAAE,EAAE;EAAyB,CAAC;EACjDS,cAAc,EAAE;IAAET,EAAE,EAAE;EAAiC,CAAC;EACxDU,cAAc,EAAE;IAAEV,EAAE,EAAE;EAAwB,CAAC;EAC/CW,UAAU,EAAE;IAAEX,EAAE,EAAE;EAA2B,CAAC;EAC9CY,cAAc,EAAE;IAAEZ,EAAE,EAAE,uBAAuB;IAAEI,cAAc,EAAE;EAAI,CAAC;EACpES,WAAW,EAAE;IAAEb,EAAE,EAAE;EAAqB,CAAC;EACzCc,aAAa,EAAE;IAAEd,EAAE,EAAE;EAA8B,CAAC;EACpDe,mBAAmB,EAAE;IAAEf,EAAE,EAAE;EAA8B,CAAC;EAC1DgB,oBAAoB,EAAE;IAAEhB,EAAE,EAAE;EAA+B,CAAC;EAE5DiB,4BAA4B,EAAE;IAAEjB,EAAE,EAAE;EAAoC;AAC1E,CAAC"}
@@ -1,8 +0,0 @@
1
- .fields {
2
- flex-wrap: wrap;
3
- }
4
-
5
- .fields > * {
6
- margin-right: var(--mirai-ui-space-S);
7
- margin-top: calc(var(--mirai-ui-space-XS) / 2);
8
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _NotificationRequiredFields = require("./NotificationRequiredFields");
7
- Object.keys(_NotificationRequiredFields).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _NotificationRequiredFields[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _NotificationRequiredFields[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["_NotificationRequiredFields","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../src/components/__shared__/NotificationRequiredFields/index.js"],"sourcesContent":["export * from './NotificationRequiredFields';\n"],"mappings":";;;;;AAAA,IAAAA,2BAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,2BAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,2BAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,2BAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}