{
  "version": 3,
  "sources": ["../../../lib.web.i18n/index.ts", "../../../lib.web.mdc/button.tsx", "../../../lib.web.mdc/button_bar.tsx", "../../../lib.web.mdc/card.tsx", "../../../lib.web.mdc/icon.tsx", "../../../lib.web.mdc/icon_button.tsx", "../../../lib.web.mdc/linear_progress.tsx", "../../../../node_modules/@material/linear-progress/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/animation/util.ts", "../../../../node_modules/@material/linear-progress/constants.ts", "../../../../node_modules/@material/linear-progress/foundation.ts", "../../../../node_modules/@material/linear-progress/component.ts", "../../../lib.web.mdc/list.tsx", "../../../lib.web.mdc/text_field.tsx", "../../../../node_modules/@material/textfield/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/floating-label/component.ts", "../../../../node_modules/@material/line-ripple/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/line-ripple/constants.ts", "../../../../node_modules/@material/line-ripple/foundation.ts", "../../../../node_modules/@material/line-ripple/component.ts", "../../../../node_modules/@material/textfield/character-counter/constants.ts", "../../../../node_modules/@material/textfield/character-counter/foundation.ts", "../../../../node_modules/@material/textfield/character-counter/component.ts", "../../../../node_modules/@material/textfield/constants.ts", "../../../../node_modules/@material/textfield/foundation.ts", "../../../../node_modules/@material/textfield/helper-text/constants.ts", "../../../../node_modules/@material/textfield/helper-text/foundation.ts", "../../../../node_modules/@material/textfield/helper-text/component.ts", "../../../../node_modules/@material/textfield/icon/constants.ts", "../../../../node_modules/@material/textfield/icon/foundation.ts", "../../../../node_modules/@material/textfield/icon/component.ts", "../../../../node_modules/@material/textfield/component.ts", "../../../lib.web.mdc/menu.tsx", "../../../../node_modules/@material/menu/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/list/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/list/constants.ts", "../../../../node_modules/@material/list/foundation.ts", "../../../../node_modules/@material/list/component.ts", "../../../../node_modules/@material/menu-surface/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/menu-surface/foundation.ts", "../../../../node_modules/@material/menu-surface/util.ts", "../../../../node_modules/@material/menu-surface/component.ts", "../../../../node_modules/@material/menu/constants.ts", "../../../../node_modules/@material/menu/foundation.ts", "../../../../node_modules/@material/menu/component.ts", "../../../lib.web.mdc/page.tsx", "../../../lib.web.mdc/searchable_list.tsx", "../../../lib.web.mdc/select.tsx", "../../../../node_modules/@material/select/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/select/constants.ts", "../../../../node_modules/@material/select/foundation.ts", "../../../../node_modules/@material/select/helper-text/constants.ts", "../../../../node_modules/@material/select/helper-text/foundation.ts", "../../../../node_modules/@material/select/helper-text/component.ts", "../../../../node_modules/@material/select/icon/constants.ts", "../../../../node_modules/@material/select/icon/foundation.ts", "../../../../node_modules/@material/select/icon/component.ts", "../../../../node_modules/@material/select/component.ts", "../../../lib.web.mdc/snackbar.tsx", "../../../../node_modules/@material/snackbar/util.ts", "../../../../node_modules/@material/snackbar/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/snackbar/foundation.ts", "../../../../node_modules/@material/snackbar/component.ts", "../../../lib.web.mdc/tab_bar.tsx", "../../../../node_modules/@material/tab-bar/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/tab-scroller/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/tab-scroller/constants.ts", "../../../../node_modules/@material/tab-scroller/rtl-scroller.ts", "../../../../node_modules/@material/tab-scroller/rtl-default-scroller.ts", "../../../../node_modules/@material/tab-scroller/rtl-negative-scroller.ts", "../../../../node_modules/@material/tab-scroller/rtl-reverse-scroller.ts", "../../../../node_modules/@material/tab-scroller/foundation.ts", "../../../../node_modules/@material/tab-scroller/util.ts", "../../../../node_modules/@material/tab-scroller/component.ts", "../../../../node_modules/@material/tab/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/tab-indicator/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/tab-indicator/constants.ts", "../../../../node_modules/@material/tab-indicator/foundation.ts", "../../../../node_modules/@material/tab-indicator/fading-foundation.ts", "../../../../node_modules/@material/tab-indicator/sliding-foundation.ts", "../../../../node_modules/@material/tab-indicator/component.ts", "../../../../node_modules/@material/tab/constants.ts", "../../../../node_modules/@material/tab/foundation.ts", "../../../../node_modules/@material/tab/component.ts", "../../../../node_modules/@material/tab-bar/constants.ts", "../../../../node_modules/@material/tab-bar/foundation.ts", "../../../../node_modules/@material/tab-bar/component.ts", "../../../lib.web.mdc/top_app_bar.tsx", "../../../lib.web.mdc/avatar.tsx", "../../../lib.web.mdc/drawer.tsx", "../../../../node_modules/@material/drawer/util.ts", "../../../../node_modules/@material/drawer/node_modules/tslib/tslib.es6.js", "../../../../node_modules/@material/drawer/constants.ts", "../../../../node_modules/@material/drawer/dismissible/foundation.ts", "../../../../node_modules/@material/drawer/modal/foundation.ts", "../../../../node_modules/@material/drawer/component.ts", "../../../lib.web.mdc/sticky_snackbar.tsx"],
  "sourcesContent": ["import type {Messages} from \"./en\"\n\nexport let i18n: Messages & {\n    format_file_size: (file_size_in_bytes: number) => string\n    duration: (seconds: number) => string\n}\n\n/**\n * Returns the `file_size_in_bytes` in the nearest matching\n * SI-format (1 MB == 1,000,000 bytes etc.).\n */\nfunction format_file_size(file_size_in_bytes: number): string {\n    if (file_size_in_bytes === 0) {\n        return \"0 KB\"\n    }\n    if (file_size_in_bytes < 1000) {\n        return \"1 KB\"\n    }\n    const k = 1000\n    const sizes = [\"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"]\n    const i = Math.max(Math.floor(Math.log(file_size_in_bytes) / Math.log(k)), 1)\n    return parseFloat((file_size_in_bytes / Math.pow(k, i)).toFixed()) + \" \" + sizes[i - 1]\n}\n\nfunction duration(seconds: number) {\n    return `${Math.floor(seconds / 60)\n        .toString()\n        .padStart(2, \"0\")}:${Math.floor(seconds % 60)\n        .toString()\n        .padStart(2, \"0\")}`\n}\n\nexport async function init(user_locale?: string) {\n    let messages\n    if (user_locale && user_locale.startsWith(\"de\")) {\n        const m = await import(\"./de\")\n        messages = new m.Messages() as Messages\n    } else {\n        const m = await import(\"./en\")\n        messages = new m.Messages() as Messages\n    }\n    return init_with_messages(messages)\n}\n\nexport function init_with_messages(messages: Messages) {\n    i18n = messages as any\n    if (!i18n.format_file_size) {\n        i18n.format_file_size = format_file_size\n    }\n    if (!i18n.duration) {\n        i18n.duration = duration\n    }\n    return i18n\n}\n", "import * as React from \"react\"\nimport {BaseComponent} from \"./base\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {simple_tooltip_event_handlers} from \"./simple_tooltip\"\n\ninterface OwnProps {\n    secondary?: boolean\n    danger?: boolean\n    raised?: boolean\n    tooltip?: string\n    outlined?: boolean\n    disabled?: boolean\n    trailing_icon?: boolean\n    \"data-test-id\"?: string\n    icon?: string | React.ReactNode\n    children: any\n}\n\ntype Props = OwnProps & React.HTMLAttributes<HTMLButtonElement>\n\nexport class Button extends BaseComponent<Props> {\n    private button_ref: ReactRef<HTMLButtonElement>\n\n    update_button_ref = (ref: ReactRef<HTMLButtonElement>) => {\n        this.add_ripple(ref)\n        this.button_ref = ref\n    }\n\n    focus() {\n        if (!this.button_ref) {\n            return\n        }\n        this.button_ref.focus()\n    }\n\n    on_click = (e: React.MouseEvent<HTMLButtonElement>) => {\n        if (this.button_ref) {\n            setTimeout(() => {\n                if (document.activeElement === this.button_ref) {\n                    this.button_ref?.blur()\n                }\n            }, 100)\n        }\n        this.props.onClick?.(e)\n    }\n\n    render() {\n        const {\n            className,\n            children,\n            secondary,\n            raised,\n            danger,\n            tooltip,\n            disabled,\n            \"data-test-id\": data_test_id,\n            outlined,\n            icon,\n            trailing_icon,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onClick,\n            ...other_attrs\n        } = this.props\n        let icon_elm = null\n        if (icon) {\n            if (typeof icon === \"string\") {\n                icon_elm = (\n                    <i\n                        className=\"material-icons mdc-button__icon\"\n                        data-icon={icon}\n                        aria-hidden=\"true\"\n                    />\n                )\n            } else {\n                icon_elm = icon\n            }\n        }\n        return (\n            <button\n                ref={this.update_button_ref}\n                aria-label={tooltip}\n                className={classNames(\n                    \"mdc-button\",\n                    {\n                        \"mdcx-button--secondary\": secondary && !disabled,\n                        \"mdcx-button--danger\": danger && !disabled,\n                        \"mdc-button--raised\": raised,\n                        \"mdc-button--outlined\": outlined,\n                    },\n                    className,\n                )}\n                disabled={disabled}\n                data-test-id={data_test_id}\n                onClick={this.on_click}\n                {...(tooltip ? simple_tooltip_event_handlers : {})}\n                {...other_attrs}\n            >\n                <div className=\"mdc-button__ripple\" />\n                {icon_elm && !trailing_icon && icon_elm}\n                <span className=\"mdc-button__label\">{children}</span>\n                {icon_elm && trailing_icon && icon_elm}\n            </button>\n        )\n    }\n}\n", "import * as React from \"react\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\n\ninterface OwnProps {\n    children: React.ReactElement<{raised?: boolean; outlined?: boolean}>[]\n}\n\ntype Props = OwnProps & React.HTMLAttributes<any>\n\nexport const ButtonBar = ({children, ...props}: Props) => {\n    const no_outlined_buttons = !React.Children.toArray(children).some(\n        (x: any) => x.props.raised || x.props.outlined,\n    )\n    return (\n        <div\n            className={classNames(\"mdcx-button-bar\", {\n                \"mdcx-button-bar--no-outlined-buttons\": no_outlined_buttons,\n            })}\n            {...props}\n        >\n            {children}\n        </div>\n    )\n}\n", "import * as React from \"react\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {ButtonBar} from \"./button_bar\"\n\ninterface CardProps {\n    className?: string\n    title?: any\n    actions?: React.ReactElement[]\n}\n\nexport class Card extends React.PureComponent<CardProps & React.HTMLAttributes<any>> {\n    render() {\n        const {className, title, actions, children, ...other_attrs} = this.props\n        return (\n            <div className={classNames(\"mdc-card\", className)} {...other_attrs}>\n                {!!title && <div className=\"mdcx-card__title\">{title}</div>}\n                {children}\n                {!!actions && <ButtonBar>{actions}</ButtonBar>}\n            </div>\n        )\n    }\n}\n", "import * as React from \"react\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {simple_tooltip_event_handlers} from \"./simple_tooltip\"\n\ninterface IconProps {\n    icon: string\n    outlined?: boolean\n    primary?: boolean\n    secondary?: boolean\n    small?: boolean\n    inline?: boolean\n    tooltip?: string\n    \"data-test-id\"?: string\n    className?: string\n    badge?: {secondary: boolean; value: any; small: boolean}\n}\n\ntype Props = IconProps & React.HTMLAttributes<any>\n\nexport class Icon extends React.PureComponent<Props> {\n    render() {\n        const {\n            icon,\n            outlined,\n            primary,\n            secondary,\n            className,\n            inline,\n            small,\n            tooltip,\n            \"data-test-id\": data_test_id,\n            badge,\n            ...other_attrs\n        } = this.props\n        return (\n            <i\n                className={classNames(\n                    \"material-icons\",\n                    {\n                        \"material-icons-outlined\": outlined,\n                        \"mdc-theme--primary\": primary,\n                        \"mdc-theme--secondary\": secondary,\n                        \"mdcx-icon--small\": small,\n                        \"mdcx-icon--inline\": inline,\n                    },\n                    className,\n                )}\n                aria-label={tooltip}\n                data-test-id={data_test_id}\n                data-icon={icon}\n                {...(tooltip ? simple_tooltip_event_handlers : {})}\n                {...other_attrs}\n            >\n                {badge && (\n                    <div\n                        className={classNames(\"mdcx-badge\", {\n                            \"mdcx-badge--small\": badge.small,\n                            \"mdcx-badge--secondary\": badge.secondary,\n                        })}\n                    >\n                        {badge.value}\n                    </div>\n                )}\n            </i>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {BaseComponent} from \"./base\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {simple_tooltip_event_handlers} from \"./simple_tooltip\"\n\ninterface Props {\n    icon: string\n    outlined?: boolean\n    primary?: boolean\n    secondary?: boolean\n    disabled?: boolean\n    tooltip?: string\n    small?: boolean\n    badge?: {secondary: boolean; value: any; small: boolean}\n    onClick?: React.MouseEventHandler<HTMLButtonElement>\n    onTouchEnd?: React.TouchEventHandler<HTMLButtonElement>\n    onMouseDown?: React.MouseEventHandler<HTMLButtonElement>\n    tabIndex?: number\n    label?: string\n    className?: string\n    \"data-test-id\"?: string\n    id?: string\n}\n\nexport class IconButton extends BaseComponent<Props> {\n    private button_ref = React.createRef<HTMLButtonElement>()\n\n    on_click = (e: React.MouseEvent<HTMLButtonElement>) => {\n        if (this.button_ref.current) {\n            setTimeout(() => {\n                if (document.activeElement === this.button_ref.current) {\n                    this.button_ref.current?.blur()\n                }\n            }, 100)\n        }\n        this.props.onClick?.(e)\n    }\n\n    render() {\n        const {\n            icon,\n            outlined,\n            badge,\n            primary,\n            secondary,\n            disabled,\n            tooltip,\n            className,\n            small,\n            label,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onClick,\n            \"data-test-id\": data_test_id,\n            ...other_attrs\n        } = this.props\n        return (\n            <button\n                ref={this.button_ref}\n                aria-disabled={disabled}\n                aria-label={tooltip || \"\"}\n                data-test-id={data_test_id}\n                className={classNames(\n                    \"material-icons mdc-icon-button mdcx-icon-button\",\n                    {\n                        \"material-icons-outlined\": outlined,\n                        \"mdc-theme--primary\": primary,\n                        \"mdc-theme--secondary\": secondary,\n                        \"mdcx-icon-button--small\": small,\n                        \"mdcx-icon-button--with-label\": label,\n                    },\n                    className,\n                )}\n                onClick={this.on_click}\n                disabled={disabled}\n                data-icon={icon}\n                {...(tooltip ? simple_tooltip_event_handlers : {})}\n                {...other_attrs}\n            >\n                {badge && (\n                    <div\n                        className={classNames(\"mdcx-badge\", {\n                            \"mdcx-badge--small\": badge.small,\n                            \"mdcx-badge--secondary\": badge.secondary,\n                        })}\n                    >\n                        {badge.value}\n                    </div>\n                )}\n                {!!label && <div className=\"mdcx-icon-button__label\">{label}</div>}\n            </button>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {MDCLinearProgress} from \"@material/linear-progress/index\"\nimport {BaseComponent} from \"./base\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {simple_tooltip_event_handlers} from \"./simple_tooltip\"\n\ninterface Props {\n    min?: number\n    max: number\n    value: number\n    tooltip?: string\n    className?: string\n}\n\nexport class LinearProgress extends BaseComponent<Props> {\n    componentDidMount() {\n        super.componentDidMount()\n        this.componentDidUpdate()\n    }\n\n    componentDidUpdate() {\n        this.mdc_component.progress = this.progress\n    }\n\n    get progress() {\n        const {min, max, value} = this.props\n        return value / (max - (min || 0))\n    }\n\n    render() {\n        const {tooltip, className} = this.props\n        return (\n            <div\n                ref={this.add_mdc(MDCLinearProgress)}\n                role=\"progressbar\"\n                className={classNames(\"mdc-linear-progress\", className)}\n                aria-label={tooltip || \"\"}\n                aria-valuemin={0}\n                aria-valuemax={1}\n                aria-valuenow={this.progress}\n                {...(tooltip ? simple_tooltip_event_handlers : {})}\n            >\n                <div className=\"mdc-linear-progress__buffering-dots\" />\n                <div className=\"mdc-linear-progress__buffer\" />\n                <div className=\"mdc-linear-progress__bar mdc-linear-progress__primary-bar\">\n                    <span className=\"mdc-linear-progress__bar-inner\" />\n                </div>\n                <div className=\"mdc-linear-progress__bar mdc-linear-progress__secondary-bar\">\n                    <span className=\"mdc-linear-progress__bar-inner\" />\n                </div>\n            </div>\n        )\n    }\n}\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, "import * as React from \"react\"\nimport {BaseComponent} from \"./base\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\n\ninterface ListProps {\n    /** No effects (hover, ripple, ...) */\n    non_interactive?: boolean\n    /** This will be attached to the first HTML element to allow for DOM modifications. */\n    dom_ref?: React.Ref<HTMLUListElement>\n}\n\nexport class List extends BaseComponent<ListProps & React.HTMLAttributes<any>> {\n    render() {\n        const {dom_ref, non_interactive, className, children, ...other_attrs} = this.props\n        return (\n            <ul\n                ref={dom_ref}\n                className={classNames(\n                    \"mdc-list\",\n                    {\"mdc-list--non-interactive\": non_interactive},\n                    className,\n                )}\n                {...other_attrs}\n            >\n                {children}\n            </ul>\n        )\n    }\n}\n\nexport class ListDivider extends React.PureComponent {\n    render() {\n        return <li role=\"separator\" className=\"mdc-list-divider\" />\n    }\n}\n\nexport interface ListItemProps {\n    /* First child is not graphic. */\n    no_graphic?: boolean\n    disabled?: boolean\n    \"data-test-id\"?: string\n    value?: string\n    selected?: boolean\n    children?: any\n    onClick?: (e: React.MouseEvent) => void\n}\n\n/**\n * If multiple children are given, then the first one will be treated as \"graphic\"\n * (unless the property `no_graphic` is set to ``false``) and the last one (if more\n * than two children are given) as \"meta\".\n */\nexport class ListItem extends BaseComponent<ListItemProps & React.HTMLAttributes<any>> {\n    private ref_root: any\n\n    on_click = (e: any) => {\n        const {onClick, disabled} = this.props\n        if (onClick && !disabled) {\n            onClick(e)\n        }\n    }\n\n    componentDidMount() {\n        // Workaround for https://github.com/material-components/material-components-web/issues/225\n        // (\"Temporary drawer eats up all click events.\").\n        this.ref_root.addEventListener(\"click\", this.on_click)\n    }\n\n    componentWillUnmount() {\n        // Workaround for https://github.com/material-components/material-components-web/issues/225\n        // (\"Temporary drawer eats up all click events.\").\n        this.ref_root.removeEventListener(\"click\", this.on_click)\n    }\n\n    render() {\n        const {\n            className,\n            children,\n            onClick,\n            no_graphic,\n            disabled,\n            \"data-test-id\": data_test_id,\n            value,\n            selected,\n            ...other_attrs\n        } = this.props\n        const child_count = React.Children.count(children)\n        const children_enhanced = React.Children.map(children, (child: any, idx: number) => {\n            if (!child) {\n                return\n            }\n            if (idx === 0 && child_count > 1 && !no_graphic) {\n                return <div className=\"mdc-list-item__graphic\">{child}</div>\n            }\n            if (idx === child_count - 1 && (child_count > 2 || (child_count > 1 && no_graphic))) {\n                return <div className=\"mdc-list-item__meta\">{child}</div>\n            }\n            return <div className=\"mdc-list-item__text\">{child}</div>\n        })\n        return (\n            <li\n                className={classNames(\n                    \"mdc-list-item\",\n                    {\n                        \"mdcx-cursor--pointer\": onClick != null,\n                        \"mdcx-list-item--disabled\": disabled,\n                        \"mdc-list-item--disabled\": disabled,\n                        \"mdc-list-item--selected\": selected,\n                    },\n                    className,\n                )}\n                aria-selected={selected}\n                data-test-id={data_test_id}\n                data-value={value}\n                ref={(elm) => (this.ref_root = elm)}\n                {...other_attrs}\n            >\n                {children_enhanced}\n            </li>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {MDCTextField} from \"@material/textfield/index\"\nimport {BaseComponent, HTMLAttributes} from \"./base\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\n\nexport type Props = {\n    initial_focus?: boolean\n    initial_value?: string\n    initial_selection_range?: [number, number]\n    align?: \"left\" | \"center\"\n    label?: string\n    full_width?: boolean\n    name?: string\n    /** If `true` marks the text field as invalid if it does not contain a valid email address. */\n    email?: boolean\n    /** The maximum number of characters that the user can enter. */\n    maxLength: number\n    onBlur?: () => void\n    onEnter?: () => void\n    onEscape?: () => void\n    onFocus?: (self: TextField) => void\n    onTab?: () => void\n    onChange?: (x: {value: string; is_valid: boolean}) => void\n    onKeyDown?: (e: React.KeyboardEvent) => void\n    onClick?: () => void\n    is_valid?: (s: string) => boolean\n    dom_ref?: React.Ref<HTMLElement>\n    \"data-test-id\"?: string\n} & HTMLAttributes\n\nlet id_counter = 0\nfunction next_id() {\n    return \"text-field-\" + ++id_counter\n}\n\n/**\n * The attributes `className` and `style` are attached to the surrounding ``<div>``, all other\n * attributes are attached to the inner `<input>` field.\n */\nexport class TextField extends BaseComponent<Props> {\n    private input_ref: ReactRef<HTMLInputElement>\n    private valid: boolean\n    private readonly id = next_id()\n\n    constructor(props: Props, context: any) {\n        super(props, context)\n        this.valid = true\n    }\n\n    update_input_ref = (ref: ReactRef<HTMLInputElement>) => {\n        this.input_ref = ref\n    }\n\n    componentDidMount() {\n        super.componentDidMount()\n        this.mdc_component.useNativeValidation = false\n        if (this.props.initial_focus) {\n            this.focus()\n        }\n        const {initial_selection_range} = this.props\n        if (initial_selection_range && this.input_ref?.setSelectionRange) {\n            this.input_ref.setSelectionRange(initial_selection_range[0], initial_selection_range[1])\n        }\n    }\n\n    get pattern(): string | undefined {\n        const {email, pattern} = this.props\n        if (email) {\n            return \"\\\\S+@\\\\S+\\\\.\\\\S{2,}\"\n        } else if (pattern) {\n            return pattern\n        }\n        return undefined\n    }\n\n    onChange = () => {\n        if (this.is_valid()) {\n            if (!this.valid) {\n                this.mdc_component.valid = true\n                this.valid = true\n            }\n        } else {\n            if (this.valid) {\n                this.mdc_component.valid = false\n                this.valid = false\n            }\n        }\n        if (this.props.onChange) {\n            this.props.onChange({value: this.input_ref!.value, is_valid: this.valid})\n        }\n    }\n\n    onKeyUp = (e: React.KeyboardEvent<any>) => {\n        const {onEnter, onEscape, onTab} = this.props\n        if (onEnter && e.key === \"Enter\") {\n            e.preventDefault()\n            onEnter()\n        } else if (onEscape && e.key === \"Escape\") {\n            e.preventDefault()\n            onEscape()\n        } else if (onTab && e.key === \"Tab\") {\n            e.preventDefault()\n            onTab()\n        }\n    }\n\n    is_valid() {\n        const {\n            props: {is_valid, maxLength},\n            pattern,\n            value,\n        } = this\n        return (\n            (!is_valid || is_valid(value)) &&\n            (!pattern || new RegExp(pattern).test(value)) &&\n            value.length <= maxLength\n        )\n    }\n\n    get value(): string {\n        if (this.input_ref) {\n            return this.input_ref.value\n        } else {\n            return this.props.initial_value || \"\"\n        }\n    }\n\n    set value(value: string) {\n        this.mdc_component.foundation_.setValue(value)\n    }\n\n    clear() {\n        if (!this.input_ref) {\n            return\n        }\n        this.input_ref.value = \"\"\n    }\n\n    is_focused() {\n        return document.activeElement === this.input_ref\n    }\n\n    focus(select_all = true) {\n        if (!this.input_ref) {\n            return\n        }\n        this.input_ref.focus()\n        if (select_all) {\n            if (this.input_ref.setSelectionRange) {\n                const {initial_selection_range} = this.props\n                if (initial_selection_range) {\n                    this.input_ref.setSelectionRange(\n                        initial_selection_range[0],\n                        initial_selection_range[1],\n                    )\n                } else {\n                    try {\n                        // Might fail depending on input type ...\n                        this.input_ref.setSelectionRange(0, this.input_ref.value.length)\n                    } catch {\n                        if (this.input_ref.select) {\n                            this.input_ref.select()\n                        }\n                    }\n                }\n            } else if (this.input_ref.select) {\n                this.input_ref.select()\n            }\n        }\n    }\n\n    layout() {\n        this.mdc_component.layout()\n    }\n\n    blur() {\n        if (this.input_ref) {\n            this.input_ref.blur()\n        }\n    }\n\n    on_focus = () => {\n        this.props.onFocus?.(this)\n    }\n\n    render() {\n        const {\n            align,\n            className,\n            full_width,\n            label,\n            name,\n            onFocus,\n            onKeyDown,\n            style,\n            initial_value,\n            email,\n            disabled,\n            dom_ref,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            is_valid,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onEnter,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onEscape,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onChange,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onTab,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            initial_focus,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            initial_selection_range,\n            ...other_attrs\n        } = this.props\n        const {pattern} = this\n        if (pattern) {\n            ;(other_attrs as any).pattern = pattern\n        }\n        // Note: React will call the `onChange`-handler whenever the value of the\n        //       input field changes (in contrast to the normal browser behaviour,\n        //       where the `onChange`-handler is only called when the input field\n        //       looses its focus) ...\n        return (\n            <label\n                ref={(elm) => {\n                    this.add_mdc(MDCTextField)(elm)\n                    if (dom_ref) {\n                        if (typeof dom_ref === \"function\") {\n                            dom_ref(elm)\n                        } else {\n                            ;(dom_ref as any).current = elm\n                        }\n                    }\n                }}\n                className={classNames(\n                    \"mdc-text-field\",\n                    \"mdc-text-field--outlined\",\n                    {\n                        \"mdcx-text-field--fullwidth\": full_width,\n                        \"mdc-text-field--no-label\": !label,\n                        \"mdc-text-field--disabled\": disabled,\n                    },\n                    className,\n                )}\n                style={style}\n            >\n                <span className=\"mdc-text-field__ripple\"></span>\n                <input\n                    ref={this.update_input_ref}\n                    type={email ? \"email\" : \"text\"}\n                    className=\"mdc-text-field__input\"\n                    aria-labelledby={`${this.id}-label`}\n                    name={name}\n                    onFocus={onFocus ? this.on_focus : undefined}\n                    onKeyUp={this.onKeyUp}\n                    onKeyDown={onKeyDown}\n                    onChange={this.onChange}\n                    defaultValue={initial_value}\n                    style={{textAlign: align}}\n                    id={this.id}\n                    disabled={disabled}\n                    {...other_attrs}\n                />\n                {label && (\n                    <span className=\"mdc-notched-outline\">\n                        <span className=\"mdc-notched-outline__leading\"></span>\n                        <span className=\"mdc-notched-outline__notch\">\n                            <span className=\"mdc-floating-label\" id={`${this.id}-label`}>\n                                {label}\n                            </span>\n                        </span>\n                        <span className=\"mdc-notched-outline__trailing\"></span>\n                    </span>\n                )}\n            </label>\n        )\n    }\n}\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "import * as React from \"react\"\nimport * as ReactDOM from \"react-dom\"\nimport {BaseComponent} from \"./base\"\nimport {MDCMenu} from \"@material/menu/index\"\nimport {Corner} from \"@material/menu-surface/index\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {with_perfect_scrollbar, trap_browser_back} from \"@cling/lib.web.utils\"\nimport {TextField} from \"./text_field\"\n\ninterface MenuItemProps {\n    className?: string\n    disabled?: boolean\n    danger?: boolean\n    title: any\n    onClick?: React.MouseEventHandler<any>\n    \"data-test-id\"?: string\n    graphic?: any\n    meta?: any\n    value?: string\n}\n\nexport class MenuItem extends BaseComponent<MenuItemProps> {\n    render() {\n        const {\n            className,\n            disabled,\n            title,\n            graphic,\n            meta,\n            \"data-test-id\": data_test_id,\n            onClick,\n            children,\n            danger,\n            value,\n        } = this.props\n        return (\n            <li\n                className={classNames(\"mdc-list-item\", className, {\n                    \"mdc-list-item--disabled\": disabled,\n                    \"mdcx-list-item--danger\": danger,\n                })}\n                role=\"menuitem\"\n                aria-disabled={disabled}\n                data-test-id={data_test_id}\n                data-value={value}\n                onClick={disabled ? undefined : onClick}\n            >\n                {graphic && <span className=\"mdc-list-item__graphic\">{graphic}</span>}\n                <span className=\"mdc-list-item__text\">{title}</span>\n                {meta && <span className=\"mdc-list-item__meta\">{meta}</span>}\n                {children}\n            </li>\n        )\n    }\n}\n\nexport class MenuItemDivider extends BaseComponent<{title?: string}> {\n    render() {\n        const {title} = this.props\n        return (\n            <li\n                className={classNames(\"mdc-list-divider\", {\n                    \"mdcx-list-divider--with-title\": !!title,\n                })}\n                role=\"separator\"\n            >\n                {title && <span className=\"mdcx-list-divider__title\">{title}</span>}\n            </li>\n        )\n    }\n}\n\ntype MenuProps = {\n    className?: string\n    anchor: React.ReactElement\n    disabled?: boolean\n    /** Default: true */\n    auto_focus?: boolean\n    onOpen?: () => void\n    onClose?: () => void\n    \"data-test-id\"?: string\n    hoistedElementClassName?: string\n    first_menu_item?: any\n    /**\n     * If each `MenuItem` has a `value`, then you could use `onSelected` instead of binding a\n     * click-handler to each `MenuItem`.\n     */\n    onSelected?: (key: string) => void\n    searchable?: boolean\n    search_label?: string\n    search_initial_focus?: boolean\n    search_pos?: \"top\" | \"bottom\"\n    anchor_margin?: {bottom: number}\n}\n\nexport class Menu extends BaseComponent<MenuProps> {\n    private anchor_ref = React.createRef<HTMLDivElement>()\n    private dispose_trap_browser_back?: () => void\n    private surface_opened = false\n    private search_ref = React.createRef<TextField>()\n    private menu_items_ref = React.createRef<HTMLUListElement>()\n\n    private on_search_change = (search: string) => {\n        if (!this.menu_items_ref.current) {\n            return\n        }\n        search = search.toLowerCase()\n        function search_all_text_nodes(node: any) {\n            for (node = node.firstChild; node; node = node.nextSibling) {\n                if (node.textContent) {\n                    if (node.textContent.toLowerCase().includes(search)) {\n                        return true\n                    }\n                } else {\n                    search_all_text_nodes(node)\n                }\n            }\n            return false\n        }\n        for (const x of this.dom_menu_items) {\n            if (!search || search_all_text_nodes(x)) {\n                x.classList.remove(\"mdcx-menu__search-hidden\")\n                x.classList.add(\"mdc-list-item\")\n            } else {\n                x.classList.add(\"mdcx-menu__search-hidden\")\n                x.classList.remove(\"mdc-list-item\")\n            }\n        }\n        // Scroll to top.\n        if (this.menu_items_ref.current?.parentElement) {\n            this.menu_items_ref.current.parentElement.scrollTop = 0\n        }\n    }\n\n    private get dom_menu_items(): HTMLElement[] {\n        const items = Array.from(this.menu_items_ref.current?.children || []) as HTMLElement[]\n        return items.filter((x) => !x.classList.contains(\"mdc-list-divider\"))\n    }\n\n    private on_search_key_down = (e: React.KeyboardEvent) => {\n        if ([\"ArrowUp\", \"ArrowDown\"].includes(e.key)) {\n            this.mdc_component.getDefaultFoundation().adapter_.focusItemAtIndex(0)\n        }\n    }\n\n    private on_search_enter = () => {\n        const menu_items = this.dom_menu_items.filter((x) => x.classList.contains(\"mdc-list-item\"))\n        if (menu_items.length === 1) {\n            menu_items[0].click()\n        }\n    }\n\n    private on_popstate = () => {\n        if (this.mdc_component) {\n            this.anchor_ref.current!.blur()\n            this.mdc_component.open = false\n        }\n    }\n\n    toggle_menu = () => {\n        this.anchor_ref.current!.blur()\n        const mdc_menu = this.mdc_component\n        if (!mdc_menu.open && this.mdc_component_ref) {\n            this.mdc_component_ref.style.display = \"flex\"\n        }\n        mdc_menu.open = !mdc_menu.open\n    }\n\n    close_menu = () => {\n        if (this.mdc_component?.open) {\n            this.toggle_menu()\n        }\n    }\n\n    open_menu = () => {\n        if (this.props.disabled) {\n            return\n        }\n        if (this.surface_opened) {\n            // The menu will close anyway ...\n            return\n        }\n        if (this.mdc_component_ref) {\n            this.mdc_component_ref.style.display = \"flex\"\n        }\n        const mdc_menu = this.mdc_component\n        mdc_menu.open = true\n    }\n\n    componentDidMount() {\n        super.componentDidMount()\n        const {anchor_margin, auto_focus, searchable, search_initial_focus} = this.props\n        const mdc_menu = this.mdc_component as MDCMenu\n        mdc_menu.setAnchorElement(this.anchor_ref.current!)\n        mdc_menu.setAnchorCorner(Corner.BOTTOM_LEFT)\n        mdc_menu.setIsHoisted(true)\n        if (anchor_margin) {\n            mdc_menu.setAnchorMargin(anchor_margin)\n        }\n        if (auto_focus === false) {\n            mdc_menu.setDefaultFocusState(0 as any)\n        }\n        mdc_menu.listen(\"MDCMenuSurface:opened\", () => {\n            this.surface_opened = true\n            this.dispose_trap_browser_back = trap_browser_back(\"menu\", this.on_popstate)\n            if (searchable) {\n                if (this.search_ref.current) {\n                    this.search_ref.current!.value = \"\"\n                }\n                this.on_search_change(\"\")\n                if (search_initial_focus) {\n                    this.search_ref.current?.focus()\n                }\n            }\n            this.props.onOpen?.()\n        })\n        mdc_menu.listen(\"MDCMenuSurface:closed\", () => {\n            this.surface_opened = false\n            if (this.mdc_component_ref) {\n                this.mdc_component_ref.style.display = \"none\"\n            }\n            if (this.dispose_trap_browser_back) {\n                this.dispose_trap_browser_back()\n                this.dispose_trap_browser_back = undefined\n            }\n            this.props.onClose?.()\n        })\n        mdc_menu.listen(\"MDCMenu:selected\", (e: any) => {\n            const index = e.detail.index\n            const visible_menu_items = this.dom_menu_items.filter((x) =>\n                x.classList.contains(\"mdc-list-item\"),\n            )\n            if (index >= 0 && index < visible_menu_items.length) {\n                const selected_item = visible_menu_items[index]\n                if (!selected_item.getAttribute(\"disabled\")) {\n                    if (this.props.onSelected) {\n                        this.props.onSelected(selected_item.getAttribute(\"data-value\")!)\n                    } else {\n                        // TODO: Support keyboard navigation. The line below does not work\n                        //       because it causes a second click if the user clicked on the\n                        //       menu item.\n                        // selected_item.click()\n                    }\n                }\n            }\n        })\n    }\n\n    componentWillUnmount() {\n        this.on_search_change(\"\") // ... restore the state as `MDCMenu` would expect it\n        if (this.dispose_trap_browser_back) {\n            this.dispose_trap_browser_back()\n            this.dispose_trap_browser_back = undefined\n        }\n        super.componentWillUnmount()\n    }\n\n    on_text_field_change = ({value, is_valid}: {value: string; is_valid: boolean}) => {\n        if (is_valid) {\n            this.on_search_change(value)\n        }\n    }\n\n    render() {\n        const {\n            className,\n            anchor,\n            \"data-test-id\": data_test_id,\n            children,\n            searchable,\n            search_label,\n            hoistedElementClassName,\n            first_menu_item,\n            search_pos,\n        } = this.props\n        const search = (\n            <div key=\"__search__\" className=\"mdcx-menu__search\">\n                <TextField\n                    ref={this.search_ref}\n                    label={search_label}\n                    autoComplete=\"off\"\n                    full_width\n                    onChange={this.on_text_field_change}\n                    maxLength={255}\n                    onKeyDown={this.on_search_key_down}\n                    onEnter={this.on_search_enter}\n                />\n            </div>\n        )\n        return (\n            <div\n                className={classNames(\"mdc-menu-surface--anchor\", className)}\n                style={{position: \"relative\"}}\n                data-test-id={data_test_id}\n            >\n                <div ref={this.anchor_ref} onClick={this.open_menu}>\n                    {anchor}\n                </div>\n                {ReactDOM.createPortal(\n                    <div\n                        className={classNames(\n                            \"mdc-menu mdc-menu-surface mdcx-menu__surface\",\n                            hoistedElementClassName,\n                            {\n                                [`${className}__surface`]: !!className,\n                            },\n                        )}\n                        ref={this.add_mdc(MDCMenu)}\n                        data-test-id={data_test_id ? `${data_test_id}_surface` : undefined}\n                    >\n                        {((searchable && (!search_pos || search_pos === \"top\")) ||\n                            first_menu_item) && (\n                            <div className=\"mdcx-menu__surface-first\">\n                                {searchable && (!search_pos || search_pos === \"top\") && search}\n                                {first_menu_item}\n                            </div>\n                        )}\n                        {with_perfect_scrollbar(\n                            <div className=\"mdcx-menu__surface-middle\">\n                                <ul\n                                    className=\"mdc-list\"\n                                    role=\"menu\"\n                                    aria-hidden=\"true\"\n                                    aria-orientation=\"vertical\"\n                                    tabIndex={-1}\n                                    ref={this.menu_items_ref}\n                                >\n                                    {children}\n                                </ul>\n                            </div>,\n                        )}\n                        {searchable && search_pos === \"bottom\" && (\n                            <div className=\"mdcx-menu__surface-last\">{search}</div>\n                        )}\n                    </div>,\n                    document.body,\n                )}\n            </div>\n        )\n    }\n}\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, null, null, "import * as React from \"react\"\nimport type {Drawer} from \"./drawer\"\n\nexport interface Props {\n    document_title: string\n    top_app_bar: React.ReactElement<any>\n    bottom_app_bar?: React.ReactElement<any> | null | false\n    drawer?: React.ReactElement<Drawer>\n    \"data-test-id\"?: string\n    children: any\n}\n\nexport class Page extends React.PureComponent<Props> {\n    static document_title_suffix = \"\"\n\n    private _document_title_backup?: string\n    private _current_document_title?: string\n\n    get document_title(): string {\n        const suffix = Page.document_title_suffix\n        const title = this.props.document_title\n        if (!title) {\n            return suffix\n        }\n        return !suffix ? title : title.indexOf(suffix) >= 0 ? title : title + \" - \" + suffix\n    }\n\n    componentDidMount() {\n        this._document_title_backup = document.title\n        const new_document_title = this.document_title\n        document.title = new_document_title\n        this._current_document_title = new_document_title\n    }\n\n    componentDidUpdate() {\n        const new_document_title = this.document_title\n        if (new_document_title !== this._current_document_title) {\n            document.title = new_document_title\n            this._current_document_title = new_document_title\n        }\n    }\n\n    componentWillUnmount() {\n        document.title = this._document_title_backup || \"\"\n    }\n\n    render() {\n        const {\n            top_app_bar,\n            bottom_app_bar,\n            drawer,\n            children,\n            \"data-test-id\": data_test_id,\n        } = this.props\n        return (\n            <div\n                className=\"test_Page\"\n                data-test-id={data_test_id}\n                data-test-is-public={!!process.env.F_PUBLIC}\n            >\n                {drawer && (\n                    <>\n                        {drawer}\n                        <div className=\"mdc-drawer-scrim\" />\n                    </>\n                )}\n                {top_app_bar}\n                <main className=\"mdc-page__main\">{children}</main>\n                {bottom_app_bar}\n            </div>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {cancel_event, with_perfect_scrollbar} from \"@cling/lib.web.utils\"\nimport {TextField} from \"./text_field\"\nimport {Button} from \"./button\"\nimport {ListItem} from \"./list\"\n\n// TODO: The search concept has been implemented in 4 components separately (Menu, Select,\n//       SuggestionTextField and SearchableList). Find a way to unify the search-aspect w/o\n//       adding too much complexity.\n\ntype Props = {\n    className?: string\n    \"data-test-id\"?: string\n    first_menu_item?: any\n    search_label?: string\n    search_initial_focus?: boolean\n    search_visible: boolean\n    toggle_fold_button_caption?: (folded: boolean, num_folded_items: number) => string\n    /**\n     * @default `top`\n     */\n    search_pos?: \"top\" | \"bottom\"\n    /**\n     * If each child has a `value` property, `onSelected` can be used.\n     */\n    onSelected?: (value: string) => void\n    style?: React.CSSProperties\n    children: any\n}\n\ntype State = {\n    folded: boolean\n    search_active: boolean\n}\n\n/**\n * Implementation note: We manipulate the DOM directly here because it is much faster than using\n * React, especially for huge lists.\n */\nexport class SearchableList extends React.Component<Props, State> {\n    private search_ref = React.createRef<TextField>()\n    private menu_items_ref = React.createRef<HTMLUListElement>()\n    private selected_index_ = -1\n    state = {folded: true, search_active: false}\n\n    layout() {\n        this.search_ref.current?.layout()\n    }\n\n    focus_search_field = () => {\n        this.search_ref.current?.focus()\n    }\n\n    reset_search = () => {\n        if (this.search_ref.current) {\n            this.search_ref.current!.value = \"\"\n        }\n        this.on_change(\"\")\n    }\n\n    reset_folded = () => {\n        this.setState({folded: true})\n    }\n\n    private on_change = (search: string) => {\n        if (!this.menu_items_ref.current) {\n            return\n        }\n        if (!!search !== this.state.search_active) {\n            this.setState({search_active: !!search})\n        }\n        this.selected_index_ = -1\n        search = search.toLowerCase()\n        function search_all_text_nodes(node: any) {\n            for (node = node.firstChild; node; node = node.nextSibling) {\n                if (node.textContent) {\n                    if (node.textContent.toLowerCase().includes(search)) {\n                        return true\n                    }\n                } else {\n                    search_all_text_nodes(node)\n                }\n            }\n            return false\n        }\n        for (const x of this.dom_items) {\n            if (!search || x.getAttribute(\"data-ignore-in-search\") || search_all_text_nodes(x)) {\n                x.classList.remove(\"mdcx-menu__search-hidden\")\n                x.classList.add(\"mdc-list-item\")\n            } else {\n                x.classList.add(\"mdcx-menu__search-hidden\")\n                x.classList.remove(\"mdc-list-item\")\n            }\n        }\n        const after_update = () => {\n            // Hide all dividers if search is on and show them if search is off. Dividers might not\n            // have been rendered yet if they where folded, so we have to wait until they are ...\n            const dividers = this.menu_items_ref.current?.querySelectorAll(\".mdc-list-divider\")\n            if (!dividers) {\n                return\n            }\n            if (search) {\n                dividers.forEach((x) => x.classList.add(\"mdcx-menu__search-hidden\"))\n                // Scroll to top if needed.\n                const parent = this.menu_items_ref.current?.parentElement\n                if (parent) {\n                    parent.scrollTop = 0\n                }\n            } else {\n                dividers.forEach((x) => x.classList.remove(\"mdcx-menu__search-hidden\"))\n            }\n        }\n        after_update()\n        requestAnimationFrame(after_update)\n    }\n\n    on_key_down = (e: React.KeyboardEvent) => {\n        if (e.key === \"Escape\") {\n            this.search_ref.current?.blur()\n        }\n        if (this.dom_items.length > 0) {\n            if (e.key === \"ArrowDown\") {\n                this.selected_index = this.selected_index + 1\n                cancel_event(e)\n            }\n            if (e.key === \"ArrowUp\") {\n                this.selected_index = this.selected_index - 1\n                cancel_event(e)\n            }\n        }\n    }\n\n    get selected_index() {\n        return this.selected_index_\n    }\n\n    set selected_index(index: number) {\n        const dom_menu_items = this.dom_items.filter((x) => x.classList.contains(\"mdc-list-item\"))\n        if (this.selected_index_ >= 0 && this.selected_index_ < dom_menu_items.length) {\n            dom_menu_items[this.selected_index_].classList.remove(\"suggestion-textfield--selected\")\n        }\n        if (dom_menu_items.length === 0) {\n            return\n        }\n        if (index < 0) {\n            this.selected_index_ = -1\n            return\n        }\n        this.selected_index_ = Math.min(index, dom_menu_items.length - 1)\n        dom_menu_items[this.selected_index_].classList.add(\"suggestion-textfield--selected\")\n    }\n\n    private get dom_items(): HTMLElement[] {\n        const items = Array.from(this.menu_items_ref.current?.children || []) as HTMLElement[]\n        return items.filter((x) => !x.classList.contains(\"mdc-list-divider\"))\n    }\n\n    private on_enter = () => {\n        const items = this.dom_items.filter((x) => x.classList.contains(\"mdc-list-item\"))\n        if (items.length === 0) {\n            return\n        }\n        if (items.length === 1) {\n            items[0].click()\n            return\n        }\n        if (this.selected_index_ >= 0 && this.selected_index_ < items.length) {\n            items[this.selected_index_].click()\n        }\n    }\n\n    private on_click = (e: React.MouseEvent) => {\n        const {onSelected} = this.props\n        if (!onSelected) {\n            return\n        }\n        const items = this.dom_items\n        let target = e.target as any as HTMLElement\n        while (target && target !== this.menu_items_ref.current) {\n            if (items.includes(target)) {\n                const value = target.getAttribute(\"data-value\")\n                if (value !== null && value !== undefined) {\n                    onSelected(value)\n                    break\n                }\n            }\n            target = target.parentElement!\n        }\n    }\n\n    componentDidMount() {\n        const {search_initial_focus} = this.props\n        this.reset_search()\n        if (search_initial_focus) {\n            this.focus_search_field()\n        }\n    }\n\n    componentDidUpdate() {\n        const search_term = this.search_ref.current?.value || \"\"\n        if (this.state.search_active) {\n            this.on_change(search_term)\n        }\n    }\n\n    toggle_folded = (e: React.MouseEvent) => {\n        e.stopPropagation()\n        e.preventDefault()\n        this.setState({folded: !this.state.folded})\n    }\n\n    on_text_field_change = ({value, is_valid}: {value: string; is_valid: boolean}) => {\n        if (is_valid) {\n            this.on_change(value)\n        }\n    }\n\n    render() {\n        const {\n            className,\n            children: children_,\n            search_label,\n            search_visible,\n            first_menu_item,\n            search_pos,\n            toggle_fold_button_caption,\n            \"data-test-id\": data_test_id,\n            style,\n        } = this.props\n        const {search_active, folded} = this.state\n        const children: React.ReactElement[] = React.Children.toArray(children_) as any\n        const search = (\n            <div key=\"__search__\" className=\"mdcx-menu__search\">\n                <TextField\n                    ref={this.search_ref}\n                    label={search_label}\n                    autoComplete=\"off\"\n                    full_width\n                    onChange={this.on_text_field_change}\n                    onKeyDown={this.on_key_down}\n                    onEnter={this.on_enter}\n                    maxLength={255}\n                    data-test-id=\"SearchableList_search\"\n                />\n            </div>\n        )\n        let unfolded_children = children.filter((x) => !x.props[\"data-can-be-folded\"])\n        let children_that_can_be_folded = children.filter(\n            (x) => x.props[\"data-can-be-folded\"] && !x.props[\"data-dont-count-when-folded\"],\n        )\n        if (children_that_can_be_folded.length < 3) {\n            // Never fold if there are only two children that can be folded ...\n            children_that_can_be_folded = []\n        }\n        if (unfolded_children.length < 3) {\n            // Never show less than 3 children ...\n            while (children_that_can_be_folded.length > 0 && unfolded_children.length < 3) {\n                unfolded_children.push(children_that_can_be_folded.shift()!)\n            }\n        }\n        if (!folded || search_active || children_that_can_be_folded.length === 0) {\n            unfolded_children = children\n        }\n        const unfold_caption = toggle_fold_button_caption\n            ? toggle_fold_button_caption(true, children_that_can_be_folded.length)\n            : \"+\"\n        const fold_caption = toggle_fold_button_caption\n            ? toggle_fold_button_caption(false, children_that_can_be_folded.length)\n            : \"-\"\n        return (\n            <div\n                className={classNames(\"searchable-list\", className)}\n                data-test-id={data_test_id}\n                style={style}\n            >\n                {((search_visible && (!search_pos || search_pos === \"top\")) || first_menu_item) && (\n                    <div className=\"searchable-list__first\">\n                        {search_visible && (!search_pos || search_pos === \"top\") && search}\n                        {first_menu_item}\n                    </div>\n                )}\n                {with_perfect_scrollbar(\n                    <div className=\"searchable-list__middle\">\n                        <ul\n                            className=\"mdc-list\"\n                            role=\"menu\"\n                            aria-hidden=\"true\"\n                            aria-orientation=\"vertical\"\n                            tabIndex={-1}\n                            ref={this.menu_items_ref}\n                            onClick={this.on_click}\n                        >\n                            {unfolded_children}\n                            {!search_active && folded && children_that_can_be_folded.length > 0 && (\n                                <ListItem className=\"searchable-list__fold\">\n                                    <Button\n                                        icon=\"expand_more\"\n                                        onClick={this.toggle_folded}\n                                        data-test-id=\"SearchableList_unfold\"\n                                    >\n                                        {unfold_caption}\n                                    </Button>\n                                </ListItem>\n                            )}\n                            {!search_active &&\n                                !folded &&\n                                children_that_can_be_folded.length > 0 && (\n                                    <ListItem className=\"searchable-list__fold\">\n                                        <Button\n                                            icon=\"expand_less\"\n                                            onClick={this.toggle_folded}\n                                            data-test-id=\"SearchableList_fold\"\n                                        >\n                                            {fold_caption}\n                                        </Button>\n                                    </ListItem>\n                                )}\n                        </ul>\n                    </div>,\n                    {dir: \"vertical\", hide_until_active: true},\n                )}\n                {search_visible && search_pos === \"bottom\" && (\n                    <div className=\"searchable-list__last\">{search}</div>\n                )}\n            </div>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {BaseComponent} from \"./base\"\nimport {MDCSelect} from \"@material/select/index\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {List, ListItemProps} from \"./list\"\nimport {cancel_event} from \"@cling/lib.web.utils\"\n\ninterface OwnProps {\n    label?: string\n    tooltip?: string\n    disabled?: boolean\n    \"data-test-id\"?: string\n    onChange?: (value: string, index: number) => void\n    children: React.ReactElement<ListItemProps & {value: string}>[]\n    hoistedElementClassName?: string\n    disable_type_ahead?: boolean\n    initial_focus?: boolean\n}\n\ntype Props = OwnProps &\n    Pick<React.HTMLAttributes<any>, Exclude<keyof React.HTMLAttributes<any>, \"onChange\">>\n\nexport class Select extends BaseComponent<Props> {\n    private hoisted_menu_root: HTMLElement | undefined\n    private hoisted_menu_root_parent: HTMLElement | undefined\n    private input_ref = React.createRef<HTMLInputElement>()\n    private selected_text_ref = React.createRef<HTMLDivElement>()\n    private select_options_ref = React.createRef<HTMLUListElement>()\n    private select_options: HTMLElement[] = []\n    private last_search = \"\"\n    private suppress_on_change = false\n    private menu_surface_attached_interval: any\n    private value_on_open?: string\n\n    focus() {\n        this.mdc_component_ref?.focus()\n    }\n\n    layout() {\n        this.mdc_component?.layout()\n    }\n\n    get value(): string {\n        const select = this.mdc_component as MDCSelect\n        return select.value\n    }\n\n    set value(value: string) {\n        const {children} = this.props\n        const select = this.mdc_component as MDCSelect\n        const index = children.findIndex((x) => x?.props.value === value)\n        if (index < 0) {\n            return\n        }\n        const prev_suppress_on_change = this.suppress_on_change\n        this.suppress_on_change = true\n        try {\n            select.selectedIndex = index\n        } finally {\n            this.suppress_on_change = prev_suppress_on_change\n        }\n    }\n\n    componentDidMount() {\n        super.componentDidMount()\n        this.componentDidUpdate()\n        const select = this.mdc_component\n        // Make sure we don't use the graphic-part of a ListItem as displayed text.\n        const adapter = select.foundation_.adapter_\n        adapter.getMenuItemTextAtIndex = (index: number) => {\n            const item = select.menu_.items[index] as HTMLElement\n            const label = item.querySelector(\".mdc-list-item__text\")\n            if (!label) {\n                return item.textContent\n            }\n            // If the label has more than one child, we only use the first one - this is a good\n            // heuristic, because most of the time that's the most important information and the\n            // rest is style or secondary information.\n            if (label.childNodes.length > 1) {\n                return label.childNodes[0].textContent\n            }\n            // If the only child of the label has multiple children, only use the first.\n            const label_child = label.childNodes[0]\n            if (label_child.childNodes.length > 1) {\n                return label_child.childNodes[0].textContent\n            }\n            return label_child.textContent\n        }\n        // We just overwrote `adapter.getMenuItemTextAtIndex`, so force `MDCSelect` to re-render\n        // the value.\n        if (select.value) {\n            this.suppress_on_change = true\n            ;(select as MDCSelect).value = select.value\n            this.suppress_on_change = false\n        }\n        // Register onChange.\n        if (this.props.onChange) {\n            select.listen(\"MDCSelect:change\", (e: any) => {\n                if (!this.suppress_on_change) {\n                    this.props.onChange?.(e.detail.value, e.detail.index)\n                }\n            })\n        }\n        select.menu_.listen(\"MDCMenuSurface:opened\", () => {\n            // We have to hoist the menu element by hand.\n            select.menu_.setIsHoisted(true)\n            this.hoisted_menu_root = select.menu_.root_\n            this.hoisted_menu_root_parent = this.hoisted_menu_root!.parentElement!\n            this.hoisted_menu_root!.remove()\n            document.body.append(this.hoisted_menu_root!)\n            select.menu_.menuSurface_.foundation_.autoPosition_()\n            if (this.hoisted_menu_root) {\n                // Force the width of the menu-surface (where all the options are found) to be\n                // at least as wide as the menu itself.\n                const w = this.mdc_component_ref.getBoundingClientRect().width\n                this.hoisted_menu_root.style.minWidth = `${w}px`\n            }\n            this.value_on_open = this.mdc_component.value\n            this.selected_text_ref.current!.style.opacity = \"0\"\n            // Prepare the input field.\n            this.input_ref.current!.style.display = \"\"\n            this.input_ref.current!.focus()\n            // Make sure the menu's surface stays attached.\n            clearInterval(this.menu_surface_attached_interval)\n            this.menu_surface_attached_interval = setInterval(() => {\n                select.menu_.menuSurface_.foundation_.autoPosition_()\n            }, 30)\n        })\n        select.menu_.listen(\"MDCMenuSurface:closed\", () => {\n            this.menu_surfaced_closed()\n        })\n        if (this.props.initial_focus) {\n            this.focus()\n        }\n    }\n\n    componentDidUpdate() {\n        // Remember all options so we can narrow down the list of children in `filter_options`.\n        this.select_options = Array.from(\n            this.select_options_ref.current?.children || [],\n        ) as HTMLElement[]\n        this.filter_options(\"\")\n        const value = this.value\n        this.value = value\n    }\n\n    menu_surfaced_closed(discard?: \"discard\") {\n        clearInterval(this.menu_surface_attached_interval)\n        if (this.input_ref.current) {\n            this.input_ref.current.style.display = \"none\"\n            this.input_ref.current.value = \"\"\n            this.filter_options(\"\", discard)\n        }\n        if (this.selected_text_ref.current) {\n            this.selected_text_ref.current!.style.opacity = \"\"\n        }\n    }\n\n    componentWillUnmount() {\n        clearInterval(this.menu_surface_attached_interval)\n        // We have to unhoist the menu element by hand.\n        if (this.hoisted_menu_root) {\n            this.hoisted_menu_root.remove()\n            this.hoisted_menu_root_parent!.append(this.hoisted_menu_root)\n            this.hoisted_menu_root = undefined\n            this.hoisted_menu_root_parent = undefined\n        }\n        super.componentWillUnmount()\n    }\n\n    on_input_key_down = (e: React.KeyboardEvent) => {\n        if (e.key === \"Escape\" || e.key === \"Enter\" || e.key === \"Tab\") {\n            this.mdc_component.menu_.menuSurface_.foundation_.close()\n            if (e.key === \"Enter\" && this.select_options_ref.current) {\n                const options = [...this.select_options_ref.current.children].filter((x) =>\n                    x.classList.contains(\"mdc-list-item\"),\n                )\n                if (options.length === 1) {\n                    ;(this.mdc_component as MDCSelect).selectedIndex = 0\n                    this.menu_surfaced_closed()\n                } else {\n                    this.menu_surfaced_closed(\"discard\")\n                }\n            } else {\n                this.menu_surfaced_closed(\"discard\")\n            }\n            cancel_event(e)\n            return\n        }\n        if ([\"ArrowUp\", \"ArrowDown\"].includes(e.key)) {\n            this.mdc_component?.menu_.getDefaultFoundation().adapter_.focusItemAtIndex(0)\n        }\n    }\n\n    on_input_key_up = () => {\n        this.filter_options(this.input_ref.current!.value || \"\")\n    }\n\n    /**\n     * Filtering the options is rather tricky, because we cannot simple let `render()` only render\n     * the selected options (tried that). It totally messes the internals of `MDCSelect` and\n     * friends up.\n     *\n     * That's why we remove and add items from/to the DOM directly as well as fummeling around\n     * with the internals of MDC. It's not pretty, but we really want that functionality.\n     */\n    filter_options = (search: string, discard?: \"discard\") => {\n        const value = discard === \"discard\" ? this.value_on_open : this.mdc_component.value\n        search = search.toLowerCase()\n        if (\n            !this.select_options_ref.current ||\n            React.Children.count(this.props.children) === 0 ||\n            this.last_search === search\n        ) {\n            return\n        }\n        this.suppress_on_change = true\n        try {\n            // We first clear the current selection.\n            this.mdc_component.foundation_.setSelectedIndex(-1, /* close surface*/ false)\n            // Populate the narrowed down options.\n            this.last_search = search\n            for (const x of this.select_options) {\n                x.remove()\n            }\n            this.select_options_ref.current.textContent = \"\"\n            for (const x of this.select_options) {\n                if (\n                    !search ||\n                    x.textContent?.toLowerCase().includes(search) ||\n                    x.classList.contains(\"mdc-list-divider\")\n                ) {\n                    this.select_options_ref.current.appendChild(x)\n                }\n            }\n            // We work around our way of the fact, that MDCSelect (as well as MDCMenu, MDCMenuSurface)\n            // cannot be dynamically populated.\n            // See https://github.com/material-components/material-components-web/issues/5646\n            const foundation = this.mdc_component.foundation_\n            foundation.menuItemValues_ = foundation.adapter_.getMenuItemValues()\n            // Restore the selected index if still valid.\n            this.mdc_component.value = value\n            // Scroll to top.\n            if (this.select_options_ref.current?.parentElement) {\n                this.select_options_ref.current.parentElement.scrollTop = 0\n            }\n        } finally {\n            this.suppress_on_change = false\n        }\n    }\n\n    render() {\n        const {\n            className,\n            children,\n            disabled,\n            label,\n            \"data-test-id\": data_test_id,\n            hoistedElementClassName,\n            disable_type_ahead,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            tooltip,\n            // eslint-disable-next-line @typescript-eslint/no-unused-vars\n            onChange,\n            ...other_attrs\n        } = this.props\n        return (\n            <div\n                className={classNames(\"mdc-select mdc-select--outlined\", className, {\n                    \"mdc-select--no-label\": !label,\n                    \"mdc-select--disabled\": disabled,\n                })}\n                data-test-id={data_test_id}\n                {...other_attrs}\n                ref={this.add_mdc(MDCSelect)}\n            >\n                <div className=\"mdc-select__anchor\" data-test-id=\"Select_anchor\">\n                    <input\n                        ref={this.input_ref}\n                        className=\"mdcx-select__input\"\n                        onKeyDown={this.on_input_key_down}\n                        onKeyUp={this.on_input_key_up}\n                        disabled={disable_type_ahead}\n                        type=\"text\"\n                        tabIndex={-1}\n                    />\n                    <i className=\"mdc-select__dropdown-icon\" />\n                    <div\n                        ref={this.selected_text_ref}\n                        className=\"mdc-select__selected-text\"\n                        aria-labelledby=\"outlined-select-label\"\n                        aria-disabled={disabled}\n                        data-test-id=\"Select_selected_text\"\n                    />\n                    {label && (\n                        <div className=\"mdc-notched-outline\">\n                            <div className=\"mdc-notched-outline__leading\" />\n                            <div className=\"mdc-notched-outline__notch\">\n                                <label id=\"outlined-select-label\" className=\"mdc-floating-label\">\n                                    {label}\n                                </label>\n                            </div>\n                            <div className=\"mdc-notched-outline__trailing\" />\n                        </div>\n                    )}\n                </div>\n                <div\n                    className={classNames(\n                        \"mdc-select__menu mdc-menu mdc-menu-surface\",\n                        hoistedElementClassName,\n                    )}\n                    role=\"listbox\"\n                    data-test-id=\"Select_menu_surface\"\n                >\n                    <List\n                        data-test-id={`${data_test_id ? data_test_id + \"_\" : \"\"}Select_options`}\n                        dom_ref={this.select_options_ref}\n                    >\n                        {children}\n                    </List>\n                </div>\n            </div>\n        )\n    }\n}\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, null, null, null, null, null, "import * as React from \"react\"\nimport {MDCSnackbar} from \"@material/snackbar/index\"\nimport {BaseComponent} from \"./base\"\nimport {report_error} from \"@cling/lib.shared.debug\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {IconButton} from \"./icon_button\"\n\ninterface State {\n    error?: Error\n}\n\nlet mdc_snackbar: MDCSnackbar | undefined\nconst snackbar_button_elm = React.createRef<HTMLButtonElement>()\ninterface QueueEntry {\n    message: string\n    action_button_label?: string\n    action?: () => void\n}\nconst queue = [] as Array<QueueEntry>\nlet current: QueueEntry | undefined\n\nfunction show_next() {\n    if (!(mdc_snackbar && queue.length)) {\n        return\n    }\n    current = queue.shift()!\n    try {\n        if (mdc_snackbar.isOpen) {\n            // ... should never happen ...\n            throw new Error(\"Snackbar is shown\")\n        }\n        mdc_snackbar.labelText = current.message\n        if (snackbar_button_elm.current) {\n            if (!current.action_button_label) {\n                snackbar_button_elm.current.style.display = \"none\"\n            } else {\n                snackbar_button_elm.current.style.display = \"block\"\n            }\n        }\n        mdc_snackbar.actionButtonText = current.action_button_label || \"\"\n        mdc_snackbar.open()\n    } catch (error) {\n        report_error(\"Failed to show snackbar -- error not propagated\", error)\n    }\n}\n\nexport class Snackbar extends BaseComponent<{className?: string}, State> {\n    state = {} as State\n\n    static show_message(message: string): void\n    static show_message(message: string, action_button_label: string, action: () => void): void\n    static show_message(message: string, action_button_label?: string, action?: () => void) {\n        try {\n            queue.push({message, action_button_label, action})\n            if (!mdc_snackbar) {\n                return\n            }\n            // If there is still a snackbar shown, dismiss it before the next snackbar is shown ...\n            if (mdc_snackbar.isOpen) {\n                mdc_snackbar.close(\"dismiss\")\n            } else {\n                show_next()\n            }\n        } catch (error) {\n            report_error(\"Failed to show snackbar -- error not propagated\", error)\n        }\n    }\n    static clear() {\n        if (!mdc_snackbar) {\n            return\n        }\n        if (mdc_snackbar.isOpen) {\n            mdc_snackbar.close(\"dismiss\")\n        }\n        queue.splice(0, queue.length)\n    }\n\n    componentDidMount() {\n        try {\n            super.componentDidMount()\n            mdc_snackbar = this.mdc_component\n            // Snackbar should not automatically disappear in e2e tests.\n            mdc_snackbar!.timeoutMs = window._under_test ? -1 : 10000\n            mdc_snackbar!.listen(\"MDCSnackbar:closed\", ({detail: {reason}}: CustomEvent) => {\n                if (reason === \"action\") {\n                    try {\n                        current!.action!()\n                    } catch (error) {\n                        report_error(\"Failed to execute snackbar action\", error)\n                    }\n                }\n                show_next()\n            })\n            show_next()\n        } catch (error) {\n            report_error(\"Snackbar.componentDidMount() failed\", error)\n            this.setState({error})\n        }\n    }\n\n    componentWillUnmount() {\n        mdc_snackbar = undefined\n        super.componentWillUnmount()\n    }\n\n    componentDidCatch(error: Error) {\n        report_error(\"Snackbar.render() failed\", error)\n        this.setState({error})\n    }\n\n    render() {\n        if (this.state.error) {\n            return null\n        }\n        const {className} = this.props\n        return (\n            <div\n                ref={this.add_mdc(MDCSnackbar)}\n                className=\"mdc-snackbar mdc-snackbar--leading\"\n                aria-live=\"assertive\"\n                aria-atomic=\"true\"\n                aria-hidden=\"true\"\n            >\n                <div className={classNames(\"mdc-snackbar__surface\", className)}>\n                    <div className=\"mdc-snackbar__label\" />\n                    <div className=\"mdc-snackbar__actions\">\n                        <button\n                            type=\"button\"\n                            className=\"mdc-button mdc-snackbar__action\"\n                            ref={snackbar_button_elm}\n                        />\n                        <IconButton\n                            data-test-id=\"Snackbar_dismiss\"\n                            icon=\"close\"\n                            className=\"mdc-snackbar__dismiss\"\n                            outlined\n                        />\n                    </div>\n                </div>\n            </div>\n        )\n    }\n}\n", null, "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, "import * as React from \"react\"\nimport {MDCTabBar} from \"@material/tab-bar/index\"\nimport {MDCTab} from \"@material/tab/index\"\nimport {BaseComponent} from \"./base\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {simple_tooltip_event_handlers} from \"./simple_tooltip\"\n\ninterface TabProps {\n    label: any\n    selected: boolean\n    onClick?: () => void\n    className?: string\n    disabled?: boolean\n    icon?: string\n    \"data-test-id\"?: string\n    tooltip?: string\n    dense?: boolean\n}\n\nexport class Tab extends BaseComponent<TabProps> {\n    render() {\n        const {\n            label,\n            icon,\n            disabled,\n            className,\n            onClick,\n            \"data-test-id\": data_test_id,\n            tooltip,\n            selected,\n            dense,\n        } = this.props\n        return (\n            <button\n                className={classNames(\"mdc-tab\", className, {\"mdcx-tab--dense\": dense})}\n                role=\"tab\"\n                tabIndex={0}\n                ref={this.add_mdc(MDCTab)}\n                onClick={onClick}\n                disabled={disabled}\n                data-test-id={data_test_id}\n                aria-label={tooltip}\n                aria-selected={selected}\n                {...(tooltip ? simple_tooltip_event_handlers : {})}\n            >\n                <span className=\"mdc-tab__content\">\n                    {icon && (\n                        <span\n                            className=\"mdc-tab__icon material-icons\"\n                            aria-hidden=\"true\"\n                            data-icon={icon}\n                        />\n                    )}\n                    <span className=\"mdc-tab__text-label\">{label}</span>\n                </span>\n                <span className=\"mdc-tab-indicator\">\n                    <span className=\"mdc-tab-indicator__content mdc-tab-indicator__content--underline\"></span>\n                </span>\n                <span className=\"mdc-tab__ripple\"></span>\n            </button>\n        )\n    }\n}\n\ninterface TabBarProps {\n    disable_focus_on_activate?: boolean\n    className?: string\n    \"data-test-id\"?: string\n    // The `false` is needed if children are rendered conditionally ...\n    children: Array<React.ReactElement<TabProps> | false>\n}\n\nexport class TabBar extends BaseComponent<TabBarProps, {active_index: number}> {\n    constructor(props: TabBarProps) {\n        super(props)\n        this.state = {active_index: this.active_index}\n    }\n\n    private get active_index() {\n        return this.props.children.filter((x) => !!x).findIndex((x) => x && x.props.selected) ?? 0\n    }\n\n    componentDidMount() {\n        super.componentDidMount()\n        if (this.props.disable_focus_on_activate) {\n            this.mdc_component.focusOnActivate = false\n        }\n        this.mdc_component.listen(\n            \"MDCTabBar:activated\",\n            ({detail: {index}}: {detail: {index: number}}) => {\n                this.setState({active_index: index})\n            },\n        )\n        this.mdc_component.activateTab(this.active_index)\n    }\n\n    componentDidUpdate() {\n        if (this.active_index !== this.state.active_index) {\n            this.mdc_component.activateTab(this.active_index ?? 0)\n        }\n    }\n\n    render() {\n        const {children, className, \"data-test-id\": data_test_id} = this.props\n        return (\n            <div\n                className={classNames(\"mdc-tab-bar\", className)}\n                role=\"tablist\"\n                ref={this.add_mdc(MDCTabBar)}\n                data-test-id={data_test_id}\n            >\n                <div className=\"mdc-tab-scroller\">\n                    <div className=\"mdc-tab-scroller__scroll-area\">\n                        <div className=\"mdc-tab-scroller__scroll-content\">\n                            {children.filter((x) => !!x)}\n                        </div>\n                    </div>\n                </div>\n            </div>\n        )\n    }\n}\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, null, null, null, null, "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, null, null, null, null, null, null, null, "import * as React from \"react\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\n\ntype Props = React.HTMLAttributes<HTMLHeadElement> & {\n    navigation_icon?: React.ReactElement<any>\n    more_items?: any\n    children?: any\n    className?: string\n}\n\nexport class TopAppBar extends React.PureComponent<Props> {\n    render() {\n        const {navigation_icon, more_items, children, className, ...html_props} = this.props\n        return (\n            <header\n                className={classNames(\"mdc-top-app-bar mdc-top-app-bar--fixed\", className)}\n                {...html_props}\n            >\n                <div className=\"mdc-top-app-bar__row\">\n                    {navigation_icon && (\n                        <section className=\"mdc-top-app-bar__section mdc-top-app-bar__section--align-start\">\n                            {navigation_icon}\n                        </section>\n                    )}\n                    {more_items && (\n                        <section className=\"mdc-top-app-bar__section mdc-top-app-bar__section--align-end\">\n                            {more_items}\n                        </section>\n                    )}\n                </div>\n                {children}\n            </header>\n        )\n    }\n}\n", "import * as React from \"react\"\n\nimport {classNames} from \"@cling/lib.web.utils\"\n\ninterface Props {\n    image_url?: string\n    icon?: string\n    letter?: string\n    large?: boolean\n    very_large?: boolean\n    small?: boolean\n    className?: string\n}\n\nexport class Avatar extends React.PureComponent<Props> {\n    render() {\n        const {className, image_url, icon, letter, very_large, large, small} = this.props\n        const style = {} as any\n        if (image_url) {\n            style.backgroundImage = `url(\"${image_url}\")`\n        }\n        const render_icon = icon && !image_url\n        const render_letter = letter && !(image_url || icon)\n        return (\n            <div\n                className={classNames(\n                    \"mdcx-avatar\",\n                    {\n                        \"mdcx-avatar--very-large\": very_large,\n                        \"mdcx-avatar--large\": large,\n                        \"mdcx-avatar--small\": small,\n                        \"mdcx-avatar--has-icon\": icon,\n                        \"mdcx-avatar--has-image\": image_url,\n                    },\n                    className,\n                )}\n                style={style}\n            >\n                {render_icon && <i className=\"material-icons\" data-icon={icon} />}\n                {render_letter && <span className=\"mdcx-avatar__letter\">{letter!.charAt(0)}</span>}\n            </div>\n        )\n    }\n}\n", "import * as React from \"react\"\nimport {MDCDrawer} from \"@material/drawer/index\"\nimport {BaseComponent} from \"./base\"\nimport {with_perfect_scrollbar} from \"@cling/lib.web.utils\"\nimport {classNames} from \"@cling/lib.web.utils\"\n\ninterface Props {\n    className?: string\n    header?: any\n    header_style?: React.CSSProperties\n    focus_first_list_item_on_open?: boolean\n    onOpen?: () => void\n    onClose?: () => void\n}\n\nexport class Drawer extends BaseComponent<Props> {\n    componentDidMount() {\n        super.componentDidMount()\n        const {adapter_} = this.mdc_component.foundation_\n        const original_trapFocus = adapter_.trapFocus\n        adapter_.trapFocus = () => {\n            try {\n                original_trapFocus.call(adapter_)\n            } catch {\n                // There is no focusable element in the drawer!\n                // Make sure the drawer is closed, when [Esc] is pressed ...\n                const handle_keydown = this.mdc_component.handleKeydown_.bind(this.mdc_component)\n                document.addEventListener(\"keydown\", handle_keydown)\n                adapter_.releaseFocus = () => {\n                    document.removeEventListener(\"keydown\", handle_keydown)\n                }\n            }\n        }\n        this.mdc_component.listen(\"MDCDrawer:opened\", () => {\n            this.props.onOpen?.()\n            if (this.props.focus_first_list_item_on_open) {\n                this.mdc_component_ref?.querySelector(\"li\")?.focus()\n            }\n        })\n        this.mdc_component.listen(\"MDCDrawer:closed\", () => {\n            this.props.onClose?.()\n        })\n    }\n\n    open() {\n        this.mdc_component.open = true\n    }\n\n    /**\n     * Make sure the drawer is closed no matter what.\n     */\n    close = () => {\n        // Force close the drawer by removing CSS classes identifying the drawer as open.\n        this.mdc_component.foundation_.adapter_.removeClass(\"mdc-drawer--opening\")\n        this.mdc_component.foundation_.adapter_.removeClass(\"mdc-drawer--open\")\n        this.mdc_component.open = false\n    }\n\n    render() {\n        const {header, header_style, children, className} = this.props\n        return (\n            <aside\n                ref={this.add_mdc(MDCDrawer)}\n                className={classNames(\"mdc-drawer mdc-drawer--modal\", className)}\n            >\n                <div className=\"mdc-drawer__header\" style={header_style}>\n                    {header}\n                </div>\n                {with_perfect_scrollbar(<div className=\"mdc-drawer__content\">{children}</div>)}\n            </aside>\n        )\n    }\n}\n", null, "/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n", null, null, null, null, "import * as React from \"react\"\nimport {MDCSnackbar} from \"@material/snackbar/index\"\nimport {BaseComponent} from \"./base\"\nimport {report_error} from \"@cling/lib.shared.debug\"\nimport {classNames} from \"@cling/lib.web.utils\"\n\ninterface Props {\n    message: string\n    action_button_label: string\n    action: () => void\n    className?: string\n}\n\ninterface State {\n    error?: Error\n}\n\n/**\n * A snackbar which does not disappear until the action button is clicked.\n */\nexport class StickySnackbar extends BaseComponent<Props, State> {\n    state = {} as State\n\n    componentDidMount() {\n        try {\n            super.componentDidMount()\n            const {message, action_button_label, action} = this.props\n            const mdc_snackbar = this.mdc_component as MDCSnackbar\n            mdc_snackbar.labelText = message\n            mdc_snackbar.actionButtonText = action_button_label\n            mdc_snackbar.listen(\"MDCSnackbar:closed\", ({detail: {reason}}: CustomEvent) => {\n                if (reason !== \"action\") {\n                    report_error(`Unexpected sticky snackbar close reason: ${reason}`)\n                    return\n                }\n                try {\n                    action()\n                } catch (error) {\n                    report_error(\"Failed to execute sticky snackbar action\", error)\n                }\n            })\n            mdc_snackbar.open()\n            // A little hack: Clear the dismissal timeout, when the snackbar is shown,\n            // so that the snackbar stays visible until the action button is clicked ...\n            mdc_snackbar.listen(\"MDCSnackbar:opened\", () =>\n                setTimeout(() => {\n                    clearTimeout((mdc_snackbar as any).foundation_.autoDismissTimer_)\n                }),\n            )\n        } catch (error) {\n            report_error(\"StickySnackbar.componentDidMount() failed\", error)\n            this.setState({error})\n        }\n    }\n\n    componentDidCatch(error: Error) {\n        report_error(\"StickySnackbar.render() failed\", error)\n        this.setState({error})\n    }\n\n    render() {\n        if (this.state.error) {\n            return null\n        }\n        const {className} = this.props\n        return (\n            <div\n                ref={this.add_mdc(MDCSnackbar)}\n                className=\"mdc-snackbar mdc-snackbar--leading\"\n                aria-live=\"assertive\"\n                aria-atomic=\"true\"\n                aria-hidden=\"true\"\n            >\n                <div className={classNames(\"mdc-snackbar__surface\", className)}>\n                    <div className=\"mdc-snackbar__label\" />\n                    <div className=\"mdc-snackbar__actions\">\n                        <button type=\"button\" className=\"mdc-button mdc-snackbar__action\" />\n                    </div>\n                </div>\n            </div>\n        )\n    }\n}\n"],
  "mappings": "4dAEO,IAAIA,GASX,SAASC,GAAiBC,EAAoC,CAC1D,GAAIA,IAAuB,EACvB,MAAO,OAEX,GAAIA,EAAqB,IACrB,MAAO,OAEX,IAAMC,EAAI,IACJC,EAAQ,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,EACvDC,EAAI,KAAK,IAAI,KAAK,MAAM,KAAK,IAAIH,CAAkB,EAAI,KAAK,IAAIC,CAAC,CAAC,EAAG,CAAC,EAC5E,OAAO,YAAYD,EAAqB,KAAK,IAAIC,EAAGE,CAAC,GAAG,QAAQ,CAAC,EAAI,IAAMD,EAAMC,EAAI,CAAC,CAC1F,CAXSC,EAAAL,GAAA,oBAaT,SAASM,GAASC,EAAiB,CAC/B,MAAO,GAAG,KAAK,MAAMA,EAAU,EAAE,EAC5B,SAAS,EACT,SAAS,EAAG,GAAG,CAAC,IAAI,KAAK,MAAMA,EAAU,EAAE,EAC3C,SAAS,EACT,SAAS,EAAG,GAAG,CAAC,EACzB,CANSF,EAAAC,GAAA,YAQT,eAAsBE,GAAKC,EAAsB,CAC7C,IAAIC,EACJ,GAAID,GAAeA,EAAY,WAAW,IAAI,EAAG,CAC7C,IAAME,EAAI,KAAM,QAAO,kBAAM,EAC7BD,EAAW,IAAIC,EAAE,QACrB,KAAO,CACH,IAAMA,EAAI,KAAM,QAAO,kBAAM,EAC7BD,EAAW,IAAIC,EAAE,QACrB,CACA,OAAOC,GAAmBF,CAAQ,CACtC,CAVsBL,EAAAG,GAAA,QAYf,SAASI,GAAmBF,EAAoB,CACnD,OAAAX,GAAOW,EACFX,GAAK,mBACNA,GAAK,iBAAmBC,IAEvBD,GAAK,WACNA,GAAK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AAkB,EACxB,GAAM,CAAC,QAAAC,EAAS,oBAAAC,EAAqB,OAAAC,CAAM,EAAI,KAAK,MAC9CC,EAAe,KAAK,cAC1BA,EAAa,UAAYH,EACzBG,EAAa,iBAAmBF,EAChCE,EAAa,OAAO,qBAAsB,CAAC,CAAC,OAAQ,CAAC,OAAAC,CAAM,CAAC,IAAmB,CAC3E,GAAIA,IAAW,SAAU,CACrBC,EAAa,4CAA4CD,CAAM,EAAE,EACjE,MACJ,CACA,GAAI,CACAF,EAAO,CACX,OAASI,EAAO,CACZD,EAAa,2CAA4CC,CAAK,CAClE,CACJ,CAAC,EACDH,EAAa,KAAK,EAGlBA,EAAa,OAAO,qBAAsB,IACtC,WAAW,IAAM,CACb,aAAcA,EAAqB,YAAY,iBAAiB,CACpE,CAAC,CACL,CACJ,OAASG,EAAO,CACZD,EAAa,4CAA6CC,CAAK,EAC/D,KAAK,SAAS,CAAC,MAAAA,CAAK,CAAC,CACzB,CACJ,CAEA,kBAAkBA,EAAc,CAC5BD,EAAa,iCAAkCC,CAAK,EACpD,KAAK,SAAS,CAAC,MAAAA,CAAK,CAAC,CACzB,CAEA,QAAS,CACL,GAAI,KAAK,MAAM,MACX,OAAO,KAEX,GAAM,CAAC,UAAAC,CAAS,EAAI,KAAK,MACzB,OACIC,EAAC,OACG,IAAK,KAAK,QAAQC,EAAW,EAC7B,UAAU,qCACV,YAAU,YACV,cAAY,OACZ,cAAY,QAEZD,EAAC,OAAI,UAAWE,EAAW,wBAAyBH,CAAS,GACzDC,EAAC,OAAI,UAAU,sBAAsB,EACrCA,EAAC,OAAI,UAAU,yBACXA,EAAC,UAAO,KAAK,SAAS,UAAU,kCAAkC,CACtE,CACJ,CACJ,CAER,CACJ,EA9DgEG,EAAAd,GAAA,kBAAzD,IAAMe,GAANf",
  "names": ["i18n", "format_file_size", "file_size_in_bytes", "k", "sizes", "i", "__name", "duration", "seconds", "init", "user_locale", "messages", "m", "init_with_messages", "init_compat_module", "_Button", "BaseComponent", "__publicField", "__name", "ref", "e", "className", "children", "secondary", "raised", "danger", "tooltip", "disabled", "data_test_id", "outlined", "icon", "trailing_icon", "onClick", "other_attrs", "icon_elm", "_", "classNames", "simple_tooltip_event_handlers", "Button", "init_compat_module", "ButtonBar", "__name", "children", "props", "no_outlined_buttons", "O", "x", "_", "classNames", "init_compat_module", "_Card", "N", "className", "title", "actions", "children", "other_attrs", "_", "classNames", "ButtonBar", "__name", "Card", "init_compat_module", "_Icon", "N", "icon", "outlined", "primary", "secondary", "className", "inline", "small", "tooltip", "data_test_id", "badge", "other_attrs", "_", "classNames", "simple_tooltip_event_handlers", "__name", "Icon", "init_compat_module", "_IconButton", "BaseComponent", "__publicField", "b", "__name", "e", "icon", "outlined", "badge", "primary", "secondary", "disabled", "tooltip", "className", "small", "label", "onClick", "data_test_id", "other_attrs", "_", "classNames", "simple_tooltip_event_handlers", "IconButton", "init_compat_module", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssPropertyNameMap", "isWindow", "windowObj", "__name", "getCorrectPropertyName", "cssProperty", "cssPropertyNameMap", "el", "_a", "standard", "prefixed", "isStandard", "cssClasses", "strings", "MDCLinearProgressFoundation", "_super", "__extends", "adapter", "__assign", "__name", "cssClasses", "strings", "isDeterminate", "value", "isReversed", "el", "scaleValue", "getCorrectPropertyName", "MDCFoundation", "MDCLinearProgress", "_super", "__extends", "__name", "root", "value", "_this", "adapter", "className", "MDCLinearProgressFoundation", "attributeName", "el", "styleProperty", "MDCComponent", "_LinearProgress", "BaseComponent", "min", "max", "value", "tooltip", "className", "_", "MDCLinearProgress", "classNames", "simple_tooltip_event_handlers", "__name", "LinearProgress", "init_compat_module", "_List", "BaseComponent", "dom_ref", "non_interactive", "className", "children", "other_attrs", "_", "classNames", "__name", "List", "_ListDivider", "N", "ListDivider", "_ListItem", "__publicField", "e", "onClick", "disabled", "no_graphic", "data_test_id", "value", "selected", "child_count", "O", "children_enhanced", "child", "idx", "elm", "ListItem", "init_compat_module", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "MDCFloatingLabel", "_super", "__extends", "__name", "root", "shouldShake", "shouldFloat", "_this", "adapter", "className", "estimateScrollWidth", "evtType", "handler", "MDCFloatingLabelFoundation", "MDCComponent", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssClasses", "MDCLineRippleFoundation", "_super", "__extends", "adapter", "_this", "__assign", "evt", "__name", "cssClasses", "xCoordinate", "isDeactivating", "MDCFoundation", "MDCLineRipple", "_super", "__extends", "__name", "root", "xCoordinate", "_this", "adapter", "className", "propertyName", "value", "evtType", "handler", "MDCLineRippleFoundation", "MDCComponent", "cssClasses", "strings", "MDCTextFieldCharacterCounterFoundation", "_super", "__extends", "adapter", "__assign", "__name", "cssClasses", "strings", "currentLength", "maxLength", "MDCFoundation", "MDCTextFieldCharacterCounter", "_super", "__extends", "__name", "root", "_this", "adapter", "content", "MDCTextFieldCharacterCounterFoundation", "MDCComponent", "strings", "cssClasses", "numbers", "VALIDATION_ATTR_WHITELIST", "ALWAYS_FLOAT_TYPES", "POINTERDOWN_EVENTS", "INTERACTION_EVENTS", "MDCTextFieldFoundation", "_super", "__extends", "adapter", "foundationMap", "_this", "__assign", "evt", "attributesList", "__name", "cssClasses", "strings", "numbers", "type", "ALWAYS_FLOAT_TYPES", "evtType", "nativeInput", "attributeName", "VALIDATION_ATTR_WHITELIST", "openNotch", "isDense", "labelScale", "labelWidth", "touches", "targetEvent", "targetClientRect", "normalizedX", "isValid", "value", "shouldShake", "useNativeValidation", "disabled", "content", "label", "currentLength", "maxLength", "INVALID", "isFocused", "FOCUSED", "isDisabled", "_a", "DISABLED", "MDCFoundation", "cssClasses", "strings", "MDCTextFieldHelperTextFoundation", "_super", "__extends", "adapter", "__assign", "__name", "cssClasses", "strings", "content", "isPersistent", "isValidation", "inputIsValid", "helperTextIsPersistent", "helperTextIsValidationMsg", "validationMsgNeedsDisplay", "MDCFoundation", "MDCTextFieldHelperText", "_super", "__extends", "__name", "root", "_this", "adapter", "className", "attr", "value", "content", "MDCTextFieldHelperTextFoundation", "MDCComponent", "strings", "cssClasses", "INTERACTION_EVENTS", "MDCTextFieldIconFoundation", "_super", "__extends", "adapter", "_this", "__assign", "evt", "__name", "strings", "cssClasses", "evtType", "disabled", "label", "content", "isEnterKey", "MDCFoundation", "MDCTextFieldIcon", "_super", "__extends", "__name", "root", "_this", "adapter", "attr", "value", "content", "evtType", "handler", "MDCTextFieldIconFoundation", "MDCComponent", "MDCTextField", "_super", "__extends", "__name", "root", "rippleFactory", "lineRippleFactory", "helperTextFactory", "characterCounterFactory", "iconFactory", "labelFactory", "outlineFactory", "el", "foundation", "MDCRipple", "MDCLineRipple", "MDCTextFieldHelperText", "MDCTextFieldCharacterCounter", "MDCTextFieldIcon", "MDCFloatingLabel", "MDCNotchedOutline", "strings", "labelElement", "lineRippleElement", "outlineElement", "helperTextStrings", "MDCTextFieldHelperTextFoundation", "nextElementSibling", "hasHelperLine", "cssClasses", "helperTextEl", "characterCounterStrings", "MDCTextFieldCharacterCounterFoundation", "characterCounterEl", "leadingIconEl", "trailingIconEl", "value", "disabled", "valid", "required", "pattern", "minLength", "maxLength", "min", "max", "step", "content", "label", "useNativeValidation", "openNotch", "adapter", "__assign", "MDCTextFieldFoundation", "_this", "className", "evtType", "handler", "getAttributesList", "mutationsList", "mutation", "attributeName", "observer", "config", "applyPassive", "shouldFloat", "shouldShake", "normalizedX", "labelWidth", "isTextArea", "isOutlined", "matches", "MDCRippleFoundation", "MDCComponent", "id_counter", "next_id", "__name", "_TextField", "BaseComponent", "props", "context", "__publicField", "ref", "e", "onEnter", "onEscape", "onTab", "initial_selection_range", "email", "pattern", "is_valid", "maxLength", "value", "select_all", "align", "className", "full_width", "label", "name", "onFocus", "onKeyDown", "style", "initial_value", "disabled", "dom_ref", "onChange", "initial_focus", "other_attrs", "_", "elm", "MDCTextField", "classNames", "TextField", "init_compat_module", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssClasses", "strings", "numbers", "ELEMENTS_KEY_ALLOWED_IN", "isNumberArray", "selectedIndex", "__name", "MDCListFoundation", "_super", "__extends", "adapter", "_this", "__assign", "numbers", "strings", "cssClasses", "value", "useActivated", "index", "_", "listItemIndex", "evt", "isRootListItem", "isArrowLeft", "isArrowUp", "isArrowRight", "isArrowDown", "isHome", "isEnd", "isEnter", "isSpace", "currentIndex", "nextIndex", "target", "toggleCheckbox", "count", "prevIndex", "lastIndex", "itemIndex", "isEnabled", "tagName", "selectedClassName", "isAriaCurrent", "ariaAttribute", "ariaAttributeValue", "i", "isChecked", "targetIndex", "minIndex", "listSize", "selectedIndexes", "MDCFoundation", "MDCList", "_super", "__extends", "__name", "value", "cssClasses", "isSingleSelectionList", "index", "root", "direction", "strings", "el", "_this", "checkboxListItems", "singleSelectedListItem", "radioSelectedListItem", "preselectedItems", "listItem", "itemIndex", "isEnabled", "adapter", "className", "element", "attr", "toggleEl", "isChecked", "event", "listItemIndex", "tabIndexValue", "listItemChildren", "MDCListFoundation", "evt", "eventTarget", "nearestParent", "closest", "matches", "target", "toggleCheckbox", "MDCComponent", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "__values", "o", "s", "m", "i", "__name", "MDCMenuSurfaceFoundation", "_super", "__extends", "adapter", "_this", "__assign", "Corner", "__name", "cssClasses", "strings", "numbers", "_a", "ROOT", "OPEN", "corner", "margin", "isHoisted", "isFixedPosition", "x", "y", "quickOpen", "skipRestoreFocus", "evt", "el", "keyCode", "key", "isEscape", "maxMenuSurfaceHeight", "verticalAlignment", "CornerBit", "horizontalAlignment", "horizontalOffset", "verticalOffset", "_b", "anchorSize", "surfaceSize", "position", "anchorRect", "bodySize", "viewportSize", "windowScroll", "viewportDistance", "isBottomAligned", "availableTop", "availableBottom", "topOverflow", "bottomOverflow", "isRtl", "isFlipRtl", "avoidHorizontalOverlap", "isAlignedRight", "availableLeft", "availableRight", "leftOverflow", "rightOverflow", "maxHeight", "isBottomAnchored", "MARGIN_TO_EDGE", "isRightAligned", "rightOffset", "avoidVerticalOverlap", "props", "props_1", "__values", "props_1_1", "prop", "value", "isRootFocused", "childHasFocus", "bit", "num", "MDCFoundation", "cachedCssTransformPropertyName_", "getTransformPropertyName", "globalObj", "forceRefresh", "el", "__name", "MDCMenuSurface", "_super", "__extends", "__name", "root", "_this", "parentEl", "cssClasses", "evt", "strings", "skipRestoreFocus", "quickOpen", "isHoisted", "element", "isFixed", "x", "y", "corner", "margin", "adapter", "className", "MDCMenuSurfaceFoundation", "el", "origin", "propertyName", "getTransformPropertyName", "position", "height", "MDCComponent", "cssClasses", "strings", "numbers", "DefaultFocusState", "MDCMenuFoundation", "_super", "__extends", "adapter", "_this", "__assign", "DefaultFocusState", "__name", "cssClasses", "strings", "numbers", "evt", "key", "keyCode", "isTab", "listItem", "index", "recomputedIndex", "MDCMenuSurfaceFoundation", "focusState", "prevSelectedIndex", "isEnabled", "menuSize", "isIndexInRange", "MDCFoundation", "MDCMenu", "_super", "__extends", "__name", "root", "menuSurfaceFactory", "listFactory", "el", "MDCMenuSurface", "MDCList", "_this", "list", "strings", "evt", "MDCMenuSurfaceFoundation", "MDCListFoundation", "value", "quickOpen", "focusState", "corner", "margin", "index", "isEnabled", "items", "isFixed", "isHoisted", "x", "y", "element", "adapter", "className", "attr", "skipRestoreFocus", "evtData", "closest", "cssClasses", "selectionGroupEl", "selectedItemEl", "MDCMenuFoundation", "MDCComponent", "_MenuItem", "BaseComponent", "className", "disabled", "title", "graphic", "meta", "data_test_id", "onClick", "children", "danger", "value", "_", "classNames", "__name", "MenuItem", "_MenuItemDivider", "MenuItemDivider", "_Menu", "__publicField", "b", "search", "search_all_text_nodes", "node", "x", "e", "menu_items", "mdc_menu", "is_valid", "anchor_margin", "auto_focus", "searchable", "search_initial_focus", "Corner", "trap_browser_back", "index", "visible_menu_items", "selected_item", "anchor", "search_label", "hoistedElementClassName", "first_menu_item", "search_pos", "TextField", "$", "MDCMenu", "with_perfect_scrollbar", "Menu", "init_compat_module", "_Page", "N", "__publicField", "suffix", "title", "new_document_title", "top_app_bar", "bottom_app_bar", "drawer", "children", "data_test_id", "_", "k", "__name", "Page", "init_compat_module", "_SearchableList", "x", "__publicField", "b", "__name", "search", "search_all_text_nodes", "node", "after_update", "dividers", "parent", "e", "cancel_event", "items", "onSelected", "target", "value", "is_valid", "index", "dom_menu_items", "search_initial_focus", "search_term", "className", "children_", "search_label", "search_visible", "first_menu_item", "search_pos", "toggle_fold_button_caption", "data_test_id", "style", "search_active", "folded", "children", "O", "_", "TextField", "unfolded_children", "children_that_can_be_folded", "unfold_caption", "fold_caption", "classNames", "with_perfect_scrollbar", "ListItem", "Button", "SearchableList", "init_compat_module", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssClasses", "strings", "numbers", "MDCSelectFoundation", "_super", "__extends", "adapter", "foundationMap", "_this", "__assign", "numbers", "__name", "cssClasses", "strings", "index", "closeMenu", "previouslySelectedIndex", "value", "listItem", "isDisabled", "content", "openNotch", "focusItemIndex", "isRequired", "normalizedX", "event", "isEnter", "isSpace", "arrowUp", "arrowDown", "isFocused", "labelScale", "labelWidth", "label", "isValid", "anchorEl", "Corner", "optionHasValue", "MDCFoundation", "strings", "cssClasses", "MDCSelectHelperTextFoundation", "_super", "__extends", "adapter", "__assign", "__name", "cssClasses", "strings", "content", "isPersistent", "isValidation", "selectIsValid", "helperTextIsPersistent", "helperTextIsValidationMsg", "validationMsgNeedsDisplay", "MDCFoundation", "MDCSelectHelperText", "_super", "__extends", "__name", "root", "_this", "adapter", "className", "attr", "value", "content", "MDCSelectHelperTextFoundation", "MDCComponent", "strings", "INTERACTION_EVENTS", "MDCSelectIconFoundation", "_super", "__extends", "adapter", "_this", "__assign", "evt", "__name", "strings", "evtType", "disabled", "label", "content", "isEnterKey", "MDCFoundation", "MDCSelectIcon", "_super", "__extends", "__name", "root", "_this", "adapter", "attr", "value", "content", "evtType", "handler", "MDCSelectIconFoundation", "MDCComponent", "MDCSelect", "_super", "__extends", "__name", "root", "labelFactory", "lineRippleFactory", "outlineFactory", "menuFactory", "iconFactory", "helperTextFactory", "el", "MDCFloatingLabel", "MDCLineRipple", "MDCNotchedOutline", "MDCMenu", "MDCSelectIcon", "MDCSelectHelperText", "strings", "helperTextElement", "labelElement", "lineRippleElement", "outlineElement", "leadingIcon", "cssClasses", "_this", "evt", "value", "selectedIndex", "disabled", "label", "content", "isValid", "isRequired", "adapter", "__assign", "MDCSelectFoundation", "MDCRipple", "evtType", "handler", "MDCRippleFoundation", "menuItem", "attr", "text", "anchorEl", "anchorCorner", "wrapFocus", "index", "attributeName", "attributeValue", "className", "normalizedX", "labelWidth", "shouldFloat", "targetClientRect", "xCoordinate", "MDCComponent", "_Select", "BaseComponent", "__publicField", "b", "__name", "e", "x", "cancel_event", "search", "discard", "value", "O", "foundation", "children", "select", "index", "prev_suppress_on_change", "adapter", "item", "label", "label_child", "w", "className", "disabled", "data_test_id", "hoistedElementClassName", "disable_type_ahead", "tooltip", "onChange", "other_attrs", "_", "classNames", "MDCSelect", "List", "Select", "init_compat_module", "ARIA_LIVE_DELAY_MS", "numbers", "ARIA_LIVE_LABEL_TEXT_ATTR", "strings", "announce", "ariaEl", "labelEl", "priority", "labelText", "__name", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "OPENING", "cssClasses", "OPEN", "CLOSING", "REASON_ACTION", "strings", "REASON_DISMISS", "MDCSnackbarFoundation", "_super", "__extends", "adapter", "_this", "__assign", "numbers", "__name", "timeoutMs", "reason", "minValue", "maxValue", "indeterminateValue", "closeOnEscape", "evt", "isEscapeKey", "_evt", "callback", "MDCFoundation", "SURFACE_SELECTOR", "strings", "LABEL_SELECTOR", "ACTION_SELECTOR", "DISMISS_SELECTOR", "OPENING_EVENT", "OPENED_EVENT", "CLOSING_EVENT", "CLOSED_EVENT", "MDCSnackbar", "_super", "__extends", "__name", "root", "announcerFactory", "announce", "_this", "evt", "target", "reason", "adapter", "className", "MDCSnackbarFoundation", "timeoutMs", "closeOnEscape", "labelText", "actionButtonText", "handler", "closest", "MDCComponent", "mdc_snackbar", "snackbar_button_elm", "b", "queue", "current", "show_next", "error", "report_error", "__name", "_Snackbar", "BaseComponent", "__publicField", "message", "action_button_label", "action", "reason", "className", "_", "MDCSnackbar", "classNames", "IconButton", "Snackbar", "init_compat_module", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "__read", "o", "n", "m", "i", "r", "ar", "e", "error", "__name", "cssClasses", "strings", "MDCTabScrollerRTL", "adapter", "__name", "MDCTabScrollerRTLDefault", "_super", "__extends", "__name", "currentScrollLeft", "right", "scrollX", "edges", "clampedScrollLeft", "contentWidth", "rootWidth", "MDCTabScrollerRTL", "MDCTabScrollerRTLNegative", "_super", "__extends", "__name", "translateX", "currentScrollLeft", "scrollX", "clampedScrollLeft", "contentWidth", "rootWidth", "edges", "MDCTabScrollerRTL", "MDCTabScrollerRTLReverse", "_super", "__extends", "__name", "translateX", "currentScrollLeft", "scrollX", "clampedScrollLeft", "contentWidth", "rootWidth", "edges", "MDCTabScrollerRTL", "MDCTabScrollerFoundation", "_super", "__extends", "adapter", "_this", "__assign", "__name", "cssClasses", "strings", "horizontalScrollbarHeight", "currentTranslateX", "scrollLeft", "evt", "evtTarget", "scrollXIncrement", "operation", "scrollX", "transformValue", "match", "matrixParams", "_a", "__read", "a", "b", "c", "tx", "ty", "edges", "translateX", "contentWidth", "rootWidth", "currentScrollX", "safeScrollX", "scrollDelta", "animation", "targetScrollX", "currentScrollPosition", "initialScrollLeft", "newScrollLeft", "MDCTabScrollerRTLNegative", "rootClientRect", "contentClientRect", "rightEdgeDelta", "MDCTabScrollerRTLReverse", "MDCTabScrollerRTLDefault", "MDCFoundation", "horizontalScrollbarHeight_", "computeHorizontalScrollbarHeight", "documentObj", "shouldCacheResult", "el", "cssClasses", "horizontalScrollbarHeight", "__name", "MDCTabScroller", "_super", "__extends", "__name", "root", "MDCTabScrollerFoundation", "_this", "evt", "applyPassive", "adapter", "evtTarget", "selector", "matches", "className", "prop", "value", "propName", "scrollX", "computeHorizontalScrollbarHeight", "scrollXIncrement", "MDCComponent", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssClasses", "strings", "MDCTabIndicatorFoundation", "_super", "__extends", "adapter", "__assign", "__name", "cssClasses", "strings", "MDCFoundation", "MDCFadingTabIndicatorFoundation", "_super", "__extends", "__name", "MDCTabIndicatorFoundation", "MDCSlidingTabIndicatorFoundation", "_super", "__extends", "__name", "previousIndicatorClientRect", "MDCTabIndicatorFoundation", "currentClientRect", "widthDelta", "xPosition", "MDCTabIndicator", "_super", "__extends", "__name", "root", "MDCTabIndicatorFoundation", "_this", "adapter", "className", "prop", "value", "MDCFadingTabIndicatorFoundation", "MDCSlidingTabIndicatorFoundation", "previousIndicatorClientRect", "MDCComponent", "cssClasses", "strings", "MDCTabFoundation", "_super", "__extends", "adapter", "_this", "__assign", "__name", "cssClasses", "strings", "focusOnActivate", "previousIndicatorClientRect", "rootWidth", "rootLeft", "contentWidth", "contentLeft", "MDCFoundation", "MDCTab", "_super", "__extends", "__name", "root", "rippleFactory", "tabIndicatorFactory", "el", "foundation", "MDCRipple", "MDCTabIndicator", "rippleSurface", "MDCTabFoundation", "rippleAdapter", "__assign", "className", "varName", "value", "rippleFoundation", "MDCRippleFoundation", "tabIndicatorElement", "_this", "adapter", "attr", "previousIndicatorClientRect", "focusOnActivate", "computeIndicatorClientRect", "MDCComponent", "strings", "numbers", "ACCEPTABLE_KEYS", "strings", "KEYCODE_MAP", "numbers", "MDCTabBarFoundation", "_super", "__extends", "adapter", "_this", "__assign", "__name", "useAutomaticActivation", "index", "previousActiveIndex", "previousClientRect", "evt", "key", "focusedTabIndex", "origin", "isRTL", "maxIndex", "shouldGoToEnd", "shouldDecrement", "shouldIncrement", "nextIndex", "scrollPosition", "barWidth", "nextTabDimensions", "relativeContentLeft", "relativeContentRight", "leftIncrement", "rightIncrement", "scrollContentWidth", "tabDimensions", "relativeRootLeft", "relativeRootRight", "relativeRootDelta", "leftEdgeIsCloser", "rightEdgeIsCloser", "rootLeft", "rootRight", "rootDelta", "scrollIncrement", "scrollWidth", "MDCFoundation", "strings", "MDCTabBarFoundation", "tabIdCounter", "MDCTabBar", "_super", "__extends", "__name", "root", "focusOnActivate", "tab", "useAutomaticActivation", "tabFactory", "tabScrollerFactory", "el", "MDCTab", "MDCTabScroller", "_this", "evt", "MDCTabFoundation", "i", "adapter", "scrollX", "scrollXIncrement", "index", "clientRect", "tabElements", "activeElement", "id", "tabScrollerElement", "MDCComponent", "_Tab", "BaseComponent", "label", "icon", "disabled", "className", "onClick", "data_test_id", "tooltip", "selected", "dense", "_", "classNames", "MDCTab", "simple_tooltip_event_handlers", "__name", "Tab", "_TabBar", "props", "x", "index", "children", "MDCTabBar", "TabBar", "init_compat_module", "_TopAppBar", "N", "navigation_icon", "more_items", "children", "className", "html_props", "_", "classNames", "__name", "TopAppBar", "init_compat_module", "_Avatar", "N", "className", "image_url", "icon", "letter", "very_large", "large", "small", "style", "render_icon", "render_letter", "_", "classNames", "__name", "Avatar", "init_compat_module", "createFocusTrapInstance", "surfaceEl", "focusTrapFactory", "__name", "extendStatics", "__name", "d", "b", "p", "__extends", "__", "__assign", "t", "s", "i", "n", "cssClasses", "strings", "MDCDismissibleDrawerFoundation", "_super", "__extends", "adapter", "_this", "__assign", "__name", "strings", "cssClasses", "evt", "keyCode", "key", "isEscape", "OPENING", "CLOSING", "OPEN", "ANIMATE", "ROOT", "isRootElement", "callback", "element", "MDCFoundation", "MDCModalDrawerFoundation", "_super", "__extends", "__name", "MDCDismissibleDrawerFoundation", "cssClasses", "MDCDismissibleDrawerFoundation", "strings", "MDCDrawer", "_super", "__extends", "__name", "root", "isOpen", "focusTrapFactory", "listFactory", "el", "FocusTrap", "MDCList", "listEl", "MDCListFoundation", "_this", "MODAL", "SCRIM_SELECTOR", "createFocusTrapInstance", "evt", "adapter", "className", "element", "previousFocus", "activeNavItemEl", "DISMISSIBLE", "MDCModalDrawerFoundation", "MDCComponent", "_Drawer", "BaseComponent", "__publicField", "__name", "adapter_", "original_trapFocus", "handle_keydown", "header", "header_style", "children", "className", "_", "MDCDrawer", "classNames", "with_perfect_scrollbar", "Drawer", "init_compat_module", "_StickySnackbar", "BaseComponent", "__publicField", "message", "action_button_label", "action", "mdc_snackbar", "reason", "report_error", "error", "className", "_", "MDCSnackbar", "classNames", "__name", "StickySnackbar"]
}