@mintlify/components 0.1.34 → 0.1.35
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/build-storybook.log +364 -0
- package/dist/CodeGroup.d.ts +12 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/package-lock.json +0 -43340
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
info @storybook/react v6.5.10
|
|
2
|
+
info
|
|
3
|
+
info => Cleaning outputDir: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--37282-W1E2VO0a3tR3
|
|
4
|
+
info => Loading presets
|
|
5
|
+
info => Compiling manager..
|
|
6
|
+
info => Compiling preview..
|
|
7
|
+
WARN Expected '@storybook/addon-actions' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-interactions' in main Storybook config.
|
|
8
|
+
info Addon-docs: using MDX1
|
|
9
|
+
info => Using PostCSS preset with postcss@8.4.16
|
|
10
|
+
info => Using default Webpack5 setup
|
|
11
|
+
<s> [webpack.Progress] 0%
|
|
12
|
+
|
|
13
|
+
<s> [webpack.Progress] 1% setup before run
|
|
14
|
+
<s> [webpack.Progress] 1% setup before run NodeEnvironmentPlugin
|
|
15
|
+
<s> [webpack.Progress] 1% setup before run
|
|
16
|
+
<s> [webpack.Progress] 2% setup run
|
|
17
|
+
<s> [webpack.Progress] 2% setup run
|
|
18
|
+
<s> [webpack.Progress] 4% setup normal module factory
|
|
19
|
+
<s> [webpack.Progress] 4% setup normal module factory CaseSensitivePathsPlugin
|
|
20
|
+
<s> [webpack.Progress] 4% setup normal module factory
|
|
21
|
+
<s> [webpack.Progress] 5% setup context module factory
|
|
22
|
+
<s> [webpack.Progress] 5% setup context module factory
|
|
23
|
+
<s> [webpack.Progress] 6% setup before compile
|
|
24
|
+
<s> [webpack.Progress] 6% setup before compile ProgressPlugin
|
|
25
|
+
<s> [webpack.Progress] 6% setup before compile
|
|
26
|
+
<s> [webpack.Progress] 7% setup compile
|
|
27
|
+
<s> [webpack.Progress] 7% setup compile ExternalsPlugin
|
|
28
|
+
<s> [webpack.Progress] 7% setup compile
|
|
29
|
+
<s> [webpack.Progress] 8% setup compilation
|
|
30
|
+
<s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin
|
|
31
|
+
<s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin
|
|
32
|
+
<s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin
|
|
33
|
+
<s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin
|
|
34
|
+
<s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin
|
|
35
|
+
<s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin
|
|
36
|
+
<s> [webpack.Progress] 8% setup compilation WorkerPlugin
|
|
37
|
+
<s> [webpack.Progress] 8% setup compilation SplitChunksPlugin
|
|
38
|
+
<s> [webpack.Progress] 8% setup compilation RuntimeChunkPlugin
|
|
39
|
+
<s> [webpack.Progress] 8% setup compilation ResolverCachePlugin
|
|
40
|
+
<s> [webpack.Progress] 8% setup compilation HtmlWebpackPlugin
|
|
41
|
+
<s> [webpack.Progress] 8% setup compilation
|
|
42
|
+
<s> [webpack.Progress] 9% setup compilation
|
|
43
|
+
<s> [webpack.Progress] 9% setup compilation DefinePlugin
|
|
44
|
+
<s> [webpack.Progress] 9% setup compilation ProvidePlugin
|
|
45
|
+
<s> [webpack.Progress] 9% setup compilation ProgressPlugin
|
|
46
|
+
<s> [webpack.Progress] 9% setup compilation DocGenPlugin
|
|
47
|
+
<s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin
|
|
48
|
+
<s> [webpack.Progress] 9% setup compilation SourceMapDevToolPlugin
|
|
49
|
+
<s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin
|
|
50
|
+
<s> [webpack.Progress] 9% setup compilation JsonModulesPlugin
|
|
51
|
+
<s> [webpack.Progress] 9% setup compilation AssetModulesPlugin
|
|
52
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
53
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
54
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
55
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
56
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
57
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
58
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
59
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
60
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
61
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
62
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
63
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
64
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
65
|
+
<s> [webpack.Progress] 9% setup compilation EntryPlugin
|
|
66
|
+
<s> [webpack.Progress] 9% setup compilation RuntimePlugin
|
|
67
|
+
<s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin
|
|
68
|
+
<s> [webpack.Progress] 9% setup compilation DataUriPlugin
|
|
69
|
+
<s> [webpack.Progress] 9% setup compilation FileUriPlugin
|
|
70
|
+
<s> [webpack.Progress] 9% setup compilation CompatibilityPlugin
|
|
71
|
+
<s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin
|
|
72
|
+
<s> [webpack.Progress] 9% setup compilation AMDPlugin
|
|
73
|
+
<s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin
|
|
74
|
+
<s> [webpack.Progress] 9% setup compilation CommonJsPlugin
|
|
75
|
+
<s> [webpack.Progress] 9% setup compilation LoaderPlugin
|
|
76
|
+
<s> [webpack.Progress] 9% setup compilation LoaderPlugin
|
|
77
|
+
<s> [webpack.Progress] 9% setup compilation NodeStuffPlugin
|
|
78
|
+
<s> [webpack.Progress] 9% setup compilation APIPlugin
|
|
79
|
+
<s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin
|
|
80
|
+
<s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin
|
|
81
|
+
<s> [webpack.Progress] 9% setup compilation ConstPlugin
|
|
82
|
+
<s> [webpack.Progress] 9% setup compilation UseStrictPlugin
|
|
83
|
+
<s> [webpack.Progress] 9% setup compilation RequireIncludePlugin
|
|
84
|
+
<s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin
|
|
85
|
+
<s> [webpack.Progress] 9% setup compilation RequireContextPlugin
|
|
86
|
+
<s> [webpack.Progress] 9% setup compilation ImportPlugin
|
|
87
|
+
<s> [webpack.Progress] 9% setup compilation RequireContextPlugin
|
|
88
|
+
<s> [webpack.Progress] 9% setup compilation SystemPlugin
|
|
89
|
+
<s> [webpack.Progress] 9% setup compilation ImportMetaPlugin
|
|
90
|
+
<s> [webpack.Progress] 9% setup compilation URLPlugin
|
|
91
|
+
<s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin
|
|
92
|
+
<s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin
|
|
93
|
+
<s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin
|
|
94
|
+
<s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin
|
|
95
|
+
<s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin
|
|
96
|
+
<s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin
|
|
97
|
+
<s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin
|
|
98
|
+
<s> [webpack.Progress] 9% setup compilation FlagIncludedChunksPlugin
|
|
99
|
+
<s> [webpack.Progress] 9% setup compilation SideEffectsFlagPlugin
|
|
100
|
+
<s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin
|
|
101
|
+
<s> [webpack.Progress] 9% setup compilation FlagDependencyUsagePlugin
|
|
102
|
+
<s> [webpack.Progress] 9% setup compilation InnerGraphPlugin
|
|
103
|
+
<s> [webpack.Progress] 9% setup compilation MangleExportsPlugin
|
|
104
|
+
<s> [webpack.Progress] 9% setup compilation ModuleConcatenationPlugin
|
|
105
|
+
<s> [webpack.Progress] 9% setup compilation NoEmitOnErrorsPlugin
|
|
106
|
+
<s> [webpack.Progress] 9% setup compilation RealContentHashPlugin
|
|
107
|
+
<s> [webpack.Progress] 9% setup compilation WasmFinalizeExportsPlugin
|
|
108
|
+
<s> [webpack.Progress] 9% setup compilation NamedModuleIdsPlugin
|
|
109
|
+
<s> [webpack.Progress] 9% setup compilation DeterministicChunkIdsPlugin
|
|
110
|
+
<s> [webpack.Progress] 9% setup compilation DefinePlugin
|
|
111
|
+
<s> [webpack.Progress] 9% setup compilation TerserPlugin
|
|
112
|
+
<s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin
|
|
113
|
+
<s> [webpack.Progress] 9% setup compilation RecordIdsPlugin
|
|
114
|
+
<s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin
|
|
115
|
+
<s> [webpack.Progress] 9% setup compilation IgnoreWarningsPlugin
|
|
116
|
+
<s> [webpack.Progress] 9% setup compilation
|
|
117
|
+
<s> [webpack.Progress] 10% building
|
|
118
|
+
<s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
|
|
119
|
+
<s> [webpack.Progress] 10% building import loader ./node_modules/babel-loader/lib/index.js
|
|
120
|
+
<s> [webpack.Progress] 10% building 0/14 entries 13/18 dependencies 0/12 modules
|
|
121
|
+
<s> [webpack.Progress] 13% building 1/14 entries 21/67 dependencies 2/18 modules
|
|
122
|
+
<s> [webpack.Progress] 13% building import loader ./node_modules/@storybook/source-loader/dist/cjs/index.js
|
|
123
|
+
<s> [webpack.Progress] 13% building 1/14 entries 39/68 dependencies 2/36 modules
|
|
124
|
+
<s> [webpack.Progress] 17% building 2/14 entries 74/168 dependencies 7/61 modules
|
|
125
|
+
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/style-loader/dist/cjs.js
|
|
126
|
+
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/cjs.js
|
|
127
|
+
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/postcss-loader/dist/cjs.js
|
|
128
|
+
<s> [webpack.Progress] 17% building 2/14 entries 636/659 dependencies 17/296 modules
|
|
129
|
+
<s> [webpack.Progress] 17% building 2/14 entries 1600/1778 dependencies 128/414 modules
|
|
130
|
+
<s> [webpack.Progress] 17% building 2/14 entries 2628/2800 dependencies 352/548 modules
|
|
131
|
+
<s> [webpack.Progress] 17% building 2/14 entries 3609/3700 dependencies 479/784 modules
|
|
132
|
+
<s> [webpack.Progress] 21% building 3/14 entries 4834/4858 dependencies 919/1032 modules
|
|
133
|
+
<s> [webpack.Progress] 25% building 4/14 entries 4834/4858 dependencies 920/1032 modules
|
|
134
|
+
<s> [webpack.Progress] 29% building 5/14 entries 4834/4858 dependencies 921/1032 modules
|
|
135
|
+
<s> [webpack.Progress] 33% building 6/14 entries 4834/4858 dependencies 922/1032 modules
|
|
136
|
+
<s> [webpack.Progress] 37% building 7/14 entries 4834/4858 dependencies 923/1032 modules
|
|
137
|
+
<s> [webpack.Progress] 41% building 8/14 entries 4834/4858 dependencies 924/1032 modules
|
|
138
|
+
<s> [webpack.Progress] 45% building 9/14 entries 4834/4858 dependencies 925/1032 modules
|
|
139
|
+
<s> [webpack.Progress] 49% building 10/14 entries 4834/4858 dependencies 926/1032 modules
|
|
140
|
+
<s> [webpack.Progress] 53% building 11/14 entries 4834/4858 dependencies 927/1032 modules
|
|
141
|
+
<s> [webpack.Progress] 57% building 12/14 entries 5040/5041 dependencies 1047/1081 modules
|
|
142
|
+
<s> [webpack.Progress] 61% building 13/14 entries 5041/5041 dependencies 1066/1081 modules
|
|
143
|
+
<s> [webpack.Progress] 64% building 14/14 entries 5041/5041 dependencies 1081/1081 modules
|
|
144
|
+
<s> [webpack.Progress] 65% building
|
|
145
|
+
<s> [webpack.Progress] 69% building finish
|
|
146
|
+
<s> [webpack.Progress] 69% building finish
|
|
147
|
+
<s> [webpack.Progress] 70% sealing finish module graph
|
|
148
|
+
<s> [webpack.Progress] 70% sealing finish module graph ResolverCachePlugin
|
|
149
|
+
<s> [webpack.Progress] 70% sealing finish module graph InferAsyncModulesPlugin
|
|
150
|
+
<s> [webpack.Progress] 70% sealing finish module graph FlagDependencyExportsPlugin
|
|
151
|
+
<s> [webpack.Progress] 70% sealing finish module graph InnerGraphPlugin
|
|
152
|
+
<s> [webpack.Progress] 70% sealing finish module graph WasmFinalizeExportsPlugin
|
|
153
|
+
<s> [webpack.Progress] 70% sealing finish module graph
|
|
154
|
+
<s> [webpack.Progress] 70% sealing plugins
|
|
155
|
+
<s> [webpack.Progress] 70% sealing plugins DocGenPlugin
|
|
156
|
+
DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
157
|
+
DeprecationWarning: '' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
158
|
+
DeprecationWarning: 'createLiteral' has been deprecated since v4.0.0. Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead.
|
|
159
|
+
DeprecationWarning: 'createBinaryExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
160
|
+
DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
161
|
+
DeprecationWarning: 'createPropertyAssignment' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
162
|
+
DeprecationWarning: 'createObjectLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
163
|
+
DeprecationWarning: 'createFalse' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
164
|
+
DeprecationWarning: 'createArrayLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
165
|
+
DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
166
|
+
DeprecationWarning: 'createTypeOfExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
167
|
+
DeprecationWarning: 'createElementAccessExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
168
|
+
DeprecationWarning: 'createIfStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
169
|
+
DeprecationWarning: 'createBlock' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
170
|
+
DeprecationWarning: 'createVariableDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
171
|
+
DeprecationWarning: 'createCatchClause' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
172
|
+
DeprecationWarning: 'createTryStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
173
|
+
DeprecationWarning: 'createNull' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
174
|
+
DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
175
|
+
<s> [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin
|
|
176
|
+
<s> [webpack.Progress] 70% sealing plugins
|
|
177
|
+
<s> [webpack.Progress] 71% sealing dependencies optimization
|
|
178
|
+
<s> [webpack.Progress] 71% sealing dependencies optimization SideEffectsFlagPlugin
|
|
179
|
+
<s> [webpack.Progress] 71% sealing dependencies optimization FlagDependencyUsagePlugin
|
|
180
|
+
<s> [webpack.Progress] 71% sealing dependencies optimization
|
|
181
|
+
<s> [webpack.Progress] 71% sealing after dependencies optimization
|
|
182
|
+
<s> [webpack.Progress] 71% sealing after dependencies optimization
|
|
183
|
+
<s> [webpack.Progress] 72% sealing chunk graph
|
|
184
|
+
<s> [webpack.Progress] 72% sealing chunk graph
|
|
185
|
+
<s> [webpack.Progress] 73% sealing after chunk graph
|
|
186
|
+
<s> [webpack.Progress] 73% sealing after chunk graph
|
|
187
|
+
<s> [webpack.Progress] 73% sealing optimizing
|
|
188
|
+
<s> [webpack.Progress] 73% sealing optimizing
|
|
189
|
+
<s> [webpack.Progress] 74% sealing module optimization
|
|
190
|
+
<s> [webpack.Progress] 74% sealing module optimization
|
|
191
|
+
<s> [webpack.Progress] 75% sealing after module optimization
|
|
192
|
+
<s> [webpack.Progress] 75% sealing after module optimization
|
|
193
|
+
<s> [webpack.Progress] 75% sealing chunk optimization
|
|
194
|
+
<s> [webpack.Progress] 75% sealing chunk optimization EnsureChunkConditionsPlugin
|
|
195
|
+
<s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
|
|
196
|
+
<s> [webpack.Progress] 75% sealing chunk optimization MergeDuplicateChunksPlugin
|
|
197
|
+
<s> [webpack.Progress] 75% sealing chunk optimization SplitChunksPlugin
|
|
198
|
+
<s> [webpack.Progress] 75% sealing chunk optimization RemoveEmptyChunksPlugin
|
|
199
|
+
<s> [webpack.Progress] 75% sealing chunk optimization
|
|
200
|
+
<s> [webpack.Progress] 76% sealing after chunk optimization
|
|
201
|
+
<s> [webpack.Progress] 76% sealing after chunk optimization
|
|
202
|
+
<s> [webpack.Progress] 77% sealing module and chunk tree optimization
|
|
203
|
+
<s> [webpack.Progress] 77% sealing module and chunk tree optimization PersistentChildCompilerSingletonPlugin
|
|
204
|
+
<s> [webpack.Progress] 77% sealing module and chunk tree optimization
|
|
205
|
+
<s> [webpack.Progress] 77% sealing after module and chunk tree optimization
|
|
206
|
+
<s> [webpack.Progress] 77% sealing after module and chunk tree optimization
|
|
207
|
+
<s> [webpack.Progress] 78% sealing chunk modules optimization
|
|
208
|
+
<s> [webpack.Progress] 78% sealing chunk modules optimization ModuleConcatenationPlugin
|
|
209
|
+
<s> [webpack.Progress] 78% sealing chunk modules optimization
|
|
210
|
+
<s> [webpack.Progress] 78% sealing after chunk modules optimization
|
|
211
|
+
<s> [webpack.Progress] 78% sealing after chunk modules optimization
|
|
212
|
+
<s> [webpack.Progress] 79% sealing module reviving
|
|
213
|
+
<s> [webpack.Progress] 79% sealing module reviving RecordIdsPlugin
|
|
214
|
+
<s> [webpack.Progress] 79% sealing module reviving
|
|
215
|
+
<s> [webpack.Progress] 80% sealing before module ids
|
|
216
|
+
<s> [webpack.Progress] 80% sealing before module ids
|
|
217
|
+
<s> [webpack.Progress] 80% sealing module ids
|
|
218
|
+
<s> [webpack.Progress] 80% sealing module ids NamedModuleIdsPlugin
|
|
219
|
+
<s> [webpack.Progress] 80% sealing module ids
|
|
220
|
+
<s> [webpack.Progress] 81% sealing module id optimization
|
|
221
|
+
<s> [webpack.Progress] 81% sealing module id optimization
|
|
222
|
+
<s> [webpack.Progress] 82% sealing module id optimization
|
|
223
|
+
<s> [webpack.Progress] 82% sealing module id optimization
|
|
224
|
+
<s> [webpack.Progress] 82% sealing chunk reviving
|
|
225
|
+
<s> [webpack.Progress] 82% sealing chunk reviving RecordIdsPlugin
|
|
226
|
+
<s> [webpack.Progress] 82% sealing chunk reviving
|
|
227
|
+
<s> [webpack.Progress] 83% sealing before chunk ids
|
|
228
|
+
<s> [webpack.Progress] 83% sealing before chunk ids
|
|
229
|
+
<s> [webpack.Progress] 84% sealing chunk ids
|
|
230
|
+
<s> [webpack.Progress] 84% sealing chunk ids DeterministicChunkIdsPlugin
|
|
231
|
+
<s> [webpack.Progress] 84% sealing chunk ids
|
|
232
|
+
<s> [webpack.Progress] 84% sealing chunk id optimization
|
|
233
|
+
<s> [webpack.Progress] 84% sealing chunk id optimization FlagIncludedChunksPlugin
|
|
234
|
+
<s> [webpack.Progress] 84% sealing chunk id optimization
|
|
235
|
+
<s> [webpack.Progress] 85% sealing after chunk id optimization
|
|
236
|
+
<s> [webpack.Progress] 85% sealing after chunk id optimization
|
|
237
|
+
<s> [webpack.Progress] 86% sealing record modules
|
|
238
|
+
<s> [webpack.Progress] 86% sealing record modules RecordIdsPlugin
|
|
239
|
+
<s> [webpack.Progress] 86% sealing record modules
|
|
240
|
+
<s> [webpack.Progress] 86% sealing record chunks
|
|
241
|
+
<s> [webpack.Progress] 86% sealing record chunks RecordIdsPlugin
|
|
242
|
+
<s> [webpack.Progress] 86% sealing record chunks
|
|
243
|
+
<s> [webpack.Progress] 87% sealing module hashing
|
|
244
|
+
<s> [webpack.Progress] 87% sealing module hashing
|
|
245
|
+
<s> [webpack.Progress] 87% sealing code generation
|
|
246
|
+
<s> [webpack.Progress] 87% sealing code generation
|
|
247
|
+
<s> [webpack.Progress] 88% sealing runtime requirements
|
|
248
|
+
<s> [webpack.Progress] 88% sealing runtime requirements
|
|
249
|
+
<s> [webpack.Progress] 89% sealing hashing
|
|
250
|
+
<s> [webpack.Progress] 89% sealing hashing
|
|
251
|
+
<s> [webpack.Progress] 89% sealing after hashing
|
|
252
|
+
<s> [webpack.Progress] 89% sealing after hashing
|
|
253
|
+
<s> [webpack.Progress] 90% sealing record hash
|
|
254
|
+
<s> [webpack.Progress] 90% sealing record hash
|
|
255
|
+
<s> [webpack.Progress] 91% sealing module assets processing
|
|
256
|
+
<s> [webpack.Progress] 91% sealing module assets processing
|
|
257
|
+
<s> [webpack.Progress] 91% sealing chunk assets processing
|
|
258
|
+
<s> [webpack.Progress] 91% sealing chunk assets processing
|
|
259
|
+
<s> [webpack.Progress] 92% sealing asset processing
|
|
260
|
+
<s> [webpack.Progress] 92% sealing asset processing PersistentChildCompilerSingletonPlugin
|
|
261
|
+
<s> [webpack.Progress] 92% sealing asset processing TerserPlugin
|
|
262
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
263
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
264
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.60ea077e.iframe.bundle.js generate SourceMap
|
|
265
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.60ea077e.iframe.bundle.js generated SourceMap
|
|
266
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.9b297b9a.iframe.bundle.js generate SourceMap
|
|
267
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.9b297b9a.iframe.bundle.js generated SourceMap
|
|
268
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.5e0a1cd1.iframe.bundle.js generate SourceMap
|
|
269
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.5e0a1cd1.iframe.bundle.js generated SourceMap
|
|
270
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.3a9ffaff.iframe.bundle.js generate SourceMap
|
|
271
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.3a9ffaff.iframe.bundle.js generated SourceMap
|
|
272
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 863.4dd0b990.iframe.bundle.js generate SourceMap
|
|
273
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 863.4dd0b990.iframe.bundle.js generated SourceMap
|
|
274
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.1db66e9a.iframe.bundle.js generate SourceMap
|
|
275
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.1db66e9a.iframe.bundle.js generated SourceMap
|
|
276
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.66291f17.iframe.bundle.js generate SourceMap
|
|
277
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.66291f17.iframe.bundle.js generated SourceMap
|
|
278
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.a78bd12b.iframe.bundle.js generate SourceMap
|
|
279
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.a78bd12b.iframe.bundle.js generated SourceMap
|
|
280
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.a1a548d3.iframe.bundle.js generate SourceMap
|
|
281
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.a1a548d3.iframe.bundle.js generated SourceMap
|
|
282
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.e986a26f.iframe.bundle.js generate SourceMap
|
|
283
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.e986a26f.iframe.bundle.js generated SourceMap
|
|
284
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.7fe75e7f.iframe.bundle.js generate SourceMap
|
|
285
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.7fe75e7f.iframe.bundle.js generated SourceMap
|
|
286
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 804.b016c37a.iframe.bundle.js generate SourceMap
|
|
287
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 804.b016c37a.iframe.bundle.js generated SourceMap
|
|
288
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources
|
|
289
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
290
|
+
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
291
|
+
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
292
|
+
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin resolve sources
|
|
293
|
+
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
294
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
295
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
296
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.3ceb81cc.iframe.bundle.js generate SourceMap
|
|
297
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.3ceb81cc.iframe.bundle.js generated SourceMap
|
|
298
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.48819736.iframe.bundle.js generate SourceMap
|
|
299
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.48819736.iframe.bundle.js generated SourceMap
|
|
300
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.ec2943ad.iframe.bundle.js generate SourceMap
|
|
301
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.ec2943ad.iframe.bundle.js generated SourceMap
|
|
302
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 745.f1ddfa61.iframe.bundle.js generate SourceMap
|
|
303
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 745.f1ddfa61.iframe.bundle.js generated SourceMap
|
|
304
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 551.065ca94c.iframe.bundle.js generate SourceMap
|
|
305
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 551.065ca94c.iframe.bundle.js generated SourceMap
|
|
306
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 229.9a2a6b81.iframe.bundle.js generate SourceMap
|
|
307
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 229.9a2a6b81.iframe.bundle.js generated SourceMap
|
|
308
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.30d22a43.iframe.bundle.js generate SourceMap
|
|
309
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.30d22a43.iframe.bundle.js generated SourceMap
|
|
310
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 863.0d9b2147.iframe.bundle.js generate SourceMap
|
|
311
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 863.0d9b2147.iframe.bundle.js generated SourceMap
|
|
312
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.fa8a6e75.iframe.bundle.js generate SourceMap
|
|
313
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.fa8a6e75.iframe.bundle.js generated SourceMap
|
|
314
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.44fdcfe2.iframe.bundle.js generate SourceMap
|
|
315
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.44fdcfe2.iframe.bundle.js generated SourceMap
|
|
316
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.155874f0.iframe.bundle.js generate SourceMap
|
|
317
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.155874f0.iframe.bundle.js generated SourceMap
|
|
318
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 804.91acc07c.iframe.bundle.js generate SourceMap
|
|
319
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 804.91acc07c.iframe.bundle.js generated SourceMap
|
|
320
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin resolve sources
|
|
321
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
322
|
+
<s> [webpack.Progress] 92% sealing asset processing
|
|
323
|
+
<s> [webpack.Progress] 93% sealing after asset optimization
|
|
324
|
+
<s> [webpack.Progress] 93% sealing after asset optimization
|
|
325
|
+
<s> [webpack.Progress] 93% sealing recording
|
|
326
|
+
<s> [webpack.Progress] 93% sealing recording
|
|
327
|
+
<s> [webpack.Progress] 94% sealing after seal
|
|
328
|
+
<s> [webpack.Progress] 94% sealing after seal
|
|
329
|
+
<s> [webpack.Progress] 95% emitting emit
|
|
330
|
+
<s> [webpack.Progress] 95% emitting emit
|
|
331
|
+
<s> [webpack.Progress] 98% emitting after emit
|
|
332
|
+
<s> [webpack.Progress] 98% emitting after emit SizeLimitsPlugin
|
|
333
|
+
<s> [webpack.Progress] 98% emitting after emit
|
|
334
|
+
<s> [webpack.Progress] 99% done plugins
|
|
335
|
+
<s> [webpack.Progress] 99% done plugins CaseSensitivePathsPlugin
|
|
336
|
+
<s> [webpack.Progress] 99% done plugins
|
|
337
|
+
<s> [webpack.Progress] 99%
|
|
338
|
+
|
|
339
|
+
<s> [webpack.Progress] 99% cache store build dependencies
|
|
340
|
+
<s> [webpack.Progress] 99% cache store build dependencies
|
|
341
|
+
<s> [webpack.Progress] 99% cache begin idle
|
|
342
|
+
<s> [webpack.Progress] 99% cache begin idle
|
|
343
|
+
<s> [webpack.Progress] 100%
|
|
344
|
+
|
|
345
|
+
info => Preview built (12 s)
|
|
346
|
+
WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
347
|
+
WARN This can impact web performance.
|
|
348
|
+
WARN Assets:
|
|
349
|
+
WARN 863.0d9b2147.iframe.bundle.js (593 KiB)
|
|
350
|
+
WARN 807.44fdcfe2.iframe.bundle.js (793 KiB)
|
|
351
|
+
WARN 804.91acc07c.iframe.bundle.js (1.73 MiB)
|
|
352
|
+
WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
353
|
+
WARN Entrypoints:
|
|
354
|
+
WARN main (1.85 MiB)
|
|
355
|
+
WARN runtime~main.48819736.iframe.bundle.js
|
|
356
|
+
WARN 804.91acc07c.iframe.bundle.js
|
|
357
|
+
WARN main.3ceb81cc.iframe.bundle.js
|
|
358
|
+
WARN
|
|
359
|
+
<s> [webpack.Progress] 99% cache shutdown
|
|
360
|
+
<s> [webpack.Progress] 99% cache shutdown
|
|
361
|
+
<s> [webpack.Progress] 100%
|
|
362
|
+
|
|
363
|
+
info => Manager built (12 s)
|
|
364
|
+
info => Output directory: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--37282-W1E2VO0a3tR3
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Group multiple code blocks into a tabbed UI
|
|
4
|
+
*
|
|
5
|
+
* @param {object} props
|
|
6
|
+
* @param {CodeBlock[]} props.children
|
|
7
|
+
*/
|
|
8
|
+
export declare function CodeGroup({ actions, isSmallText, children, }: {
|
|
9
|
+
actions: any;
|
|
10
|
+
isSmallText: boolean;
|
|
11
|
+
children: any;
|
|
12
|
+
}): JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,10 @@ import { CardGroup } from "./CardGroup";
|
|
|
5
5
|
import { Info, Warning, Note, Tip, Check } from "./Callouts";
|
|
6
6
|
import { Frame } from "./Frame";
|
|
7
7
|
import { Param } from "./Param";
|
|
8
|
+
import { PillSelect } from "./PillSelect";
|
|
8
9
|
import { UserDefinedIcon } from "./UserDefinedIcon";
|
|
9
10
|
import { Tab, Tabs } from "./Tabs";
|
|
10
11
|
import { Tooltip } from "./Tooltip";
|
|
11
12
|
import { Expandable } from "./Expandable";
|
|
12
13
|
import "./css/globals.css";
|
|
13
|
-
export { Accordion, AccordionGroup, Button, Card, CardGroup,
|
|
14
|
+
export { Accordion, AccordionGroup, Button, Card, CardGroup, Check, Expandable, Frame, Info, Warning, Note, Param, PillSelect, Tabs, Tip, Tab, Tooltip, UserDefinedIcon, };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{"use strict";var e={455:(e,r,t)=>{var n=t(258),s=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var n,a={},c=null,d=null;for(n in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)o.call(r,n)&&!i.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:s,type:e,key:c,ref:d,props:a,_owner:l.current}}r.Fragment=a,r.jsx=c,r.jsxs=c},557:(e,r,t)=>{e.exports=t(455)},258:e=>{e.exports=require("react")}},r={};function t(n){var s=r[n];if(void 0!==s)return s.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{t.r(n),t.d(n,{Accordion:()=>u,AccordionGroup:()=>h,Button:()=>m,Card:()=>j,CardGroup:()=>y,Check:()=>L,Expandable:()=>G,Frame:()=>S,Info:()=>N,Note:()=>M,Param:()=>V,Tab:()=>T,Tabs:()=>A,Tip:()=>P,Tooltip:()=>I,UserDefinedIcon:()=>l,Warning:()=>O});var e=t(557),r=t(258);function s(e){var r,t,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=s(e[r]))&&(n&&(n+=" "),n+=t);else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const a=function(){for(var e,r,t=0,n="";t<arguments.length;)(e=arguments[t++])&&(r=s(e))&&(n&&(n+=" "),n+=r);return n};var o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},o.apply(this,arguments)};function l(r){var t=r.icon,n=r.size,s=void 0===n?4:n,l=r.color;return null==t?null:(0,e.jsx)("div",o({className:a("h-".concat(s," w-").concat(s),!l&&"fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"),style:l?{fill:l}:void 0},{children:t}))}var i=function(){return i=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},i.apply(this,arguments)};function c(r){var t=r.open;return(0,e.jsx)("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"h-3 w-3",style:{fill:"currentColor",transform:t?"rotate(90deg)":void 0}},{children:(0,e.jsx)("path",{d:"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}))}const d=function(r){var t=r.title,n=r.description,s=r.open,o=r.setOpen,d=r.icon,p=r.isRounded,u=r.coverClass;return(0,e.jsxs)("button",i({onClick:function(){return o(!s)},className:a("not-prose flex flex-row items-center content-center w-full",p&&"rounded-t-xl",p&&!s&&"rounded-b-xl",u),"aria-controls":t+"Children","aria-expanded":s},{children:[(0,e.jsx)(c,{open:s}),(0,e.jsx)(l,{icon:d}),(0,e.jsxs)("div",i({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",i({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:t})),n?(0,e.jsx)("p",i({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var p=function(){return p=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},p.apply(this,arguments)};const u=function(t){var n=t.title,s=t.description,o=t.defaultOpen,l=void 0!==o&&o,i=t.icon,c=t.onChange,u=t.variant,x=void 0===u?"rounded":u,h=t.children,v=(0,r.useState)(l),f=v[0],g=v[1],m=function(e){return"minimalist"===e?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800"}:{parentClass:"border dark:border-slate-800 rounded-xl mb-3",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800",contentClass:"mt-2 mb-4 mx-6"}}(x),b=m.parentClass,j=m.coverClass,k=m.contentClass;return(0,e.jsxs)("div",p({role:"listitem",className:b},{children:[(0,e.jsx)(d,{title:n,description:s,open:f,setOpen:function(e){g(e),c&&c(e)},icon:i,isRounded:"rounded"===x,coverClass:j}),(0,e.jsx)("div",p({className:a(k,!f&&"hidden")},{children:h}))]}),n)};var x=function(){return x=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},x.apply(this,arguments)};const h=function(r){var t=r.children;return(0,e.jsx)("div",x({className:"[&>div]:border-0 [&>div]:rounded-none [&>div>button]:rounded-none [&>div]:mb-0 overflow-hidden mt-0 mb-3 rounded-xl prose prose-slate dark:prose-dark divide-y divide-inherit border dark:border-slate-800",role:"list"},{children:t}))};var v=function(){return v=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},v.apply(this,arguments)},f={indigo:["bg-indigo-50 text-indigo-600 hover:bg-indigo-200 hover:text-indigo-700 focus:ring-indigo-500","text-indigo-300 group-hover:text-indigo-400"],pink:["bg-pink-50 text-pink-600 hover:bg-pink-100 hover:text-pink-700 focus:ring-pink-600","text-pink-300 group-hover:text-pink-400"],sky:["bg-sky-50 text-sky-600 hover:bg-sky-100 hover:text-sky-700 focus:ring-sky-600","text-sky-300 group-hover:text-sky-400"],blue:["bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 focus:ring-blue-600","text-blue-300 group-hover:text-blue-400"],gray:["bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900 focus:ring-slate-500","text-slate-300 group-hover:text-slate-400"]},g=v(v({},f),{gray:["dark:bg-slate-700 dark:text-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:focus:ring-slate-500","dark:text-slate-500 dark:group-hover:text-slate-400"],sky:["dark:bg-sky-500 dark:text-sky-50 dark:hover:bg-sky-400 dark:hover:text-white dark:focus:ring-sky-200","dark:text-sky-300 dark:group-hover:text-sky-100"]});function m(r){var t=r.href,n=r.color,s=void 0===n?"gray":n,o=r.darkColor,l=void 0===o?s:o,i=r.reverse,c=void 0!==i&&i,d=r.children,p="string"==typeof s?f[s]:s,u="string"==typeof l?g[l]||[]:l;return(0,e.jsxs)("a",v({className:a("group inline-flex items-center h-9 rounded-full text-sm font-semibold whitespace-nowrap px-3 focus:outline-none focus:ring-2",p[0],u[0],c&&"flex-row-reverse"),href:t},{children:[d,(0,e.jsx)("svg",v({className:a("overflow-visible",c?"mr-3":"ml-3",p[1],u[1]),width:"3",height:"6",viewBox:"0 0 3 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:(0,e.jsx)("path",{d:c?"M3 0L0 3L3 6":"M0 0L3 3L0 6"})}))]}))}var b=function(){return b=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},b.apply(this,arguments)};function j(r){var t=r.title,n=r.icon,s=r.className,o=r.href,i=r.onClick,c=r.children,d=o?"a":"div";return(0,e.jsxs)(d,b({className:a("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-slate-200 dark:border-slate-800 overflow-hidden px-6 py-5 w-full",o&&"cursor-pointer",s),href:o,onClick:i},{children:[(0,e.jsx)(l,{icon:n,size:6}),(0,e.jsx)("h2",b({className:a("font-semibold text-base text-slate-800 dark:text-white",null!=n&&"mt-4")},{children:t})),(0,e.jsx)("span",b({className:a("mt-1 font-normal",t?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:c}))]}))}var k=function(){return k=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},k.apply(this,arguments)};function y(r){var t=r.children,n=r.cols,s=void 0===n?2:n;return(0,e.jsx)("div",k({className:"grid sm:grid-cols-".concat(s," gap-x-4")},{children:t}))}var C=function(){return C=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},C.apply(this,arguments)};function w(r){var t=r.children,n=r.icon,s=r.className;return(0,e.jsx)("div",C({className:"px-4 py-4 mb-4 rounded-xl ".concat(s)},{children:(0,e.jsxs)("div",C({className:"flex items-start space-x-3"},{children:[(0,e.jsx)("div",C({className:"mt-0.5 w-4"},{children:n})),(0,e.jsx)("div",C({className:"flex-1 font-medium text-sm prose dark:text-slate-50"},{children:t}))]}))}))}function N(r){var t=r.children;return(0,e.jsx)(w,C({className:"bg-slate-100 dark:bg-slate-600",icon:(0,e.jsx)("svg",C({viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"flex-none w-5 h-5 text-slate-400 dark:text-slate-300","aria-label":"Info"},{children:(0,e.jsx)("path",{d:"M8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0ZM8 14.5C4.41563 14.5 1.5 11.5841 1.5 8C1.5 4.41594 4.41563 1.5 8 1.5C11.5844 1.5 14.5 4.41594 14.5 8C14.5 11.5841 11.5844 14.5 8 14.5ZM9.25 10.5H8.75V7.75C8.75 7.3375 8.41563 7 8 7H7C6.5875 7 6.25 7.3375 6.25 7.75C6.25 8.1625 6.5875 8.5 7 8.5H7.25V10.5H6.75C6.3375 10.5 6 10.8375 6 11.25C6 11.6625 6.3375 12 6.75 12H9.25C9.66406 12 10 11.6641 10 11.25C10 10.8359 9.66563 10.5 9.25 10.5ZM8 6C8.55219 6 9 5.55219 9 5C9 4.44781 8.55219 4 8 4C7.44781 4 7 4.44687 7 5C7 5.55313 7.44687 6 8 6Z"})}))},{children:t}))}function O(r){var t=r.children;return(0,e.jsx)(w,C({icon:(0,e.jsx)("svg",C({className:"flex-none w-5 h-5 text-yellow-400 dark:text-yellow-300/80",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-label":"Warning"},{children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})),className:"bg-amber-50 dark:bg-yellow-500/40"},{children:t}))}function M(r){var t=r.children;return(0,e.jsx)(w,C({icon:(0,e.jsx)("svg",C({width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 text-sky-500","aria-label":"Note"},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.3C10.14 1.3 12.7 3.86 12.7 7C12.7 10.14 10.14 12.7 7 12.7C5.48908 12.6974 4.0408 12.096 2.97241 11.0276C1.90403 9.9592 1.30264 8.51092 1.3 7C1.3 3.86 3.86 1.3 7 1.3ZM7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM8 3H6V8H8V3ZM8 9H6V11H8V9Z"})})),className:"bg-sky-100 dark:bg-sky-900"},{children:t}))}function P(r){var t=r.children;return(0,e.jsx)(w,C({icon:(0,e.jsx)("svg",C({width:"11",height:"14",viewBox:"0 0 11 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto","aria-label":"Tip"},{children:(0,e.jsx)("path",{d:"M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:t}))}function L(r){var t=r.children;return(0,e.jsx)(w,C({icon:(0,e.jsx)("svg",C({className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512","aria-label":"Check"},{children:(0,e.jsx)("path",{d:"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:t}))}var H=function(){return H=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},H.apply(this,arguments)},_={none:"",md:"p-8"};function S(r){var t=r.as,n=void 0===t?"div":t,s=r.style,o=r.className,l=r.containerClassName,i=r.html,c=r.children,d=r.hint,p=r.padding,u=void 0===p?"md":p,x=r.lightOnly,h=void 0!==x&&x,v=_[u];return(0,e.jsxs)("div",H({className:l},{children:[void 0!==d&&(0,e.jsxs)("div",H({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",H({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"flex-none w-4 h-4 fill-slate-400 dark:fill-slate-300"},{children:(0,e.jsx)("path",{d:"M224 320c0 17.69 14.33 32 32 32h64c17.67 0 32-14.31 32-32s-14.33-32-32-32h-64C238.3 288 224 302.3 224 320zM267.6 256H352c17.67 0 32-14.31 32-32s-14.33-32-32-32h-80v40C272 240.5 270.3 248.5 267.6 256zM272 160H480c17.67 0 32-14.31 32-32s-14.33-32-32-32h-208.8C271.5 98.66 272 101.3 272 104V160zM320 416c0-17.69-14.33-32-32-32H224c-17.67 0-32 14.31-32 32s14.33 32 32 32h64C305.7 448 320 433.7 320 416zM202.1 355.8C196 345.6 192 333.3 192 320c0-5.766 1.08-11.24 2.51-16.55C157.4 300.6 128 269.9 128 232V159.1C128 151.2 135.2 144 143.1 144S160 151.2 159.1 159.1l0 69.72C159.1 245.2 171.3 271.1 200 271.1C222.1 271.1 240 254.1 240 232v-128C240 81.91 222.1 64 200 64H136.6C103.5 64 72.03 80 52.47 106.8L26.02 143.2C9.107 166.5 0 194.5 0 223.3V312C0 387.1 60.89 448 136 448h32.88C163.4 438.6 160 427.7 160 416C160 388.1 178 364.6 202.1 355.8z"})})),(0,e.jsx)("p",H({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:d}))]})),(0,e.jsxs)(n,H({style:s,className:a("not-prose relative bg-slate-50 rounded-xl overflow-hidden",!h&&"dark:bg-slate-800/25")},{children:[(0,e.jsx)("div",{style:{backgroundPosition:"10px 10px"},className:a("absolute inset-0 bg-grid-slate-100 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))]",!h&&"dark:bg-grid-slate-700/25 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]")}),(0,e.jsx)("div",H({className:a("relative rounded-xl overflow-auto flex justify-center",v,o)},i?{dangerouslySetInnerHTML:{__html:i}}:{children:c})),(0,e.jsx)("div",{className:a("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!h&&"dark:border-white/5")})]}))]}))}var z=function(){return z=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},z.apply(this,arguments)};function V(r){return(0,e.jsx)(Z,z({},r))}function Z(r){var t=r.name,n=r.type,s=r.defaultValue,o=r.required,l=void 0!==o&&o,i=r.hidden,c=void 0!==i&&i,d=r.nameClasses,p=r.children;return c?null:(0,e.jsxs)("div",z({className:a("pb-3 mb-4 border-b border-slate-100 dark:border-slate-800")},{children:[(0,e.jsxs)("div",z({className:"flex font-mono text-sm"},{children:[t&&(0,e.jsxs)("div",z({className:"py-px flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",z({className:a("px-1 py-px rounded-md font-medium bg-slate-50 dark:bg-slate-800 border border-slate-200 dark:border-slate-700",d,d&&!d.includes("text-")||!d?"dark:text-slate-200":void 0)},{children:t})),l&&(0,e.jsx)("span",z({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),s&&(0,e.jsxs)("span",z({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",s]}))]})),n&&(0,e.jsx)("div",z({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",z({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:p}))]}))}var B=function(){return B=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},B.apply(this,arguments)};function T(r){var t=r.title,n=r.isActive,s=void 0===n||n,o=r.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h2",B({className:a("flex text-sm leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b",s?"text-primary dark:text-primary-light border-current":"text-slate-900 border-transparent hover:border-slate-300 dark:text-slate-200 dark:hover:border-slate-700")},{children:t})),o?(0,e.jsx)("div",B({className:"prose dark:prose-dark"},{children:o})):null]})}var R=function(){return R=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},R.apply(this,arguments)};function A(t){var n=t.children,s=(0,r.useState)(0),a=s[0],o=s[1],l=r.Children.toArray(n),i=l[a].props.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",R({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-slate-200 space-x-6 flex dark:border-slate-200/5"},{children:l.map((function(r,t){return(0,e.jsx)("li",R({className:"cursor-pointer",onClick:function(){return o(t)}},{children:(0,e.jsx)(T,{title:r.props.title,isActive:t===a})}))}))})),(0,e.jsx)("div",R({className:"prose dark:prose-dark"},{children:i}))]})}var E=function(){return E=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},E.apply(this,arguments)};function I(r){var t=r.tip,n=r.children;return n?(0,e.jsxs)("span",E({className:"group z-10 inline relative"},{children:[F(n),(0,e.jsx)("span",E({className:"hidden group-hover:flex w-fit lg:whitespace-nowrap absolute bottom-full left-1/2 mb-0.5 pb-1 -translate-x-1/2 bg-slate-800 text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-slate-50"},{children:t}))]})):null}function F(t){return(0,r.isValidElement)(t)?t:(0,e.jsx)("span",E({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-slate-400 dark:decoration-slate-500"},{children:t}))}var W=function(){return W=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},W.apply(this,arguments)};function D(r){var t=r.open;return(0,e.jsx)("svg",W({xmlns:"http://www.w3.org/2000/svg",className:a("h-3.5 w-3.5",t&&"rotate-90 -mt-1"),viewBox:"0 0 256 512",fill:"currentColor"},{children:(0,e.jsx)("path",{d:"M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"})}))}const q=function(r){var t=r.title,n=r.description,s=r.open,a=r.setOpen;return(0,e.jsxs)("button",W({onClick:function(){return a(!s)},className:"not-prose mt-1 flex flex-row items-center content-center w-full py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200 ".concat(s?"":"rounded-b-xl"),"aria-controls":t+"Children","aria-expanded":s},{children:[(0,e.jsx)(D,{open:s}),(0,e.jsxs)("div",W({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",W({className:"m-0"},{children:[s?"Hide":"Show"," ",t]})),n?(0,e.jsx)("p",W({className:"m-0"},{children:n})):null]}))]}))};var U=function(){return U=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},U.apply(this,arguments)};const G=function(t){var n=t.title,s=t.description,o=t.defaultOpen,l=void 0!==o&&o,i=t.onChange,c=t.children,d=(0,r.useState)(l),p=d[0],u=d[1];return(0,e.jsxs)("div",U({role:"listitem",className:""},{children:[(0,e.jsx)(q,{title:n,description:s,open:p,setOpen:function(e){u(e),i&&i(e)}}),(0,e.jsx)("div",U({id:n+"Children",className:a("mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800",!p&&"hidden")},{children:c}))]}),n)}})(),module.exports=n})();
|
|
2
|
+
(()=>{"use strict";var e={455:(e,t,r)=>{var n=r(258),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,n)&&!i.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},557:(e,t,r)=>{e.exports=r(455)},258:e=>{e.exports=require("react")}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{Accordion:()=>f,AccordionGroup:()=>v,Button:()=>g,Card:()=>y,CardGroup:()=>k,Check:()=>S,Expandable:()=>rt,Frame:()=>M,Info:()=>N,Note:()=>I,Param:()=>T,PillSelect:()=>qe,Tab:()=>ze,Tabs:()=>Qe,Tip:()=>E,Tooltip:()=>Ke,UserDefinedIcon:()=>s,Warning:()=>O});var e=r(557),t=r(258);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}const o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n};var l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};function s(t){var r=t.icon,n=t.size,a=void 0===n?4:n,s=t.color;return null==r?null:(0,e.jsx)("div",l({className:o("h-".concat(a," w-").concat(a),!s&&"fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"),style:s?{fill:s}:void 0},{children:r}))}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};function u(t){var r=t.open;return(0,e.jsx)("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"h-3 w-3",style:{fill:"currentColor",transform:r?"rotate(90deg)":void 0}},{children:(0,e.jsx)("path",{d:"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}))}const c=function(t){var r=t.title,n=t.description,a=t.open,l=t.setOpen,c=t.icon,d=t.isRounded,f=t.coverClass;return(0,e.jsxs)("button",i({onClick:function(){return l(!a)},className:o("not-prose flex flex-row items-center content-center w-full",d&&"rounded-t-xl",d&&!a&&"rounded-b-xl",f),"aria-controls":r+"Children","aria-expanded":a},{children:[(0,e.jsx)(u,{open:a}),(0,e.jsx)(s,{icon:c}),(0,e.jsxs)("div",i({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",i({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:r})),n?(0,e.jsx)("p",i({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},d.apply(this,arguments)};const f=function(r){var n=r.title,a=r.description,l=r.defaultOpen,s=void 0!==l&&l,i=r.icon,u=r.onChange,f=r.variant,p=void 0===f?"rounded":f,v=r.children,m=(0,t.useState)(s),h=m[0],x=m[1],g=function(e){return"minimalist"===e?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800"}:{parentClass:"border dark:border-slate-800 rounded-xl mb-3",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800",contentClass:"mt-2 mb-4 mx-6"}}(p),b=g.parentClass,y=g.coverClass,w=g.contentClass;return(0,e.jsxs)("div",d({role:"listitem",className:b},{children:[(0,e.jsx)(c,{title:n,description:a,open:h,setOpen:function(e){x(e),u&&u(e)},icon:i,isRounded:"rounded"===p,coverClass:y}),(0,e.jsx)("div",d({className:o(w,!h&&"hidden")},{children:v}))]}),n)};var p=function(){return p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},p.apply(this,arguments)};const v=function(t){var r=t.children;return(0,e.jsx)("div",p({className:"[&>div]:border-0 [&>div]:rounded-none [&>div>button]:rounded-none [&>div]:mb-0 overflow-hidden mt-0 mb-3 rounded-xl prose prose-slate dark:prose-dark divide-y divide-inherit border dark:border-slate-800",role:"list"},{children:r}))};var m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},m.apply(this,arguments)},h={indigo:["bg-indigo-50 text-indigo-600 hover:bg-indigo-200 hover:text-indigo-700 focus:ring-indigo-500","text-indigo-300 group-hover:text-indigo-400"],pink:["bg-pink-50 text-pink-600 hover:bg-pink-100 hover:text-pink-700 focus:ring-pink-600","text-pink-300 group-hover:text-pink-400"],sky:["bg-sky-50 text-sky-600 hover:bg-sky-100 hover:text-sky-700 focus:ring-sky-600","text-sky-300 group-hover:text-sky-400"],blue:["bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 focus:ring-blue-600","text-blue-300 group-hover:text-blue-400"],gray:["bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900 focus:ring-slate-500","text-slate-300 group-hover:text-slate-400"]},x=m(m({},h),{gray:["dark:bg-slate-700 dark:text-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:focus:ring-slate-500","dark:text-slate-500 dark:group-hover:text-slate-400"],sky:["dark:bg-sky-500 dark:text-sky-50 dark:hover:bg-sky-400 dark:hover:text-white dark:focus:ring-sky-200","dark:text-sky-300 dark:group-hover:text-sky-100"]});function g(t){var r=t.href,n=t.color,a=void 0===n?"gray":n,l=t.darkColor,s=void 0===l?a:l,i=t.reverse,u=void 0!==i&&i,c=t.children,d="string"==typeof a?h[a]:a,f="string"==typeof s?x[s]||[]:s;return(0,e.jsxs)("a",m({className:o("group inline-flex items-center h-9 rounded-full text-sm font-semibold whitespace-nowrap px-3 focus:outline-none focus:ring-2",d[0],f[0],u&&"flex-row-reverse"),href:r},{children:[c,(0,e.jsx)("svg",m({className:o("overflow-visible",u?"mr-3":"ml-3",d[1],f[1]),width:"3",height:"6",viewBox:"0 0 3 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:(0,e.jsx)("path",{d:u?"M3 0L0 3L3 6":"M0 0L3 3L0 6"})}))]}))}var b=function(){return b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},b.apply(this,arguments)};function y(t){var r=t.title,n=t.icon,a=t.className,l=t.href,i=t.onClick,u=t.children,c=l?"a":"div";return(0,e.jsxs)(c,b({className:o("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-slate-200 dark:border-slate-800 overflow-hidden px-6 py-5 w-full",l&&"cursor-pointer",a),href:l,onClick:i},{children:[(0,e.jsx)(s,{icon:n,size:6}),(0,e.jsx)("h2",b({className:o("font-semibold text-base text-slate-800 dark:text-white",null!=n&&"mt-4")},{children:r})),(0,e.jsx)("span",b({className:o("mt-1 font-normal",r?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:u}))]}))}var w=function(){return w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},w.apply(this,arguments)};function k(t){var r=t.children,n=t.cols,a=void 0===n?2:n;return(0,e.jsx)("div",w({className:"grid sm:grid-cols-".concat(a," gap-x-4")},{children:r}))}var j=function(){return j=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},j.apply(this,arguments)};function C(t){var r=t.children,n=t.icon,a=t.className;return(0,e.jsx)("div",j({className:"px-4 py-4 mb-4 rounded-xl ".concat(a)},{children:(0,e.jsxs)("div",j({className:"flex items-start space-x-3"},{children:[(0,e.jsx)("div",j({className:"mt-0.5 w-4"},{children:n})),(0,e.jsx)("div",j({className:"flex-1 font-medium text-sm prose dark:text-slate-50"},{children:r}))]}))}))}function N(t){var r=t.children;return(0,e.jsx)(C,j({className:"bg-slate-100 dark:bg-slate-600",icon:(0,e.jsx)("svg",j({viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"flex-none w-5 h-5 text-slate-400 dark:text-slate-300","aria-label":"Info"},{children:(0,e.jsx)("path",{d:"M8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0ZM8 14.5C4.41563 14.5 1.5 11.5841 1.5 8C1.5 4.41594 4.41563 1.5 8 1.5C11.5844 1.5 14.5 4.41594 14.5 8C14.5 11.5841 11.5844 14.5 8 14.5ZM9.25 10.5H8.75V7.75C8.75 7.3375 8.41563 7 8 7H7C6.5875 7 6.25 7.3375 6.25 7.75C6.25 8.1625 6.5875 8.5 7 8.5H7.25V10.5H6.75C6.3375 10.5 6 10.8375 6 11.25C6 11.6625 6.3375 12 6.75 12H9.25C9.66406 12 10 11.6641 10 11.25C10 10.8359 9.66563 10.5 9.25 10.5ZM8 6C8.55219 6 9 5.55219 9 5C9 4.44781 8.55219 4 8 4C7.44781 4 7 4.44687 7 5C7 5.55313 7.44687 6 8 6Z"})}))},{children:r}))}function O(t){var r=t.children;return(0,e.jsx)(C,j({icon:(0,e.jsx)("svg",j({className:"flex-none w-5 h-5 text-yellow-400 dark:text-yellow-300/80",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-label":"Warning"},{children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})),className:"bg-amber-50 dark:bg-yellow-500/40"},{children:r}))}function I(t){var r=t.children;return(0,e.jsx)(C,j({icon:(0,e.jsx)("svg",j({width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 text-sky-500","aria-label":"Note"},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.3C10.14 1.3 12.7 3.86 12.7 7C12.7 10.14 10.14 12.7 7 12.7C5.48908 12.6974 4.0408 12.096 2.97241 11.0276C1.90403 9.9592 1.30264 8.51092 1.3 7C1.3 3.86 3.86 1.3 7 1.3ZM7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM8 3H6V8H8V3ZM8 9H6V11H8V9Z"})})),className:"bg-sky-100 dark:bg-sky-900"},{children:r}))}function E(t){var r=t.children;return(0,e.jsx)(C,j({icon:(0,e.jsx)("svg",j({width:"11",height:"14",viewBox:"0 0 11 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto","aria-label":"Tip"},{children:(0,e.jsx)("path",{d:"M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}function S(t){var r=t.children;return(0,e.jsx)(C,j({icon:(0,e.jsx)("svg",j({className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512","aria-label":"Check"},{children:(0,e.jsx)("path",{d:"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}var P=function(){return P=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},P.apply(this,arguments)},L={none:"",md:"p-8"};function M(t){var r=t.as,n=void 0===r?"div":r,a=t.style,l=t.className,s=t.containerClassName,i=t.html,u=t.children,c=t.hint,d=t.padding,f=void 0===d?"md":d,p=t.lightOnly,v=void 0!==p&&p,m=L[f];return(0,e.jsxs)("div",P({className:s},{children:[void 0!==c&&(0,e.jsxs)("div",P({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",P({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"flex-none w-4 h-4 fill-slate-400 dark:fill-slate-300"},{children:(0,e.jsx)("path",{d:"M224 320c0 17.69 14.33 32 32 32h64c17.67 0 32-14.31 32-32s-14.33-32-32-32h-64C238.3 288 224 302.3 224 320zM267.6 256H352c17.67 0 32-14.31 32-32s-14.33-32-32-32h-80v40C272 240.5 270.3 248.5 267.6 256zM272 160H480c17.67 0 32-14.31 32-32s-14.33-32-32-32h-208.8C271.5 98.66 272 101.3 272 104V160zM320 416c0-17.69-14.33-32-32-32H224c-17.67 0-32 14.31-32 32s14.33 32 32 32h64C305.7 448 320 433.7 320 416zM202.1 355.8C196 345.6 192 333.3 192 320c0-5.766 1.08-11.24 2.51-16.55C157.4 300.6 128 269.9 128 232V159.1C128 151.2 135.2 144 143.1 144S160 151.2 159.1 159.1l0 69.72C159.1 245.2 171.3 271.1 200 271.1C222.1 271.1 240 254.1 240 232v-128C240 81.91 222.1 64 200 64H136.6C103.5 64 72.03 80 52.47 106.8L26.02 143.2C9.107 166.5 0 194.5 0 223.3V312C0 387.1 60.89 448 136 448h32.88C163.4 438.6 160 427.7 160 416C160 388.1 178 364.6 202.1 355.8z"})})),(0,e.jsx)("p",P({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:c}))]})),(0,e.jsxs)(n,P({style:a,className:o("not-prose relative bg-slate-50 rounded-xl overflow-hidden",!v&&"dark:bg-slate-800/25")},{children:[(0,e.jsx)("div",{style:{backgroundPosition:"10px 10px"},className:o("absolute inset-0 bg-grid-slate-100 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))]",!v&&"dark:bg-grid-slate-700/25 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]")}),(0,e.jsx)("div",P({className:o("relative rounded-xl overflow-auto flex justify-center",m,l)},i?{dangerouslySetInnerHTML:{__html:i}}:{children:u})),(0,e.jsx)("div",{className:o("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!v&&"dark:border-white/5")})]}))]}))}var R=function(){return R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},R.apply(this,arguments)};function T(t){return(0,e.jsx)(F,R({},t))}function F(t){var r=t.name,n=t.type,a=t.defaultValue,l=t.required,s=void 0!==l&&l,i=t.hidden,u=void 0!==i&&i,c=t.nameClasses,d=t.children;return u?null:(0,e.jsxs)("div",R({className:o("pb-3 mb-4 border-b border-slate-100 dark:border-slate-800")},{children:[(0,e.jsxs)("div",R({className:"flex font-mono text-sm"},{children:[r&&(0,e.jsxs)("div",R({className:"py-px flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",R({className:o("px-1 py-px rounded-md font-medium bg-slate-50 dark:bg-slate-800 border border-slate-200 dark:border-slate-700",c,c&&!c.includes("text-")||!c?"dark:text-slate-200":void 0)},{children:r})),s&&(0,e.jsx)("span",R({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),a&&(0,e.jsxs)("span",R({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",a]}))]})),n&&(0,e.jsx)("div",R({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",R({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:d}))]}))}function A(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,A),n}var D,H=((D=H||{})[D.None=0]="None",D[D.RenderStrategy=1]="RenderStrategy",D[D.Static=2]="Static",D),_=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(_||{});function U({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:l}){let s=V(t,e);if(o)return B(s,r,n,l);let i=null!=a?a:0;if(2&i){let{static:e=!1,...t}=s;if(e)return B(t,r,n,l)}if(1&i){let{unmount:e=!0,...t}=s;return A(e?0:1,{0:()=>null,1:()=>B({...t,hidden:!0,style:{display:"none"}},r,n,l)})}return B(s,r,n,l)}function B(e,r={},n,a){let{as:o=n,children:l,refName:s="ref",...i}=$(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},c="function"==typeof l?l(r):l;i.className&&"function"==typeof i.className&&(i.className=i.className(r));let d={};if(r){let e=!1,t=[];for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n);e&&(d["data-headlessui-state"]=t.join(" "))}if(o===t.Fragment&&Object.keys(q(i)).length>0){if(!(0,t.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(i).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,t.cloneElement)(c,Object.assign({},V(c.props,q($(i,["ref"]))),d,u,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(c.ref,u.ref)))}return(0,t.createElement)(o,Object.assign({},$(i,["ref"]),o!==t.Fragment&&u,o!==t.Fragment&&d),c)}function V(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function W(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function q(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function $(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function z(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,n,a)=>(e.addEventListener(t,n,a),r.add((()=>e.removeEventListener(t,n,a)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>r.requestAnimationFrame((()=>r.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return r.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),r.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}function Z(){let[e]=(0,t.useState)(z);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}const Q="undefined"==typeof window||"undefined"==typeof document;let G=Q?t.useEffect:t.useLayoutEffect;function K(e){let r=(0,t.useRef)(e);return G((()=>{r.current=e}),[e]),r}let Y=function(e){let r=K(e);return t.useCallback(((...e)=>r.current(...e)),[r])},J=Symbol();function X(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let n=Y((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[J])))?void 0:n}let ee={serverHandoffComplete:!1};var te;let re=0;function ne(){return++re}let ae=null!=(te=t.useId)?te:function(){let e=function(){let[e,r]=(0,t.useState)(ee.serverHandoffComplete);return(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>{!1===ee.serverHandoffComplete&&(ee.serverHandoffComplete=!0)}),[]),e}(),[r,n]=t.useState(e?ne:null);return G((()=>{null===r&&n(ne())}),[r]),null!=r?""+r:void 0};var oe=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(oe||{}),le=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(le||{});function se(e){return Q?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ie=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ue,ce=((ue=ce||{})[ue.First=1]="First",ue[ue.Previous=2]="Previous",ue[ue.Next=4]="Next",ue[ue.Last=8]="Last",ue[ue.WrapAround=16]="WrapAround",ue[ue.NoScroll=32]="NoScroll",ue),de=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(de||{}),fe=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(fe||{});function pe(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ie))}var ve=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ve||{});function me(e,t=0){var r;return e!==(null==(r=se(e))?void 0:r.body)&&A(t,{0:()=>e.matches(ie),1(){let t=e;for(;null!==t;){if(t.matches(ie))return!0;t=t.parentElement}return!1}})}function he(e){let t=se(e);z().nextFrame((()=>{t&&!me(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}let xe=["textarea","input"].join(",");function ge(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let o=n.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function be(e,t){return function(e,t,r=!0,n=null){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?ge(e):e:pe(e);n=null!=n?n:a.activeElement;let l,s=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),i=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(n))-1;if(4&t)return Math.max(0,o.indexOf(n))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length;do{if(c>=d||c+d<=0)return 0;let e=i+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}l=o[e],null==l||l.focus(u),c+=s}while(l!==a.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,xe))&&r}(l)&&l.select(),l.hasAttribute("tabindex")||l.setAttribute("tabindex","0"),2}(pe(),t,!0,e)}function ye(e,r,n){let a=K(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}let we=(0,t.createContext)(null);we.displayName="OpenClosedContext";var ke=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ke||{});function je(){return(0,t.useContext)(we)}function Ce({value:e,children:r}){return t.createElement(we.Provider,{value:e},r)}function Ne(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Oe(e,r){let[n,a]=(0,t.useState)((()=>Ne(e)));return G((()=>{a(Ne(e))}),[e.type,e.as]),G((()=>{n||!r.current||r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[n,r]),n}var Ie=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ie||{}),Ee=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ee||{}),Se=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(Se||{});function Pe(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=ge(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),a=r?n.indexOf(r):null;return-1===a&&(a=null),{items:n,activeItemIndex:a}}let Le={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var r;let n=Pe(e),a=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1,o=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==a&&n.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?n:o}(t,{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...n,searchQuery:"",activeItemIndex:a,activationTrigger:null!=(r=t.trigger)?r:1}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled})),o=a?e.items.indexOf(a):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=Pe(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=Pe(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}}},Me=(0,t.createContext)(null);function Re(e){let r=(0,t.useContext)(Me);if(null===r){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Re),t}return r}function Te(e,t){return A(t.type,Le,e,t)}Me.displayName="MenuContext";let Fe=t.Fragment,Ae=W((function(e,r){let n=(0,t.useReducer)(Te,{menuState:1,buttonRef:(0,t.createRef)(),itemsRef:(0,t.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:l},s]=n,i=X(r);!function(e,r,n=!0){let a=(0,t.useRef)(!1);function o(t,n){if(!a.current||t.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=n(t);if(null!==l&&l.ownerDocument.documentElement.contains(l)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l))return}return!me(l,ve.Loose)&&-1!==l.tabIndex&&t.preventDefault(),r(t,l)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let l=(0,t.useRef)(null);ye("mousedown",(e=>{var t,r;a.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),ye("click",(e=>{!l.current||(o(e,(()=>l.current)),l.current=null)}),!0),ye("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([l,o],((e,t)=>{var r;s({type:1}),me(t,ve.Loose)||(e.preventDefault(),null==(r=l.current)||r.focus())}),0===a);let u=(0,t.useMemo)((()=>({open:0===a})),[a]),c=e,d={ref:i};return t.createElement(Me.Provider,{value:n},t.createElement(Ce,{value:A(a,{0:ke.Open,1:ke.Closed})},U({ourProps:d,theirProps:c,slot:u,defaultTag:Fe,name:"Menu"})))})),De=W((function(e,r){var n;let[a,o]=Re("Menu.Button"),l=X(a.buttonRef,r),s=`headlessui-menu-button-${ae()}`,i=Z(),u=Y((e=>{switch(e.key){case oe.Space:case oe.Enter:case oe.ArrowDown:e.preventDefault(),e.stopPropagation(),o({type:0}),i.nextFrame((()=>o({type:2,focus:le.First})));break;case oe.ArrowUp:e.preventDefault(),e.stopPropagation(),o({type:0}),i.nextFrame((()=>o({type:2,focus:le.Last})))}})),c=Y((e=>{e.key===oe.Space&&e.preventDefault()})),d=Y((t=>{if(function(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}(t.currentTarget))return t.preventDefault();e.disabled||(0===a.menuState?(o({type:1}),i.nextFrame((()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),o({type:0})))})),f=(0,t.useMemo)((()=>({open:0===a.menuState})),[a]),p=e;return U({ourProps:{ref:l,id:s,type:Oe(e,a.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=a.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===a.menuState,onKeyDown:u,onKeyUp:c,onClick:d},theirProps:p,slot:f,defaultTag:"button",name:"Menu.Button"})})),He=H.RenderStrategy|H.Static,_e=W((function(e,r){var n,a;let[o,l]=Re("Menu.Items"),s=X(o.itemsRef,r),i=function(...e){return(0,t.useMemo)((()=>se(...e)),[...e])}(o.itemsRef),u=`headlessui-menu-items-${ae()}`,c=Z(),d=je(),f=null!==d?d===ke.Open:0===o.menuState;(0,t.useEffect)((()=>{let e=o.itemsRef.current;!e||0===o.menuState&&e!==(null==i?void 0:i.activeElement)&&e.focus({preventScroll:!0})}),[o.menuState,o.itemsRef,i]),function({container:e,accept:r,walk:n,enabled:a=!0}){let o=(0,t.useRef)(r),l=(0,t.useRef)(n);(0,t.useEffect)((()=>{o.current=r,l.current=n}),[r,n]),G((()=>{if(!e||!a)return;let t=se(e);if(!t)return;let r=o.current,n=l.current,s=Object.assign((e=>r(e)),{acceptNode:r}),i=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;i.nextNode();)n(i.currentNode)}),[e,a,o,l])}({container:o.itemsRef.current,enabled:0===o.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=Y((e=>{var t,r;switch(c.dispose(),e.key){case oe.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case oe.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==o.activeItemIndex){let{dataRef:e}=o.items[o.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}he(o.buttonRef.current);break;case oe.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:le.Next});case oe.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:le.Previous});case oe.Home:case oe.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:le.First});case oe.End:case oe.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:le.Last});case oe.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),z().nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case oe.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),z().nextFrame((()=>{be(o.buttonRef.current,e.shiftKey?ce.Previous:ce.Next)}));break;default:1===e.key.length&&(l({type:3,value:e.key}),c.setTimeout((()=>l({type:4})),350))}})),v=Y((e=>{e.key===oe.Space&&e.preventDefault()})),m=(0,t.useMemo)((()=>({open:0===o.menuState})),[o]),h=e;return U({ourProps:{"aria-activedescendant":null===o.activeItemIndex||null==(n=o.items[o.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(a=o.buttonRef.current)?void 0:a.id,id:u,onKeyDown:p,onKeyUp:v,role:"menu",tabIndex:0,ref:s},theirProps:h,slot:m,defaultTag:"div",features:He,visible:f,name:"Menu.Items"})})),Ue=t.Fragment,Be=W((function(e,r){let{disabled:n=!1,...a}=e,[o,l]=Re("Menu.Item"),s=`headlessui-menu-item-${ae()}`,i=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===s,u=(0,t.useRef)(null),c=X(r,u);G((()=>{if(0!==o.menuState||!i||0===o.activationTrigger)return;let e=z();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[u,i,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=(0,t.useRef)({disabled:n,domRef:u});G((()=>{d.current.disabled=n}),[d,n]),G((()=>{var e,t;d.current.textValue=null==(t=null==(e=u.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[d,u]),G((()=>(l({type:5,id:s,dataRef:d}),()=>l({type:6,id:s}))),[d,s]);let f=Y((e=>{if(n)return e.preventDefault();l({type:1}),he(o.buttonRef.current)})),p=Y((()=>{if(n)return l({type:2,focus:le.Nothing});l({type:2,focus:le.Specific,id:s})})),v=Y((()=>{n||i||l({type:2,focus:le.Specific,id:s,trigger:0})})),m=Y((()=>{n||!i||l({type:2,focus:le.Nothing})})),h=(0,t.useMemo)((()=>({active:i,disabled:n})),[i,n]);return U({ourProps:{id:s,ref:c,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,disabled:void 0,onClick:f,onFocus:p,onPointerMove:v,onMouseMove:v,onPointerLeave:m,onMouseLeave:m},theirProps:a,slot:h,defaultTag:Ue,name:"Menu.Item"})})),Ve=Object.assign(Ae,{Button:De,Items:_e,Item:Be});var We=function(){return We=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},We.apply(this,arguments)};function qe(r){var n=r.options,a=r.onChange,l=r.defaultOption,s=r.selectedOptionClass,i=l,u=Array.isArray(n)&&n.length>0;null==l&&u&&(i=n[0]);var c=(0,t.useState)(i),d=c[0],f=c[1];return u?(0,e.jsx)("div",We({className:"relative"},{children:(0,e.jsxs)(Ve,{children:[(0,e.jsxs)(Ve.Button,We({className:"text-xs text-slate-500 dark:text-slate-400 leading-5 font-semibold bg-slate-400/10 rounded-full py-1 px-3 flex items-center space-x-2 hover:bg-slate-400/20"},{children:[d,(0,e.jsx)("svg",We({width:"6",height:"3",className:"ml-2 overflow-visible","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"M0 0L3 3L6 0",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}))]})),(0,e.jsx)(Ve.Items,We({className:"absolute top-full mt-1 py-2 w-40 rounded-lg bg-white shadow text-sm leading-6 font-semibold text-slate-700 dark:bg-slate-800 dark:text-slate-300"},{children:n.map((function(t){return(0,e.jsx)(Ve.Item,We({disabled:t===d},{children:function(r){var n=r.active;return(0,e.jsxs)("a",We({className:o("flex items-center justify-between px-3 py-1 cursor-pointer",n&&"bg-slate-50 text-slate-900 dark:bg-slate-600/30 dark:text-white",t===d&&s),onClick:function(){return function(e){f(e),a&&a(e)}(t)}},{children:[t,t===d&&(0,e.jsx)("svg",We({width:"24",height:"24",fill:"none","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"m7.75 12.75 2.25 2.5 6.25-6.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))]}))}}),t)}))}))]})})):null}var $e=function(){return $e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},$e.apply(this,arguments)};function ze(t){var r=t.title,n=t.isActive,a=void 0===n||n,l=t.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h2",$e({className:o("flex text-sm leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b",a?"text-primary dark:text-primary-light border-current":"text-slate-900 border-transparent hover:border-slate-300 dark:text-slate-200 dark:hover:border-slate-700")},{children:r})),l?(0,e.jsx)("div",$e({className:"prose dark:prose-dark"},{children:l})):null]})}var Ze=function(){return Ze=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ze.apply(this,arguments)};function Qe(r){var n=r.children,a=(0,t.useState)(0),o=a[0],l=a[1],s=t.Children.toArray(n),i=s[o].props.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",Ze({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-slate-200 space-x-6 flex dark:border-slate-200/5"},{children:s.map((function(t,r){return(0,e.jsx)("li",Ze({className:"cursor-pointer",onClick:function(){return l(r)}},{children:(0,e.jsx)(ze,{title:t.props.title,isActive:r===o})}))}))})),(0,e.jsx)("div",Ze({className:"prose dark:prose-dark"},{children:i}))]})}var Ge=function(){return Ge=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ge.apply(this,arguments)};function Ke(t){var r=t.tip,n=t.children;return n?(0,e.jsxs)("span",Ge({className:"group z-10 inline relative"},{children:[Ye(n),(0,e.jsx)("span",Ge({className:"hidden group-hover:flex w-fit lg:whitespace-nowrap absolute bottom-full left-1/2 mb-0.5 pb-1 -translate-x-1/2 bg-slate-800 text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-slate-50"},{children:r}))]})):null}function Ye(r){return(0,t.isValidElement)(r)?r:(0,e.jsx)("span",Ge({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-slate-400 dark:decoration-slate-500"},{children:r}))}var Je=function(){return Je=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Je.apply(this,arguments)};function Xe(t){var r=t.open;return(0,e.jsx)("svg",Je({xmlns:"http://www.w3.org/2000/svg",className:o("h-3.5 w-3.5",r&&"rotate-90 -mt-1"),viewBox:"0 0 256 512",fill:"currentColor"},{children:(0,e.jsx)("path",{d:"M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"})}))}const et=function(t){var r=t.title,n=t.description,a=t.open,o=t.setOpen;return(0,e.jsxs)("button",Je({onClick:function(){return o(!a)},className:"not-prose mt-1 flex flex-row items-center content-center w-full py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200 ".concat(a?"":"rounded-b-xl"),"aria-controls":r+"Children","aria-expanded":a},{children:[(0,e.jsx)(Xe,{open:a}),(0,e.jsxs)("div",Je({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",Je({className:"m-0"},{children:[a?"Hide":"Show"," ",r]})),n?(0,e.jsx)("p",Je({className:"m-0"},{children:n})):null]}))]}))};var tt=function(){return tt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},tt.apply(this,arguments)};const rt=function(r){var n=r.title,a=r.description,l=r.defaultOpen,s=void 0!==l&&l,i=r.onChange,u=r.children,c=(0,t.useState)(s),d=c[0],f=c[1];return(0,e.jsxs)("div",tt({role:"listitem",className:""},{children:[(0,e.jsx)(et,{title:n,description:a,open:d,setOpen:function(e){f(e),i&&i(e)}}),(0,e.jsx)("div",tt({id:n+"Children",className:o("mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800",!d&&"hidden")},{children:u}))]}),n)}})(),module.exports=n})();
|