@tamagui/themes 1.36.5 → 1.37.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/cjs/componentThemeDefinitions.js +5 -5
- package/dist/cjs/componentThemeDefinitions.js.map +1 -1
- package/dist/cjs/generated-new.js +458 -67
- package/dist/cjs/generated-new.js.map +1 -1
- package/dist/cjs/masks.js +1 -1
- package/dist/cjs/masks.js.map +1 -1
- package/dist/cjs/themes-new-example.js +325 -0
- package/dist/cjs/themes-new-example.js.map +6 -0
- package/dist/esm/componentThemeDefinitions.js +5 -5
- package/dist/esm/componentThemeDefinitions.js.map +1 -1
- package/dist/esm/generated-new.js +458 -67
- package/dist/esm/generated-new.js.map +1 -1
- package/dist/esm/masks.js +1 -1
- package/dist/esm/masks.js.map +1 -1
- package/dist/esm/themes-new-example.js +309 -0
- package/dist/esm/themes-new-example.js.map +6 -0
- package/package.json +6 -6
- package/src/componentThemeDefinitions.tsx +6 -6
- package/src/generated-new.ts +458 -69
- package/src/generated-new.ts.theme-builder.json +1 -1
- package/src/masks.tsx +1 -1
- package/types/componentThemeDefinitions.d.ts +25 -8
- package/types/componentThemeDefinitions.d.ts.map +1 -0
- package/types/generate.d.ts.map +1 -0
- package/types/generated-new.d.ts +39 -39
- package/types/generated-new.d.ts.map +1 -0
- package/types/helpers.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/masks.d.ts.map +1 -0
- package/types/palettes.d.ts.map +1 -0
- package/types/shadows.d.ts.map +1 -0
- package/types/templates.d.ts +3 -0
- package/types/templates.d.ts.map +1 -0
- package/types/themes-new-example.d.ts.map +1 -0
- package/types/themes-new.d.ts +448 -448
- package/types/themes-new.d.ts.map +1 -0
- package/types/themes-old.d.ts +504 -504
- package/types/themes-old.d.ts.map +1 -0
- package/types/themes.d.ts.map +1 -0
- package/types/themes.outlined.d.ts.map +1 -0
- package/types/tokens.d.ts.map +1 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var themes_new_example_exports = {};
|
|
20
|
+
__export(themes_new_example_exports, {
|
|
21
|
+
themes: () => themes
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(themes_new_example_exports);
|
|
24
|
+
var import_theme_builder = require("@tamagui/theme-builder");
|
|
25
|
+
const colorThemeDefinition = (colorName) => [
|
|
26
|
+
{
|
|
27
|
+
parent: "light",
|
|
28
|
+
palette: colorName,
|
|
29
|
+
template: "colorLight"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
parent: "dark",
|
|
33
|
+
palette: colorName,
|
|
34
|
+
template: "base"
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
const palettes = {
|
|
38
|
+
light: [
|
|
39
|
+
"#fff",
|
|
40
|
+
"#f9f9f9",
|
|
41
|
+
"hsl(0, 0%, 97.3%)",
|
|
42
|
+
"hsl(0, 0%, 95.1%)",
|
|
43
|
+
"hsl(0, 0%, 94.0%)",
|
|
44
|
+
"hsl(0, 0%, 92.0%)",
|
|
45
|
+
"hsl(0, 0%, 89.5%)",
|
|
46
|
+
"hsl(0, 0%, 81.0%)",
|
|
47
|
+
"hsl(0, 0%, 56.1%)",
|
|
48
|
+
"hsl(0, 0%, 50.3%)",
|
|
49
|
+
"hsl(0, 0%, 42.5%)",
|
|
50
|
+
"hsl(0, 0%, 9.0%)"
|
|
51
|
+
],
|
|
52
|
+
dark: [
|
|
53
|
+
"#050505",
|
|
54
|
+
"#151515",
|
|
55
|
+
"#191919",
|
|
56
|
+
"#232323",
|
|
57
|
+
"#282828",
|
|
58
|
+
"#323232",
|
|
59
|
+
"#424242",
|
|
60
|
+
"#494949",
|
|
61
|
+
"#545454",
|
|
62
|
+
"#626262",
|
|
63
|
+
"#a5a5a5",
|
|
64
|
+
"#fff"
|
|
65
|
+
]
|
|
66
|
+
};
|
|
67
|
+
const { templates, maskOptions } = (() => {
|
|
68
|
+
const templateColors = {
|
|
69
|
+
color1: 1,
|
|
70
|
+
color2: 2,
|
|
71
|
+
color3: 3,
|
|
72
|
+
color4: 4,
|
|
73
|
+
color5: 5,
|
|
74
|
+
color6: 6,
|
|
75
|
+
color7: 7,
|
|
76
|
+
color8: 8,
|
|
77
|
+
color9: 9,
|
|
78
|
+
color10: 10,
|
|
79
|
+
color11: 11,
|
|
80
|
+
color12: 12
|
|
81
|
+
};
|
|
82
|
+
const template = {
|
|
83
|
+
...templateColors,
|
|
84
|
+
background: 2,
|
|
85
|
+
backgroundHover: 3,
|
|
86
|
+
backgroundPress: 4,
|
|
87
|
+
backgroundFocus: 5,
|
|
88
|
+
backgroundStrong: 1,
|
|
89
|
+
backgroundTransparent: 0,
|
|
90
|
+
color: -1,
|
|
91
|
+
colorHover: -2,
|
|
92
|
+
colorPress: -1,
|
|
93
|
+
colorFocus: -2,
|
|
94
|
+
colorTransparent: -0,
|
|
95
|
+
borderColor: 5,
|
|
96
|
+
borderColorHover: 6,
|
|
97
|
+
borderColorFocus: 4,
|
|
98
|
+
borderColorPress: 5,
|
|
99
|
+
placeholderColor: -4
|
|
100
|
+
};
|
|
101
|
+
const templates2 = {
|
|
102
|
+
base: template
|
|
103
|
+
};
|
|
104
|
+
const overrideShadows = {
|
|
105
|
+
shadowColor: 0,
|
|
106
|
+
shadowColorHover: 0,
|
|
107
|
+
shadowColorPress: 0,
|
|
108
|
+
shadowColorFocus: 0
|
|
109
|
+
};
|
|
110
|
+
const baseMaskOptions = {
|
|
111
|
+
override: overrideShadows,
|
|
112
|
+
skip: overrideShadows
|
|
113
|
+
};
|
|
114
|
+
const skipShadowsAndColors = {
|
|
115
|
+
...overrideShadows,
|
|
116
|
+
...templateColors
|
|
117
|
+
};
|
|
118
|
+
const maskOptions2 = {
|
|
119
|
+
component: {
|
|
120
|
+
...baseMaskOptions,
|
|
121
|
+
skip: skipShadowsAndColors
|
|
122
|
+
},
|
|
123
|
+
alt: {
|
|
124
|
+
...baseMaskOptions
|
|
125
|
+
},
|
|
126
|
+
button: {
|
|
127
|
+
...baseMaskOptions,
|
|
128
|
+
override: {
|
|
129
|
+
borderColor: "transparent",
|
|
130
|
+
borderColorHover: "transparent"
|
|
131
|
+
},
|
|
132
|
+
skip: skipShadowsAndColors
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
return {
|
|
136
|
+
templates: templates2,
|
|
137
|
+
maskOptions: maskOptions2
|
|
138
|
+
};
|
|
139
|
+
})();
|
|
140
|
+
const masks = {
|
|
141
|
+
identity: (0, import_theme_builder.createIdentityMask)(),
|
|
142
|
+
soften: (0, import_theme_builder.createSoftenMask)(),
|
|
143
|
+
soften2: (0, import_theme_builder.createSoftenMask)({ strength: 2 }),
|
|
144
|
+
strengthen: (0, import_theme_builder.createStrengthenMask)(),
|
|
145
|
+
inverse: (0, import_theme_builder.createInverseMask)(),
|
|
146
|
+
inverseSoften: (0, import_theme_builder.combineMasks)((0, import_theme_builder.createInverseMask)(), (0, import_theme_builder.createSoftenMask)()),
|
|
147
|
+
inverseStrengthen2: (0, import_theme_builder.combineMasks)(
|
|
148
|
+
(0, import_theme_builder.createInverseMask)(),
|
|
149
|
+
(0, import_theme_builder.createStrengthenMask)({ strength: 2 })
|
|
150
|
+
),
|
|
151
|
+
strengthenButSoftenBorder: (0, import_theme_builder.createMask)((template, options) => {
|
|
152
|
+
const stronger = (0, import_theme_builder.createStrengthenMask)().mask(template, options);
|
|
153
|
+
const softer = (0, import_theme_builder.createSoftenMask)().mask(template, options);
|
|
154
|
+
return {
|
|
155
|
+
...stronger,
|
|
156
|
+
borderColor: softer.borderColor,
|
|
157
|
+
borderColorHover: softer.borderColorHover,
|
|
158
|
+
borderColorPress: softer.borderColorPress,
|
|
159
|
+
borderColorFocus: softer.borderColorFocus
|
|
160
|
+
};
|
|
161
|
+
})
|
|
162
|
+
};
|
|
163
|
+
const overlayThemes = {
|
|
164
|
+
light: {
|
|
165
|
+
background: "rgba(0,0,0,0.5)"
|
|
166
|
+
},
|
|
167
|
+
dark: {
|
|
168
|
+
background: "rgba(0,0,0,0.9)"
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const overlayThemeDefinitions = [
|
|
172
|
+
{
|
|
173
|
+
parent: "light",
|
|
174
|
+
theme: overlayThemes.light
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
parent: "dark",
|
|
178
|
+
theme: overlayThemes.dark
|
|
179
|
+
}
|
|
180
|
+
];
|
|
181
|
+
const componentThemeDefinitions = {
|
|
182
|
+
ListItem: [
|
|
183
|
+
{
|
|
184
|
+
parent: "light",
|
|
185
|
+
mask: "strengthen",
|
|
186
|
+
...maskOptions.component
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
parent: "dark",
|
|
190
|
+
mask: "identity",
|
|
191
|
+
...maskOptions.component
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
Card: {
|
|
195
|
+
mask: "soften",
|
|
196
|
+
...maskOptions.component
|
|
197
|
+
},
|
|
198
|
+
Button: {
|
|
199
|
+
mask: "soften2",
|
|
200
|
+
...maskOptions.button
|
|
201
|
+
},
|
|
202
|
+
Checkbox: {
|
|
203
|
+
mask: "soften2",
|
|
204
|
+
...maskOptions.component
|
|
205
|
+
},
|
|
206
|
+
SliderTrackActive: {
|
|
207
|
+
mask: "soften2",
|
|
208
|
+
...maskOptions.component
|
|
209
|
+
},
|
|
210
|
+
Switch: {
|
|
211
|
+
mask: "soften2",
|
|
212
|
+
...maskOptions.component
|
|
213
|
+
},
|
|
214
|
+
SwitchThumb: {
|
|
215
|
+
mask: "inverseStrengthen2",
|
|
216
|
+
...maskOptions.component,
|
|
217
|
+
debug: true
|
|
218
|
+
},
|
|
219
|
+
TooltipContent: {
|
|
220
|
+
mask: "soften2",
|
|
221
|
+
...maskOptions.component
|
|
222
|
+
},
|
|
223
|
+
DrawerFrame: {
|
|
224
|
+
mask: "soften",
|
|
225
|
+
...maskOptions.component
|
|
226
|
+
},
|
|
227
|
+
Progress: {
|
|
228
|
+
mask: "soften",
|
|
229
|
+
...maskOptions.component
|
|
230
|
+
},
|
|
231
|
+
TooltipArrow: {
|
|
232
|
+
mask: "soften",
|
|
233
|
+
...maskOptions.component
|
|
234
|
+
},
|
|
235
|
+
SliderTrack: {
|
|
236
|
+
mask: "soften",
|
|
237
|
+
...maskOptions.component
|
|
238
|
+
},
|
|
239
|
+
SliderThumb: {
|
|
240
|
+
mask: "inverse",
|
|
241
|
+
...maskOptions.component
|
|
242
|
+
},
|
|
243
|
+
Tooltip: {
|
|
244
|
+
mask: "inverse",
|
|
245
|
+
...maskOptions.component
|
|
246
|
+
},
|
|
247
|
+
ProgressIndicator: {
|
|
248
|
+
mask: "inverse",
|
|
249
|
+
...maskOptions.component
|
|
250
|
+
},
|
|
251
|
+
SheetOverlay: overlayThemeDefinitions,
|
|
252
|
+
DialogOverlay: overlayThemeDefinitions,
|
|
253
|
+
ModalOverlay: overlayThemeDefinitions,
|
|
254
|
+
Input: [
|
|
255
|
+
{
|
|
256
|
+
parent: "light",
|
|
257
|
+
mask: "strengthenButSoftenBorder",
|
|
258
|
+
...maskOptions.component
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
parent: "dark",
|
|
262
|
+
mask: "softenBorder",
|
|
263
|
+
...maskOptions.component
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
TextArea: [
|
|
267
|
+
{
|
|
268
|
+
parent: "light",
|
|
269
|
+
mask: "strengthenButSoftenBorder",
|
|
270
|
+
...maskOptions.component
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
parent: "dark",
|
|
274
|
+
mask: "softenBorder",
|
|
275
|
+
...maskOptions.component
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
};
|
|
279
|
+
const themesBuilder = (0, import_theme_builder.createThemeBuilder)().addPalettes(palettes).addTemplates(templates).addMasks(masks).addThemes({
|
|
280
|
+
light: {
|
|
281
|
+
template: "base",
|
|
282
|
+
palette: "light",
|
|
283
|
+
nonInheritedValues: {
|
|
284
|
+
// add some extra colors here
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
dark: {
|
|
288
|
+
template: "base",
|
|
289
|
+
palette: "dark",
|
|
290
|
+
nonInheritedValues: {
|
|
291
|
+
// add some extra colors here
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}).addChildThemes({
|
|
295
|
+
orange: colorThemeDefinition("orange"),
|
|
296
|
+
yellow: colorThemeDefinition("yellow"),
|
|
297
|
+
green: colorThemeDefinition("green"),
|
|
298
|
+
blue: colorThemeDefinition("blue"),
|
|
299
|
+
purple: colorThemeDefinition("purple"),
|
|
300
|
+
pink: colorThemeDefinition("pink"),
|
|
301
|
+
red: colorThemeDefinition("red")
|
|
302
|
+
}).addChildThemes({
|
|
303
|
+
alt1: {
|
|
304
|
+
mask: "soften",
|
|
305
|
+
...maskOptions.alt
|
|
306
|
+
},
|
|
307
|
+
alt2: {
|
|
308
|
+
mask: "soften2",
|
|
309
|
+
...maskOptions.alt
|
|
310
|
+
},
|
|
311
|
+
active: {
|
|
312
|
+
mask: "soften3",
|
|
313
|
+
skip: {
|
|
314
|
+
color: 1
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}).addChildThemes(componentThemeDefinitions, {
|
|
318
|
+
avoidNestingWithin: ["alt1", "alt2", "active"]
|
|
319
|
+
});
|
|
320
|
+
const themes = themesBuilder.build();
|
|
321
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
322
|
+
0 && (module.exports = {
|
|
323
|
+
themes
|
|
324
|
+
});
|
|
325
|
+
//# sourceMappingURL=themes-new-example.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/themes-new-example.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BASO;AAEP,MAAM,uBAAuB,CAAC,cAAsB;AAAA,EAClD;AAAA,IACE,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AACF;AAEA,MAAM,WAAW;AAAA,EACf,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEA,MAAM,EAAE,WAAW,YAAY,KAAK,MAAM;AACxC,QAAM,iBAAiB;AAAA,IACrB,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QA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,yCAAmB,EACtC,YAAY,QAAQ,EACpB,aAAa,SAAS,EACtB,SAAS,KAAK,EACd,UAAU;AAAA,EACT,OAAO;AAAA,IACL,UAAU;AAAA,IACV,SAAS;AAAA,IACT,oBAAoB;AAAA;AAAA,IAEpB;AAAA,EACF;AAAA,EACA,MAAM;AAAA,IACJ,UAAU;AAAA,IACV,SAAS;AAAA,IACT,oBAAoB;AAAA;AAAA,IAEpB;AAAA,EACF;AACF,CAAC,EACA,eAAe;AAAA,EACd,QAAQ,qBAAqB,QAAQ;AAAA,EACrC,QAAQ,qBAAqB,QAAQ;AAAA,EACrC,OAAO,qBAAqB,OAAO;AAAA,EACnC,MAAM,qBAAqB,MAAM;AAAA,EACjC,QAAQ,qBAAqB,QAAQ;AAAA,EACrC,MAAM,qBAAqB,MAAM;AAAA,EACjC,KAAK,qBAAqB,KAAK;AACjC,CAAC,EACA,eAAe;AAAA,EACd,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,GAAG,YAAY;AAAA,EACjB;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,GAAG,YAAY;AAAA,EACjB;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,IACT;AAAA,EACF;AACF,CAAC,EACA,eAAe,2BAA2B;AAAA,EACzC,oBAAoB,CAAC,QAAQ,QAAQ,QAAQ;AAC/C,CAAC;AAEI,MAAM,SAAS,cAAc,MAAM;",
|
|
5
|
+
"names": ["templates", "maskOptions"]
|
|
6
|
+
}
|
|
@@ -42,10 +42,6 @@ const componentThemeDefinitions = {
|
|
|
42
42
|
mask: "soften2",
|
|
43
43
|
...maskOptions.component
|
|
44
44
|
},
|
|
45
|
-
SliderTrackActive: {
|
|
46
|
-
mask: "soften2",
|
|
47
|
-
...maskOptions.component
|
|
48
|
-
},
|
|
49
45
|
Switch: {
|
|
50
46
|
mask: "soften2",
|
|
51
47
|
...maskOptions.component
|
|
@@ -71,8 +67,12 @@ const componentThemeDefinitions = {
|
|
|
71
67
|
mask: "soften",
|
|
72
68
|
...maskOptions.component
|
|
73
69
|
},
|
|
70
|
+
SliderTrackActive: {
|
|
71
|
+
mask: "inverseSoften",
|
|
72
|
+
...maskOptions.component
|
|
73
|
+
},
|
|
74
74
|
SliderTrack: {
|
|
75
|
-
mask: "
|
|
75
|
+
mask: "soften2",
|
|
76
76
|
...maskOptions.component
|
|
77
77
|
},
|
|
78
78
|
SliderThumb: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/componentThemeDefinitions.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,mBAAmB;AAE5B,MAAM,gBAAgB;AAAA,EACpB,OAAO;AAAA,IACL,YAAY;AAAA,EACd;AAAA,EACA,MAAM;AAAA,IACJ,YAAY;AAAA,EACd;AACF;AAEO,MAAM,0BAA0B;AAAA,EACrC;AAAA,IACE,QAAQ;AAAA,IACR,OAAO,cAAc;AAAA,EACvB;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,OAAO,cAAc;AAAA,EACvB;AACF;AAEO,MAAM,4BAA4B;AAAA,EACvC,UAAU;AAAA,IACR;AAAA,MACE,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,GAAG,YAAY;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,GAAG,YAAY;AAAA,IACjB;AAAA,EACF;AAAA,EAEA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,GAAG,YAAY;AAAA,EACjB;AAAA,EAEA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,GAAG,YAAY;AAAA,EACjB;AAAA,EAEA,UAAU;AAAA,IACR,MAAM;AAAA,IACN,GAAG,YAAY;AAAA,EACjB;AAAA,EAEA,
|
|
4
|
+
"mappings": "AAAA,SAAS,mBAAmB;AAE5B,MAAM,gBAAgB;AAAA,EACpB,OAAO;AAAA,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