@cleartrip/talos-trip-segment 1.1.0-TEST.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TripSegment.d.ts +4 -0
- package/dist/TripSegment.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/style.d.ts +17 -0
- package/dist/style.d.ts.map +1 -0
- package/dist/talos-trip-segment.browser.cjs.js +2 -0
- package/dist/talos-trip-segment.browser.cjs.js.map +1 -0
- package/dist/talos-trip-segment.browser.esm.js +2 -0
- package/dist/talos-trip-segment.browser.esm.js.map +1 -0
- package/dist/talos-trip-segment.cjs.js +46 -0
- package/dist/talos-trip-segment.cjs.js.map +1 -0
- package/dist/talos-trip-segment.esm.js +44 -0
- package/dist/talos-trip-segment.esm.js.map +1 -0
- package/dist/talos-trip-segment.umd.js +30208 -0
- package/dist/talos-trip-segment.umd.js.map +1 -0
- package/dist/type.d.ts +14 -0
- package/dist/type.d.ts.map +1 -0
- package/package.json +28 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TripSegment.d.ts","sourceRoot":"","sources":["../packages/components/trip-segment/src/TripSegment.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,iBAAiB,EAAwB,MAAM,QAAQ,CAAC;AAEtE,QAAA,MAAM,WAAW,uBAAoD,iBAAiB,4CAyCrF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/components/trip-segment/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,cAAc,QAAQ,CAAC"}
|
package/dist/style.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Theme } from "@cleartrip/ct-design-components";
|
|
2
|
+
export declare const getTripSegmentStyle: (theme: Theme) => {
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
flexDirection: string;
|
|
6
|
+
};
|
|
7
|
+
segmentTitle: {
|
|
8
|
+
marginBottom: "4px";
|
|
9
|
+
};
|
|
10
|
+
resetMargin: {
|
|
11
|
+
margin: "0px";
|
|
12
|
+
};
|
|
13
|
+
alignRight: {
|
|
14
|
+
alignItems: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../packages/components/trip-segment/src/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAExD,eAAO,MAAM,mBAAmB,UAAW,KAAK;;;;;;;;;;;;;;CAgB/C,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e,r=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-design-components");exports.TripSegmentAlignment=void 0,(e=exports.TripSegmentAlignment||(exports.TripSegmentAlignment={})).LEFT="left",e.RIGHT="right";exports.TripSegment=function(e){var a=e.segment,s=e.align,g=void 0===s?exports.TripSegmentAlignment.LEFT:s,o=t.useTheme(),p=i.useMemo(function(){return function(e){return{root:{display:"flex",flexDirection:"column"},segmentTitle:{marginBottom:e.spacing[1]},resetMargin:{margin:e.spacing[0]},alignRight:{alignItems:"flex-end"}}}(o)},[o]),l=i.useMemo(function(){if(g===exports.TripSegmentAlignment.RIGHT)return p.alignRight},[g]);return n.jsxs(t.Container,r.__assign({css:r.__assign(r.__assign({},p.root),l)},{children:[n.jsx(t.Typography,r.__assign({variant:t.TypographyVariant.B3,lineClamp:1,color:t.TypographyColor.DISABLED,style:r.__assign(r.__assign({},p.resetMargin),p.segmentTitle)},{children:a.name})),n.jsx(t.Typography,r.__assign({variant:t.TypographyVariant.HM2,color:t.TypographyColor.HEADING,style:p.resetMargin},{children:a.time})),n.jsx(t.Typography,r.__assign({variant:t.TypographyVariant.B3,lineClamp:1,color:t.TypographyColor.HEADING,style:p.resetMargin},{children:a.date}))]}))};
|
|
2
|
+
//# sourceMappingURL=talos-trip-segment.browser.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"talos-trip-segment.browser.cjs.js","sources":["../packages/components/trip-segment/src/type.ts","../packages/components/trip-segment/src/TripSegment.tsx","../packages/components/trip-segment/src/style.ts"],"sourcesContent":[null,null,null],"names":["TripSegmentAlignment","_a","segment","_b","align","LEFT","theme","useTheme","staticStyles","useMemo","root","display","flexDirection","segmentTitle","marginBottom","spacing","resetMargin","margin","alignRight","alignItems","getTripSegmentStyle","alignStyle","RIGHT","_jsxs","Container","__assign","css","_jsx","Typography","variant","TypographyVariant","B3","lineClamp","color","TypographyColor","DISABLED","style","children","name","HM2","HEADING","time","date"],"mappings":"iBA0BYA,oHAAAA,QAGXA,0BAAA,GAHWA,EAAAA,QAAoBA,uBAApBA,6BAGX,CAAA,IAFG,KAAA,OACAA,EAAA,MAAA,4BChBgB,SAACC,OAAEC,EAAOD,EAAAC,QAAEC,EAAiCF,EAAAG,MAAjCA,OAAQ,IAAAD,EAAAH,QAAAA,qBAAqBK,KAAIF,EACzDG,EAAQC,EAAAA,WAERC,EAAeC,UAAQ,WAAM,OCbF,SAACH,GAChC,MAAO,CACHI,KAAM,CACFC,QAAS,OACTC,cAAe,UAEnBC,aAAc,CACVC,aAAcR,EAAMS,QAAQ,IAEhCC,YAAa,CACTC,OAAQX,EAAMS,QAAQ,IAE1BG,WAAY,CACRC,WAAY,YAGxB,CDHqCC,CAAoBd,EAAM,EAAE,CAACA,IAE1De,EAAaZ,EAAAA,QAAQ,WACzB,GAAIL,IAAUJ,QAAoBA,qBAACsB,MACjC,OAAOd,EAAaU,UAGxB,EAAG,CAACd,IAEJ,OACEmB,OAACC,EAASA,UAAAC,WAAA,CACRC,IAAUD,WAAAA,EAAAA,SAAA,CAAA,EAAAjB,EAAaE,MAASW,eAEhCM,EAAAA,IAACC,EAAUA,uBACTC,QAASC,EAAAA,kBAAkBC,GAC3BC,UAAW,EACXC,MAAOC,EAAAA,gBAAgBC,SACvBC,MAAKX,EAAAA,SAAAA,WAAA,CAAA,EAAOjB,EAAaQ,aAAgBR,EAAaK,eAErD,CAAAwB,SAAAnC,EAAQoC,QAEXX,EAAAA,IAACC,EAAUA,WAAAH,EAAAA,SAAA,CACTI,QAASC,EAAiBA,kBAACS,IAC3BN,MAAOC,EAAAA,gBAAgBM,QACvBJ,MAAO5B,EAAaQ,aAAW,CAAAqB,SAE9BnC,EAAQuC,QAEXd,EAAAA,IAACC,EAAUA,WACTH,EAAAA,SAAA,CAAAI,QAASC,EAAiBA,kBAACC,GAC3BC,UAAW,EACXC,MAAOC,EAAeA,gBAACM,QACvBJ,MAAO5B,EAAaQ,aAEnB,CAAAqB,SAAAnC,EAAQwC,WAIjB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as r}from"tslib";import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useMemo as n}from"react";import{useTheme as i,Container as o,Typography as a,TypographyVariant as l,TypographyColor as c}from"@cleartrip/ct-design-components";var m;!function(r){r.LEFT="left",r.RIGHT="right"}(m||(m={}));var s=function(s){var g=s.segment,f=s.align,p=void 0===f?m.LEFT:f,u=i(),d=n(function(){return function(r){return{root:{display:"flex",flexDirection:"column"},segmentTitle:{marginBottom:r.spacing[1]},resetMargin:{margin:r.spacing[0]},alignRight:{alignItems:"flex-end"}}}(u)},[u]),h=n(function(){if(p===m.RIGHT)return d.alignRight},[p]);return t(o,r({css:r(r({},d.root),h)},{children:[e(a,r({variant:l.B3,lineClamp:1,color:c.DISABLED,style:r(r({},d.resetMargin),d.segmentTitle)},{children:g.name})),e(a,r({variant:l.HM2,color:c.HEADING,style:d.resetMargin},{children:g.time})),e(a,r({variant:l.B3,lineClamp:1,color:c.HEADING,style:d.resetMargin},{children:g.date}))]}))};export{s as TripSegment,m as TripSegmentAlignment};
|
|
2
|
+
//# sourceMappingURL=talos-trip-segment.browser.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"talos-trip-segment.browser.esm.js","sources":["../packages/components/trip-segment/src/style.ts","../packages/components/trip-segment/src/type.ts","../packages/components/trip-segment/src/TripSegment.tsx"],"sourcesContent":[null,null,null],"names":["TripSegmentAlignment","TripSegment","_a","segment","_b","align","LEFT","theme","useTheme","staticStyles","useMemo","root","display","flexDirection","segmentTitle","marginBottom","spacing","resetMargin","margin","alignRight","alignItems","getTripSegmentStyle","alignStyle","RIGHT","_jsxs","Container","__assign","css","_jsx","Typography","variant","TypographyVariant","B3","lineClamp","color","TypographyColor","DISABLED","style","children","name","HM2","HEADING","time","date"],"mappings":"yPAEO,ICwBKA,GAAZ,SAAYA,GACRA,EAAA,KAAA,OACAA,EAAA,MAAA,OACH,CAHD,CAAYA,IAAAA,EAGX,CAAA,ICjBK,IAAAC,EAAc,SAACC,OAAEC,EAAOD,EAAAC,QAAEC,EAAiCF,EAAAG,MAAjCA,OAAQ,IAAAD,EAAAJ,EAAqBM,KAAIF,EACzDG,EAAQC,IAERC,EAAeC,EAAQ,WAAM,OFbF,SAACH,GAChC,MAAO,CACHI,KAAM,CACFC,QAAS,OACTC,cAAe,UAEnBC,aAAc,CACVC,aAAcR,EAAMS,QAAQ,IAEhCC,YAAa,CACTC,OAAQX,EAAMS,QAAQ,IAE1BG,WAAY,CACRC,WAAY,YAGxB,CEHqCC,CAAoBd,EAAM,EAAE,CAACA,IAE1De,EAAaZ,EAAQ,WACzB,GAAIL,IAAUL,EAAqBuB,MACjC,OAAOd,EAAaU,UAGxB,EAAG,CAACd,IAEJ,OACEmB,EAACC,EAASC,EAAA,CACRC,IAAUD,EAAAA,EAAA,CAAA,EAAAjB,EAAaE,MAASW,eAEhCM,EAACC,KACCC,QAASC,EAAkBC,GAC3BC,UAAW,EACXC,MAAOC,EAAgBC,SACvBC,MAAKX,EAAAA,EAAA,CAAA,EAAOjB,EAAaQ,aAAgBR,EAAaK,eAErD,CAAAwB,SAAAnC,EAAQoC,QAEXX,EAACC,EAAUH,EAAA,CACTI,QAASC,EAAkBS,IAC3BN,MAAOC,EAAgBM,QACvBJ,MAAO5B,EAAaQ,aAAW,CAAAqB,SAE9BnC,EAAQuC,QAEXd,EAACC,EACCH,EAAA,CAAAI,QAASC,EAAkBC,GAC3BC,UAAW,EACXC,MAAOC,EAAgBM,QACvBJ,MAAO5B,EAAaQ,aAEnB,CAAAqB,SAAAnC,EAAQwC,WAIjB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib = require('tslib');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var react = require('react');
|
|
6
|
+
var ctDesignComponents = require('@cleartrip/ct-design-components');
|
|
7
|
+
|
|
8
|
+
var getTripSegmentStyle = function (theme) {
|
|
9
|
+
return {
|
|
10
|
+
root: {
|
|
11
|
+
display: "flex",
|
|
12
|
+
flexDirection: "column",
|
|
13
|
+
},
|
|
14
|
+
segmentTitle: {
|
|
15
|
+
marginBottom: theme.spacing[1],
|
|
16
|
+
},
|
|
17
|
+
resetMargin: {
|
|
18
|
+
margin: theme.spacing[0],
|
|
19
|
+
},
|
|
20
|
+
alignRight: {
|
|
21
|
+
alignItems: "flex-end",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.TripSegmentAlignment = void 0;
|
|
27
|
+
(function (TripSegmentAlignment) {
|
|
28
|
+
TripSegmentAlignment["LEFT"] = "left";
|
|
29
|
+
TripSegmentAlignment["RIGHT"] = "right";
|
|
30
|
+
})(exports.TripSegmentAlignment || (exports.TripSegmentAlignment = {}));
|
|
31
|
+
|
|
32
|
+
var TripSegment = function (_a) {
|
|
33
|
+
var segment = _a.segment, _b = _a.align, align = _b === void 0 ? exports.TripSegmentAlignment.LEFT : _b;
|
|
34
|
+
var theme = ctDesignComponents.useTheme();
|
|
35
|
+
var staticStyles = react.useMemo(function () { return getTripSegmentStyle(theme); }, [theme]);
|
|
36
|
+
var alignStyle = react.useMemo(function () {
|
|
37
|
+
if (align === exports.TripSegmentAlignment.RIGHT) {
|
|
38
|
+
return staticStyles.alignRight;
|
|
39
|
+
}
|
|
40
|
+
return undefined;
|
|
41
|
+
}, [align]);
|
|
42
|
+
return (jsxRuntime.jsxs(ctDesignComponents.Container, tslib.__assign({ css: tslib.__assign(tslib.__assign({}, staticStyles.root), alignStyle) }, { children: [jsxRuntime.jsx(ctDesignComponents.Typography, tslib.__assign({ variant: ctDesignComponents.TypographyVariant.B3, lineClamp: 1, color: ctDesignComponents.TypographyColor.DISABLED, style: tslib.__assign(tslib.__assign({}, staticStyles.resetMargin), staticStyles.segmentTitle) }, { children: segment.name })), jsxRuntime.jsx(ctDesignComponents.Typography, tslib.__assign({ variant: ctDesignComponents.TypographyVariant.HM2, color: ctDesignComponents.TypographyColor.HEADING, style: staticStyles.resetMargin }, { children: segment.time })), jsxRuntime.jsx(ctDesignComponents.Typography, tslib.__assign({ variant: ctDesignComponents.TypographyVariant.B3, lineClamp: 1, color: ctDesignComponents.TypographyColor.HEADING, style: staticStyles.resetMargin }, { children: segment.date }))] })));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.TripSegment = TripSegment;
|
|
46
|
+
//# sourceMappingURL=talos-trip-segment.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"talos-trip-segment.cjs.js","sources":["../packages/components/trip-segment/src/style.ts","../packages/components/trip-segment/src/type.ts","../packages/components/trip-segment/src/TripSegment.tsx"],"sourcesContent":[null,null,null],"names":["TripSegmentAlignment","useTheme","useMemo","_jsxs","Container","__assign","_jsx","Typography","TypographyVariant","TypographyColor"],"mappings":";;;;;;;AAEO,IAAM,mBAAmB,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AAK,CAAC,CAAC,CAAC;IAEZ,QACEG,gBAACC,4BAAS,EAAAC,cAAA,CAAA,EACR,GAAG,EAAOA,cAAA,CAAAA,cAAA,CAAA,EAAA,EAAA,YAAY,CAAC,IAAI,CAAK,EAAA,UAAU,kBAE1CC,cAAC,CAAAC,6BAAU,mBACT,OAAO,EAAEC,oCAAiB,CAAC,EAAE,EAC7B,SAAS,EAAE,CAAC,EACZ,KAAK,EAAEC,kCAAe,CAAC,QAAQ,EAC/B,KAAK,EAAAJ,cAAA,CAAAA,cAAA,CAAA,EAAA,EAAO,YAAY,CAAC,WAAW,CAAA,EAAK,YAAY,CAAC,YAAY,CAEjE,EAAA,EAAA,EAAA,QAAA,EAAA,OAAO,CAAC,IAAI,IACF,EACbC,cAAA,CAACC,6BAAU,EAAAF,cAAA,CAAA,EACT,OAAO,EAAEG,oCAAiB,CAAC,GAAG,EAC9B,KAAK,EAAEC,kCAAe,CAAC,OAAO,EAC9B,KAAK,EAAE,YAAY,CAAC,WAAW,EAAA,EAAA,EAAA,QAAA,EAE9B,OAAO,CAAC,IAAI,EAAA,CAAA,CACF,EACbH,cAAC,CAAAC,6BAAU,EACTF,cAAA,CAAA,EAAA,OAAO,EAAEG,oCAAiB,CAAC,EAAE,EAC7B,SAAS,EAAE,CAAC,EACZ,KAAK,EAAEC,kCAAe,CAAC,OAAO,EAC9B,KAAK,EAAE,YAAY,CAAC,WAAW,EAE9B,EAAA,EAAA,QAAA,EAAA,OAAO,CAAC,IAAI,EAAA,CAAA,CACF,CACH,EAAA,CAAA,CAAA,EACZ;AACJ;;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __assign } from 'tslib';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { useTheme, Container, Typography, TypographyVariant, TypographyColor } from '@cleartrip/ct-design-components';
|
|
5
|
+
|
|
6
|
+
var getTripSegmentStyle = function (theme) {
|
|
7
|
+
return {
|
|
8
|
+
root: {
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
},
|
|
12
|
+
segmentTitle: {
|
|
13
|
+
marginBottom: theme.spacing[1],
|
|
14
|
+
},
|
|
15
|
+
resetMargin: {
|
|
16
|
+
margin: theme.spacing[0],
|
|
17
|
+
},
|
|
18
|
+
alignRight: {
|
|
19
|
+
alignItems: "flex-end",
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
var TripSegmentAlignment;
|
|
25
|
+
(function (TripSegmentAlignment) {
|
|
26
|
+
TripSegmentAlignment["LEFT"] = "left";
|
|
27
|
+
TripSegmentAlignment["RIGHT"] = "right";
|
|
28
|
+
})(TripSegmentAlignment || (TripSegmentAlignment = {}));
|
|
29
|
+
|
|
30
|
+
var TripSegment = function (_a) {
|
|
31
|
+
var segment = _a.segment, _b = _a.align, align = _b === void 0 ? TripSegmentAlignment.LEFT : _b;
|
|
32
|
+
var theme = useTheme();
|
|
33
|
+
var staticStyles = useMemo(function () { return getTripSegmentStyle(theme); }, [theme]);
|
|
34
|
+
var alignStyle = useMemo(function () {
|
|
35
|
+
if (align === TripSegmentAlignment.RIGHT) {
|
|
36
|
+
return staticStyles.alignRight;
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
}, [align]);
|
|
40
|
+
return (jsxs(Container, __assign({ css: __assign(__assign({}, staticStyles.root), alignStyle) }, { children: [jsx(Typography, __assign({ variant: TypographyVariant.B3, lineClamp: 1, color: TypographyColor.DISABLED, style: __assign(__assign({}, staticStyles.resetMargin), staticStyles.segmentTitle) }, { children: segment.name })), jsx(Typography, __assign({ variant: TypographyVariant.HM2, color: TypographyColor.HEADING, style: staticStyles.resetMargin }, { children: segment.time })), jsx(Typography, __assign({ variant: TypographyVariant.B3, lineClamp: 1, color: TypographyColor.HEADING, style: staticStyles.resetMargin }, { children: segment.date }))] })));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export { TripSegment, TripSegmentAlignment };
|
|
44
|
+
//# sourceMappingURL=talos-trip-segment.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"talos-trip-segment.esm.js","sources":["../packages/components/trip-segment/src/style.ts","../packages/components/trip-segment/src/type.ts","../packages/components/trip-segment/src/TripSegment.tsx"],"sourcesContent":[null,null,null],"names":["_jsxs","_jsx"],"mappings":";;;;;AAEO,IAAM,mBAAmB,GAAG,UAAC,KAAY,EAAA;IAC5C,OAAO;AACH,QAAA,IAAI,EAAE;AACF,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AAC1B,SAAA;AACD,QAAA,YAAY,EAAE;AACV,YAAA,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACjC,SAAA;AACD,QAAA,WAAW,EAAE;AACT,YAAA,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC3B,SAAA;AACD,QAAA,UAAU,EAAE;AACR,YAAA,UAAU,EAAE,UAAU;AACzB,SAAA;KACJ,CAAC;AACN,CAAC;;ICQW,qBAGX;AAHD,CAAA,UAAY,oBAAoB,EAAA;AAC5B,IAAA,oBAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,oBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACnB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,GAG/B,EAAA,CAAA,CAAA;;ACjBK,IAAA,WAAW,GAAG,UAAC,EAAiE,EAAA;QAA/D,OAAO,GAAA,EAAA,CAAA,OAAA,EAAE,EAAiC,GAAA,EAAA,CAAA,KAAA,EAAjC,KAAK,GAAG,EAAA,KAAA,KAAA,CAAA,GAAA,oBAAoB,CAAC,IAAI,GAAA,EAAA,CAAA;AAC/D,IAAA,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;AAEzB,IAAA,IAAM,YAAY,GAAG,OAAO,CAAC,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