import { require_markup } from "./chunk-GM3KMZZX.js"; import { require_javascript } from "./chunk-CHC75UD4.js"; import { require_css } from "./chunk-UWJZG72J.js"; import { require_clike } from "./chunk-5VNK65O7.js"; import { __commonJS } from "./chunk-2TUXWMP5.js"; // node_modules/xtend/immutable.js var require_immutable = __commonJS({ "node_modules/xtend/immutable.js"(exports, module) { module.exports = extend; var hasOwnProperty = Object.prototype.hasOwnProperty; function extend() { var target = {}; for (var i = 0; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; } } }); // node_modules/hastscript/node_modules/property-information/lib/util/schema.js var require_schema = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/schema.js"(exports, module) { "use strict"; module.exports = Schema; var proto = Schema.prototype; proto.space = null; proto.normal = {}; proto.property = {}; function Schema(property, normal, space) { this.property = property; this.normal = normal; if (space) { this.space = space; } } } }); // node_modules/hastscript/node_modules/property-information/lib/util/merge.js var require_merge = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/merge.js"(exports, module) { "use strict"; var xtend = require_immutable(); var Schema = require_schema(); module.exports = merge; function merge(definitions) { var length = definitions.length; var property = []; var normal = []; var index = -1; var info; var space; while (++index < length) { info = definitions[index]; property.push(info.property); normal.push(info.normal); space = info.space; } return new Schema( xtend.apply(null, property), xtend.apply(null, normal), space ); } } }); // node_modules/hastscript/node_modules/property-information/normalize.js var require_normalize = __commonJS({ "node_modules/hastscript/node_modules/property-information/normalize.js"(exports, module) { "use strict"; module.exports = normalize; function normalize(value) { return value.toLowerCase(); } } }); // node_modules/hastscript/node_modules/property-information/lib/util/info.js var require_info = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/info.js"(exports, module) { "use strict"; module.exports = Info; var proto = Info.prototype; proto.space = null; proto.attribute = null; proto.property = null; proto.boolean = false; proto.booleanish = false; proto.overloadedBoolean = false; proto.number = false; proto.commaSeparated = false; proto.spaceSeparated = false; proto.commaOrSpaceSeparated = false; proto.mustUseProperty = false; proto.defined = false; function Info(property, attribute) { this.property = property; this.attribute = attribute; } } }); // node_modules/hastscript/node_modules/property-information/lib/util/types.js var require_types = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/types.js"(exports) { "use strict"; var powers = 0; exports.boolean = increment(); exports.booleanish = increment(); exports.overloadedBoolean = increment(); exports.number = increment(); exports.spaceSeparated = increment(); exports.commaSeparated = increment(); exports.commaOrSpaceSeparated = increment(); function increment() { return Math.pow(2, ++powers); } } }); // node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js var require_defined_info = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js"(exports, module) { "use strict"; var Info = require_info(); var types = require_types(); module.exports = DefinedInfo; DefinedInfo.prototype = new Info(); DefinedInfo.prototype.defined = true; var checks = [ "boolean", "booleanish", "overloadedBoolean", "number", "commaSeparated", "spaceSeparated", "commaOrSpaceSeparated" ]; var checksLength = checks.length; function DefinedInfo(property, attribute, mask, space) { var index = -1; var check; mark(this, "space", space); Info.call(this, property, attribute); while (++index < checksLength) { check = checks[index]; mark(this, check, (mask & types[check]) === types[check]); } } function mark(values, key, value) { if (value) { values[key] = value; } } } }); // node_modules/hastscript/node_modules/property-information/lib/util/create.js var require_create = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/create.js"(exports, module) { "use strict"; var normalize = require_normalize(); var Schema = require_schema(); var DefinedInfo = require_defined_info(); module.exports = create; function create(definition) { var space = definition.space; var mustUseProperty = definition.mustUseProperty || []; var attributes = definition.attributes || {}; var props = definition.properties; var transform = definition.transform; var property = {}; var normal = {}; var prop; var info; for (prop in props) { info = new DefinedInfo( prop, transform(attributes, prop), props[prop], space ); if (mustUseProperty.indexOf(prop) !== -1) { info.mustUseProperty = true; } property[prop] = info; normal[normalize(prop)] = prop; normal[normalize(info.attribute)] = prop; } return new Schema(property, normal, space); } } }); // node_modules/hastscript/node_modules/property-information/lib/xlink.js var require_xlink = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/xlink.js"(exports, module) { "use strict"; var create = require_create(); module.exports = create({ space: "xlink", transform: xlinkTransform, properties: { xLinkActuate: null, xLinkArcRole: null, xLinkHref: null, xLinkRole: null, xLinkShow: null, xLinkTitle: null, xLinkType: null } }); function xlinkTransform(_, prop) { return "xlink:" + prop.slice(5).toLowerCase(); } } }); // node_modules/hastscript/node_modules/property-information/lib/xml.js var require_xml = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/xml.js"(exports, module) { "use strict"; var create = require_create(); module.exports = create({ space: "xml", transform: xmlTransform, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); function xmlTransform(_, prop) { return "xml:" + prop.slice(3).toLowerCase(); } } }); // node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js var require_case_sensitive_transform = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js"(exports, module) { "use strict"; module.exports = caseSensitiveTransform; function caseSensitiveTransform(attributes, attribute) { return attribute in attributes ? attributes[attribute] : attribute; } } }); // node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js var require_case_insensitive_transform = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js"(exports, module) { "use strict"; var caseSensitiveTransform = require_case_sensitive_transform(); module.exports = caseInsensitiveTransform; function caseInsensitiveTransform(attributes, property) { return caseSensitiveTransform(attributes, property.toLowerCase()); } } }); // node_modules/hastscript/node_modules/property-information/lib/xmlns.js var require_xmlns = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/xmlns.js"(exports, module) { "use strict"; var create = require_create(); var caseInsensitiveTransform = require_case_insensitive_transform(); module.exports = create({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, transform: caseInsensitiveTransform, properties: { xmlns: null, xmlnsXLink: null } }); } }); // node_modules/hastscript/node_modules/property-information/lib/aria.js var require_aria = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/aria.js"(exports, module) { "use strict"; var types = require_types(); var create = require_create(); var booleanish = types.booleanish; var number = types.number; var spaceSeparated = types.spaceSeparated; module.exports = create({ transform: ariaTransform, properties: { ariaActiveDescendant: null, ariaAtomic: booleanish, ariaAutoComplete: null, ariaBusy: booleanish, ariaChecked: booleanish, ariaColCount: number, ariaColIndex: number, ariaColSpan: number, ariaControls: spaceSeparated, ariaCurrent: null, ariaDescribedBy: spaceSeparated, ariaDetails: null, ariaDisabled: booleanish, ariaDropEffect: spaceSeparated, ariaErrorMessage: null, ariaExpanded: booleanish, ariaFlowTo: spaceSeparated, ariaGrabbed: booleanish, ariaHasPopup: null, ariaHidden: booleanish, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, ariaLabelledBy: spaceSeparated, ariaLevel: number, ariaLive: null, ariaModal: booleanish, ariaMultiLine: booleanish, ariaMultiSelectable: booleanish, ariaOrientation: null, ariaOwns: spaceSeparated, ariaPlaceholder: null, ariaPosInSet: number, ariaPressed: booleanish, ariaReadOnly: booleanish, ariaRelevant: null, ariaRequired: booleanish, ariaRoleDescription: spaceSeparated, ariaRowCount: number, ariaRowIndex: number, ariaRowSpan: number, ariaSelected: booleanish, ariaSetSize: number, ariaSort: null, ariaValueMax: number, ariaValueMin: number, ariaValueNow: number, ariaValueText: null, role: null } }); function ariaTransform(_, prop) { return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase(); } } }); // node_modules/hastscript/node_modules/property-information/lib/html.js var require_html = __commonJS({ "node_modules/hastscript/node_modules/property-information/lib/html.js"(exports, module) { "use strict"; var types = require_types(); var create = require_create(); var caseInsensitiveTransform = require_case_insensitive_transform(); var boolean = types.boolean; var overloadedBoolean = types.overloadedBoolean; var booleanish = types.booleanish; var number = types.number; var spaceSeparated = types.spaceSeparated; var commaSeparated = types.commaSeparated; module.exports = create({ space: "html", attributes: { acceptcharset: "accept-charset", classname: "class", htmlfor: "for", httpequiv: "http-equiv" }, transform: caseInsensitiveTransform, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. abbr: null, accept: commaSeparated, acceptCharset: spaceSeparated, accessKey: spaceSeparated, action: null, allow: null, allowFullScreen: boolean, allowPaymentRequest: boolean, allowUserMedia: boolean, alt: null, as: null, async: boolean, autoCapitalize: null, autoComplete: spaceSeparated, autoFocus: boolean, autoPlay: boolean, capture: boolean, charSet: null, checked: boolean, cite: null, className: spaceSeparated, cols: number, colSpan: null, content: null, contentEditable: booleanish, controls: boolean, controlsList: spaceSeparated, coords: number | commaSeparated, crossOrigin: null, data: null, dateTime: null, decoding: null, default: boolean, defer: boolean, dir: null, dirName: null, disabled: boolean, download: overloadedBoolean, draggable: booleanish, encType: null, enterKeyHint: null, form: null, formAction: null, formEncType: null, formMethod: null, formNoValidate: boolean, formTarget: null, headers: spaceSeparated, height: number, hidden: boolean, high: number, href: null, hrefLang: null, htmlFor: spaceSeparated, httpEquiv: spaceSeparated, id: null, imageSizes: null, imageSrcSet: commaSeparated, inputMode: null, integrity: null, is: null, isMap: boolean, itemId: null, itemProp: spaceSeparated, itemRef: spaceSeparated, itemScope: boolean, itemType: spaceSeparated, kind: null, label: null, lang: null, language: null, list: null, loading: null, loop: boolean, low: number, manifest: null, max: null, maxLength: number, media: null, method: null, min: null, minLength: number, multiple: boolean, muted: boolean, name: null, nonce: null, noModule: boolean, noValidate: boolean, 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: boolean, optimum: number, pattern: null, ping: spaceSeparated, placeholder: null, playsInline: boolean, poster: null, preload: null, readOnly: boolean, referrerPolicy: null, rel: spaceSeparated, required: boolean, reversed: boolean, rows: number, rowSpan: number, sandbox: spaceSeparated, scope: null, scoped: boolean, seamless: boolean, selected: boolean, shape: null, size: number, sizes: null, slot: null, span: number, spellCheck: booleanish, src: null, srcDoc: null, srcLang: null, srcSet: commaSeparated, start: number, step: null, style: null, tabIndex: number, target: null, title: null, translate: null, type: null, typeMustMatch: boolean, useMap: null, value: booleanish, width: number, wrap: null, // Legacy. // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis align: null, // Several. Use CSS `text-align` instead, aLink: null, // ``. Use CSS `a:active {color}` instead archive: spaceSeparated, // ``. List of URIs to archives axis: null, // `` and ``. Use `scope` on `` background: null, // ``. Use CSS `background-image` instead bgColor: null, // `` and table elements. Use CSS `background-color` instead border: number, // ``. Use CSS `border-width` instead, borderColor: null, // `
`. Use CSS `border-color` instead, bottomMargin: number, // `` cellPadding: null, // `
` cellSpacing: null, // `
` 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, // `` clear: null, // `
`. Use CSS `clear` instead code: null, // `` codeBase: null, // `` codeType: null, // `` color: null, // `` and `
`. Use CSS instead compact: boolean, // Lists. Use CSS to reduce space between items instead declare: boolean, // `` event: null, // `