@tamagui/list-item 1.0.1-beta.77 → 1.0.1-beta.80
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/jsx/ListItem.js +1 -0
- package/dist/jsx/ListItem.js.map +7 -0
- package/dist/jsx/index.js +1 -0
- package/dist/jsx/index.js.map +7 -0
- package/package.json +5 -5
- package/types/ListItem.d.ts +16 -48
- package/types/ListItem.d.ts.map +1 -1
package/dist/jsx/ListItem.js
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ListItem.tsx"],
|
|
4
|
+
"sourcesContent": ["import {\n FontSizeTokens,\n GetProps,\n ReactComponentWithRef,\n Spacer,\n ThemeableProps,\n getSize,\n getVariableValue,\n styled,\n themeable,\n withStaticProperties,\n} from '@tamagui/core'\nimport { getFontSize } from '@tamagui/font-size'\nimport {\n TextParentStyles,\n useGetThemedIcon,\n wrapStringChildrenInText,\n} from '@tamagui/helpers-tamagui'\nimport { ThemeableStack, YStack } from '@tamagui/stacks'\nimport { SizableText } from '@tamagui/text'\nimport React, { FunctionComponent, forwardRef } from 'react'\nimport { View } from 'react-native'\n\n// bugfix esbuild strips react jsx: 'preserve'\nReact['createElement']\n\ntype ListItemIconProps = { color?: string; size?: number }\ntype IconProp = JSX.Element | FunctionComponent<ListItemIconProps> | null\n\nexport type ListItemProps = Omit<TextParentStyles, 'TextComponent'> &\n GetProps<typeof ListItemFrame> &\n ThemeableProps & {\n // add icon before, passes color and size automatically if Component\n icon?: IconProp\n // add icon after, passes color and size automatically if Component\n iconAfter?: IconProp\n // adjust icon relative to size\n // default: -1\n scaleIcon?: number\n // make the spacing elements flex\n spaceFlex?: number | boolean\n // adjust internal space relative to icon size\n scaleSpace?: number\n // title\n title?: React.ReactNode\n // subtitle\n subTitle?: React.ReactNode\n }\n\nexport const ListItemFrame = styled(ThemeableStack, {\n name: 'ListItem',\n tag: 'li',\n alignItems: 'center',\n flexWrap: 'nowrap',\n width: '100%',\n borderColor: '$borderColor',\n maxWidth: '100%',\n overflow: 'hidden',\n flexDirection: 'row',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n minHeight: tokens.size[val],\n paddingHorizontal: tokens.space[val],\n }\n },\n },\n\n active: {\n true: {\n hoverStyle: {\n backgroundColor: '$background',\n },\n },\n },\n\n disabled: {\n true: {\n opacity: 0.5,\n // TODO breaking types\n pointerEvents: 'none' as any,\n },\n },\n },\n\n defaultVariants: {\n size: '$4',\n },\n})\n\nexport const ListItemText = styled(SizableText, {\n color: '$color',\n selectable: false,\n flexGrow: 1,\n flexShrink: 1,\n ellipse: true,\n})\n\nexport const ListItemSubtitle = styled(ListItemText, {\n color: '$colorPress',\n marginTop: '$-2',\n opacity: 0.65,\n size: '$3',\n})\n\nconst ListItemComponent = forwardRef((props: ListItemProps, ref) => {\n // careful not to desctructure and re-order props, order is important\n const {\n children,\n icon,\n iconAfter,\n noTextWrap,\n theme: themeName,\n space,\n spaceFlex,\n scaleIcon = 1,\n scaleSpace = 1,\n subTitle,\n\n // text props\n color,\n fontWeight,\n letterSpacing,\n fontSize,\n fontFamily,\n textAlign,\n textProps,\n title,\n ...rest\n } = props as ListItemProps\n\n const size = props.size || '$4'\n const subtitleSizeToken = getSize(size, -3)\n const subtitleSize = `$${subtitleSizeToken.key}` as FontSizeTokens\n const iconSize = getFontSize(size) * scaleIcon\n const getThemedIcon = useGetThemedIcon({ size: iconSize, color })\n const [themedIcon, themedIconAfter] = [icon, iconAfter].map(getThemedIcon)\n const spaceSize = getVariableValue(iconSize) * scaleSpace\n const contents = wrapStringChildrenInText(ListItemText, props)\n\n return (\n <ListItemFrame fontFamily={fontFamily} ref={ref as any} {...rest}>\n {themedIcon ? (\n <>\n {themedIcon}\n <Spacer size={spaceSize} />\n </>\n ) : null}\n {/* helper for common title/subtitle pttern */}\n {Boolean(title || subTitle) ? (\n <YStack flex={1}>\n <ListItemText>{title}</ListItemText>\n {subTitle ? (\n typeof subTitle === 'string' ? (\n // TODO can use theme but we need to standardize to alt themes\n // or standardize on subtle colors in themes\n <ListItemSubtitle size={subtitleSize}>{subTitle}</ListItemSubtitle>\n ) : (\n subTitle\n )\n ) : null}\n {contents}\n </YStack>\n ) : (\n contents\n )}\n {themedIconAfter ? (\n <>\n <Spacer flex size={spaceSize} />\n {themedIconAfter}\n </>\n ) : null}\n </ListItemFrame>\n )\n})\n\nconst ListItemInner: ReactComponentWithRef<ListItemProps, HTMLLIElement | View> =\n ListItemFrame.extractable(themeable(ListItemComponent as any) as any, {\n inlineProps: new Set([\n // text props go here (can't really optimize them, but we never fully extract listItem anyway)\n 'color',\n 'fontWeight',\n 'fontSize',\n 'fontFamily',\n 'letterSpacing',\n 'textAlign',\n ]),\n })\n\nexport const ListItem = withStaticProperties(ListItemInner, {\n Text: ListItemText,\n Subtitle: ListItemSubtitle,\n})\n"],
|
|
5
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYA;AACA;AAAA;AAAA;AAAA;AAKA;AACA;AACA;AAIA,MAAM;AAyBC,MAAM,gBAAgB,OAAO,gBAAgB;AAAA,EAClD,MAAM;AAAA,EACN,KAAK;AAAA,EACL,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,OAAO;AAAA,EACP,aAAa;AAAA,EACb,UAAU;AAAA,EACV,UAAU;AAAA,EACV,eAAe;AAAA,EAEf,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,aAAa;AAC9B,eAAO;AAAA,UACL,WAAW,OAAO,KAAK;AAAA,UACvB,mBAAmB,OAAO,MAAM;AAAA,QAClC;AAAA,MACF;AAAA,IACF;AAAA,IAEA,QAAQ;AAAA,MACN,MAAM;AAAA,QACJ,YAAY;AAAA,UACV,iBAAiB;AAAA,QACnB;AAAA,MACF;AAAA,IACF;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,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;AAAA,OACA,WACC,OAAO,aAAa,WAGlB,CAAC,iBAAiB,MAAM,eAAe,SAAS,EAA/C,oBAED,WAEA;AAAA,OACH;AAAA,IACH,EAZC,UAcD;AAAA,KAED,kBACC;AAAA,MACE,CAAC,OAAO,KAAK,MAAM,WAAW;AAAA,OAC7B;AAAA,IACH,MACE;AAAA,EACN,EA/BC;AAiCL,CAAC;AAED,MAAM,gBACJ,cAAc,YAAY,UAAU,iBAAwB,GAAU;AAAA,EACpE,aAAa,oBAAI,IAAI;AAAA,IAEnB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACH,CAAC;AAEI,MAAM,WAAW,qBAAqB,eAAe;AAAA,EAC1D,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/jsx/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/list-item",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.80",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"watch": "tamagui-build --watch"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
23
|
-
"@tamagui/font-size": "^1.0.1-beta.
|
|
24
|
-
"@tamagui/helpers-tamagui": "^1.0.1-beta.
|
|
22
|
+
"@tamagui/core": "^1.0.1-beta.80",
|
|
23
|
+
"@tamagui/font-size": "^1.0.1-beta.80",
|
|
24
|
+
"@tamagui/helpers-tamagui": "^1.0.1-beta.80"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
31
|
+
"@tamagui/build": "^1.0.1-beta.80",
|
|
32
32
|
"react": "*",
|
|
33
33
|
"react-dom": "*"
|
|
34
34
|
},
|
package/types/ListItem.d.ts
CHANGED
|
@@ -117,9 +117,7 @@ export declare const ListItemText: import("@tamagui/core").TamaguiComponent<(Omi
|
|
|
117
117
|
[x: string]: undefined;
|
|
118
118
|
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
119
119
|
size?: FontSizeTokens | undefined;
|
|
120
|
-
}
|
|
121
|
-
size?: FontSizeTokens | undefined;
|
|
122
|
-
} & {
|
|
120
|
+
} & ({} | {
|
|
123
121
|
[x: string]: undefined;
|
|
124
122
|
})>;
|
|
125
123
|
export declare const ListItemSubtitle: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
@@ -142,57 +140,43 @@ export declare const ListItemSubtitle: import("@tamagui/core").TamaguiComponent<
|
|
|
142
140
|
[x: string]: undefined;
|
|
143
141
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
144
142
|
size?: FontSizeTokens | undefined;
|
|
145
|
-
}
|
|
146
|
-
size?: FontSizeTokens | undefined;
|
|
147
|
-
} & {
|
|
143
|
+
} & ({} | {
|
|
148
144
|
[x: string]: undefined;
|
|
149
145
|
}), string | number> & {
|
|
150
146
|
[x: string]: undefined;
|
|
151
147
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
152
148
|
size?: FontSizeTokens | undefined;
|
|
153
|
-
}
|
|
154
|
-
size?: FontSizeTokens | undefined;
|
|
155
|
-
} & {
|
|
149
|
+
} & ({} | {
|
|
156
150
|
[x: string]: undefined;
|
|
157
151
|
}), string | number> & {
|
|
158
152
|
[x: string]: undefined;
|
|
159
153
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
160
154
|
size?: FontSizeTokens | undefined;
|
|
161
|
-
}
|
|
162
|
-
size?: FontSizeTokens | undefined;
|
|
163
|
-
} & {
|
|
155
|
+
} & ({} | {
|
|
164
156
|
[x: string]: undefined;
|
|
165
157
|
}), string | number> & {
|
|
166
158
|
[x: string]: undefined;
|
|
167
159
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
168
160
|
size?: FontSizeTokens | undefined;
|
|
169
|
-
}
|
|
170
|
-
size?: FontSizeTokens | undefined;
|
|
171
|
-
} & {
|
|
161
|
+
} & ({} | {
|
|
172
162
|
[x: string]: undefined;
|
|
173
163
|
}), string | number> & {
|
|
174
164
|
[x: string]: undefined;
|
|
175
165
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
176
166
|
size?: FontSizeTokens | undefined;
|
|
177
|
-
}
|
|
178
|
-
size?: FontSizeTokens | undefined;
|
|
179
|
-
} & {
|
|
167
|
+
} & ({} | {
|
|
180
168
|
[x: string]: undefined;
|
|
181
169
|
}), string | number> & {
|
|
182
170
|
[x: string]: undefined;
|
|
183
171
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
184
172
|
size?: FontSizeTokens | undefined;
|
|
185
|
-
}
|
|
186
|
-
size?: FontSizeTokens | undefined;
|
|
187
|
-
} & {
|
|
173
|
+
} & ({} | {
|
|
188
174
|
[x: string]: undefined;
|
|
189
175
|
}), string | number> & {
|
|
190
176
|
[x: string]: undefined;
|
|
191
177
|
}>>), any, import("@tamagui/core").TextPropsBase, ({
|
|
192
178
|
size?: FontSizeTokens | undefined;
|
|
193
|
-
}
|
|
194
|
-
size?: FontSizeTokens | undefined;
|
|
195
|
-
} & {
|
|
179
|
+
} & ({} | {
|
|
196
180
|
[x: string]: undefined;
|
|
197
181
|
})) & ({} | {
|
|
198
182
|
[x: string]: undefined;
|
|
@@ -220,9 +204,7 @@ export declare const ListItem: ReactComponentWithRef<ListItemProps, View | HTMLL
|
|
|
220
204
|
[x: string]: undefined;
|
|
221
205
|
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
222
206
|
size?: FontSizeTokens | undefined;
|
|
223
|
-
}
|
|
224
|
-
size?: FontSizeTokens | undefined;
|
|
225
|
-
} & {
|
|
207
|
+
} & ({} | {
|
|
226
208
|
[x: string]: undefined;
|
|
227
209
|
})>;
|
|
228
210
|
Subtitle: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
@@ -245,57 +227,43 @@ export declare const ListItem: ReactComponentWithRef<ListItemProps, View | HTMLL
|
|
|
245
227
|
[x: string]: undefined;
|
|
246
228
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
247
229
|
size?: FontSizeTokens | undefined;
|
|
248
|
-
}
|
|
249
|
-
size?: FontSizeTokens | undefined;
|
|
250
|
-
} & {
|
|
230
|
+
} & ({} | {
|
|
251
231
|
[x: string]: undefined;
|
|
252
232
|
}), string | number> & {
|
|
253
233
|
[x: string]: undefined;
|
|
254
234
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
255
235
|
size?: FontSizeTokens | undefined;
|
|
256
|
-
}
|
|
257
|
-
size?: FontSizeTokens | undefined;
|
|
258
|
-
} & {
|
|
236
|
+
} & ({} | {
|
|
259
237
|
[x: string]: undefined;
|
|
260
238
|
}), string | number> & {
|
|
261
239
|
[x: string]: undefined;
|
|
262
240
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
263
241
|
size?: FontSizeTokens | undefined;
|
|
264
|
-
}
|
|
265
|
-
size?: FontSizeTokens | undefined;
|
|
266
|
-
} & {
|
|
242
|
+
} & ({} | {
|
|
267
243
|
[x: string]: undefined;
|
|
268
244
|
}), string | number> & {
|
|
269
245
|
[x: string]: undefined;
|
|
270
246
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
271
247
|
size?: FontSizeTokens | undefined;
|
|
272
|
-
}
|
|
273
|
-
size?: FontSizeTokens | undefined;
|
|
274
|
-
} & {
|
|
248
|
+
} & ({} | {
|
|
275
249
|
[x: string]: undefined;
|
|
276
250
|
}), string | number> & {
|
|
277
251
|
[x: string]: undefined;
|
|
278
252
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
279
253
|
size?: FontSizeTokens | undefined;
|
|
280
|
-
}
|
|
281
|
-
size?: FontSizeTokens | undefined;
|
|
282
|
-
} & {
|
|
254
|
+
} & ({} | {
|
|
283
255
|
[x: string]: undefined;
|
|
284
256
|
}), string | number> & {
|
|
285
257
|
[x: string]: undefined;
|
|
286
258
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
287
259
|
size?: FontSizeTokens | undefined;
|
|
288
|
-
}
|
|
289
|
-
size?: FontSizeTokens | undefined;
|
|
290
|
-
} & {
|
|
260
|
+
} & ({} | {
|
|
291
261
|
[x: string]: undefined;
|
|
292
262
|
}), string | number> & {
|
|
293
263
|
[x: string]: undefined;
|
|
294
264
|
}>>), any, import("@tamagui/core").TextPropsBase, ({
|
|
295
265
|
size?: FontSizeTokens | undefined;
|
|
296
|
-
}
|
|
297
|
-
size?: FontSizeTokens | undefined;
|
|
298
|
-
} & {
|
|
266
|
+
} & ({} | {
|
|
299
267
|
[x: string]: undefined;
|
|
300
268
|
})) & ({} | {
|
|
301
269
|
[x: string]: undefined;
|
package/types/ListItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../src/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,qBAAqB,EAErB,cAAc,EAMf,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,gBAAgB,EAGjB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAA;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAKnC,aAAK,iBAAiB,GAAG;IAAE,KA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