UNPKG

dap-design-system

Version:

Official design system for the DÁP (dap.gov.hu)

47 lines (46 loc) 1.33 kB
import { _$LH as m } from "./lit-html.js"; /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ const { I: c } = m, g = (e) => e.strings === void 0, l = () => document.createComment(""), u = (e, i, t) => { var a; const r = e._$AA.parentNode, A = i === void 0 ? e._$AB : i._$AA; if (t === void 0) { const $ = r.insertBefore(l(), A), _ = r.insertBefore(l(), A); t = new c($, _, e, e.options); } else { const $ = t._$AB.nextSibling, _ = t._$AM, o = _ !== e; if (o) { let s; (a = t._$AQ) == null || a.call(t, e), t._$AM = e, t._$AP !== void 0 && (s = e._$AU) !== _._$AU && t._$AP(s); } if ($ !== A || o) { let s = t._$AA; for (; s !== $; ) { const n = s.nextSibling; r.insertBefore(s, A), s = n; } } } return t; }, v = (e, i, t = e) => (e._$AI(i, t), e), f = {}, p = (e, i = f) => e._$AH = i, x = (e) => e._$AH, B = (e) => { var r; (r = e._$AP) == null || r.call(e, !1, !0); let i = e._$AA; const t = e._$AB.nextSibling; for (; i !== t; ) { const A = i.nextSibling; i.remove(), i = A; } }; export { x as getCommittedValue, u as insertPart, g as isSingleExpression, B as removePart, v as setChildPartValue, p as setCommittedValue }; //# sourceMappingURL=directive-helpers.js.map