# darkify/1.3.0/src/Admin/Framework/assets/js/css.js

Darkify – Dark Mode &amp; Night Mode for Website &amp; Admin (Dark Theme Included), version 1.3.0. 1,579 lines.

- Page: https://pluginprobe.com/plugins/darkify/1.3.0/code/src/Admin/Framework/assets/js/css.js
- Raw: https://pluginprobe.com/plugins/darkify/1.3.0/raw/src/Admin/Framework/assets/js/css.js
- Modified: 2025-03-21T01:44:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/darkify/1.3.0/code/src/Admin/Framework/assets/js/css.js#L10-L20`.

```javascript
!(function (e) {
    "object" == typeof exports && "object" == typeof module ? e(require("../../lib/codemirror")) : "function" == typeof define && define.amd ? define(["../../lib/codemirror"], e) : e(CodeMirror);
})(function (e) {
    "use strict";
    function t(e) {
        for (var t = {}, r = 0; r < e.length; ++r) t[e[r].toLowerCase()] = !0;
        return t;
    }
    e.defineMode("css", function (t, r) {
        var o,
            i,
            a = r.inline;
        r.propertyKeywords || (r = e.resolveMode("text/css"));
        var n = t.indentUnit,
            l = r.tokenHooks,
            s = r.documentTypes || {},
            c = r.mediaTypes || {},
            d = r.mediaFeatures || {},
            p = r.mediaValueKeywords || {},
            u = r.propertyKeywords || {},
            m = r.nonStandardPropertyKeywords || {},
            g = r.fontProperties || {},
            b = r.counterDescriptors || {},
            h = r.colorKeywords || {},
            f = r.valueKeywords || {},
            k = r.allowNested,
            y = r.lineComment,
            w = !0 === r.supportsAtComponent,
            v = !1 !== t.highlightNonStandardPropertyKeywords;
        function x(e, t) {
            return (o = t), e;
        }
        function z(e, t) {
            var r,
                i,
                a = e.next();
            if (l[a]) {
                var n = l[a](e, t);
                if (!1 !== n) return n;
            }
            if ("@" == a) {
                return e.eatWhile(/[\w\\\-]/), (o = r = e.current()), "def";
            }
            if ("=" == a || (("~" == a || "|" == a) && e.eat("="))) return (o = "compare"), null;
            if ('"' == a || "'" == a) return (t.tokenize = j(a)), t.tokenize(e, t);
            if ("#" == a) return e.eatWhile(/[\w\\\-]/), (o = "hash"), "atom";
            if ("!" == a) return e.match(/^\s*\w*/), (o = "important"), "keyword";
            else if (/\d/.test(a) || ("." == a && e.eat(/\d/))) return e.eatWhile(/[\w.%]/), (o = "unit"), "number";
            else if ("-" === a) {
                if (/[\d.]/.test(e.peek())) return e.eatWhile(/[\w.%]/), (o = "unit"), "number";
                if (e.match(/^-[\w\\\-]*/)) return (e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1)) ? ((o = "variable-definition"), "variable-2") : ((o = "variable"), "variable-2");
                if (e.match(/^\w+-/)) return (o = "meta"), "meta";
            } else if (/[,+>*\/]/.test(a)) return (o = "select-op"), null;
            else if ("." == a && e.match(/^-?[_a-z][_a-z0-9-]*/i)) return (o = "qualifier"), "qualifier";
            else if (/[:;{}\[\]\(\)]/.test(a)) {
                return (o = i = a), null;
            } else if (e.match(/^[\w-.]+(?=\()/)) return /^(url(-prefix)?|domain|regexp)$/i.test(e.current()) && (t.tokenize = P), (o = "variable"), "variable callee";
            else if (!/[\w\\\-]/.test(a)) return (o = null), null;
            else return e.eatWhile(/[\w\\\-]/), (o = "word"), "property";
        }
        function j(e) {
            return function (t, r) {
                for (var i, a = !1; null != (i = t.next()); ) {
                    if (i == e && !a) {
                        ")" == e && t.backUp(1);
                        break;
                    }
                    a = !a && "\\" == i;
                }
                return (i != e && (a || ")" == e)) || (r.tokenize = null), (o = "string"), "string";
            };
        }
        function P(e, t) {
            return e.next(), e.match(/^\s*[\"\')]/, !1) ? (t.tokenize = null) : (t.tokenize = j(")")), (o = "("), null;
        }
        function K(e, t, r) {
            (this.type = e), (this.indent = t), (this.prev = r);
        }
        function q(e, t, r, o) {
            return (e.context = new K(r, t.indentation() + (!1 === o ? 0 : n), e.context)), r;
        }
        function B(e) {
            return e.context.prev && (e.context = e.context.prev), e.context.type;
        }
        function C(e, t, r) {
            return T[r.context.type](e, t, r);
        }
        function $(e, t, r, o) {
            for (var i = o || 1; i > 0; i--) r.context = r.context.prev;
            return C(e, t, r);
        }
        function _(e) {
            var t = e.current().toLowerCase();
            i = f.hasOwnProperty(t) ? "atom" : h.hasOwnProperty(t) ? "keyword" : "variable";
        }
        var T = {};
        return (
            (T.top = function (e, t, r) {
                if ("{" == e) return q(r, t, "block");
                if ("}" == e && r.context.prev) return B(r);
                if (w && /@component/i.test(e)) return q(r, t, "atComponentBlock");
                if (/^@(-moz-)?document$/i.test(e)) return q(r, t, "documentTypes");
                if (/^@(media|supports|(-moz-)?document|import)$/i.test(e)) return q(r, t, "atBlock");
                else if (/^@(font-face|counter-style)/i.test(e)) return (r.stateArg = e), "restricted_atBlock_before";
                else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e)) return "keyframes";
                else if (e && "@" == e.charAt(0)) return q(r, t, "at");
                else if ("hash" == e) i = "builtin";
                else if ("word" == e) i = "tag";
                else if ("variable-definition" == e) return "maybeprop";
                else if ("interpolation" == e) return q(r, t, "interpolation");
                else if (":" == e) return "pseudo";
                else if (k && "(" == e) return q(r, t, "parens");
                return r.context.type;
            }),
            (T.block = function (e, t, r) {
                if ("word" == e) {
                    var o = t.current().toLowerCase();
                    return u.hasOwnProperty(o)
                        ? ((i = "property"), "maybeprop")
                        : m.hasOwnProperty(o)
                        ? ((i = v ? "string-2" : "property"), "maybeprop")
                        : k
                        ? ((i = t.match(/^\s*:(?:\s|$)/, !1) ? "property" : "tag"), "block")
                        : ((i += " error"), "maybeprop");
                }
                return "meta" == e ? "block" : k || ("hash" != e && "qualifier" != e) ? T.top(e, t, r) : ((i = "error"), "block");
            }),
            (T.maybeprop = function (e, t, r) {
                return ":" == e ? q(r, t, "prop") : C(e, t, r);
            }),
            (T.prop = function (e, t, r) {
                if (";" == e) return B(r);
                if ("{" == e && k) return q(r, t, "propBlock");
                if ("}" == e || "{" == e) return $(e, t, r);
                if ("(" == e) return q(r, t, "parens");
                if ("hash" != e || /^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())) {
                    if ("word" == e) _(t);
                    else if ("interpolation" == e) return q(r, t, "interpolation");
                } else i += " error";
                return "prop";
            }),
            (T.propBlock = function (e, t, r) {
                return "}" == e ? B(r) : "word" == e ? ((i = "property"), "maybeprop") : r.context.type;
            }),
            (T.parens = function (e, t, r) {
                return "{" == e || "}" == e ? $(e, t, r) : ")" == e ? B(r) : "(" == e ? q(r, t, "parens") : "interpolation" == e ? q(r, t, "interpolation") : ("word" == e && _(t), "parens");
            }),
            (T.pseudo = function (e, t, r) {
                return "meta" == e ? "pseudo" : "word" == e ? ((i = "variable-3"), r.context.type) : C(e, t, r);
            }),
            (T.documentTypes = function (e, t, r) {
                return "word" == e && s.hasOwnProperty(t.current()) ? ((i = "tag"), r.context.type) : T.atBlock(e, t, r);
            }),
            (T.atBlock = function (e, t, r) {
                if ("(" == e) return q(r, t, "atBlock_parens");
                if ("}" == e || ";" == e) return $(e, t, r);
                if ("{" == e) return B(r) && q(r, t, k ? "block" : "top");
                if ("interpolation" == e) return q(r, t, "interpolation");
                if ("word" == e) {
                    var o = t.current().toLowerCase();
                    i =
                        "only" == o || "not" == o || "and" == o || "or" == o
                            ? "keyword"
                            : c.hasOwnProperty(o)
                            ? "attribute"
                            : d.hasOwnProperty(o)
                            ? "property"
                            : p.hasOwnProperty(o)
                            ? "keyword"
                            : u.hasOwnProperty(o)
                            ? "property"
                            : m.hasOwnProperty(o)
                            ? v
                                ? "string-2"
                                : "property"
                            : f.hasOwnProperty(o)
                            ? "atom"
                            : h.hasOwnProperty(o)
                            ? "keyword"
                            : "error";
                }
                return r.context.type;
            }),
            (T.atComponentBlock = function (e, t, r) {
                return "}" == e ? $(e, t, r) : "{" == e ? B(r) && q(r, t, k ? "block" : "top", !1) : ("word" == e && (i = "error"), r.context.type);
            }),
            (T.atBlock_parens = function (e, t, r) {
                return ")" == e ? B(r) : "{" == e || "}" == e ? $(e, t, r, 2) : T.atBlock(e, t, r);
            }),
            (T.restricted_atBlock_before = function (e, t, r) {
                return "{" == e ? q(r, t, "restricted_atBlock") : "word" == e && "@counter-style" == r.stateArg ? ((i = "variable"), "restricted_atBlock_before") : C(e, t, r);
            }),
            (T.restricted_atBlock = function (e, t, r) {
                return "}" == e
                    ? ((r.stateArg = null), B(r))
                    : "word" == e
                    ? ((i = ("@font-face" != r.stateArg || g.hasOwnProperty(t.current().toLowerCase())) && ("@counter-style" != r.stateArg || b.hasOwnProperty(t.current().toLowerCase())) ? "property" : "error"), "maybeprop")
                    : "restricted_atBlock";
            }),
            (T.keyframes = function (e, t, r) {
                return "word" == e ? ((i = "variable"), "keyframes") : "{" == e ? q(r, t, "top") : C(e, t, r);
            }),
            (T.at = function (e, t, r) {
                return ";" == e ? B(r) : "{" == e || "}" == e ? $(e, t, r) : ("word" == e ? (i = "tag") : "hash" == e && (i = "builtin"), "at");
            }),
            (T.interpolation = function (e, t, r) {
                return "}" == e ? B(r) : "{" == e || ";" == e ? $(e, t, r) : ("word" == e ? (i = "variable") : "variable" != e && "(" != e && ")" != e && (i = "error"), "interpolation");
            }),
            {
                startState: function (e) {
                    return { tokenize: null, state: a ? "block" : "top", stateArg: null, context: new K(a ? "block" : "top", e || 0, null) };
                },
                token: function (e, t) {
                    if (!t.tokenize && e.eatSpace()) return null;
                    var r = (t.tokenize || z)(e, t);
                    return r && "object" == typeof r && ((o = r[1]), (r = r[0])), (i = r), "comment" != o && (t.state = T[t.state](o, e, t)), i;
                },
                indent: function (e, t) {
                    var r = e.context,
                        o = t && t.charAt(0),
                        i = r.indent;
                    return (
                        "prop" == r.type && ("}" == o || ")" == o) && (r = r.prev),
                        r.prev &&
                            ("}" == o && ("block" == r.type || "top" == r.type || "interpolation" == r.type || "restricted_atBlock" == r.type)
                                ? (i = (r = r.prev).indent)
                                : ((")" == o && ("parens" == r.type || "atBlock_parens" == r.type)) || ("{" == o && ("at" == r.type || "atBlock" == r.type))) && (i = Math.max(0, r.indent - n))),
                        i
                    );
                },
                electricChars: "}",
                blockCommentStart: "/*",
                blockCommentEnd: "*/",
                blockCommentContinue: " * ",
                lineComment: y,
                fold: "brace",
            }
        );
    });
    var r = ["domain", "regexp", "url", "url-prefix"],
        o = t(r),
        i = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"],
        a = t(i),
        n = [
            "width",
            "min-width",
            "max-width",
            "height",
            "min-height",
            "max-height",
            "device-width",
            "min-device-width",
            "max-device-width",
            "device-height",
            "min-device-height",
            "max-device-height",
            "aspect-ratio",
            "min-aspect-ratio",
            "max-aspect-ratio",
            "device-aspect-ratio",
            "min-device-aspect-ratio",
            "max-device-aspect-ratio",
            "color",
            "min-color",
            "max-color",
            "color-index",
            "min-color-index",
            "max-color-index",
            "monochrome",
            "min-monochrome",
            "max-monochrome",
            "resolution",
            "min-resolution",
            "max-resolution",
            "scan",
            "grid",
            "orientation",
            "device-pixel-ratio",
            "min-device-pixel-ratio",
            "max-device-pixel-ratio",
            "pointer",
            "any-pointer",
            "hover",
            "any-hover",
            "prefers-color-scheme",
            "dynamic-range",
            "video-dynamic-range",
        ],
        l = t(n),
        s = ["landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover", "interlace", "progressive", "dark", "light", "standard", "high"],
        c = t(s),
        d = [
            "align-content",
            "align-items",
            "align-self",
            "alignment-adjust",
            "alignment-baseline",
            "all",
            "anchor-point",
            "animation",
            "animation-delay",
            "animation-direction",
            "animation-duration",
            "animation-fill-mode",
            "animation-iteration-count",
            "animation-name",
            "animation-play-state",
            "animation-timing-function",
            "appearance",
            "azimuth",
            "backdrop-filter",
            "backface-visibility",
            "background",
            "background-attachment",
            "background-blend-mode",
            "background-clip",
            "background-color",
            "background-image",
            "background-origin",
            "background-position",
            "background-position-x",
            "background-position-y",
            "background-repeat",
            "background-size",
            "baseline-shift",
            "binding",
            "bleed",
            "block-size",
            "bookmark-label",
            "bookmark-level",
            "bookmark-state",
            "bookmark-target",
            "border",
            "border-bottom",
            "border-bottom-color",
            "border-bottom-left-radius",
            "border-bottom-right-radius",
            "border-bottom-style",
            "border-bottom-width",
            "border-collapse",
            "border-color",
            "border-image",
            "border-image-outset",
            "border-image-repeat",
            "border-image-slice",
            "border-image-source",
            "border-image-width",
            "border-left",
            "border-left-color",
            "border-left-style",
            "border-left-width",
            "border-radius",
            "border-right",
            "border-right-color",
            "border-right-style",
            "border-right-width",
            "border-spacing",
            "border-style",
            "border-top",
            "border-top-color",
            "border-top-left-radius",
            "border-top-right-radius",
            "border-top-style",
            "border-top-width",
            "border-width",
            "bottom",
            "box-decoration-break",
            "box-shadow",
            "box-sizing",
            "break-after",
            "break-before",
            "break-inside",
            "caption-side",
            "caret-color",
            "clear",
            "clip",
            "color",
            "color-profile",
            "column-count",
            "column-fill",
            "column-gap",
            "column-rule",
            "column-rule-color",
            "column-rule-style",
            "column-rule-width",
            "column-span",
            "column-width",
            "columns",
            "contain",
            "content",
            "counter-increment",
            "counter-reset",
            "crop",
            "cue",
            "cue-after",
            "cue-before",
            "cursor",
            "direction",
            "display",
            "dominant-baseline",
            "drop-initial-after-adjust",
            "drop-initial-after-align",
            "drop-initial-before-adjust",
            "drop-initial-before-align",
            "drop-initial-size",
            "drop-initial-value",
            "elevation",
            "empty-cells",
            "fit",
            "fit-content",
            "fit-position",
            "flex",
            "flex-basis",
            "flex-direction",
            "flex-flow",
            "flex-grow",
            "flex-shrink",
            "flex-wrap",
            "float",
            "float-offset",
            "flow-from",
            "flow-into",
            "font",
            "font-family",
            "font-feature-settings",
            "font-kerning",
            "font-language-override",
            "font-optical-sizing",
            "font-size",
            "font-size-adjust",
            "font-stretch",
            "font-style",
            "font-synthesis",
            "font-variant",
            "font-variant-alternates",
            "font-variant-caps",
            "font-variant-east-asian",
            "font-variant-ligatures",
            "font-variant-numeric",
            "font-variant-position",
            "font-variation-settings",
            "font-weight",
            "gap",
            "grid",
            "grid-area",
            "grid-auto-columns",
            "grid-auto-flow",
            "grid-auto-rows",
            "grid-column",
            "grid-column-end",
            "grid-column-gap",
            "grid-column-start",
            "grid-gap",
            "grid-row",
            "grid-row-end",
            "grid-row-gap",
            "grid-row-start",
            "grid-template",
            "grid-template-areas",
            "grid-template-columns",
            "grid-template-rows",
            "hanging-punctuation",
            "height",
            "hyphens",
            "icon",
            "image-orientation",
            "image-rendering",
            "image-resolution",
            "inline-box-align",
            "inset",
            "inset-block",
            "inset-block-end",
            "inset-block-start",
            "inset-inline",
            "inset-inline-end",
            "inset-inline-start",
            "isolation",
            "justify-content",
            "justify-items",
            "justify-self",
            "left",
            "letter-spacing",
            "line-break",
            "line-height",
            "line-height-step",
            "line-stacking",
            "line-stacking-ruby",
            "line-stacking-shift",
            "line-stacking-strategy",
            "list-style",
            "list-style-image",
            "list-style-position",
            "list-style-type",
            "margin",
            "margin-bottom",
            "margin-left",
            "margin-right",
            "margin-top",
            "marks",
            "marquee-direction",
            "marquee-loop",
            "marquee-play-count",
            "marquee-speed",
            "marquee-style",
            "mask-clip",
            "mask-composite",
            "mask-image",
            "mask-mode",
            "mask-origin",
            "mask-position",
            "mask-repeat",
            "mask-size",
            "mask-type",
            "max-block-size",
            "max-height",
            "max-inline-size",
            "max-width",
            "min-block-size",
            "min-height",
            "min-inline-size",
            "min-width",
            "mix-blend-mode",
            "move-to",
            "nav-down",
            "nav-index",
            "nav-left",
            "nav-right",
            "nav-up",
            "object-fit",
            "object-position",
            "offset",
            "offset-anchor",
            "offset-distance",
            "offset-path",
            "offset-position",
            "offset-rotate",
            "opacity",
            "order",
            "orphans",
            "outline",
            "outline-color",
            "outline-offset",
            "outline-style",
            "outline-width",
            "overflow",
            "overflow-style",
            "overflow-wrap",
            "overflow-x",
            "overflow-y",
            "padding",
            "padding-bottom",
            "padding-left",
            "padding-right",
            "padding-top",
            "page",
            "page-break-after",
            "page-break-before",
            "page-break-inside",
            "page-policy",
            "pause",
            "pause-after",
            "pause-before",
            "perspective",
            "perspective-origin",
            "pitch",
            "pitch-range",
            "place-content",
            "place-items",
            "place-self",
            "play-during",
            "position",
            "presentation-level",
            "punctuation-trim",
            "quotes",
            "region-break-after",
            "region-break-before",
            "region-break-inside",
            "region-fragment",
            "rendering-intent",
            "resize",
            "rest",
            "rest-after",
            "rest-before",
            "richness",
            "right",
            "rotate",
            "rotation",
            "rotation-point",
            "row-gap",
            "ruby-align",
            "ruby-overhang",
            "ruby-position",
            "ruby-span",
            "scale",
            "scroll-behavior",
            "scroll-margin",
            "scroll-margin-block",
            "scroll-margin-block-end",
            "scroll-margin-block-start",
            "scroll-margin-bottom",
            "scroll-margin-inline",
            "scroll-margin-inline-end",
            "scroll-margin-inline-start",
            "scroll-margin-left",
            "scroll-margin-right",
            "scroll-margin-top",
            "scroll-padding",
            "scroll-padding-block",
            "scroll-padding-block-end",
            "scroll-padding-block-start",
            "scroll-padding-bottom",
            "scroll-padding-inline",
            "scroll-padding-inline-end",
            "scroll-padding-inline-start",
            "scroll-padding-left",
            "scroll-padding-right",
            "scroll-padding-top",
            "scroll-snap-align",
            "scroll-snap-type",
            "shape-image-threshold",
            "shape-inside",
            "shape-margin",
            "shape-outside",
            "size",
            "speak",
            "speak-as",
            "speak-header",
            "speak-numeral",
            "speak-punctuation",
            "speech-rate",
            "stress",
            "string-set",
            "tab-size",
            "table-layout",
            "target",
            "target-name",
            "target-new",
            "target-position",
            "text-align",
            "text-align-last",
            "text-combine-upright",
            "text-decoration",
            "text-decoration-color",
            "text-decoration-line",
            "text-decoration-skip",
            "text-decoration-skip-ink",
            "text-decoration-style",
            "text-emphasis",
            "text-emphasis-color",
            "text-emphasis-position",
            "text-emphasis-style",
            "text-height",
            "text-indent",
            "text-justify",
            "text-orientation",
            "text-outline",
            "text-overflow",
            "text-rendering",
            "text-shadow",
            "text-size-adjust",
            "text-space-collapse",
            "text-transform",
            "text-underline-position",
            "text-wrap",
            "top",
            "touch-action",
            "transform",
            "transform-origin",
            "transform-style",
            "transition",
            "transition-delay",
            "transition-duration",
            "transition-property",
            "transition-timing-function",
            "translate",
            "unicode-bidi",
            "user-select",
            "vertical-align",
            "visibility",
            "voice-balance",
            "voice-duration",
            "voice-family",
            "voice-pitch",
            "voice-range",
            "voice-rate",
            "voice-stress",
            "voice-volume",
            "volume",
            "white-space",
            "widows",
            "width",
            "will-change",
            "word-break",
            "word-spacing",
            "word-wrap",
            "writing-mode",
            "z-index",
            "clip-path",
            "clip-rule",
            "mask",
            "enable-background",
            "filter",
            "flood-color",
            "flood-opacity",
            "lighting-color",
            "stop-color",
            "stop-opacity",
            "pointer-events",
            "color-interpolation",
            "color-interpolation-filters",
            "color-rendering",
            "fill",
            "fill-opacity",
            "fill-rule",
            "image-rendering",
            "marker",
            "marker-end",
            "marker-mid",
            "marker-start",
            "paint-order",
            "shape-rendering",
            "stroke",
            "stroke-dasharray",
            "stroke-dashoffset",
            "stroke-linecap",
            "stroke-linejoin",
            "stroke-miterlimit",
            "stroke-opacity",
            "stroke-width",
            "text-rendering",
            "baseline-shift",
            "dominant-baseline",
            "glyph-orientation-horizontal",
            "glyph-orientation-vertical",
            "text-anchor",
            "writing-mode",
        ],
        p = t(d),
        u = [
            "accent-color",
            "aspect-ratio",
            "border-block",
            "border-block-color",
            "border-block-end",
            "border-block-end-color",
            "border-block-end-style",
            "border-block-end-width",
            "border-block-start",
            "border-block-start-color",
            "border-block-start-style",
            "border-block-start-width",
            "border-block-style",
            "border-block-width",
            "border-inline",
            "border-inline-color",
            "border-inline-end",
            "border-inline-end-color",
            "border-inline-end-style",
            "border-inline-end-width",
            "border-inline-start",
            "border-inline-start-color",
            "border-inline-start-style",
            "border-inline-start-width",
            "border-inline-style",
            "border-inline-width",
            "content-visibility",
            "margin-block",
            "margin-block-end",
            "margin-block-start",
            "margin-inline",
            "margin-inline-end",
            "margin-inline-start",
            "overflow-anchor",
            "overscroll-behavior",
            "padding-block",
            "padding-block-end",
            "padding-block-start",
            "padding-inline",
            "padding-inline-end",
            "padding-inline-start",
            "scroll-snap-stop",
            "scrollbar-3d-light-color",
            "scrollbar-arrow-color",
            "scrollbar-base-color",
            "scrollbar-dark-shadow-color",
            "scrollbar-face-color",
            "scrollbar-highlight-color",
            "scrollbar-shadow-color",
            "scrollbar-track-color",
            "searchfield-cancel-button",
            "searchfield-decoration",
            "searchfield-results-button",
            "searchfield-results-decoration",
            "shape-inside",
            "zoom",
        ],
        m = t(u),
        g = t(["font-display", "font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"]),
        b = t(["additive-symbols", "fallback", "negative", "pad", "prefix", "range", "speak-as", "suffix", "symbols", "system"]),
        h = [
            "aliceblue",
            "antiquewhite",
            "aqua",
            "aquamarine",
            "azure",
            "beige",
            "bisque",
            "black",
            "blanchedalmond",
            "blue",
            "blueviolet",
            "brown",
            "burlywood",
            "cadetblue",
            "chartreuse",
            "chocolate",
            "coral",
            "cornflowerblue",
            "cornsilk",
            "crimson",
            "cyan",
            "darkblue",
            "darkcyan",
            "darkgoldenrod",
            "darkgray",
            "darkgreen",
            "darkgrey",
            "darkkhaki",
            "darkmagenta",
            "darkolivegreen",
            "darkorange",
            "darkorchid",
            "darkred",
            "darksalmon",
            "darkseagreen",
            "darkslateblue",
            "darkslategray",
            "darkslategrey",
            "darkturquoise",
            "darkviolet",
            "deeppink",
            "deepskyblue",
            "dimgray",
            "dimgrey",
            "dodgerblue",
            "firebrick",
            "floralwhite",
            "forestgreen",
            "fuchsia",
            "gainsboro",
            "ghostwhite",
            "gold",
            "goldenrod",
            "gray",
            "grey",
            "green",
            "greenyellow",
            "honeydew",
            "hotpink",
            "indianred",
            "indigo",
            "ivory",
            "khaki",
            "lavender",
            "lavenderblush",
            "lawngreen",
            "lemonchiffon",
            "lightblue",
            "lightcoral",
            "lightcyan",
            "lightgoldenrodyellow",
            "lightgray",
            "lightgreen",
            "lightgrey",
            "lightpink",
            "lightsalmon",
            "lightseagreen",
            "lightskyblue",
            "lightslategray",
            "lightslategrey",
            "lightsteelblue",
            "lightyellow",
            "lime",
            "limegreen",
            "linen",
            "magenta",
            "maroon",
            "mediumaquamarine",
            "mediumblue",
            "mediumorchid",
            "mediumpurple",
            "mediumseagreen",
            "mediumslateblue",
            "mediumspringgreen",
            "mediumturquoise",
            "mediumvioletred",
            "midnightblue",
            "mintcream",
            "mistyrose",
            "moccasin",
            "navajowhite",
            "navy",
            "oldlace",
            "olive",
            "olivedrab",
            "orange",
            "orangered",
            "orchid",
            "palegoldenrod",
            "palegreen",
            "paleturquoise",
            "palevioletred",
            "papayawhip",
            "peachpuff",
            "peru",
            "pink",
            "plum",
            "powderblue",
            "purple",
            "rebeccapurple",
            "red",
            "rosybrown",
            "royalblue",
            "saddlebrown",
            "salmon",
            "sandybrown",
            "seagreen",
            "seashell",
            "sienna",
            "silver",
            "skyblue",
            "slateblue",
            "slategray",
            "slategrey",
            "snow",
            "springgreen",
            "steelblue",
            "tan",
            "teal",
            "thistle",
            "tomato",
            "turquoise",
            "violet",
            "wheat",
            "white",
            "whitesmoke",
            "yellow",
            "yellowgreen",
        ],
        f = t(h),
        k = [
            "above",
            "absolute",
            "activeborder",
            "additive",
            "activecaption",
            "afar",
            "after-white-space",
            "ahead",
            "alias",
            "all",
            "all-scroll",
            "alphabetic",
            "alternate",
            "always",
            "amharic",
            "amharic-abegede",
            "antialiased",
            "appworkspace",
            "arabic-indic",
            "armenian",
            "asterisks",
            "attr",
            "auto",
            "auto-flow",
            "avoid",
            "avoid-column",
            "avoid-page",
            "avoid-region",
            "axis-pan",
            "background",
            "backwards",
            "baseline",
            "below",
            "bidi-override",
            "binary",
            "bengali",
            "blink",
            "block",
            "block-axis",
            "blur",
            "bold",
            "bolder",
            "border",
            "border-box",
            "both",
            "bottom",
            "break",
            "break-all",
            "break-word",
            "brightness",
            "bullets",
            "button",
            "buttonface",
            "buttonhighlight",
            "buttonshadow",
            "buttontext",
            "calc",
            "cambodian",
            "capitalize",
            "caps-lock-indicator",
            "caption",
            "captiontext",
            "caret",
            "cell",
            "center",
            "checkbox",
            "circle",
            "cjk-decimal",
            "cjk-earthly-branch",
            "cjk-heavenly-stem",
            "cjk-ideographic",
            "clear",
            "clip",
            "close-quote",
            "col-resize",
            "collapse",
            "color",
            "color-burn",
            "color-dodge",
            "column",
            "column-reverse",
            "compact",
            "condensed",
            "conic-gradient",
            "contain",
            "content",
            "contents",
            "content-box",
            "context-menu",
            "continuous",
            "contrast",
            "copy",
            "counter",
            "counters",
            "cover",
            "crop",
            "cross",
            "crosshair",
            "cubic-bezier",
            "currentcolor",
            "cursive",
            "cyclic",
            "darken",
            "dashed",
            "decimal",
            "decimal-leading-zero",
            "default",
            "default-button",
            "dense",
            "destination-atop",
            "destination-in",
            "destination-out",
            "destination-over",
            "devanagari",
            "difference",
            "disc",
            "discard",
            "disclosure-closed",
            "disclosure-open",
            "document",
            "dot-dash",
            "dot-dot-dash",
            "dotted",
            "double",
            "down",
            "drop-shadow",
            "e-resize",
            "ease",
            "ease-in",
            "ease-in-out",
            "ease-out",
            "element",
            "ellipse",
            "ellipsis",
            "embed",
            "end",
            "ethiopic",
            "ethiopic-abegede",
            "ethiopic-abegede-am-et",
            "ethiopic-abegede-gez",
            "ethiopic-abegede-ti-er",
            "ethiopic-abegede-ti-et",
            "ethiopic-halehame-aa-er",
            "ethiopic-halehame-aa-et",
            "ethiopic-halehame-am-et",
            "ethiopic-halehame-gez",
            "ethiopic-halehame-om-et",
            "ethiopic-halehame-sid-et",
            "ethiopic-halehame-so-et",
            "ethiopic-halehame-ti-er",
            "ethiopic-halehame-ti-et",
            "ethiopic-halehame-tig",
            "ethiopic-numeric",
            "ew-resize",
            "exclusion",
            "expanded",
            "extends",
            "extra-condensed",
            "extra-expanded",
            "fantasy",
            "fast",
            "fill",
            "fill-box",
            "fixed",
            "flat",
            "flex",
            "flex-end",
            "flex-start",
            "footnotes",
            "forwards",
            "from",
            "geometricPrecision",
            "georgian",
            "grayscale",
            "graytext",
            "grid",
            "groove",
            "gujarati",
            "gurmukhi",
            "hand",
            "hangul",
            "hangul-consonant",
            "hard-light",
            "hebrew",
            "help",
            "hidden",
            "hide",
            "higher",
            "highlight",
            "highlighttext",
            "hiragana",
            "hiragana-iroha",
            "horizontal",
            "hsl",
            "hsla",
            "hue",
            "hue-rotate",
            "icon",
            "ignore",
            "inactiveborder",
            "inactivecaption",
            "inactivecaptiontext",
            "infinite",
            "infobackground",
            "infotext",
            "inherit",
            "initial",
            "inline",
            "inline-axis",
            "inline-block",
            "inline-flex",
            "inline-grid",
            "inline-table",
            "inset",
            "inside",
            "intrinsic",
            "invert",
            "italic",
            "japanese-formal",
            "japanese-informal",
            "justify",
            "kannada",
            "katakana",
            "katakana-iroha",
            "keep-all",
            "khmer",
            "korean-hangul-formal",
            "korean-hanja-formal",
            "korean-hanja-informal",
            "landscape",
            "lao",
            "large",
            "larger",
            "left",
            "level",
            "lighter",
            "lighten",
            "line-through",
            "linear",
            "linear-gradient",
            "lines",
            "list-item",
            "listbox",
            "listitem",
            "local",
            "logical",
            "loud",
            "lower",
            "lower-alpha",
            "lower-armenian",
            "lower-greek",
            "lower-hexadecimal",
            "lower-latin",
            "lower-norwegian",
            "lower-roman",
            "lowercase",
            "ltr",
            "luminosity",
            "malayalam",
            "manipulation",
            "match",
            "matrix",
            "matrix3d",
            "media-play-button",
            "media-slider",
            "media-sliderthumb",
            "media-volume-slider",
            "media-volume-sliderthumb",
            "medium",
            "menu",
            "menulist",
            "menulist-button",
            "menutext",
            "message-box",
            "middle",
            "min-intrinsic",
            "mix",
            "mongolian",
            "monospace",
            "move",
            "multiple",
            "multiple_mask_images",
            "multiply",
            "myanmar",
            "n-resize",
            "narrower",
            "ne-resize",
            "nesw-resize",
            "no-close-quote",
            "no-drop",
            "no-open-quote",
            "no-repeat",
            "none",
            "normal",
            "not-allowed",
            "nowrap",
            "ns-resize",
            "numbers",
            "numeric",
            "nw-resize",
            "nwse-resize",
            "oblique",
            "octal",
            "opacity",
            "open-quote",
            "optimizeLegibility",
            "optimizeSpeed",
            "oriya",
            "oromo",
            "outset",
            "outside",
            "outside-shape",
            "overlay",
            "overline",
            "padding",
            "padding-box",
            "painted",
            "page",
            "paused",
            "persian",
            "perspective",
            "pinch-zoom",
            "plus-darker",
            "plus-lighter",
            "pointer",
            "polygon",
            "portrait",
            "pre",
            "pre-line",
            "pre-wrap",
            "preserve-3d",
            "progress",
            "push-button",
            "radial-gradient",
            "radio",
            "read-only",
            "read-write",
            "read-write-plaintext-only",
            "rectangle",
            "region",
            "relative",
            "repeat",
            "repeating-linear-gradient",
            "repeating-radial-gradient",
            "repeating-conic-gradient",
            "repeat-x",
            "repeat-y",
            "reset",
            "reverse",
            "rgb",
            "rgba",
            "ridge",
            "right",
            "rotate",
            "rotate3d",
            "rotateX",
            "rotateY",
            "rotateZ",
            "round",
            "row",
            "row-resize",
            "row-reverse",
            "rtl",
            "run-in",
            "running",
            "s-resize",
            "sans-serif",
            "saturate",
            "saturation",
            "scale",
            "scale3d",
            "scaleX",
            "scaleY",
            "scaleZ",
            "screen",
            "scroll",
            "scrollbar",
            "scroll-position",
            "se-resize",
            "searchfield",
            "searchfield-cancel-button",
            "searchfield-decoration",
            "searchfield-results-button",
            "searchfield-results-decoration",
            "self-start",
            "self-end",
            "semi-condensed",
            "semi-expanded",
            "separate",
            "sepia",
            "serif",
            "show",
            "sidama",
            "simp-chinese-formal",
            "simp-chinese-informal",
            "single",
            "skew",
            "skewX",
            "skewY",
            "skip-white-space",
            "slide",
            "slider-horizontal",
            "slider-vertical",
            "sliderthumb-horizontal",
            "sliderthumb-vertical",
            "slow",
            "small",
            "small-caps",
            "small-caption",
            "smaller",
            "soft-light",
            "solid",
            "somali",
            "source-atop",
            "source-in",
            "source-out",
            "source-over",
            "space",
            "space-around",
            "space-between",
            "space-evenly",
            "spell-out",
            "square",
            "square-button",
            "start",
            "static",
            "status-bar",
            "stretch",
            "stroke",
            "stroke-box",
            "sub",
            "subpixel-antialiased",
            "svg_masks",
            "super",
            "sw-resize",
            "symbolic",
            "symbols",
            "system-ui",
            "table",
            "table-caption",
            "table-cell",
            "table-column",
            "table-column-group",
            "table-footer-group",
            "table-header-group",
            "table-row",
            "table-row-group",
            "tamil",
            "telugu",
            "text",
            "text-bottom",
            "text-top",
            "textarea",
            "textfield",
            "thai",
            "thick",
            "thin",
            "threeddarkshadow",
            "threedface",
            "threedhighlight",
            "threedlightshadow",
            "threedshadow",
            "tibetan",
            "tigre",
            "tigrinya-er",
            "tigrinya-er-abegede",
            "tigrinya-et",
            "tigrinya-et-abegede",
            "to",
            "top",
            "trad-chinese-formal",
            "trad-chinese-informal",
            "transform",
            "translate",
            "translate3d",
            "translateX",
            "translateY",
            "translateZ",
            "transparent",
            "ultra-condensed",
            "ultra-expanded",
            "underline",
            "unidirectional-pan",
            "unset",
            "up",
            "upper-alpha",
            "upper-armenian",
            "upper-greek",
            "upper-hexadecimal",
            "upper-latin",
            "upper-norwegian",
            "upper-roman",
            "uppercase",
            "urdu",
            "url",
            "var",
            "vertical",
            "vertical-text",
            "view-box",
            "visible",
            "visibleFill",
            "visiblePainted",
            "visibleStroke",
            "visual",
            "w-resize",
            "wait",
            "wave",
            "wider",
            "window",
            "windowframe",
            "windowtext",
            "words",
            "wrap",
            "wrap-reverse",
            "x-large",
            "x-small",
            "xor",
            "xx-large",
            "xx-small",
        ],
        y = t(k),
        w = r.concat(i).concat(n).concat(s).concat(d).concat(u).concat(h).concat(k);
    function v(e, t) {
        for (var r, o = !1; null != (r = e.next()); ) {
            if (o && "/" == r) {
                t.tokenize = null;
                break;
            }
            o = "*" == r;
        }
        return ["comment", "comment"];
    }
    e.registerHelper("hintWords", "css", w),
        e.defineMIME("text/css", {
            documentTypes: o,
            mediaTypes: a,
            mediaFeatures: l,
            mediaValueKeywords: c,
            propertyKeywords: p,
            nonStandardPropertyKeywords: m,
            fontProperties: g,
            counterDescriptors: b,
            colorKeywords: f,
            valueKeywords: y,
            tokenHooks: {
                "/": function (e, t) {
                    return !!e.eat("*") && ((t.tokenize = v), v(e, t));
                },
            },
            name: "css",
        }),
        e.defineMIME("text/x-scss", {
            mediaTypes: a,
            mediaFeatures: l,
            mediaValueKeywords: c,
            propertyKeywords: p,
            nonStandardPropertyKeywords: m,
            colorKeywords: f,
            valueKeywords: y,
            fontProperties: g,
            allowNested: !0,
            lineComment: "//",
            tokenHooks: {
                "/": function (e, t) {
                    return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? ((t.tokenize = v), v(e, t)) : ["operator", "operator"];
                },
                ":": function (e) {
                    return !!e.match(/^\s*\{/, !1) && [null, null];
                },
                $: function (e) {
                    return (e.match(/^[\w-]+/), e.match(/^\s*:/, !1)) ? ["variable-2", "variable-definition"] : ["variable-2", "variable"];
                },
                "#": function (e) {
                    return !!e.eat("{") && [null, "interpolation"];
                },
            },
            name: "css",
            helperType: "scss",
        }),
        e.defineMIME("text/x-less", {
            mediaTypes: a,
            mediaFeatures: l,
            mediaValueKeywords: c,
            propertyKeywords: p,
            nonStandardPropertyKeywords: m,
            colorKeywords: f,
            valueKeywords: y,
            fontProperties: g,
            allowNested: !0,
            lineComment: "//",
            tokenHooks: {
                "/": function (e, t) {
                    return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? ((t.tokenize = v), v(e, t)) : ["operator", "operator"];
                },
                "@": function (e) {
                    return e.eat("{")
                        ? [null, "interpolation"]
                        : !e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, !1) &&
                              ((e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1)) ? ["variable-2", "variable-definition"] : ["variable-2", "variable"]);
                },
                "&": function () {
                    return ["atom", "atom"];
                },
            },
            name: "css",
            helperType: "less",
        }),
        e.defineMIME("text/x-gss", {
            documentTypes: o,
            mediaTypes: a,
            mediaFeatures: l,
            propertyKeywords: p,
            nonStandardPropertyKeywords: m,
            fontProperties: g,
            counterDescriptors: b,
            colorKeywords: f,
            valueKeywords: y,
            supportsAtComponent: !0,
            tokenHooks: {
                "/": function (e, t) {
                    return !!e.eat("*") && ((t.tokenize = v), v(e, t));
                },
            },
            name: "css",
            helperType: "gss",
        });
});

```
