@uiw/react-md-editor 4.0.10 → 4.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mdeditor.js CHANGED
@@ -883,19 +883,6 @@ __webpack_require__.d(util_types_namespaceObject, {
883
883
  spaceSeparated: () => (types_spaceSeparated)
884
884
  });
885
885
 
886
- // NAMESPACE OBJECT: ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js
887
- var lib_util_types_namespaceObject = {};
888
- __webpack_require__.r(lib_util_types_namespaceObject);
889
- __webpack_require__.d(lib_util_types_namespaceObject, {
890
- boolean: () => (lib_util_types_boolean),
891
- booleanish: () => (util_types_booleanish),
892
- commaOrSpaceSeparated: () => (util_types_commaOrSpaceSeparated),
893
- commaSeparated: () => (util_types_commaSeparated),
894
- number: () => (util_types_number),
895
- overloadedBoolean: () => (util_types_overloadedBoolean),
896
- spaceSeparated: () => (util_types_spaceSeparated)
897
- });
898
-
899
886
  // NAMESPACE OBJECT: ../node_modules/remark-parse/node_modules/micromark/lib/constructs.js
900
887
  var constructs_namespaceObject = {};
901
888
  __webpack_require__.r(constructs_namespaceObject);
@@ -38871,1339 +38858,24 @@ function point(point) {
38871
38858
  return point.line && point.column ? point : undefined
38872
38859
  }
38873
38860
 
38874
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.js
38875
- /**
38876
- * @typedef {import('./info.js').Info} Info
38877
- * @typedef {Record<string, Info>} Properties
38878
- * @typedef {Record<string, string>} Normal
38879
- */
38880
-
38881
- class util_schema_Schema {
38882
- /**
38883
- * @constructor
38884
- * @param {Properties} property
38885
- * @param {Normal} normal
38886
- * @param {string} [space]
38887
- */
38888
- constructor(property, normal, space) {
38889
- this.property = property
38890
- this.normal = normal
38891
- if (space) {
38892
- this.space = space
38893
- }
38894
- }
38895
- }
38896
-
38897
- /** @type {Properties} */
38898
- util_schema_Schema.prototype.property = {}
38899
- /** @type {Normal} */
38900
- util_schema_Schema.prototype.normal = {}
38901
- /** @type {string|null} */
38902
- util_schema_Schema.prototype.space = null
38903
-
38904
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.js
38905
- /**
38906
- * @typedef {import('./schema.js').Properties} Properties
38907
- * @typedef {import('./schema.js').Normal} Normal
38908
- */
38909
-
38910
-
38911
-
38912
- /**
38913
- * @param {Schema[]} definitions
38914
- * @param {string} [space]
38915
- * @returns {Schema}
38916
- */
38917
- function util_merge_merge(definitions, space) {
38918
- /** @type {Properties} */
38919
- const property = {}
38920
- /** @type {Normal} */
38921
- const normal = {}
38922
- let index = -1
38923
-
38924
- while (++index < definitions.length) {
38925
- Object.assign(property, definitions[index].property)
38926
- Object.assign(normal, definitions[index].normal)
38927
- }
38928
-
38929
- return new util_schema_Schema(property, normal, space)
38930
- }
38931
-
38932
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.js
38933
- /**
38934
- * @param {string} value
38935
- * @returns {string}
38936
- */
38937
- function lib_normalize_normalize(value) {
38938
- return value.toLowerCase()
38939
- }
38940
-
38941
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.js
38942
- class util_info_Info {
38943
- /**
38944
- * @constructor
38945
- * @param {string} property
38946
- * @param {string} attribute
38947
- */
38948
- constructor(property, attribute) {
38949
- /** @type {string} */
38950
- this.property = property
38951
- /** @type {string} */
38952
- this.attribute = attribute
38953
- }
38954
- }
38955
-
38956
- /** @type {string|null} */
38957
- util_info_Info.prototype.space = null
38958
- util_info_Info.prototype.boolean = false
38959
- util_info_Info.prototype.booleanish = false
38960
- util_info_Info.prototype.overloadedBoolean = false
38961
- util_info_Info.prototype.number = false
38962
- util_info_Info.prototype.commaSeparated = false
38963
- util_info_Info.prototype.spaceSeparated = false
38964
- util_info_Info.prototype.commaOrSpaceSeparated = false
38965
- util_info_Info.prototype.mustUseProperty = false
38966
- util_info_Info.prototype.defined = false
38967
-
38968
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.js
38969
- let util_types_powers = 0
38970
-
38971
- const lib_util_types_boolean = util_types_increment()
38972
- const util_types_booleanish = util_types_increment()
38973
- const util_types_overloadedBoolean = util_types_increment()
38974
- const util_types_number = util_types_increment()
38975
- const util_types_spaceSeparated = util_types_increment()
38976
- const util_types_commaSeparated = util_types_increment()
38977
- const util_types_commaOrSpaceSeparated = util_types_increment()
38978
-
38979
- function util_types_increment() {
38980
- return 2 ** ++util_types_powers
38981
- }
38982
-
38983
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.js
38984
-
38985
-
38986
-
38987
- /** @type {Array<keyof types>} */
38988
- // @ts-expect-error: hush.
38989
- const util_defined_info_checks = Object.keys(lib_util_types_namespaceObject)
38990
-
38991
- class util_defined_info_DefinedInfo extends util_info_Info {
38992
- /**
38993
- * @constructor
38994
- * @param {string} property
38995
- * @param {string} attribute
38996
- * @param {number|null} [mask]
38997
- * @param {string} [space]
38998
- */
38999
- constructor(property, attribute, mask, space) {
39000
- let index = -1
39001
-
39002
- super(property, attribute)
39003
-
39004
- util_defined_info_mark(this, 'space', space)
39005
-
39006
- if (typeof mask === 'number') {
39007
- while (++index < util_defined_info_checks.length) {
39008
- const check = util_defined_info_checks[index]
39009
- util_defined_info_mark(this, util_defined_info_checks[index], (mask & lib_util_types_namespaceObject[check]) === lib_util_types_namespaceObject[check])
39010
- }
39011
- }
39012
- }
39013
- }
39014
-
39015
- util_defined_info_DefinedInfo.prototype.defined = true
39016
-
38861
+ ;// ../node_modules/hast-util-to-parse5/lib/index.js
39017
38862
  /**
39018
- * @param {DefinedInfo} values
39019
- * @param {string} key
39020
- * @param {unknown} value
38863
+ * @import {Comment, Doctype, Element, Nodes, RootContent, Root, Text} from 'hast'
38864
+ * @import {DefaultTreeAdapterMap, Token} from 'parse5'
38865
+ * @import {Schema} from 'property-information'
39021
38866
  */
39022
- function util_defined_info_mark(values, key, value) {
39023
- if (value) {
39024
- // @ts-expect-error: assume `value` matches the expected value of `key`.
39025
- values[key] = value
39026
- }
39027
- }
39028
38867
 
39029
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.js
39030
38868
  /**
39031
- * @typedef {import('./schema.js').Properties} Properties
39032
- * @typedef {import('./schema.js').Normal} Normal
39033
- *
39034
- * @typedef {Record<string, string>} Attributes
38869
+ * @typedef {DefaultTreeAdapterMap['document']} Parse5Document
38870
+ * @typedef {DefaultTreeAdapterMap['documentFragment']} Parse5Fragment
38871
+ * @typedef {DefaultTreeAdapterMap['element']} Parse5Element
38872
+ * @typedef {DefaultTreeAdapterMap['node']} Parse5Nodes
38873
+ * @typedef {DefaultTreeAdapterMap['documentType']} Parse5Doctype
38874
+ * @typedef {DefaultTreeAdapterMap['commentNode']} Parse5Comment
38875
+ * @typedef {DefaultTreeAdapterMap['textNode']} Parse5Text
38876
+ * @typedef {DefaultTreeAdapterMap['parentNode']} Parse5Parent
38877
+ * @typedef {Token.Attribute} Parse5Attribute
39035
38878
  *
39036
- * @typedef {Object} Definition
39037
- * @property {Record<string, number|null>} properties
39038
- * @property {(attributes: Attributes, property: string) => string} transform
39039
- * @property {string} [space]
39040
- * @property {Attributes} [attributes]
39041
- * @property {Array<string>} [mustUseProperty]
39042
- */
39043
-
39044
-
39045
-
39046
-
39047
-
39048
- const util_create_own = {}.hasOwnProperty
39049
-
39050
- /**
39051
- * @param {Definition} definition
39052
- * @returns {Schema}
39053
- */
39054
- function util_create_create(definition) {
39055
- /** @type {Properties} */
39056
- const property = {}
39057
- /** @type {Normal} */
39058
- const normal = {}
39059
- /** @type {string} */
39060
- let prop
39061
-
39062
- for (prop in definition.properties) {
39063
- if (util_create_own.call(definition.properties, prop)) {
39064
- const value = definition.properties[prop]
39065
- const info = new util_defined_info_DefinedInfo(
39066
- prop,
39067
- definition.transform(definition.attributes || {}, prop),
39068
- value,
39069
- definition.space
39070
- )
39071
-
39072
- if (
39073
- definition.mustUseProperty &&
39074
- definition.mustUseProperty.includes(prop)
39075
- ) {
39076
- info.mustUseProperty = true
39077
- }
39078
-
39079
- property[prop] = info
39080
-
39081
- normal[lib_normalize_normalize(prop)] = prop
39082
- normal[lib_normalize_normalize(info.attribute)] = prop
39083
- }
39084
- }
39085
-
39086
- return new util_schema_Schema(property, normal, definition.space)
39087
- }
39088
-
39089
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.js
39090
-
39091
-
39092
- const lib_xlink_xlink = util_create_create({
39093
- space: 'xlink',
39094
- transform(_, prop) {
39095
- return 'xlink:' + prop.slice(5).toLowerCase()
39096
- },
39097
- properties: {
39098
- xLinkActuate: null,
39099
- xLinkArcRole: null,
39100
- xLinkHref: null,
39101
- xLinkRole: null,
39102
- xLinkShow: null,
39103
- xLinkTitle: null,
39104
- xLinkType: null
39105
- }
39106
- })
39107
-
39108
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.js
39109
-
39110
-
39111
- const lib_xml_xml = util_create_create({
39112
- space: 'xml',
39113
- transform(_, prop) {
39114
- return 'xml:' + prop.slice(3).toLowerCase()
39115
- },
39116
- properties: {xmlLang: null, xmlBase: null, xmlSpace: null}
39117
- })
39118
-
39119
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js
39120
- /**
39121
- * @param {Record<string, string>} attributes
39122
- * @param {string} attribute
39123
- * @returns {string}
39124
- */
39125
- function util_case_sensitive_transform_caseSensitiveTransform(attributes, attribute) {
39126
- return attribute in attributes ? attributes[attribute] : attribute
39127
- }
39128
-
39129
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js
39130
-
39131
-
39132
- /**
39133
- * @param {Record<string, string>} attributes
39134
- * @param {string} property
39135
- * @returns {string}
39136
- */
39137
- function util_case_insensitive_transform_caseInsensitiveTransform(attributes, property) {
39138
- return util_case_sensitive_transform_caseSensitiveTransform(attributes, property.toLowerCase())
39139
- }
39140
-
39141
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.js
39142
-
39143
-
39144
-
39145
- const lib_xmlns_xmlns = util_create_create({
39146
- space: 'xmlns',
39147
- attributes: {xmlnsxlink: 'xmlns:xlink'},
39148
- transform: util_case_insensitive_transform_caseInsensitiveTransform,
39149
- properties: {xmlns: null, xmlnsXLink: null}
39150
- })
39151
-
39152
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.js
39153
-
39154
-
39155
-
39156
- const lib_aria_aria = util_create_create({
39157
- transform(_, prop) {
39158
- return prop === 'role' ? prop : 'aria-' + prop.slice(4).toLowerCase()
39159
- },
39160
- properties: {
39161
- ariaActiveDescendant: null,
39162
- ariaAtomic: util_types_booleanish,
39163
- ariaAutoComplete: null,
39164
- ariaBusy: util_types_booleanish,
39165
- ariaChecked: util_types_booleanish,
39166
- ariaColCount: util_types_number,
39167
- ariaColIndex: util_types_number,
39168
- ariaColSpan: util_types_number,
39169
- ariaControls: util_types_spaceSeparated,
39170
- ariaCurrent: null,
39171
- ariaDescribedBy: util_types_spaceSeparated,
39172
- ariaDetails: null,
39173
- ariaDisabled: util_types_booleanish,
39174
- ariaDropEffect: util_types_spaceSeparated,
39175
- ariaErrorMessage: null,
39176
- ariaExpanded: util_types_booleanish,
39177
- ariaFlowTo: util_types_spaceSeparated,
39178
- ariaGrabbed: util_types_booleanish,
39179
- ariaHasPopup: null,
39180
- ariaHidden: util_types_booleanish,
39181
- ariaInvalid: null,
39182
- ariaKeyShortcuts: null,
39183
- ariaLabel: null,
39184
- ariaLabelledBy: util_types_spaceSeparated,
39185
- ariaLevel: util_types_number,
39186
- ariaLive: null,
39187
- ariaModal: util_types_booleanish,
39188
- ariaMultiLine: util_types_booleanish,
39189
- ariaMultiSelectable: util_types_booleanish,
39190
- ariaOrientation: null,
39191
- ariaOwns: util_types_spaceSeparated,
39192
- ariaPlaceholder: null,
39193
- ariaPosInSet: util_types_number,
39194
- ariaPressed: util_types_booleanish,
39195
- ariaReadOnly: util_types_booleanish,
39196
- ariaRelevant: null,
39197
- ariaRequired: util_types_booleanish,
39198
- ariaRoleDescription: util_types_spaceSeparated,
39199
- ariaRowCount: util_types_number,
39200
- ariaRowIndex: util_types_number,
39201
- ariaRowSpan: util_types_number,
39202
- ariaSelected: util_types_booleanish,
39203
- ariaSetSize: util_types_number,
39204
- ariaSort: null,
39205
- ariaValueMax: util_types_number,
39206
- ariaValueMin: util_types_number,
39207
- ariaValueNow: util_types_number,
39208
- ariaValueText: null,
39209
- role: null
39210
- }
39211
- })
39212
-
39213
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.js
39214
-
39215
-
39216
-
39217
-
39218
- const lib_html_html = util_create_create({
39219
- space: 'html',
39220
- attributes: {
39221
- acceptcharset: 'accept-charset',
39222
- classname: 'class',
39223
- htmlfor: 'for',
39224
- httpequiv: 'http-equiv'
39225
- },
39226
- transform: util_case_insensitive_transform_caseInsensitiveTransform,
39227
- mustUseProperty: ['checked', 'multiple', 'muted', 'selected'],
39228
- properties: {
39229
- // Standard Properties.
39230
- abbr: null,
39231
- accept: util_types_commaSeparated,
39232
- acceptCharset: util_types_spaceSeparated,
39233
- accessKey: util_types_spaceSeparated,
39234
- action: null,
39235
- allow: null,
39236
- allowFullScreen: lib_util_types_boolean,
39237
- allowPaymentRequest: lib_util_types_boolean,
39238
- allowUserMedia: lib_util_types_boolean,
39239
- alt: null,
39240
- as: null,
39241
- async: lib_util_types_boolean,
39242
- autoCapitalize: null,
39243
- autoComplete: util_types_spaceSeparated,
39244
- autoFocus: lib_util_types_boolean,
39245
- autoPlay: lib_util_types_boolean,
39246
- blocking: util_types_spaceSeparated,
39247
- capture: null,
39248
- charSet: null,
39249
- checked: lib_util_types_boolean,
39250
- cite: null,
39251
- className: util_types_spaceSeparated,
39252
- cols: util_types_number,
39253
- colSpan: null,
39254
- content: null,
39255
- contentEditable: util_types_booleanish,
39256
- controls: lib_util_types_boolean,
39257
- controlsList: util_types_spaceSeparated,
39258
- coords: util_types_number | util_types_commaSeparated,
39259
- crossOrigin: null,
39260
- data: null,
39261
- dateTime: null,
39262
- decoding: null,
39263
- default: lib_util_types_boolean,
39264
- defer: lib_util_types_boolean,
39265
- dir: null,
39266
- dirName: null,
39267
- disabled: lib_util_types_boolean,
39268
- download: util_types_overloadedBoolean,
39269
- draggable: util_types_booleanish,
39270
- encType: null,
39271
- enterKeyHint: null,
39272
- fetchPriority: null,
39273
- form: null,
39274
- formAction: null,
39275
- formEncType: null,
39276
- formMethod: null,
39277
- formNoValidate: lib_util_types_boolean,
39278
- formTarget: null,
39279
- headers: util_types_spaceSeparated,
39280
- height: util_types_number,
39281
- hidden: lib_util_types_boolean,
39282
- high: util_types_number,
39283
- href: null,
39284
- hrefLang: null,
39285
- htmlFor: util_types_spaceSeparated,
39286
- httpEquiv: util_types_spaceSeparated,
39287
- id: null,
39288
- imageSizes: null,
39289
- imageSrcSet: null,
39290
- inert: lib_util_types_boolean,
39291
- inputMode: null,
39292
- integrity: null,
39293
- is: null,
39294
- isMap: lib_util_types_boolean,
39295
- itemId: null,
39296
- itemProp: util_types_spaceSeparated,
39297
- itemRef: util_types_spaceSeparated,
39298
- itemScope: lib_util_types_boolean,
39299
- itemType: util_types_spaceSeparated,
39300
- kind: null,
39301
- label: null,
39302
- lang: null,
39303
- language: null,
39304
- list: null,
39305
- loading: null,
39306
- loop: lib_util_types_boolean,
39307
- low: util_types_number,
39308
- manifest: null,
39309
- max: null,
39310
- maxLength: util_types_number,
39311
- media: null,
39312
- method: null,
39313
- min: null,
39314
- minLength: util_types_number,
39315
- multiple: lib_util_types_boolean,
39316
- muted: lib_util_types_boolean,
39317
- name: null,
39318
- nonce: null,
39319
- noModule: lib_util_types_boolean,
39320
- noValidate: lib_util_types_boolean,
39321
- onAbort: null,
39322
- onAfterPrint: null,
39323
- onAuxClick: null,
39324
- onBeforeMatch: null,
39325
- onBeforePrint: null,
39326
- onBeforeToggle: null,
39327
- onBeforeUnload: null,
39328
- onBlur: null,
39329
- onCancel: null,
39330
- onCanPlay: null,
39331
- onCanPlayThrough: null,
39332
- onChange: null,
39333
- onClick: null,
39334
- onClose: null,
39335
- onContextLost: null,
39336
- onContextMenu: null,
39337
- onContextRestored: null,
39338
- onCopy: null,
39339
- onCueChange: null,
39340
- onCut: null,
39341
- onDblClick: null,
39342
- onDrag: null,
39343
- onDragEnd: null,
39344
- onDragEnter: null,
39345
- onDragExit: null,
39346
- onDragLeave: null,
39347
- onDragOver: null,
39348
- onDragStart: null,
39349
- onDrop: null,
39350
- onDurationChange: null,
39351
- onEmptied: null,
39352
- onEnded: null,
39353
- onError: null,
39354
- onFocus: null,
39355
- onFormData: null,
39356
- onHashChange: null,
39357
- onInput: null,
39358
- onInvalid: null,
39359
- onKeyDown: null,
39360
- onKeyPress: null,
39361
- onKeyUp: null,
39362
- onLanguageChange: null,
39363
- onLoad: null,
39364
- onLoadedData: null,
39365
- onLoadedMetadata: null,
39366
- onLoadEnd: null,
39367
- onLoadStart: null,
39368
- onMessage: null,
39369
- onMessageError: null,
39370
- onMouseDown: null,
39371
- onMouseEnter: null,
39372
- onMouseLeave: null,
39373
- onMouseMove: null,
39374
- onMouseOut: null,
39375
- onMouseOver: null,
39376
- onMouseUp: null,
39377
- onOffline: null,
39378
- onOnline: null,
39379
- onPageHide: null,
39380
- onPageShow: null,
39381
- onPaste: null,
39382
- onPause: null,
39383
- onPlay: null,
39384
- onPlaying: null,
39385
- onPopState: null,
39386
- onProgress: null,
39387
- onRateChange: null,
39388
- onRejectionHandled: null,
39389
- onReset: null,
39390
- onResize: null,
39391
- onScroll: null,
39392
- onScrollEnd: null,
39393
- onSecurityPolicyViolation: null,
39394
- onSeeked: null,
39395
- onSeeking: null,
39396
- onSelect: null,
39397
- onSlotChange: null,
39398
- onStalled: null,
39399
- onStorage: null,
39400
- onSubmit: null,
39401
- onSuspend: null,
39402
- onTimeUpdate: null,
39403
- onToggle: null,
39404
- onUnhandledRejection: null,
39405
- onUnload: null,
39406
- onVolumeChange: null,
39407
- onWaiting: null,
39408
- onWheel: null,
39409
- open: lib_util_types_boolean,
39410
- optimum: util_types_number,
39411
- pattern: null,
39412
- ping: util_types_spaceSeparated,
39413
- placeholder: null,
39414
- playsInline: lib_util_types_boolean,
39415
- popover: null,
39416
- popoverTarget: null,
39417
- popoverTargetAction: null,
39418
- poster: null,
39419
- preload: null,
39420
- readOnly: lib_util_types_boolean,
39421
- referrerPolicy: null,
39422
- rel: util_types_spaceSeparated,
39423
- required: lib_util_types_boolean,
39424
- reversed: lib_util_types_boolean,
39425
- rows: util_types_number,
39426
- rowSpan: util_types_number,
39427
- sandbox: util_types_spaceSeparated,
39428
- scope: null,
39429
- scoped: lib_util_types_boolean,
39430
- seamless: lib_util_types_boolean,
39431
- selected: lib_util_types_boolean,
39432
- shadowRootClonable: lib_util_types_boolean,
39433
- shadowRootDelegatesFocus: lib_util_types_boolean,
39434
- shadowRootMode: null,
39435
- shape: null,
39436
- size: util_types_number,
39437
- sizes: null,
39438
- slot: null,
39439
- span: util_types_number,
39440
- spellCheck: util_types_booleanish,
39441
- src: null,
39442
- srcDoc: null,
39443
- srcLang: null,
39444
- srcSet: null,
39445
- start: util_types_number,
39446
- step: null,
39447
- style: null,
39448
- tabIndex: util_types_number,
39449
- target: null,
39450
- title: null,
39451
- translate: null,
39452
- type: null,
39453
- typeMustMatch: lib_util_types_boolean,
39454
- useMap: null,
39455
- value: util_types_booleanish,
39456
- width: util_types_number,
39457
- wrap: null,
39458
- writingSuggestions: null,
39459
-
39460
- // Legacy.
39461
- // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
39462
- align: null, // Several. Use CSS `text-align` instead,
39463
- aLink: null, // `<body>`. Use CSS `a:active {color}` instead
39464
- archive: util_types_spaceSeparated, // `<object>`. List of URIs to archives
39465
- axis: null, // `<td>` and `<th>`. Use `scope` on `<th>`
39466
- background: null, // `<body>`. Use CSS `background-image` instead
39467
- bgColor: null, // `<body>` and table elements. Use CSS `background-color` instead
39468
- border: util_types_number, // `<table>`. Use CSS `border-width` instead,
39469
- borderColor: null, // `<table>`. Use CSS `border-color` instead,
39470
- bottomMargin: util_types_number, // `<body>`
39471
- cellPadding: null, // `<table>`
39472
- cellSpacing: null, // `<table>`
39473
- char: null, // Several table elements. When `align=char`, sets the character to align on
39474
- charOff: null, // Several table elements. When `char`, offsets the alignment
39475
- classId: null, // `<object>`
39476
- clear: null, // `<br>`. Use CSS `clear` instead
39477
- code: null, // `<object>`
39478
- codeBase: null, // `<object>`
39479
- codeType: null, // `<object>`
39480
- color: null, // `<font>` and `<hr>`. Use CSS instead
39481
- compact: lib_util_types_boolean, // Lists. Use CSS to reduce space between items instead
39482
- declare: lib_util_types_boolean, // `<object>`
39483
- event: null, // `<script>`
39484
- face: null, // `<font>`. Use CSS instead
39485
- frame: null, // `<table>`
39486
- frameBorder: null, // `<iframe>`. Use CSS `border` instead
39487
- hSpace: util_types_number, // `<img>` and `<object>`
39488
- leftMargin: util_types_number, // `<body>`
39489
- link: null, // `<body>`. Use CSS `a:link {color: *}` instead
39490
- longDesc: null, // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
39491
- lowSrc: null, // `<img>`. Use a `<picture>`
39492
- marginHeight: util_types_number, // `<body>`
39493
- marginWidth: util_types_number, // `<body>`
39494
- noResize: lib_util_types_boolean, // `<frame>`
39495
- noHref: lib_util_types_boolean, // `<area>`. Use no href instead of an explicit `nohref`
39496
- noShade: lib_util_types_boolean, // `<hr>`. Use background-color and height instead of borders
39497
- noWrap: lib_util_types_boolean, // `<td>` and `<th>`
39498
- object: null, // `<applet>`
39499
- profile: null, // `<head>`
39500
- prompt: null, // `<isindex>`
39501
- rev: null, // `<link>`
39502
- rightMargin: util_types_number, // `<body>`
39503
- rules: null, // `<table>`
39504
- scheme: null, // `<meta>`
39505
- scrolling: util_types_booleanish, // `<frame>`. Use overflow in the child context
39506
- standby: null, // `<object>`
39507
- summary: null, // `<table>`
39508
- text: null, // `<body>`. Use CSS `color` instead
39509
- topMargin: util_types_number, // `<body>`
39510
- valueType: null, // `<param>`
39511
- version: null, // `<html>`. Use a doctype.
39512
- vAlign: null, // Several. Use CSS `vertical-align` instead
39513
- vLink: null, // `<body>`. Use CSS `a:visited {color}` instead
39514
- vSpace: util_types_number, // `<img>` and `<object>`
39515
-
39516
- // Non-standard Properties.
39517
- allowTransparency: null,
39518
- autoCorrect: null,
39519
- autoSave: null,
39520
- disablePictureInPicture: lib_util_types_boolean,
39521
- disableRemotePlayback: lib_util_types_boolean,
39522
- prefix: null,
39523
- property: null,
39524
- results: util_types_number,
39525
- security: null,
39526
- unselectable: null
39527
- }
39528
- })
39529
-
39530
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.js
39531
-
39532
-
39533
-
39534
-
39535
- const lib_svg_svg = util_create_create({
39536
- space: 'svg',
39537
- attributes: {
39538
- accentHeight: 'accent-height',
39539
- alignmentBaseline: 'alignment-baseline',
39540
- arabicForm: 'arabic-form',
39541
- baselineShift: 'baseline-shift',
39542
- capHeight: 'cap-height',
39543
- className: 'class',
39544
- clipPath: 'clip-path',
39545
- clipRule: 'clip-rule',
39546
- colorInterpolation: 'color-interpolation',
39547
- colorInterpolationFilters: 'color-interpolation-filters',
39548
- colorProfile: 'color-profile',
39549
- colorRendering: 'color-rendering',
39550
- crossOrigin: 'crossorigin',
39551
- dataType: 'datatype',
39552
- dominantBaseline: 'dominant-baseline',
39553
- enableBackground: 'enable-background',
39554
- fillOpacity: 'fill-opacity',
39555
- fillRule: 'fill-rule',
39556
- floodColor: 'flood-color',
39557
- floodOpacity: 'flood-opacity',
39558
- fontFamily: 'font-family',
39559
- fontSize: 'font-size',
39560
- fontSizeAdjust: 'font-size-adjust',
39561
- fontStretch: 'font-stretch',
39562
- fontStyle: 'font-style',
39563
- fontVariant: 'font-variant',
39564
- fontWeight: 'font-weight',
39565
- glyphName: 'glyph-name',
39566
- glyphOrientationHorizontal: 'glyph-orientation-horizontal',
39567
- glyphOrientationVertical: 'glyph-orientation-vertical',
39568
- hrefLang: 'hreflang',
39569
- horizAdvX: 'horiz-adv-x',
39570
- horizOriginX: 'horiz-origin-x',
39571
- horizOriginY: 'horiz-origin-y',
39572
- imageRendering: 'image-rendering',
39573
- letterSpacing: 'letter-spacing',
39574
- lightingColor: 'lighting-color',
39575
- markerEnd: 'marker-end',
39576
- markerMid: 'marker-mid',
39577
- markerStart: 'marker-start',
39578
- navDown: 'nav-down',
39579
- navDownLeft: 'nav-down-left',
39580
- navDownRight: 'nav-down-right',
39581
- navLeft: 'nav-left',
39582
- navNext: 'nav-next',
39583
- navPrev: 'nav-prev',
39584
- navRight: 'nav-right',
39585
- navUp: 'nav-up',
39586
- navUpLeft: 'nav-up-left',
39587
- navUpRight: 'nav-up-right',
39588
- onAbort: 'onabort',
39589
- onActivate: 'onactivate',
39590
- onAfterPrint: 'onafterprint',
39591
- onBeforePrint: 'onbeforeprint',
39592
- onBegin: 'onbegin',
39593
- onCancel: 'oncancel',
39594
- onCanPlay: 'oncanplay',
39595
- onCanPlayThrough: 'oncanplaythrough',
39596
- onChange: 'onchange',
39597
- onClick: 'onclick',
39598
- onClose: 'onclose',
39599
- onCopy: 'oncopy',
39600
- onCueChange: 'oncuechange',
39601
- onCut: 'oncut',
39602
- onDblClick: 'ondblclick',
39603
- onDrag: 'ondrag',
39604
- onDragEnd: 'ondragend',
39605
- onDragEnter: 'ondragenter',
39606
- onDragExit: 'ondragexit',
39607
- onDragLeave: 'ondragleave',
39608
- onDragOver: 'ondragover',
39609
- onDragStart: 'ondragstart',
39610
- onDrop: 'ondrop',
39611
- onDurationChange: 'ondurationchange',
39612
- onEmptied: 'onemptied',
39613
- onEnd: 'onend',
39614
- onEnded: 'onended',
39615
- onError: 'onerror',
39616
- onFocus: 'onfocus',
39617
- onFocusIn: 'onfocusin',
39618
- onFocusOut: 'onfocusout',
39619
- onHashChange: 'onhashchange',
39620
- onInput: 'oninput',
39621
- onInvalid: 'oninvalid',
39622
- onKeyDown: 'onkeydown',
39623
- onKeyPress: 'onkeypress',
39624
- onKeyUp: 'onkeyup',
39625
- onLoad: 'onload',
39626
- onLoadedData: 'onloadeddata',
39627
- onLoadedMetadata: 'onloadedmetadata',
39628
- onLoadStart: 'onloadstart',
39629
- onMessage: 'onmessage',
39630
- onMouseDown: 'onmousedown',
39631
- onMouseEnter: 'onmouseenter',
39632
- onMouseLeave: 'onmouseleave',
39633
- onMouseMove: 'onmousemove',
39634
- onMouseOut: 'onmouseout',
39635
- onMouseOver: 'onmouseover',
39636
- onMouseUp: 'onmouseup',
39637
- onMouseWheel: 'onmousewheel',
39638
- onOffline: 'onoffline',
39639
- onOnline: 'ononline',
39640
- onPageHide: 'onpagehide',
39641
- onPageShow: 'onpageshow',
39642
- onPaste: 'onpaste',
39643
- onPause: 'onpause',
39644
- onPlay: 'onplay',
39645
- onPlaying: 'onplaying',
39646
- onPopState: 'onpopstate',
39647
- onProgress: 'onprogress',
39648
- onRateChange: 'onratechange',
39649
- onRepeat: 'onrepeat',
39650
- onReset: 'onreset',
39651
- onResize: 'onresize',
39652
- onScroll: 'onscroll',
39653
- onSeeked: 'onseeked',
39654
- onSeeking: 'onseeking',
39655
- onSelect: 'onselect',
39656
- onShow: 'onshow',
39657
- onStalled: 'onstalled',
39658
- onStorage: 'onstorage',
39659
- onSubmit: 'onsubmit',
39660
- onSuspend: 'onsuspend',
39661
- onTimeUpdate: 'ontimeupdate',
39662
- onToggle: 'ontoggle',
39663
- onUnload: 'onunload',
39664
- onVolumeChange: 'onvolumechange',
39665
- onWaiting: 'onwaiting',
39666
- onZoom: 'onzoom',
39667
- overlinePosition: 'overline-position',
39668
- overlineThickness: 'overline-thickness',
39669
- paintOrder: 'paint-order',
39670
- panose1: 'panose-1',
39671
- pointerEvents: 'pointer-events',
39672
- referrerPolicy: 'referrerpolicy',
39673
- renderingIntent: 'rendering-intent',
39674
- shapeRendering: 'shape-rendering',
39675
- stopColor: 'stop-color',
39676
- stopOpacity: 'stop-opacity',
39677
- strikethroughPosition: 'strikethrough-position',
39678
- strikethroughThickness: 'strikethrough-thickness',
39679
- strokeDashArray: 'stroke-dasharray',
39680
- strokeDashOffset: 'stroke-dashoffset',
39681
- strokeLineCap: 'stroke-linecap',
39682
- strokeLineJoin: 'stroke-linejoin',
39683
- strokeMiterLimit: 'stroke-miterlimit',
39684
- strokeOpacity: 'stroke-opacity',
39685
- strokeWidth: 'stroke-width',
39686
- tabIndex: 'tabindex',
39687
- textAnchor: 'text-anchor',
39688
- textDecoration: 'text-decoration',
39689
- textRendering: 'text-rendering',
39690
- transformOrigin: 'transform-origin',
39691
- typeOf: 'typeof',
39692
- underlinePosition: 'underline-position',
39693
- underlineThickness: 'underline-thickness',
39694
- unicodeBidi: 'unicode-bidi',
39695
- unicodeRange: 'unicode-range',
39696
- unitsPerEm: 'units-per-em',
39697
- vAlphabetic: 'v-alphabetic',
39698
- vHanging: 'v-hanging',
39699
- vIdeographic: 'v-ideographic',
39700
- vMathematical: 'v-mathematical',
39701
- vectorEffect: 'vector-effect',
39702
- vertAdvY: 'vert-adv-y',
39703
- vertOriginX: 'vert-origin-x',
39704
- vertOriginY: 'vert-origin-y',
39705
- wordSpacing: 'word-spacing',
39706
- writingMode: 'writing-mode',
39707
- xHeight: 'x-height',
39708
- // These were camelcased in Tiny. Now lowercased in SVG 2
39709
- playbackOrder: 'playbackorder',
39710
- timelineBegin: 'timelinebegin'
39711
- },
39712
- transform: util_case_sensitive_transform_caseSensitiveTransform,
39713
- properties: {
39714
- about: util_types_commaOrSpaceSeparated,
39715
- accentHeight: util_types_number,
39716
- accumulate: null,
39717
- additive: null,
39718
- alignmentBaseline: null,
39719
- alphabetic: util_types_number,
39720
- amplitude: util_types_number,
39721
- arabicForm: null,
39722
- ascent: util_types_number,
39723
- attributeName: null,
39724
- attributeType: null,
39725
- azimuth: util_types_number,
39726
- bandwidth: null,
39727
- baselineShift: null,
39728
- baseFrequency: null,
39729
- baseProfile: null,
39730
- bbox: null,
39731
- begin: null,
39732
- bias: util_types_number,
39733
- by: null,
39734
- calcMode: null,
39735
- capHeight: util_types_number,
39736
- className: util_types_spaceSeparated,
39737
- clip: null,
39738
- clipPath: null,
39739
- clipPathUnits: null,
39740
- clipRule: null,
39741
- color: null,
39742
- colorInterpolation: null,
39743
- colorInterpolationFilters: null,
39744
- colorProfile: null,
39745
- colorRendering: null,
39746
- content: null,
39747
- contentScriptType: null,
39748
- contentStyleType: null,
39749
- crossOrigin: null,
39750
- cursor: null,
39751
- cx: null,
39752
- cy: null,
39753
- d: null,
39754
- dataType: null,
39755
- defaultAction: null,
39756
- descent: util_types_number,
39757
- diffuseConstant: util_types_number,
39758
- direction: null,
39759
- display: null,
39760
- dur: null,
39761
- divisor: util_types_number,
39762
- dominantBaseline: null,
39763
- download: lib_util_types_boolean,
39764
- dx: null,
39765
- dy: null,
39766
- edgeMode: null,
39767
- editable: null,
39768
- elevation: util_types_number,
39769
- enableBackground: null,
39770
- end: null,
39771
- event: null,
39772
- exponent: util_types_number,
39773
- externalResourcesRequired: null,
39774
- fill: null,
39775
- fillOpacity: util_types_number,
39776
- fillRule: null,
39777
- filter: null,
39778
- filterRes: null,
39779
- filterUnits: null,
39780
- floodColor: null,
39781
- floodOpacity: null,
39782
- focusable: null,
39783
- focusHighlight: null,
39784
- fontFamily: null,
39785
- fontSize: null,
39786
- fontSizeAdjust: null,
39787
- fontStretch: null,
39788
- fontStyle: null,
39789
- fontVariant: null,
39790
- fontWeight: null,
39791
- format: null,
39792
- fr: null,
39793
- from: null,
39794
- fx: null,
39795
- fy: null,
39796
- g1: util_types_commaSeparated,
39797
- g2: util_types_commaSeparated,
39798
- glyphName: util_types_commaSeparated,
39799
- glyphOrientationHorizontal: null,
39800
- glyphOrientationVertical: null,
39801
- glyphRef: null,
39802
- gradientTransform: null,
39803
- gradientUnits: null,
39804
- handler: null,
39805
- hanging: util_types_number,
39806
- hatchContentUnits: null,
39807
- hatchUnits: null,
39808
- height: null,
39809
- href: null,
39810
- hrefLang: null,
39811
- horizAdvX: util_types_number,
39812
- horizOriginX: util_types_number,
39813
- horizOriginY: util_types_number,
39814
- id: null,
39815
- ideographic: util_types_number,
39816
- imageRendering: null,
39817
- initialVisibility: null,
39818
- in: null,
39819
- in2: null,
39820
- intercept: util_types_number,
39821
- k: util_types_number,
39822
- k1: util_types_number,
39823
- k2: util_types_number,
39824
- k3: util_types_number,
39825
- k4: util_types_number,
39826
- kernelMatrix: util_types_commaOrSpaceSeparated,
39827
- kernelUnitLength: null,
39828
- keyPoints: null, // SEMI_COLON_SEPARATED
39829
- keySplines: null, // SEMI_COLON_SEPARATED
39830
- keyTimes: null, // SEMI_COLON_SEPARATED
39831
- kerning: null,
39832
- lang: null,
39833
- lengthAdjust: null,
39834
- letterSpacing: null,
39835
- lightingColor: null,
39836
- limitingConeAngle: util_types_number,
39837
- local: null,
39838
- markerEnd: null,
39839
- markerMid: null,
39840
- markerStart: null,
39841
- markerHeight: null,
39842
- markerUnits: null,
39843
- markerWidth: null,
39844
- mask: null,
39845
- maskContentUnits: null,
39846
- maskUnits: null,
39847
- mathematical: null,
39848
- max: null,
39849
- media: null,
39850
- mediaCharacterEncoding: null,
39851
- mediaContentEncodings: null,
39852
- mediaSize: util_types_number,
39853
- mediaTime: null,
39854
- method: null,
39855
- min: null,
39856
- mode: null,
39857
- name: null,
39858
- navDown: null,
39859
- navDownLeft: null,
39860
- navDownRight: null,
39861
- navLeft: null,
39862
- navNext: null,
39863
- navPrev: null,
39864
- navRight: null,
39865
- navUp: null,
39866
- navUpLeft: null,
39867
- navUpRight: null,
39868
- numOctaves: null,
39869
- observer: null,
39870
- offset: null,
39871
- onAbort: null,
39872
- onActivate: null,
39873
- onAfterPrint: null,
39874
- onBeforePrint: null,
39875
- onBegin: null,
39876
- onCancel: null,
39877
- onCanPlay: null,
39878
- onCanPlayThrough: null,
39879
- onChange: null,
39880
- onClick: null,
39881
- onClose: null,
39882
- onCopy: null,
39883
- onCueChange: null,
39884
- onCut: null,
39885
- onDblClick: null,
39886
- onDrag: null,
39887
- onDragEnd: null,
39888
- onDragEnter: null,
39889
- onDragExit: null,
39890
- onDragLeave: null,
39891
- onDragOver: null,
39892
- onDragStart: null,
39893
- onDrop: null,
39894
- onDurationChange: null,
39895
- onEmptied: null,
39896
- onEnd: null,
39897
- onEnded: null,
39898
- onError: null,
39899
- onFocus: null,
39900
- onFocusIn: null,
39901
- onFocusOut: null,
39902
- onHashChange: null,
39903
- onInput: null,
39904
- onInvalid: null,
39905
- onKeyDown: null,
39906
- onKeyPress: null,
39907
- onKeyUp: null,
39908
- onLoad: null,
39909
- onLoadedData: null,
39910
- onLoadedMetadata: null,
39911
- onLoadStart: null,
39912
- onMessage: null,
39913
- onMouseDown: null,
39914
- onMouseEnter: null,
39915
- onMouseLeave: null,
39916
- onMouseMove: null,
39917
- onMouseOut: null,
39918
- onMouseOver: null,
39919
- onMouseUp: null,
39920
- onMouseWheel: null,
39921
- onOffline: null,
39922
- onOnline: null,
39923
- onPageHide: null,
39924
- onPageShow: null,
39925
- onPaste: null,
39926
- onPause: null,
39927
- onPlay: null,
39928
- onPlaying: null,
39929
- onPopState: null,
39930
- onProgress: null,
39931
- onRateChange: null,
39932
- onRepeat: null,
39933
- onReset: null,
39934
- onResize: null,
39935
- onScroll: null,
39936
- onSeeked: null,
39937
- onSeeking: null,
39938
- onSelect: null,
39939
- onShow: null,
39940
- onStalled: null,
39941
- onStorage: null,
39942
- onSubmit: null,
39943
- onSuspend: null,
39944
- onTimeUpdate: null,
39945
- onToggle: null,
39946
- onUnload: null,
39947
- onVolumeChange: null,
39948
- onWaiting: null,
39949
- onZoom: null,
39950
- opacity: null,
39951
- operator: null,
39952
- order: null,
39953
- orient: null,
39954
- orientation: null,
39955
- origin: null,
39956
- overflow: null,
39957
- overlay: null,
39958
- overlinePosition: util_types_number,
39959
- overlineThickness: util_types_number,
39960
- paintOrder: null,
39961
- panose1: null,
39962
- path: null,
39963
- pathLength: util_types_number,
39964
- patternContentUnits: null,
39965
- patternTransform: null,
39966
- patternUnits: null,
39967
- phase: null,
39968
- ping: util_types_spaceSeparated,
39969
- pitch: null,
39970
- playbackOrder: null,
39971
- pointerEvents: null,
39972
- points: null,
39973
- pointsAtX: util_types_number,
39974
- pointsAtY: util_types_number,
39975
- pointsAtZ: util_types_number,
39976
- preserveAlpha: null,
39977
- preserveAspectRatio: null,
39978
- primitiveUnits: null,
39979
- propagate: null,
39980
- property: util_types_commaOrSpaceSeparated,
39981
- r: null,
39982
- radius: null,
39983
- referrerPolicy: null,
39984
- refX: null,
39985
- refY: null,
39986
- rel: util_types_commaOrSpaceSeparated,
39987
- rev: util_types_commaOrSpaceSeparated,
39988
- renderingIntent: null,
39989
- repeatCount: null,
39990
- repeatDur: null,
39991
- requiredExtensions: util_types_commaOrSpaceSeparated,
39992
- requiredFeatures: util_types_commaOrSpaceSeparated,
39993
- requiredFonts: util_types_commaOrSpaceSeparated,
39994
- requiredFormats: util_types_commaOrSpaceSeparated,
39995
- resource: null,
39996
- restart: null,
39997
- result: null,
39998
- rotate: null,
39999
- rx: null,
40000
- ry: null,
40001
- scale: null,
40002
- seed: null,
40003
- shapeRendering: null,
40004
- side: null,
40005
- slope: null,
40006
- snapshotTime: null,
40007
- specularConstant: util_types_number,
40008
- specularExponent: util_types_number,
40009
- spreadMethod: null,
40010
- spacing: null,
40011
- startOffset: null,
40012
- stdDeviation: null,
40013
- stemh: null,
40014
- stemv: null,
40015
- stitchTiles: null,
40016
- stopColor: null,
40017
- stopOpacity: null,
40018
- strikethroughPosition: util_types_number,
40019
- strikethroughThickness: util_types_number,
40020
- string: null,
40021
- stroke: null,
40022
- strokeDashArray: util_types_commaOrSpaceSeparated,
40023
- strokeDashOffset: null,
40024
- strokeLineCap: null,
40025
- strokeLineJoin: null,
40026
- strokeMiterLimit: util_types_number,
40027
- strokeOpacity: util_types_number,
40028
- strokeWidth: null,
40029
- style: null,
40030
- surfaceScale: util_types_number,
40031
- syncBehavior: null,
40032
- syncBehaviorDefault: null,
40033
- syncMaster: null,
40034
- syncTolerance: null,
40035
- syncToleranceDefault: null,
40036
- systemLanguage: util_types_commaOrSpaceSeparated,
40037
- tabIndex: util_types_number,
40038
- tableValues: null,
40039
- target: null,
40040
- targetX: util_types_number,
40041
- targetY: util_types_number,
40042
- textAnchor: null,
40043
- textDecoration: null,
40044
- textRendering: null,
40045
- textLength: null,
40046
- timelineBegin: null,
40047
- title: null,
40048
- transformBehavior: null,
40049
- type: null,
40050
- typeOf: util_types_commaOrSpaceSeparated,
40051
- to: null,
40052
- transform: null,
40053
- transformOrigin: null,
40054
- u1: null,
40055
- u2: null,
40056
- underlinePosition: util_types_number,
40057
- underlineThickness: util_types_number,
40058
- unicode: null,
40059
- unicodeBidi: null,
40060
- unicodeRange: null,
40061
- unitsPerEm: util_types_number,
40062
- values: null,
40063
- vAlphabetic: util_types_number,
40064
- vMathematical: util_types_number,
40065
- vectorEffect: null,
40066
- vHanging: util_types_number,
40067
- vIdeographic: util_types_number,
40068
- version: null,
40069
- vertAdvY: util_types_number,
40070
- vertOriginX: util_types_number,
40071
- vertOriginY: util_types_number,
40072
- viewBox: null,
40073
- viewTarget: null,
40074
- visibility: null,
40075
- width: null,
40076
- widths: null,
40077
- wordSpacing: null,
40078
- writingMode: null,
40079
- x: null,
40080
- x1: null,
40081
- x2: null,
40082
- xChannelSelector: null,
40083
- xHeight: util_types_number,
40084
- y: null,
40085
- y1: null,
40086
- y2: null,
40087
- yChannelSelector: null,
40088
- z: null,
40089
- zoomAndPan: null
40090
- }
40091
- })
40092
-
40093
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/index.js
40094
- /**
40095
- * @typedef {import('./lib/util/info.js').Info} Info
40096
- * @typedef {import('./lib/util/schema.js').Schema} Schema
40097
- */
40098
-
40099
-
40100
-
40101
-
40102
-
40103
-
40104
-
40105
-
40106
-
40107
-
40108
-
40109
-
40110
- const hast_util_to_parse5_node_modules_property_information_html = util_merge_merge([lib_xml_xml, lib_xlink_xlink, lib_xmlns_xmlns, lib_aria_aria, lib_html_html], 'html')
40111
- const hast_util_to_parse5_node_modules_property_information_svg = util_merge_merge([lib_xml_xml, lib_xlink_xlink, lib_xmlns_xmlns, lib_aria_aria, lib_svg_svg], 'svg')
40112
-
40113
- ;// ../node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.js
40114
- /**
40115
- * @typedef {import('./util/schema.js').Schema} Schema
40116
- */
40117
-
40118
-
40119
-
40120
-
40121
-
40122
- const lib_find_valid = /^data[-\w.:]+$/i
40123
- const lib_find_dash = /-[a-z]/g
40124
- const lib_find_cap = /[A-Z]/g
40125
-
40126
- /**
40127
- * @param {Schema} schema
40128
- * @param {string} value
40129
- * @returns {Info}
40130
- */
40131
- function lib_find_find(schema, value) {
40132
- const normal = lib_normalize_normalize(value)
40133
- let prop = value
40134
- let Type = util_info_Info
40135
-
40136
- if (normal in schema.normal) {
40137
- return schema.property[schema.normal[normal]]
40138
- }
40139
-
40140
- if (normal.length > 4 && normal.slice(0, 4) === 'data' && lib_find_valid.test(value)) {
40141
- // Attribute or property.
40142
- if (value.charAt(4) === '-') {
40143
- // Turn it into a property.
40144
- const rest = value.slice(5).replace(lib_find_dash, lib_find_camelcase)
40145
- prop = 'data' + rest.charAt(0).toUpperCase() + rest.slice(1)
40146
- } else {
40147
- // Turn it into an attribute.
40148
- const rest = value.slice(4)
40149
-
40150
- if (!lib_find_dash.test(rest)) {
40151
- let dashes = rest.replace(lib_find_cap, lib_find_kebab)
40152
-
40153
- if (dashes.charAt(0) !== '-') {
40154
- dashes = '-' + dashes
40155
- }
40156
-
40157
- value = 'data' + dashes
40158
- }
40159
- }
40160
-
40161
- Type = util_defined_info_DefinedInfo
40162
- }
40163
-
40164
- return new Type(prop, value)
40165
- }
40166
-
40167
- /**
40168
- * @param {string} $0
40169
- * @returns {string}
40170
- */
40171
- function lib_find_kebab($0) {
40172
- return '-' + $0.toLowerCase()
40173
- }
40174
-
40175
- /**
40176
- * @param {string} $0
40177
- * @returns {string}
40178
- */
40179
- function lib_find_camelcase($0) {
40180
- return $0.charAt(1).toUpperCase()
40181
- }
40182
-
40183
- ;// ../node_modules/hast-util-to-parse5/lib/index.js
40184
- /**
40185
- * @typedef {import('hast').Comment} Comment
40186
- * @typedef {import('hast').Doctype} Doctype
40187
- * @typedef {import('hast').Element} Element
40188
- * @typedef {import('hast').Nodes} Nodes
40189
- * @typedef {import('hast').Root} Root
40190
- * @typedef {import('hast').RootContent} RootContent
40191
- * @typedef {import('hast').Text} Text
40192
- *
40193
- * @typedef {import('parse5').DefaultTreeAdapterMap['document']} Parse5Document
40194
- * @typedef {import('parse5').DefaultTreeAdapterMap['documentFragment']} Parse5Fragment
40195
- * @typedef {import('parse5').DefaultTreeAdapterMap['element']} Parse5Element
40196
- * @typedef {import('parse5').DefaultTreeAdapterMap['node']} Parse5Nodes
40197
- * @typedef {import('parse5').DefaultTreeAdapterMap['documentType']} Parse5Doctype
40198
- * @typedef {import('parse5').DefaultTreeAdapterMap['commentNode']} Parse5Comment
40199
- * @typedef {import('parse5').DefaultTreeAdapterMap['textNode']} Parse5Text
40200
- * @typedef {import('parse5').DefaultTreeAdapterMap['parentNode']} Parse5Parent
40201
- * @typedef {import('parse5').Token.Attribute} Parse5Attribute
40202
- *
40203
- * @typedef {import('property-information').Schema} Schema
40204
- */
40205
-
40206
- /**
40207
38879
  * @typedef Options
40208
38880
  * Configuration.
40209
38881
  * @property {Space | null | undefined} [space='html']
@@ -40245,7 +38917,7 @@ const hast_util_to_parse5_lib_one = zwitch('type', {handlers: {root: lib_root, e
40245
38917
  function toParse5(tree, options) {
40246
38918
  const settings = options || emptyOptions
40247
38919
  const space = settings.space
40248
- return hast_util_to_parse5_lib_one(tree, space === 'svg' ? hast_util_to_parse5_node_modules_property_information_svg : hast_util_to_parse5_node_modules_property_information_html)
38920
+ return hast_util_to_parse5_lib_one(tree, space === 'svg' ? node_modules_property_information_svg : node_modules_property_information_html)
40249
38921
  }
40250
38922
 
40251
38923
  /**
@@ -40358,7 +39030,7 @@ function hast_util_to_parse5_lib_element(node, schema) {
40358
39030
  node.tagName.toLowerCase() === 'svg' &&
40359
39031
  parentSchema.space === 'html'
40360
39032
  ) {
40361
- currentSchema = hast_util_to_parse5_node_modules_property_information_svg
39033
+ currentSchema = node_modules_property_information_svg
40362
39034
  }
40363
39035
 
40364
39036
  /** @type {Array<Parse5Attribute>} */
@@ -40420,7 +39092,7 @@ function hast_util_to_parse5_lib_element(node, schema) {
40420
39092
  * Field for runtime, optional.
40421
39093
  */
40422
39094
  function createProperty(schema, prop, value) {
40423
- const info = lib_find_find(schema, prop)
39095
+ const info = find_find(schema, prop)
40424
39096
 
40425
39097
  // Ignore nullish and `NaN` values.
40426
39098
  if (