hermium 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/bin/hermium.mjs +102 -58
  2. package/dist/server/__23tanstack-start-plugin-adapters-Cwee5PKy.mjs +6 -0
  3. package/dist/server/_chunks/ssr-renderer.mjs +22 -0
  4. package/dist/server/_libs/bail.mjs +8 -0
  5. package/dist/server/_libs/base-ui__react.mjs +9858 -0
  6. package/dist/server/_libs/base-ui__utils.mjs +1106 -0
  7. package/dist/server/_libs/ccount.mjs +16 -0
  8. package/dist/server/_libs/character-entities.mjs +2130 -0
  9. package/dist/server/_libs/class-variance-authority.mjs +44 -0
  10. package/dist/server/_libs/clsx.mjs +16 -0
  11. package/dist/server/_libs/comma-separated-tokens.mjs +10 -0
  12. package/dist/server/_libs/cookie-es.mjs +1 -0
  13. package/dist/server/_libs/croner.mjs +1 -0
  14. package/dist/server/_libs/crossws.mjs +1 -0
  15. package/dist/server/_libs/decode-named-character-reference+[...].mjs +8 -0
  16. package/dist/server/_libs/devlop.mjs +8 -0
  17. package/dist/server/_libs/escape-string-regexp.mjs +9 -0
  18. package/dist/server/_libs/estree-util-is-identifier-name.mjs +11 -0
  19. package/dist/server/_libs/extend.mjs +97 -0
  20. package/dist/server/_libs/floating-ui__core.mjs +663 -0
  21. package/dist/server/_libs/floating-ui__dom.mjs +624 -0
  22. package/dist/server/_libs/floating-ui__react-dom.mjs +279 -0
  23. package/dist/server/_libs/floating-ui__utils.mjs +322 -0
  24. package/dist/server/_libs/h3.mjs +408 -0
  25. package/dist/server/_libs/hast-util-is-element.mjs +75 -0
  26. package/dist/server/_libs/hast-util-to-jsx-runtime.mjs +388 -0
  27. package/dist/server/_libs/hast-util-to-text.mjs +305 -0
  28. package/dist/server/_libs/hast-util-whitespace.mjs +10 -0
  29. package/dist/server/_libs/highlight.js.mjs +14756 -0
  30. package/dist/server/_libs/hookable.mjs +1 -0
  31. package/dist/server/_libs/html-url-attributes.mjs +26 -0
  32. package/dist/server/_libs/inline-style-parser.mjs +142 -0
  33. package/dist/server/_libs/is-plain-obj.mjs +10 -0
  34. package/dist/server/_libs/isbot.mjs +21 -0
  35. package/dist/server/_libs/longest-streak.mjs +25 -0
  36. package/dist/server/_libs/lowlight.mjs +262 -0
  37. package/dist/server/_libs/markdown-table.mjs +142 -0
  38. package/dist/server/_libs/mdast-util-find-and-replace.mjs +109 -0
  39. package/dist/server/_libs/mdast-util-from-markdown.mjs +717 -0
  40. package/dist/server/_libs/mdast-util-gfm-autolink-literal+[...].mjs +156 -0
  41. package/dist/server/_libs/mdast-util-gfm-footnote.mjs +117 -0
  42. package/dist/server/_libs/mdast-util-gfm-strikethrough.mjs +54 -0
  43. package/dist/server/_libs/mdast-util-gfm-table.mjs +157 -0
  44. package/dist/server/_libs/mdast-util-gfm-task-list-item.mjs +77 -0
  45. package/dist/server/_libs/mdast-util-gfm.mjs +29 -0
  46. package/dist/server/_libs/mdast-util-phrasing.mjs +30 -0
  47. package/dist/server/_libs/mdast-util-to-hast.mjs +710 -0
  48. package/dist/server/_libs/mdast-util-to-markdown.mjs +798 -0
  49. package/dist/server/_libs/mdast-util-to-string.mjs +38 -0
  50. package/dist/server/_libs/micromark-core-commonmark.mjs +2259 -0
  51. package/dist/server/_libs/micromark-extension-gfm-autolink-literal+[...].mjs +344 -0
  52. package/dist/server/_libs/micromark-extension-gfm-footnote+[...].mjs +279 -0
  53. package/dist/server/_libs/micromark-extension-gfm-strikethrough+[...].mjs +98 -0
  54. package/dist/server/_libs/micromark-extension-gfm-table.mjs +491 -0
  55. package/dist/server/_libs/micromark-extension-gfm-tagfilter+[...].mjs +1 -0
  56. package/dist/server/_libs/micromark-extension-gfm-task-list-item+[...].mjs +77 -0
  57. package/dist/server/_libs/micromark-extension-gfm.mjs +18 -0
  58. package/dist/server/_libs/micromark-factory-destination.mjs +94 -0
  59. package/dist/server/_libs/micromark-factory-label.mjs +63 -0
  60. package/dist/server/_libs/micromark-factory-space.mjs +24 -0
  61. package/dist/server/_libs/micromark-factory-title.mjs +65 -0
  62. package/dist/server/_libs/micromark-factory-whitespace.mjs +22 -0
  63. package/dist/server/_libs/micromark-util-character.mjs +44 -0
  64. package/dist/server/_libs/micromark-util-chunked.mjs +36 -0
  65. package/dist/server/_libs/micromark-util-classify-character+[...].mjs +12 -0
  66. package/dist/server/_libs/micromark-util-combine-extensions+[...].mjs +41 -0
  67. package/dist/server/_libs/micromark-util-decode-numeric-character-reference+[...].mjs +19 -0
  68. package/dist/server/_libs/micromark-util-decode-string.mjs +21 -0
  69. package/dist/server/_libs/micromark-util-encode.mjs +1 -0
  70. package/dist/server/_libs/micromark-util-html-tag-name.mjs +69 -0
  71. package/dist/server/_libs/micromark-util-normalize-identifier+[...].mjs +6 -0
  72. package/dist/server/_libs/micromark-util-resolve-all.mjs +15 -0
  73. package/dist/server/_libs/micromark-util-sanitize-uri.mjs +41 -0
  74. package/dist/server/_libs/micromark-util-subtokenize.mjs +346 -0
  75. package/dist/server/_libs/micromark.mjs +906 -0
  76. package/dist/server/_libs/ocache.mjs +1 -0
  77. package/dist/server/_libs/ohash.mjs +1 -0
  78. package/dist/server/_libs/property-information.mjs +1209 -0
  79. package/dist/server/_libs/react-dom.mjs +10779 -0
  80. package/dist/server/_libs/react-markdown.mjs +147 -0
  81. package/dist/server/_libs/react.mjs +513 -0
  82. package/dist/server/_libs/rehype-highlight.mjs +94 -0
  83. package/dist/server/_libs/remark-gfm.mjs +20 -0
  84. package/dist/server/_libs/remark-parse.mjs +19 -0
  85. package/dist/server/_libs/remark-rehype.mjs +21 -0
  86. package/dist/server/_libs/reselect.mjs +1 -0
  87. package/dist/server/_libs/rou3.mjs +8 -0
  88. package/dist/server/_libs/seroval-plugins.mjs +1 -0
  89. package/dist/server/_libs/seroval.mjs +1 -0
  90. package/dist/server/_libs/space-separated-tokens.mjs +6 -0
  91. package/dist/server/_libs/srvx.mjs +781 -0
  92. package/dist/server/_libs/style-to-js.mjs +72 -0
  93. package/dist/server/_libs/style-to-object.mjs +38 -0
  94. package/dist/server/_libs/tabler__icons-react.mjs +140 -0
  95. package/dist/server/_libs/tailwind-merge.mjs +3255 -0
  96. package/dist/server/_libs/tanstack__history.mjs +29 -0
  97. package/dist/server/_libs/tanstack__react-router.mjs +1120 -0
  98. package/dist/server/_libs/tanstack__react-store.mjs +2 -0
  99. package/dist/server/_libs/tanstack__router-core.mjs +3594 -0
  100. package/dist/server/_libs/tanstack__store.mjs +1 -0
  101. package/dist/server/_libs/trim-lines.mjs +41 -0
  102. package/dist/server/_libs/trough.mjs +85 -0
  103. package/dist/server/_libs/ufo.mjs +54 -0
  104. package/dist/server/_libs/unctx.mjs +1 -0
  105. package/dist/server/_libs/ungap__structured-clone.mjs +224 -0
  106. package/dist/server/_libs/unified.mjs +661 -0
  107. package/dist/server/_libs/unist-util-find-after.mjs +41 -0
  108. package/dist/server/_libs/unist-util-is.mjs +100 -0
  109. package/dist/server/_libs/unist-util-position.mjs +27 -0
  110. package/dist/server/_libs/unist-util-stringify-position.mjs +27 -0
  111. package/dist/server/_libs/unist-util-visit-parents.mjs +83 -0
  112. package/dist/server/_libs/unist-util-visit.mjs +24 -0
  113. package/dist/server/_libs/unstorage.mjs +1 -0
  114. package/dist/server/_libs/use-sync-external-store.mjs +139 -0
  115. package/dist/server/_libs/vfile-message.mjs +138 -0
  116. package/dist/server/_libs/vfile.mjs +467 -0
  117. package/dist/server/_libs/zustand.mjs +43 -0
  118. package/dist/server/_libs/zwitch.mjs +1 -0
  119. package/dist/server/_ssr/ChatInputBlock-Bu2-iop_.mjs +220 -0
  120. package/dist/server/_ssr/MarkdownMessage-CNS7OSKN.mjs +68 -0
  121. package/dist/server/_ssr/chat._sessionId-P02iSfut.mjs +477 -0
  122. package/dist/server/_ssr/chat.index-BYB_48NC.mjs +64 -0
  123. package/dist/server/_ssr/index-C1mT_2d8.mjs +4890 -0
  124. package/dist/server/_ssr/index-DFV9_oCk.mjs +43 -0
  125. package/dist/server/_ssr/memory-CW_fSOG9.mjs +257 -0
  126. package/dist/server/_ssr/router-CUAfx91O.mjs +2035 -0
  127. package/dist/server/_ssr/settings-DoXurzvn.mjs +10 -0
  128. package/dist/server/_ssr/skills-Cs7A5ZwO.mjs +422 -0
  129. package/dist/server/_ssr/theme-BK4-7E2h.mjs +42 -0
  130. package/dist/server/_ssr/usage-Bs2-LXGz.mjs +298 -0
  131. package/dist/server/_tanstack-start-manifest_v-C7Upe2TI.mjs +4 -0
  132. package/dist/server/index.mjs +506 -0
  133. package/package.json +4 -3
  134. package/dist/public/assets/css/index-Dfs9RUU9.css +0 -1
  135. package/dist/public/assets/css/styles-B8p6jk5Z.css +0 -1
  136. package/dist/public/assets/js/ChatInputBlock-Bw7AL70H.js +0 -1
  137. package/dist/public/assets/js/MarkdownMessage-8d7Y6VL-.js +0 -1
  138. package/dist/public/assets/js/base-ui-BvQbAt_1.js +0 -1
  139. package/dist/public/assets/js/chat._sessionId-BG6lVraH.js +0 -1
  140. package/dist/public/assets/js/chat.index-D2zdMPTT.js +0 -1
  141. package/dist/public/assets/js/index-C0AK45FU.js +0 -60
  142. package/dist/public/assets/js/index-Cx5En4FK.js +0 -1
  143. package/dist/public/assets/js/memory-CeSRdTkW.js +0 -3
  144. package/dist/public/assets/js/router-8uDKazL-.js +0 -1
  145. package/dist/public/assets/js/settings-Bc3Y5zXO.js +0 -1
  146. package/dist/public/assets/js/skills-DZv7sA_5.js +0 -1
  147. package/dist/public/assets/js/theme-CPkdkpaj.js +0 -1
  148. package/dist/public/assets/js/usage-DXQsT9_b.js +0 -1
  149. package/dist/public/assets/woff2/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  150. package/dist/public/assets/woff2/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  151. package/dist/public/assets/woff2/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  152. package/dist/public/assets/woff2/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  153. package/dist/public/assets/woff2/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  154. package/dist/public/favicon.ico +0 -0
  155. package/dist/public/logo.png +0 -0
  156. package/dist/public/manifest.json +0 -25
  157. package/dist/public/robots.txt +0 -3
@@ -0,0 +1,1209 @@
1
+ class Schema {
2
+ /**
3
+ * @param {SchemaType['property']} property
4
+ * Property.
5
+ * @param {SchemaType['normal']} normal
6
+ * Normal.
7
+ * @param {Space | undefined} [space]
8
+ * Space.
9
+ * @returns
10
+ * Schema.
11
+ */
12
+ constructor(property, normal, space) {
13
+ this.normal = normal;
14
+ this.property = property;
15
+ if (space) {
16
+ this.space = space;
17
+ }
18
+ }
19
+ }
20
+ Schema.prototype.normal = {};
21
+ Schema.prototype.property = {};
22
+ Schema.prototype.space = void 0;
23
+ function merge(definitions, space) {
24
+ const property = {};
25
+ const normal = {};
26
+ for (const definition of definitions) {
27
+ Object.assign(property, definition.property);
28
+ Object.assign(normal, definition.normal);
29
+ }
30
+ return new Schema(property, normal, space);
31
+ }
32
+ function normalize(value) {
33
+ return value.toLowerCase();
34
+ }
35
+ class Info {
36
+ /**
37
+ * @param {string} property
38
+ * Property.
39
+ * @param {string} attribute
40
+ * Attribute.
41
+ * @returns
42
+ * Info.
43
+ */
44
+ constructor(property, attribute) {
45
+ this.attribute = attribute;
46
+ this.property = property;
47
+ }
48
+ }
49
+ Info.prototype.attribute = "";
50
+ Info.prototype.booleanish = false;
51
+ Info.prototype.boolean = false;
52
+ Info.prototype.commaOrSpaceSeparated = false;
53
+ Info.prototype.commaSeparated = false;
54
+ Info.prototype.defined = false;
55
+ Info.prototype.mustUseProperty = false;
56
+ Info.prototype.number = false;
57
+ Info.prototype.overloadedBoolean = false;
58
+ Info.prototype.property = "";
59
+ Info.prototype.spaceSeparated = false;
60
+ Info.prototype.space = void 0;
61
+ let powers = 0;
62
+ const boolean = increment();
63
+ const booleanish = increment();
64
+ const overloadedBoolean = increment();
65
+ const number = increment();
66
+ const spaceSeparated = increment();
67
+ const commaSeparated = increment();
68
+ const commaOrSpaceSeparated = increment();
69
+ function increment() {
70
+ return 2 ** ++powers;
71
+ }
72
+ const types = /* @__PURE__ */ Object.freeze({
73
+ __proto__: null,
74
+ boolean,
75
+ booleanish,
76
+ commaOrSpaceSeparated,
77
+ commaSeparated,
78
+ number,
79
+ overloadedBoolean,
80
+ spaceSeparated
81
+ });
82
+ const checks = (
83
+ /** @type {ReadonlyArray<keyof typeof types>} */
84
+ Object.keys(types)
85
+ );
86
+ class DefinedInfo extends Info {
87
+ /**
88
+ * @constructor
89
+ * @param {string} property
90
+ * Property.
91
+ * @param {string} attribute
92
+ * Attribute.
93
+ * @param {number | null | undefined} [mask]
94
+ * Mask.
95
+ * @param {Space | undefined} [space]
96
+ * Space.
97
+ * @returns
98
+ * Info.
99
+ */
100
+ constructor(property, attribute, mask, space) {
101
+ let index = -1;
102
+ super(property, attribute);
103
+ mark(this, "space", space);
104
+ if (typeof mask === "number") {
105
+ while (++index < checks.length) {
106
+ const check = checks[index];
107
+ mark(this, checks[index], (mask & types[check]) === types[check]);
108
+ }
109
+ }
110
+ }
111
+ }
112
+ DefinedInfo.prototype.defined = true;
113
+ function mark(values, key, value) {
114
+ if (value) {
115
+ values[key] = value;
116
+ }
117
+ }
118
+ function create(definition) {
119
+ const properties = {};
120
+ const normals = {};
121
+ for (const [property, value] of Object.entries(definition.properties)) {
122
+ const info = new DefinedInfo(
123
+ property,
124
+ definition.transform(definition.attributes || {}, property),
125
+ value,
126
+ definition.space
127
+ );
128
+ if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
129
+ info.mustUseProperty = true;
130
+ }
131
+ properties[property] = info;
132
+ normals[normalize(property)] = property;
133
+ normals[normalize(info.attribute)] = property;
134
+ }
135
+ return new Schema(properties, normals, definition.space);
136
+ }
137
+ const aria = create({
138
+ properties: {
139
+ ariaActiveDescendant: null,
140
+ ariaAtomic: booleanish,
141
+ ariaAutoComplete: null,
142
+ ariaBusy: booleanish,
143
+ ariaChecked: booleanish,
144
+ ariaColCount: number,
145
+ ariaColIndex: number,
146
+ ariaColSpan: number,
147
+ ariaControls: spaceSeparated,
148
+ ariaCurrent: null,
149
+ ariaDescribedBy: spaceSeparated,
150
+ ariaDetails: null,
151
+ ariaDisabled: booleanish,
152
+ ariaDropEffect: spaceSeparated,
153
+ ariaErrorMessage: null,
154
+ ariaExpanded: booleanish,
155
+ ariaFlowTo: spaceSeparated,
156
+ ariaGrabbed: booleanish,
157
+ ariaHasPopup: null,
158
+ ariaHidden: booleanish,
159
+ ariaInvalid: null,
160
+ ariaKeyShortcuts: null,
161
+ ariaLabel: null,
162
+ ariaLabelledBy: spaceSeparated,
163
+ ariaLevel: number,
164
+ ariaLive: null,
165
+ ariaModal: booleanish,
166
+ ariaMultiLine: booleanish,
167
+ ariaMultiSelectable: booleanish,
168
+ ariaOrientation: null,
169
+ ariaOwns: spaceSeparated,
170
+ ariaPlaceholder: null,
171
+ ariaPosInSet: number,
172
+ ariaPressed: booleanish,
173
+ ariaReadOnly: booleanish,
174
+ ariaRelevant: null,
175
+ ariaRequired: booleanish,
176
+ ariaRoleDescription: spaceSeparated,
177
+ ariaRowCount: number,
178
+ ariaRowIndex: number,
179
+ ariaRowSpan: number,
180
+ ariaSelected: booleanish,
181
+ ariaSetSize: number,
182
+ ariaSort: null,
183
+ ariaValueMax: number,
184
+ ariaValueMin: number,
185
+ ariaValueNow: number,
186
+ ariaValueText: null,
187
+ role: null
188
+ },
189
+ transform(_, property) {
190
+ return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
191
+ }
192
+ });
193
+ function caseSensitiveTransform(attributes, attribute) {
194
+ return attribute in attributes ? attributes[attribute] : attribute;
195
+ }
196
+ function caseInsensitiveTransform(attributes, property) {
197
+ return caseSensitiveTransform(attributes, property.toLowerCase());
198
+ }
199
+ const html$1 = create({
200
+ attributes: {
201
+ acceptcharset: "accept-charset",
202
+ classname: "class",
203
+ htmlfor: "for",
204
+ httpequiv: "http-equiv"
205
+ },
206
+ mustUseProperty: ["checked", "multiple", "muted", "selected"],
207
+ properties: {
208
+ // Standard Properties.
209
+ abbr: null,
210
+ accept: commaSeparated,
211
+ acceptCharset: spaceSeparated,
212
+ accessKey: spaceSeparated,
213
+ action: null,
214
+ allow: null,
215
+ allowFullScreen: boolean,
216
+ allowPaymentRequest: boolean,
217
+ allowUserMedia: boolean,
218
+ alt: null,
219
+ as: null,
220
+ async: boolean,
221
+ autoCapitalize: null,
222
+ autoComplete: spaceSeparated,
223
+ autoFocus: boolean,
224
+ autoPlay: boolean,
225
+ blocking: spaceSeparated,
226
+ capture: null,
227
+ charSet: null,
228
+ checked: boolean,
229
+ cite: null,
230
+ className: spaceSeparated,
231
+ cols: number,
232
+ colSpan: null,
233
+ content: null,
234
+ contentEditable: booleanish,
235
+ controls: boolean,
236
+ controlsList: spaceSeparated,
237
+ coords: number | commaSeparated,
238
+ crossOrigin: null,
239
+ data: null,
240
+ dateTime: null,
241
+ decoding: null,
242
+ default: boolean,
243
+ defer: boolean,
244
+ dir: null,
245
+ dirName: null,
246
+ disabled: boolean,
247
+ download: overloadedBoolean,
248
+ draggable: booleanish,
249
+ encType: null,
250
+ enterKeyHint: null,
251
+ fetchPriority: null,
252
+ form: null,
253
+ formAction: null,
254
+ formEncType: null,
255
+ formMethod: null,
256
+ formNoValidate: boolean,
257
+ formTarget: null,
258
+ headers: spaceSeparated,
259
+ height: number,
260
+ hidden: overloadedBoolean,
261
+ high: number,
262
+ href: null,
263
+ hrefLang: null,
264
+ htmlFor: spaceSeparated,
265
+ httpEquiv: spaceSeparated,
266
+ id: null,
267
+ imageSizes: null,
268
+ imageSrcSet: null,
269
+ inert: boolean,
270
+ inputMode: null,
271
+ integrity: null,
272
+ is: null,
273
+ isMap: boolean,
274
+ itemId: null,
275
+ itemProp: spaceSeparated,
276
+ itemRef: spaceSeparated,
277
+ itemScope: boolean,
278
+ itemType: spaceSeparated,
279
+ kind: null,
280
+ label: null,
281
+ lang: null,
282
+ language: null,
283
+ list: null,
284
+ loading: null,
285
+ loop: boolean,
286
+ low: number,
287
+ manifest: null,
288
+ max: null,
289
+ maxLength: number,
290
+ media: null,
291
+ method: null,
292
+ min: null,
293
+ minLength: number,
294
+ multiple: boolean,
295
+ muted: boolean,
296
+ name: null,
297
+ nonce: null,
298
+ noModule: boolean,
299
+ noValidate: boolean,
300
+ onAbort: null,
301
+ onAfterPrint: null,
302
+ onAuxClick: null,
303
+ onBeforeMatch: null,
304
+ onBeforePrint: null,
305
+ onBeforeToggle: null,
306
+ onBeforeUnload: null,
307
+ onBlur: null,
308
+ onCancel: null,
309
+ onCanPlay: null,
310
+ onCanPlayThrough: null,
311
+ onChange: null,
312
+ onClick: null,
313
+ onClose: null,
314
+ onContextLost: null,
315
+ onContextMenu: null,
316
+ onContextRestored: null,
317
+ onCopy: null,
318
+ onCueChange: null,
319
+ onCut: null,
320
+ onDblClick: null,
321
+ onDrag: null,
322
+ onDragEnd: null,
323
+ onDragEnter: null,
324
+ onDragExit: null,
325
+ onDragLeave: null,
326
+ onDragOver: null,
327
+ onDragStart: null,
328
+ onDrop: null,
329
+ onDurationChange: null,
330
+ onEmptied: null,
331
+ onEnded: null,
332
+ onError: null,
333
+ onFocus: null,
334
+ onFormData: null,
335
+ onHashChange: null,
336
+ onInput: null,
337
+ onInvalid: null,
338
+ onKeyDown: null,
339
+ onKeyPress: null,
340
+ onKeyUp: null,
341
+ onLanguageChange: null,
342
+ onLoad: null,
343
+ onLoadedData: null,
344
+ onLoadedMetadata: null,
345
+ onLoadEnd: null,
346
+ onLoadStart: null,
347
+ onMessage: null,
348
+ onMessageError: null,
349
+ onMouseDown: null,
350
+ onMouseEnter: null,
351
+ onMouseLeave: null,
352
+ onMouseMove: null,
353
+ onMouseOut: null,
354
+ onMouseOver: null,
355
+ onMouseUp: null,
356
+ onOffline: null,
357
+ onOnline: null,
358
+ onPageHide: null,
359
+ onPageShow: null,
360
+ onPaste: null,
361
+ onPause: null,
362
+ onPlay: null,
363
+ onPlaying: null,
364
+ onPopState: null,
365
+ onProgress: null,
366
+ onRateChange: null,
367
+ onRejectionHandled: null,
368
+ onReset: null,
369
+ onResize: null,
370
+ onScroll: null,
371
+ onScrollEnd: null,
372
+ onSecurityPolicyViolation: null,
373
+ onSeeked: null,
374
+ onSeeking: null,
375
+ onSelect: null,
376
+ onSlotChange: null,
377
+ onStalled: null,
378
+ onStorage: null,
379
+ onSubmit: null,
380
+ onSuspend: null,
381
+ onTimeUpdate: null,
382
+ onToggle: null,
383
+ onUnhandledRejection: null,
384
+ onUnload: null,
385
+ onVolumeChange: null,
386
+ onWaiting: null,
387
+ onWheel: null,
388
+ open: boolean,
389
+ optimum: number,
390
+ pattern: null,
391
+ ping: spaceSeparated,
392
+ placeholder: null,
393
+ playsInline: boolean,
394
+ popover: null,
395
+ popoverTarget: null,
396
+ popoverTargetAction: null,
397
+ poster: null,
398
+ preload: null,
399
+ readOnly: boolean,
400
+ referrerPolicy: null,
401
+ rel: spaceSeparated,
402
+ required: boolean,
403
+ reversed: boolean,
404
+ rows: number,
405
+ rowSpan: number,
406
+ sandbox: spaceSeparated,
407
+ scope: null,
408
+ scoped: boolean,
409
+ seamless: boolean,
410
+ selected: boolean,
411
+ shadowRootClonable: boolean,
412
+ shadowRootDelegatesFocus: boolean,
413
+ shadowRootMode: null,
414
+ shape: null,
415
+ size: number,
416
+ sizes: null,
417
+ slot: null,
418
+ span: number,
419
+ spellCheck: booleanish,
420
+ src: null,
421
+ srcDoc: null,
422
+ srcLang: null,
423
+ srcSet: null,
424
+ start: number,
425
+ step: null,
426
+ style: null,
427
+ tabIndex: number,
428
+ target: null,
429
+ title: null,
430
+ translate: null,
431
+ type: null,
432
+ typeMustMatch: boolean,
433
+ useMap: null,
434
+ value: booleanish,
435
+ width: number,
436
+ wrap: null,
437
+ writingSuggestions: null,
438
+ // Legacy.
439
+ // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
440
+ align: null,
441
+ // Several. Use CSS `text-align` instead,
442
+ aLink: null,
443
+ // `<body>`. Use CSS `a:active {color}` instead
444
+ archive: spaceSeparated,
445
+ // `<object>`. List of URIs to archives
446
+ axis: null,
447
+ // `<td>` and `<th>`. Use `scope` on `<th>`
448
+ background: null,
449
+ // `<body>`. Use CSS `background-image` instead
450
+ bgColor: null,
451
+ // `<body>` and table elements. Use CSS `background-color` instead
452
+ border: number,
453
+ // `<table>`. Use CSS `border-width` instead,
454
+ borderColor: null,
455
+ // `<table>`. Use CSS `border-color` instead,
456
+ bottomMargin: number,
457
+ // `<body>`
458
+ cellPadding: null,
459
+ // `<table>`
460
+ cellSpacing: null,
461
+ // `<table>`
462
+ char: null,
463
+ // Several table elements. When `align=char`, sets the character to align on
464
+ charOff: null,
465
+ // Several table elements. When `char`, offsets the alignment
466
+ classId: null,
467
+ // `<object>`
468
+ clear: null,
469
+ // `<br>`. Use CSS `clear` instead
470
+ code: null,
471
+ // `<object>`
472
+ codeBase: null,
473
+ // `<object>`
474
+ codeType: null,
475
+ // `<object>`
476
+ color: null,
477
+ // `<font>` and `<hr>`. Use CSS instead
478
+ compact: boolean,
479
+ // Lists. Use CSS to reduce space between items instead
480
+ declare: boolean,
481
+ // `<object>`
482
+ event: null,
483
+ // `<script>`
484
+ face: null,
485
+ // `<font>`. Use CSS instead
486
+ frame: null,
487
+ // `<table>`
488
+ frameBorder: null,
489
+ // `<iframe>`. Use CSS `border` instead
490
+ hSpace: number,
491
+ // `<img>` and `<object>`
492
+ leftMargin: number,
493
+ // `<body>`
494
+ link: null,
495
+ // `<body>`. Use CSS `a:link {color: *}` instead
496
+ longDesc: null,
497
+ // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
498
+ lowSrc: null,
499
+ // `<img>`. Use a `<picture>`
500
+ marginHeight: number,
501
+ // `<body>`
502
+ marginWidth: number,
503
+ // `<body>`
504
+ noResize: boolean,
505
+ // `<frame>`
506
+ noHref: boolean,
507
+ // `<area>`. Use no href instead of an explicit `nohref`
508
+ noShade: boolean,
509
+ // `<hr>`. Use background-color and height instead of borders
510
+ noWrap: boolean,
511
+ // `<td>` and `<th>`
512
+ object: null,
513
+ // `<applet>`
514
+ profile: null,
515
+ // `<head>`
516
+ prompt: null,
517
+ // `<isindex>`
518
+ rev: null,
519
+ // `<link>`
520
+ rightMargin: number,
521
+ // `<body>`
522
+ rules: null,
523
+ // `<table>`
524
+ scheme: null,
525
+ // `<meta>`
526
+ scrolling: booleanish,
527
+ // `<frame>`. Use overflow in the child context
528
+ standby: null,
529
+ // `<object>`
530
+ summary: null,
531
+ // `<table>`
532
+ text: null,
533
+ // `<body>`. Use CSS `color` instead
534
+ topMargin: number,
535
+ // `<body>`
536
+ valueType: null,
537
+ // `<param>`
538
+ version: null,
539
+ // `<html>`. Use a doctype.
540
+ vAlign: null,
541
+ // Several. Use CSS `vertical-align` instead
542
+ vLink: null,
543
+ // `<body>`. Use CSS `a:visited {color}` instead
544
+ vSpace: number,
545
+ // `<img>` and `<object>`
546
+ // Non-standard Properties.
547
+ allowTransparency: null,
548
+ autoCorrect: null,
549
+ autoSave: null,
550
+ disablePictureInPicture: boolean,
551
+ disableRemotePlayback: boolean,
552
+ prefix: null,
553
+ property: null,
554
+ results: number,
555
+ security: null,
556
+ unselectable: null
557
+ },
558
+ space: "html",
559
+ transform: caseInsensitiveTransform
560
+ });
561
+ const svg$1 = create({
562
+ attributes: {
563
+ accentHeight: "accent-height",
564
+ alignmentBaseline: "alignment-baseline",
565
+ arabicForm: "arabic-form",
566
+ baselineShift: "baseline-shift",
567
+ capHeight: "cap-height",
568
+ className: "class",
569
+ clipPath: "clip-path",
570
+ clipRule: "clip-rule",
571
+ colorInterpolation: "color-interpolation",
572
+ colorInterpolationFilters: "color-interpolation-filters",
573
+ colorProfile: "color-profile",
574
+ colorRendering: "color-rendering",
575
+ crossOrigin: "crossorigin",
576
+ dataType: "datatype",
577
+ dominantBaseline: "dominant-baseline",
578
+ enableBackground: "enable-background",
579
+ fillOpacity: "fill-opacity",
580
+ fillRule: "fill-rule",
581
+ floodColor: "flood-color",
582
+ floodOpacity: "flood-opacity",
583
+ fontFamily: "font-family",
584
+ fontSize: "font-size",
585
+ fontSizeAdjust: "font-size-adjust",
586
+ fontStretch: "font-stretch",
587
+ fontStyle: "font-style",
588
+ fontVariant: "font-variant",
589
+ fontWeight: "font-weight",
590
+ glyphName: "glyph-name",
591
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
592
+ glyphOrientationVertical: "glyph-orientation-vertical",
593
+ hrefLang: "hreflang",
594
+ horizAdvX: "horiz-adv-x",
595
+ horizOriginX: "horiz-origin-x",
596
+ horizOriginY: "horiz-origin-y",
597
+ imageRendering: "image-rendering",
598
+ letterSpacing: "letter-spacing",
599
+ lightingColor: "lighting-color",
600
+ markerEnd: "marker-end",
601
+ markerMid: "marker-mid",
602
+ markerStart: "marker-start",
603
+ navDown: "nav-down",
604
+ navDownLeft: "nav-down-left",
605
+ navDownRight: "nav-down-right",
606
+ navLeft: "nav-left",
607
+ navNext: "nav-next",
608
+ navPrev: "nav-prev",
609
+ navRight: "nav-right",
610
+ navUp: "nav-up",
611
+ navUpLeft: "nav-up-left",
612
+ navUpRight: "nav-up-right",
613
+ onAbort: "onabort",
614
+ onActivate: "onactivate",
615
+ onAfterPrint: "onafterprint",
616
+ onBeforePrint: "onbeforeprint",
617
+ onBegin: "onbegin",
618
+ onCancel: "oncancel",
619
+ onCanPlay: "oncanplay",
620
+ onCanPlayThrough: "oncanplaythrough",
621
+ onChange: "onchange",
622
+ onClick: "onclick",
623
+ onClose: "onclose",
624
+ onCopy: "oncopy",
625
+ onCueChange: "oncuechange",
626
+ onCut: "oncut",
627
+ onDblClick: "ondblclick",
628
+ onDrag: "ondrag",
629
+ onDragEnd: "ondragend",
630
+ onDragEnter: "ondragenter",
631
+ onDragExit: "ondragexit",
632
+ onDragLeave: "ondragleave",
633
+ onDragOver: "ondragover",
634
+ onDragStart: "ondragstart",
635
+ onDrop: "ondrop",
636
+ onDurationChange: "ondurationchange",
637
+ onEmptied: "onemptied",
638
+ onEnd: "onend",
639
+ onEnded: "onended",
640
+ onError: "onerror",
641
+ onFocus: "onfocus",
642
+ onFocusIn: "onfocusin",
643
+ onFocusOut: "onfocusout",
644
+ onHashChange: "onhashchange",
645
+ onInput: "oninput",
646
+ onInvalid: "oninvalid",
647
+ onKeyDown: "onkeydown",
648
+ onKeyPress: "onkeypress",
649
+ onKeyUp: "onkeyup",
650
+ onLoad: "onload",
651
+ onLoadedData: "onloadeddata",
652
+ onLoadedMetadata: "onloadedmetadata",
653
+ onLoadStart: "onloadstart",
654
+ onMessage: "onmessage",
655
+ onMouseDown: "onmousedown",
656
+ onMouseEnter: "onmouseenter",
657
+ onMouseLeave: "onmouseleave",
658
+ onMouseMove: "onmousemove",
659
+ onMouseOut: "onmouseout",
660
+ onMouseOver: "onmouseover",
661
+ onMouseUp: "onmouseup",
662
+ onMouseWheel: "onmousewheel",
663
+ onOffline: "onoffline",
664
+ onOnline: "ononline",
665
+ onPageHide: "onpagehide",
666
+ onPageShow: "onpageshow",
667
+ onPaste: "onpaste",
668
+ onPause: "onpause",
669
+ onPlay: "onplay",
670
+ onPlaying: "onplaying",
671
+ onPopState: "onpopstate",
672
+ onProgress: "onprogress",
673
+ onRateChange: "onratechange",
674
+ onRepeat: "onrepeat",
675
+ onReset: "onreset",
676
+ onResize: "onresize",
677
+ onScroll: "onscroll",
678
+ onSeeked: "onseeked",
679
+ onSeeking: "onseeking",
680
+ onSelect: "onselect",
681
+ onShow: "onshow",
682
+ onStalled: "onstalled",
683
+ onStorage: "onstorage",
684
+ onSubmit: "onsubmit",
685
+ onSuspend: "onsuspend",
686
+ onTimeUpdate: "ontimeupdate",
687
+ onToggle: "ontoggle",
688
+ onUnload: "onunload",
689
+ onVolumeChange: "onvolumechange",
690
+ onWaiting: "onwaiting",
691
+ onZoom: "onzoom",
692
+ overlinePosition: "overline-position",
693
+ overlineThickness: "overline-thickness",
694
+ paintOrder: "paint-order",
695
+ panose1: "panose-1",
696
+ pointerEvents: "pointer-events",
697
+ referrerPolicy: "referrerpolicy",
698
+ renderingIntent: "rendering-intent",
699
+ shapeRendering: "shape-rendering",
700
+ stopColor: "stop-color",
701
+ stopOpacity: "stop-opacity",
702
+ strikethroughPosition: "strikethrough-position",
703
+ strikethroughThickness: "strikethrough-thickness",
704
+ strokeDashArray: "stroke-dasharray",
705
+ strokeDashOffset: "stroke-dashoffset",
706
+ strokeLineCap: "stroke-linecap",
707
+ strokeLineJoin: "stroke-linejoin",
708
+ strokeMiterLimit: "stroke-miterlimit",
709
+ strokeOpacity: "stroke-opacity",
710
+ strokeWidth: "stroke-width",
711
+ tabIndex: "tabindex",
712
+ textAnchor: "text-anchor",
713
+ textDecoration: "text-decoration",
714
+ textRendering: "text-rendering",
715
+ transformOrigin: "transform-origin",
716
+ typeOf: "typeof",
717
+ underlinePosition: "underline-position",
718
+ underlineThickness: "underline-thickness",
719
+ unicodeBidi: "unicode-bidi",
720
+ unicodeRange: "unicode-range",
721
+ unitsPerEm: "units-per-em",
722
+ vAlphabetic: "v-alphabetic",
723
+ vHanging: "v-hanging",
724
+ vIdeographic: "v-ideographic",
725
+ vMathematical: "v-mathematical",
726
+ vectorEffect: "vector-effect",
727
+ vertAdvY: "vert-adv-y",
728
+ vertOriginX: "vert-origin-x",
729
+ vertOriginY: "vert-origin-y",
730
+ wordSpacing: "word-spacing",
731
+ writingMode: "writing-mode",
732
+ xHeight: "x-height",
733
+ // These were camelcased in Tiny. Now lowercased in SVG 2
734
+ playbackOrder: "playbackorder",
735
+ timelineBegin: "timelinebegin"
736
+ },
737
+ properties: {
738
+ about: commaOrSpaceSeparated,
739
+ accentHeight: number,
740
+ accumulate: null,
741
+ additive: null,
742
+ alignmentBaseline: null,
743
+ alphabetic: number,
744
+ amplitude: number,
745
+ arabicForm: null,
746
+ ascent: number,
747
+ attributeName: null,
748
+ attributeType: null,
749
+ azimuth: number,
750
+ bandwidth: null,
751
+ baselineShift: null,
752
+ baseFrequency: null,
753
+ baseProfile: null,
754
+ bbox: null,
755
+ begin: null,
756
+ bias: number,
757
+ by: null,
758
+ calcMode: null,
759
+ capHeight: number,
760
+ className: spaceSeparated,
761
+ clip: null,
762
+ clipPath: null,
763
+ clipPathUnits: null,
764
+ clipRule: null,
765
+ color: null,
766
+ colorInterpolation: null,
767
+ colorInterpolationFilters: null,
768
+ colorProfile: null,
769
+ colorRendering: null,
770
+ content: null,
771
+ contentScriptType: null,
772
+ contentStyleType: null,
773
+ crossOrigin: null,
774
+ cursor: null,
775
+ cx: null,
776
+ cy: null,
777
+ d: null,
778
+ dataType: null,
779
+ defaultAction: null,
780
+ descent: number,
781
+ diffuseConstant: number,
782
+ direction: null,
783
+ display: null,
784
+ dur: null,
785
+ divisor: number,
786
+ dominantBaseline: null,
787
+ download: boolean,
788
+ dx: null,
789
+ dy: null,
790
+ edgeMode: null,
791
+ editable: null,
792
+ elevation: number,
793
+ enableBackground: null,
794
+ end: null,
795
+ event: null,
796
+ exponent: number,
797
+ externalResourcesRequired: null,
798
+ fill: null,
799
+ fillOpacity: number,
800
+ fillRule: null,
801
+ filter: null,
802
+ filterRes: null,
803
+ filterUnits: null,
804
+ floodColor: null,
805
+ floodOpacity: null,
806
+ focusable: null,
807
+ focusHighlight: null,
808
+ fontFamily: null,
809
+ fontSize: null,
810
+ fontSizeAdjust: null,
811
+ fontStretch: null,
812
+ fontStyle: null,
813
+ fontVariant: null,
814
+ fontWeight: null,
815
+ format: null,
816
+ fr: null,
817
+ from: null,
818
+ fx: null,
819
+ fy: null,
820
+ g1: commaSeparated,
821
+ g2: commaSeparated,
822
+ glyphName: commaSeparated,
823
+ glyphOrientationHorizontal: null,
824
+ glyphOrientationVertical: null,
825
+ glyphRef: null,
826
+ gradientTransform: null,
827
+ gradientUnits: null,
828
+ handler: null,
829
+ hanging: number,
830
+ hatchContentUnits: null,
831
+ hatchUnits: null,
832
+ height: null,
833
+ href: null,
834
+ hrefLang: null,
835
+ horizAdvX: number,
836
+ horizOriginX: number,
837
+ horizOriginY: number,
838
+ id: null,
839
+ ideographic: number,
840
+ imageRendering: null,
841
+ initialVisibility: null,
842
+ in: null,
843
+ in2: null,
844
+ intercept: number,
845
+ k: number,
846
+ k1: number,
847
+ k2: number,
848
+ k3: number,
849
+ k4: number,
850
+ kernelMatrix: commaOrSpaceSeparated,
851
+ kernelUnitLength: null,
852
+ keyPoints: null,
853
+ // SEMI_COLON_SEPARATED
854
+ keySplines: null,
855
+ // SEMI_COLON_SEPARATED
856
+ keyTimes: null,
857
+ // SEMI_COLON_SEPARATED
858
+ kerning: null,
859
+ lang: null,
860
+ lengthAdjust: null,
861
+ letterSpacing: null,
862
+ lightingColor: null,
863
+ limitingConeAngle: number,
864
+ local: null,
865
+ markerEnd: null,
866
+ markerMid: null,
867
+ markerStart: null,
868
+ markerHeight: null,
869
+ markerUnits: null,
870
+ markerWidth: null,
871
+ mask: null,
872
+ maskContentUnits: null,
873
+ maskUnits: null,
874
+ mathematical: null,
875
+ max: null,
876
+ media: null,
877
+ mediaCharacterEncoding: null,
878
+ mediaContentEncodings: null,
879
+ mediaSize: number,
880
+ mediaTime: null,
881
+ method: null,
882
+ min: null,
883
+ mode: null,
884
+ name: null,
885
+ navDown: null,
886
+ navDownLeft: null,
887
+ navDownRight: null,
888
+ navLeft: null,
889
+ navNext: null,
890
+ navPrev: null,
891
+ navRight: null,
892
+ navUp: null,
893
+ navUpLeft: null,
894
+ navUpRight: null,
895
+ numOctaves: null,
896
+ observer: null,
897
+ offset: null,
898
+ onAbort: null,
899
+ onActivate: null,
900
+ onAfterPrint: null,
901
+ onBeforePrint: null,
902
+ onBegin: null,
903
+ onCancel: null,
904
+ onCanPlay: null,
905
+ onCanPlayThrough: null,
906
+ onChange: null,
907
+ onClick: null,
908
+ onClose: null,
909
+ onCopy: null,
910
+ onCueChange: null,
911
+ onCut: null,
912
+ onDblClick: null,
913
+ onDrag: null,
914
+ onDragEnd: null,
915
+ onDragEnter: null,
916
+ onDragExit: null,
917
+ onDragLeave: null,
918
+ onDragOver: null,
919
+ onDragStart: null,
920
+ onDrop: null,
921
+ onDurationChange: null,
922
+ onEmptied: null,
923
+ onEnd: null,
924
+ onEnded: null,
925
+ onError: null,
926
+ onFocus: null,
927
+ onFocusIn: null,
928
+ onFocusOut: null,
929
+ onHashChange: null,
930
+ onInput: null,
931
+ onInvalid: null,
932
+ onKeyDown: null,
933
+ onKeyPress: null,
934
+ onKeyUp: null,
935
+ onLoad: null,
936
+ onLoadedData: null,
937
+ onLoadedMetadata: null,
938
+ onLoadStart: null,
939
+ onMessage: null,
940
+ onMouseDown: null,
941
+ onMouseEnter: null,
942
+ onMouseLeave: null,
943
+ onMouseMove: null,
944
+ onMouseOut: null,
945
+ onMouseOver: null,
946
+ onMouseUp: null,
947
+ onMouseWheel: null,
948
+ onOffline: null,
949
+ onOnline: null,
950
+ onPageHide: null,
951
+ onPageShow: null,
952
+ onPaste: null,
953
+ onPause: null,
954
+ onPlay: null,
955
+ onPlaying: null,
956
+ onPopState: null,
957
+ onProgress: null,
958
+ onRateChange: null,
959
+ onRepeat: null,
960
+ onReset: null,
961
+ onResize: null,
962
+ onScroll: null,
963
+ onSeeked: null,
964
+ onSeeking: null,
965
+ onSelect: null,
966
+ onShow: null,
967
+ onStalled: null,
968
+ onStorage: null,
969
+ onSubmit: null,
970
+ onSuspend: null,
971
+ onTimeUpdate: null,
972
+ onToggle: null,
973
+ onUnload: null,
974
+ onVolumeChange: null,
975
+ onWaiting: null,
976
+ onZoom: null,
977
+ opacity: null,
978
+ operator: null,
979
+ order: null,
980
+ orient: null,
981
+ orientation: null,
982
+ origin: null,
983
+ overflow: null,
984
+ overlay: null,
985
+ overlinePosition: number,
986
+ overlineThickness: number,
987
+ paintOrder: null,
988
+ panose1: null,
989
+ path: null,
990
+ pathLength: number,
991
+ patternContentUnits: null,
992
+ patternTransform: null,
993
+ patternUnits: null,
994
+ phase: null,
995
+ ping: spaceSeparated,
996
+ pitch: null,
997
+ playbackOrder: null,
998
+ pointerEvents: null,
999
+ points: null,
1000
+ pointsAtX: number,
1001
+ pointsAtY: number,
1002
+ pointsAtZ: number,
1003
+ preserveAlpha: null,
1004
+ preserveAspectRatio: null,
1005
+ primitiveUnits: null,
1006
+ propagate: null,
1007
+ property: commaOrSpaceSeparated,
1008
+ r: null,
1009
+ radius: null,
1010
+ referrerPolicy: null,
1011
+ refX: null,
1012
+ refY: null,
1013
+ rel: commaOrSpaceSeparated,
1014
+ rev: commaOrSpaceSeparated,
1015
+ renderingIntent: null,
1016
+ repeatCount: null,
1017
+ repeatDur: null,
1018
+ requiredExtensions: commaOrSpaceSeparated,
1019
+ requiredFeatures: commaOrSpaceSeparated,
1020
+ requiredFonts: commaOrSpaceSeparated,
1021
+ requiredFormats: commaOrSpaceSeparated,
1022
+ resource: null,
1023
+ restart: null,
1024
+ result: null,
1025
+ rotate: null,
1026
+ rx: null,
1027
+ ry: null,
1028
+ scale: null,
1029
+ seed: null,
1030
+ shapeRendering: null,
1031
+ side: null,
1032
+ slope: null,
1033
+ snapshotTime: null,
1034
+ specularConstant: number,
1035
+ specularExponent: number,
1036
+ spreadMethod: null,
1037
+ spacing: null,
1038
+ startOffset: null,
1039
+ stdDeviation: null,
1040
+ stemh: null,
1041
+ stemv: null,
1042
+ stitchTiles: null,
1043
+ stopColor: null,
1044
+ stopOpacity: null,
1045
+ strikethroughPosition: number,
1046
+ strikethroughThickness: number,
1047
+ string: null,
1048
+ stroke: null,
1049
+ strokeDashArray: commaOrSpaceSeparated,
1050
+ strokeDashOffset: null,
1051
+ strokeLineCap: null,
1052
+ strokeLineJoin: null,
1053
+ strokeMiterLimit: number,
1054
+ strokeOpacity: number,
1055
+ strokeWidth: null,
1056
+ style: null,
1057
+ surfaceScale: number,
1058
+ syncBehavior: null,
1059
+ syncBehaviorDefault: null,
1060
+ syncMaster: null,
1061
+ syncTolerance: null,
1062
+ syncToleranceDefault: null,
1063
+ systemLanguage: commaOrSpaceSeparated,
1064
+ tabIndex: number,
1065
+ tableValues: null,
1066
+ target: null,
1067
+ targetX: number,
1068
+ targetY: number,
1069
+ textAnchor: null,
1070
+ textDecoration: null,
1071
+ textRendering: null,
1072
+ textLength: null,
1073
+ timelineBegin: null,
1074
+ title: null,
1075
+ transformBehavior: null,
1076
+ type: null,
1077
+ typeOf: commaOrSpaceSeparated,
1078
+ to: null,
1079
+ transform: null,
1080
+ transformOrigin: null,
1081
+ u1: null,
1082
+ u2: null,
1083
+ underlinePosition: number,
1084
+ underlineThickness: number,
1085
+ unicode: null,
1086
+ unicodeBidi: null,
1087
+ unicodeRange: null,
1088
+ unitsPerEm: number,
1089
+ values: null,
1090
+ vAlphabetic: number,
1091
+ vMathematical: number,
1092
+ vectorEffect: null,
1093
+ vHanging: number,
1094
+ vIdeographic: number,
1095
+ version: null,
1096
+ vertAdvY: number,
1097
+ vertOriginX: number,
1098
+ vertOriginY: number,
1099
+ viewBox: null,
1100
+ viewTarget: null,
1101
+ visibility: null,
1102
+ width: null,
1103
+ widths: null,
1104
+ wordSpacing: null,
1105
+ writingMode: null,
1106
+ x: null,
1107
+ x1: null,
1108
+ x2: null,
1109
+ xChannelSelector: null,
1110
+ xHeight: number,
1111
+ y: null,
1112
+ y1: null,
1113
+ y2: null,
1114
+ yChannelSelector: null,
1115
+ z: null,
1116
+ zoomAndPan: null
1117
+ },
1118
+ space: "svg",
1119
+ transform: caseSensitiveTransform
1120
+ });
1121
+ const xlink = create({
1122
+ properties: {
1123
+ xLinkActuate: null,
1124
+ xLinkArcRole: null,
1125
+ xLinkHref: null,
1126
+ xLinkRole: null,
1127
+ xLinkShow: null,
1128
+ xLinkTitle: null,
1129
+ xLinkType: null
1130
+ },
1131
+ space: "xlink",
1132
+ transform(_, property) {
1133
+ return "xlink:" + property.slice(5).toLowerCase();
1134
+ }
1135
+ });
1136
+ const xmlns = create({
1137
+ attributes: { xmlnsxlink: "xmlns:xlink" },
1138
+ properties: { xmlnsXLink: null, xmlns: null },
1139
+ space: "xmlns",
1140
+ transform: caseInsensitiveTransform
1141
+ });
1142
+ const xml = create({
1143
+ properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1144
+ space: "xml",
1145
+ transform(_, property) {
1146
+ return "xml:" + property.slice(3).toLowerCase();
1147
+ }
1148
+ });
1149
+ const hastToReact = {
1150
+ classId: "classID",
1151
+ dataType: "datatype",
1152
+ itemId: "itemID",
1153
+ strokeDashArray: "strokeDasharray",
1154
+ strokeDashOffset: "strokeDashoffset",
1155
+ strokeLineCap: "strokeLinecap",
1156
+ strokeLineJoin: "strokeLinejoin",
1157
+ strokeMiterLimit: "strokeMiterlimit",
1158
+ typeOf: "typeof",
1159
+ xLinkActuate: "xlinkActuate",
1160
+ xLinkArcRole: "xlinkArcrole",
1161
+ xLinkHref: "xlinkHref",
1162
+ xLinkRole: "xlinkRole",
1163
+ xLinkShow: "xlinkShow",
1164
+ xLinkTitle: "xlinkTitle",
1165
+ xLinkType: "xlinkType",
1166
+ xmlnsXLink: "xmlnsXlink"
1167
+ };
1168
+ const cap = /[A-Z]/g;
1169
+ const dash = /-[a-z]/g;
1170
+ const valid = /^data[-\w.:]+$/i;
1171
+ function find(schema, value) {
1172
+ const normal = normalize(value);
1173
+ let property = value;
1174
+ let Type = Info;
1175
+ if (normal in schema.normal) {
1176
+ return schema.property[schema.normal[normal]];
1177
+ }
1178
+ if (normal.length > 4 && normal.slice(0, 4) === "data" && valid.test(value)) {
1179
+ if (value.charAt(4) === "-") {
1180
+ const rest = value.slice(5).replace(dash, camelcase);
1181
+ property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
1182
+ } else {
1183
+ const rest = value.slice(4);
1184
+ if (!dash.test(rest)) {
1185
+ let dashes = rest.replace(cap, kebab);
1186
+ if (dashes.charAt(0) !== "-") {
1187
+ dashes = "-" + dashes;
1188
+ }
1189
+ value = "data" + dashes;
1190
+ }
1191
+ }
1192
+ Type = DefinedInfo;
1193
+ }
1194
+ return new Type(property, value);
1195
+ }
1196
+ function kebab($0) {
1197
+ return "-" + $0.toLowerCase();
1198
+ }
1199
+ function camelcase($0) {
1200
+ return $0.charAt(1).toUpperCase();
1201
+ }
1202
+ const html = merge([aria, html$1, xlink, xmlns, xml], "html");
1203
+ const svg = merge([aria, svg$1, xlink, xmlns, xml], "svg");
1204
+ export {
1205
+ html as a,
1206
+ find as f,
1207
+ hastToReact as h,
1208
+ svg as s
1209
+ };