import "./util/types.mjs";
import { c as r } from "./util/create.mjs";
import { c as t } from "./util/case-insensitive-transform.mjs";
import { __exports as s } from "../../../_virtual/types.mjs";
var o = s, i = r, c = t, l = o.boolean, d = o.overloadedBoolean, u = o.booleanish, n = o.number, e = o.spaceSeparated, a = o.commaSeparated, y = i({
  space: "html",
  attributes: {
    acceptcharset: "accept-charset",
    classname: "class",
    htmlfor: "for",
    httpequiv: "http-equiv"
  },
  transform: c,
  mustUseProperty: ["checked", "multiple", "muted", "selected"],
  properties: {
    // Standard Properties.
    abbr: null,
    accept: a,
    acceptCharset: e,
    accessKey: e,
    action: null,
    allow: null,
    allowFullScreen: l,
    allowPaymentRequest: l,
    allowUserMedia: l,
    alt: null,
    as: null,
    async: l,
    autoCapitalize: null,
    autoComplete: e,
    autoFocus: l,
    autoPlay: l,
    capture: l,
    charSet: null,
    checked: l,
    cite: null,
    className: e,
    cols: n,
    colSpan: null,
    content: null,
    contentEditable: u,
    controls: l,
    controlsList: e,
    coords: n | a,
    crossOrigin: null,
    data: null,
    dateTime: null,
    decoding: null,
    default: l,
    defer: l,
    dir: null,
    dirName: null,
    disabled: l,
    download: d,
    draggable: u,
    encType: null,
    enterKeyHint: null,
    form: null,
    formAction: null,
    formEncType: null,
    formMethod: null,
    formNoValidate: l,
    formTarget: null,
    headers: e,
    height: n,
    hidden: l,
    high: n,
    href: null,
    hrefLang: null,
    htmlFor: e,
    httpEquiv: e,
    id: null,
    imageSizes: null,
    imageSrcSet: a,
    inputMode: null,
    integrity: null,
    is: null,
    isMap: l,
    itemId: null,
    itemProp: e,
    itemRef: e,
    itemScope: l,
    itemType: e,
    kind: null,
    label: null,
    lang: null,
    language: null,
    list: null,
    loading: null,
    loop: l,
    low: n,
    manifest: null,
    max: null,
    maxLength: n,
    media: null,
    method: null,
    min: null,
    minLength: n,
    multiple: l,
    muted: l,
    name: null,
    nonce: null,
    noModule: l,
    noValidate: l,
    onAbort: null,
    onAfterPrint: null,
    onAuxClick: null,
    onBeforePrint: null,
    onBeforeUnload: null,
    onBlur: null,
    onCancel: null,
    onCanPlay: null,
    onCanPlayThrough: null,
    onChange: null,
    onClick: null,
    onClose: null,
    onContextMenu: null,
    onCopy: null,
    onCueChange: null,
    onCut: null,
    onDblClick: null,
    onDrag: null,
    onDragEnd: null,
    onDragEnter: null,
    onDragExit: null,
    onDragLeave: null,
    onDragOver: null,
    onDragStart: null,
    onDrop: null,
    onDurationChange: null,
    onEmptied: null,
    onEnded: null,
    onError: null,
    onFocus: null,
    onFormData: null,
    onHashChange: null,
    onInput: null,
    onInvalid: null,
    onKeyDown: null,
    onKeyPress: null,
    onKeyUp: null,
    onLanguageChange: null,
    onLoad: null,
    onLoadedData: null,
    onLoadedMetadata: null,
    onLoadEnd: null,
    onLoadStart: null,
    onMessage: null,
    onMessageError: null,
    onMouseDown: null,
    onMouseEnter: null,
    onMouseLeave: null,
    onMouseMove: null,
    onMouseOut: null,
    onMouseOver: null,
    onMouseUp: null,
    onOffline: null,
    onOnline: null,
    onPageHide: null,
    onPageShow: null,
    onPaste: null,
    onPause: null,
    onPlay: null,
    onPlaying: null,
    onPopState: null,
    onProgress: null,
    onRateChange: null,
    onRejectionHandled: null,
    onReset: null,
    onResize: null,
    onScroll: null,
    onSecurityPolicyViolation: null,
    onSeeked: null,
    onSeeking: null,
    onSelect: null,
    onSlotChange: null,
    onStalled: null,
    onStorage: null,
    onSubmit: null,
    onSuspend: null,
    onTimeUpdate: null,
    onToggle: null,
    onUnhandledRejection: null,
    onUnload: null,
    onVolumeChange: null,
    onWaiting: null,
    onWheel: null,
    open: l,
    optimum: n,
    pattern: null,
    ping: e,
    placeholder: null,
    playsInline: l,
    poster: null,
    preload: null,
    readOnly: l,
    referrerPolicy: null,
    rel: e,
    required: l,
    reversed: l,
    rows: n,
    rowSpan: n,
    sandbox: e,
    scope: null,
    scoped: l,
    seamless: l,
    selected: l,
    shape: null,
    size: n,
    sizes: null,
    slot: null,
    span: n,
    spellCheck: u,
    src: null,
    srcDoc: null,
    srcLang: null,
    srcSet: a,
    start: n,
    step: null,
    style: null,
    tabIndex: n,
    target: null,
    title: null,
    translate: null,
    type: null,
    typeMustMatch: l,
    useMap: null,
    value: u,
    width: n,
    wrap: null,
    // Legacy.
    // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
    align: null,
    // Several. Use CSS `text-align` instead,
    aLink: null,
    // `<body>`. Use CSS `a:active {color}` instead
    archive: e,
    // `<object>`. List of URIs to archives
    axis: null,
    // `<td>` and `<th>`. Use `scope` on `<th>`
    background: null,
    // `<body>`. Use CSS `background-image` instead
    bgColor: null,
    // `<body>` and table elements. Use CSS `background-color` instead
    border: n,
    // `<table>`. Use CSS `border-width` instead,
    borderColor: null,
    // `<table>`. Use CSS `border-color` instead,
    bottomMargin: n,
    // `<body>`
    cellPadding: null,
    // `<table>`
    cellSpacing: null,
    // `<table>`
    char: null,
    // Several table elements. When `align=char`, sets the character to align on
    charOff: null,
    // Several table elements. When `char`, offsets the alignment
    classId: null,
    // `<object>`
    clear: null,
    // `<br>`. Use CSS `clear` instead
    code: null,
    // `<object>`
    codeBase: null,
    // `<object>`
    codeType: null,
    // `<object>`
    color: null,
    // `<font>` and `<hr>`. Use CSS instead
    compact: l,
    // Lists. Use CSS to reduce space between items instead
    declare: l,
    // `<object>`
    event: null,
    // `<script>`
    face: null,
    // `<font>`. Use CSS instead
    frame: null,
    // `<table>`
    frameBorder: null,
    // `<iframe>`. Use CSS `border` instead
    hSpace: n,
    // `<img>` and `<object>`
    leftMargin: n,
    // `<body>`
    link: null,
    // `<body>`. Use CSS `a:link {color: *}` instead
    longDesc: null,
    // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
    lowSrc: null,
    // `<img>`. Use a `<picture>`
    marginHeight: n,
    // `<body>`
    marginWidth: n,
    // `<body>`
    noResize: l,
    // `<frame>`
    noHref: l,
    // `<area>`. Use no href instead of an explicit `nohref`
    noShade: l,
    // `<hr>`. Use background-color and height instead of borders
    noWrap: l,
    // `<td>` and `<th>`
    object: null,
    // `<applet>`
    profile: null,
    // `<head>`
    prompt: null,
    // `<isindex>`
    rev: null,
    // `<link>`
    rightMargin: n,
    // `<body>`
    rules: null,
    // `<table>`
    scheme: null,
    // `<meta>`
    scrolling: u,
    // `<frame>`. Use overflow in the child context
    standby: null,
    // `<object>`
    summary: null,
    // `<table>`
    text: null,
    // `<body>`. Use CSS `color` instead
    topMargin: n,
    // `<body>`
    valueType: null,
    // `<param>`
    version: null,
    // `<html>`. Use a doctype.
    vAlign: null,
    // Several. Use CSS `vertical-align` instead
    vLink: null,
    // `<body>`. Use CSS `a:visited {color}` instead
    vSpace: n,
    // `<img>` and `<object>`
    // Non-standard Properties.
    allowTransparency: null,
    autoCorrect: null,
    autoSave: null,
    disablePictureInPicture: l,
    disableRemotePlayback: l,
    prefix: null,
    property: null,
    results: n,
    security: null,
    unselectable: null
  }
});
export {
  y as h
};
