import { asap } from '../lib/drain'; import type { HTMLString } from '../types'; import { AppendHTMLSink, APPEND_HTML_SINK_TAG } from '../sinks/append-html-sink'; import { AttributeObjectSink } from '../sinks/attribute-sink'; import { BlurSink, BLUR_SINK_TAG } from '../sinks/blur-sink'; import { CheckedSink, CHECKED_SINK_TAG } from '../sinks/checked-sink'; import { ClosedSink, CLOSED_SINK_TAG } from '../sinks/closed-sink'; import { DisabledSink, DISABLED_SINK_TAG } from '../sinks/disabled-sink'; import { FocusSink, FOCUS_SINK_TAG } from '../sinks/focus-sink'; import { InnerHTMLSink, INNER_HTML_SINK_TAG } from '../sinks/inner-html-sink'; import { InnerTextSink, INNER_TEXT_SINK_TAG } from '../sinks/inner-text-sink'; import { TextContentSink, TEXT_CONTENT_SINK_TAG } from '../sinks/text-content-sink'; import { JSONDumpSink, JSON_DUMP_SINK_TAG } from '../sinks/json-dump-sink'; import { MIXIN_SINK_TAG } from '../sinks/mixin-sink'; import { PrependHTMLSink, PREPEND_HTML_SINK_TAG } from '../sinks/prepend-html-sink'; import { RemovedSink, REMOVED_SINK_TAG } from '../sinks/removed-sink'; import { ReadonlySink, READ_ONLY_SINK_TAG } from '../sinks/readonly-sink'; import { StyleSink, StyleObjectSink, STYLE_OBJECT_SINK_TAG } from '../sinks/style-sink'; import { ClassObjectSink, CLASS_SINK_TAG } from '../sinks/class-sink'; import { ToggleClassSink, TOGGLE_CLASS_SINK_TAG } from '../sinks/class-sink'; // TODO: Maybe Rimmel should be included client side, and the following map should just // point to the sources and sinks exported from that? // const asap = ${String(asap)}; export const HydrationScript = ` ` as HTMLString;