@descope/web-components-ui 1.100.0 → 1.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +1913 -1637
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1864 -1587
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1995.js +22 -7
- package/dist/umd/1995.js.LICENSE.txt +6 -0
- package/dist/umd/1995.js.map +1 -1
- package/dist/umd/6063.js +18 -0
- package/dist/umd/6063.js.map +1 -0
- package/dist/umd/6818.js +3 -0
- package/dist/umd/6818.js.map +1 -0
- package/dist/umd/{189.js → 8248.js} +4 -4
- package/dist/umd/8248.js.map +1 -0
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/8968.js +432 -0
- package/dist/umd/8968.js.map +1 -0
- package/dist/umd/8983.js +324 -7
- package/dist/umd/8983.js.map +1 -1
- package/dist/umd/{384.js → 9117.js} +9 -121
- package/dist/umd/9117.js.map +1 -0
- package/dist/umd/9275.js +18 -0
- package/dist/umd/9275.js.LICENSE.txt +23 -0
- package/dist/umd/9275.js.map +1 -0
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +338 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-apps-list-index-js.js +1 -1
- package/dist/umd/descope-apps-list-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +4 -4
- package/dist/umd/descope-button.js.LICENSE.txt +0 -6
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-collapsible-container.js +1 -1
- package/dist/umd/descope-collapsible-container.js.map +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +322 -5
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.map +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js.map +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js.map +1 -1
- package/dist/umd/descope-recovery-codes.js +2 -0
- package/dist/umd/descope-recovery-codes.js.map +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
- package/dist/umd/descope-text.js +1 -1
- package/dist/umd/descope-text.js.map +1 -1
- package/dist/umd/descope-timer-button.js +338 -1
- package/dist/umd/descope-timer-button.js.LICENSE.txt +5 -0
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +338 -1
- package/dist/umd/descope-upload-file-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +338 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +338 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.map +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.map +1 -1
- package/package.json +15 -14
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +1 -1
- package/src/theme/components/index.js +2 -0
- package/dist/umd/189.js.map +0 -1
- package/dist/umd/2894.js +0 -339
- package/dist/umd/2894.js.map +0 -1
- package/dist/umd/3792.js +0 -339
- package/dist/umd/3792.js.map +0 -1
- package/dist/umd/384.js.map +0 -1
- package/dist/umd/513.js +0 -339
- package/dist/umd/513.js.map +0 -1
- package/dist/umd/6227.js +0 -320
- package/dist/umd/6227.js.map +0 -1
- package/dist/umd/6649.js +0 -339
- package/dist/umd/6649.js.LICENSE.txt +0 -11
- package/dist/umd/6649.js.map +0 -1
- package/dist/umd/9030.js +0 -339
- package/dist/umd/9030.js.LICENSE.txt +0 -11
- package/dist/umd/9030.js.map +0 -1
- package/dist/umd/9380.js +0 -130
- package/dist/umd/9380.js.map +0 -1
- /package/dist/umd/{189.js.LICENSE.txt → 6063.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6227.js.LICENSE.txt → 6818.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9380.js.LICENSE.txt → 8248.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2894.js.LICENSE.txt → 8968.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3792.js.LICENSE.txt → 9117.js.LICENSE.txt} +0 -0
- /package/dist/umd/{384.js.LICENSE.txt → descope-user-attribute-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{513.js.LICENSE.txt → descope-user-auth-method-index-js.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"6063.js","mappings":"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","sources":["webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/dom-utils.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/browser-utils.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/unique-id-utils.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/slot-styles-mixin.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/vaadin-lumo-styles/sizing.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/slot-controller.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/controller-mixin.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/slot-observer.js","webpack://@descope/web-components-ui/../../../node_modules/@vaadin/component-base/src/tooltip-controller.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\n\n/**\n * Returns an array of ancestor root nodes for the given node.\n *\n * A root node is either a document node or a document fragment node (Shadow Root).\n * The array is collected by a bottom-up DOM traversing that starts with the given node\n * and involves both the light DOM and ancestor shadow DOM trees.\n *\n * @param {Node} node\n * @return {Node[]}\n */\nexport function getAncestorRootNodes(node) {\n const result = [];\n\n while (node) {\n if (node.nodeType === Node.DOCUMENT_NODE) {\n result.push(node);\n break;\n }\n\n if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n result.push(node);\n node = node.host;\n continue;\n }\n\n if (node.assignedSlot) {\n node = node.assignedSlot;\n continue;\n }\n\n node = node.parentNode;\n }\n\n return result;\n}\n\n/**\n * Returns the list of flattened elements for the given `node`.\n * This list consists of a node's children and, for any children that are\n * `<slot>` elements, the expanded flattened list of `assignedElements`.\n *\n * @param {Node} node\n * @return {Element[]}\n */\nexport function getFlattenedElements(node) {\n const result = [];\n let elements;\n if (node.localName === 'slot') {\n elements = node.assignedElements();\n } else {\n result.push(node);\n elements = [...node.children];\n }\n elements.forEach((elem) => result.push(...getFlattenedElements(elem)));\n return result;\n}\n\n/**\n * Traverses the given node and its parents, including those that are across\n * the shadow root boundaries, until it finds a node that matches the selector.\n *\n * @param {string} selector The CSS selector to match against\n * @param {Node} node The starting node for the traversal\n * @return {Node | null} The closest matching element, or null if no match is found\n */\nexport function getClosestElement(selector, node) {\n if (!node) {\n return null;\n }\n\n return node.closest(selector) || getClosestElement(selector, node.getRootNode().host);\n}\n\n/**\n * Takes a string with values separated by space and returns a set the values\n *\n * @param {string} value\n * @return {Set<string>}\n */\nexport function deserializeAttributeValue(value) {\n if (!value) {\n return new Set();\n }\n\n return new Set(value.split(' '));\n}\n\n/**\n * Takes a set of string values and returns a string with values separated by space\n *\n * @param {Set<string>} values\n * @return {string}\n */\nexport function serializeAttributeValue(values) {\n return values ? [...values].join(' ') : '';\n}\n\n/**\n * Adds a value to an attribute containing space-delimited values.\n *\n * @param {HTMLElement} element\n * @param {string} attr\n * @param {string} value\n */\nexport function addValueToAttribute(element, attr, value) {\n const values = deserializeAttributeValue(element.getAttribute(attr));\n values.add(value);\n element.setAttribute(attr, serializeAttributeValue(values));\n}\n\n/**\n * Removes a value from an attribute containing space-delimited values.\n * If the value is the last one, the whole attribute is removed.\n *\n * @param {HTMLElement} element\n * @param {string} attr\n * @param {string} value\n */\nexport function removeValueFromAttribute(element, attr, value) {\n const values = deserializeAttributeValue(element.getAttribute(attr));\n values.delete(value);\n if (values.size === 0) {\n element.removeAttribute(attr);\n return;\n }\n element.setAttribute(attr, serializeAttributeValue(values));\n}\n\n/**\n * Returns true if the given node is an empty text node, false otherwise.\n *\n * @param {Node} node\n * @return {boolean}\n */\nexport function isEmptyTextNode(node) {\n return node.nodeType === Node.TEXT_NODE && node.textContent.trim() === '';\n}\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\n\nconst testUserAgent = (regexp) => regexp.test(navigator.userAgent);\n\nconst testPlatform = (regexp) => regexp.test(navigator.platform);\n\nconst testVendor = (regexp) => regexp.test(navigator.vendor);\n\nexport const isAndroid = testUserAgent(/Android/u);\n\nexport const isChrome = testUserAgent(/Chrome/u) && testVendor(/Google Inc/u);\n\nexport const isFirefox = testUserAgent(/Firefox/u);\n\n// IPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\nexport const isIPad = testPlatform(/^iPad/u) || (testPlatform(/^Mac/u) && navigator.maxTouchPoints > 1);\n\nexport const isIPhone = testPlatform(/^iPhone/u);\n\nexport const isIOS = isIPhone || isIPad;\n\nexport const isSafari = testUserAgent(/^((?!chrome|android).)*safari/iu);\n\nexport const isTouch = (() => {\n try {\n document.createEvent('TouchEvent');\n return true;\n } catch (e) {\n return false;\n }\n})();\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\n\nlet uniqueId = 0;\n\n/**\n * Resets the unique id counter.\n *\n * @return {void}\n */\nexport function resetUniqueId() {\n uniqueId = 0;\n}\n\n/**\n * Returns a unique integer id.\n *\n * @return {number}\n */\nexport function generateUniqueId() {\n // eslint-disable-next-line no-plusplus\n return uniqueId++;\n}\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';\n\nconst stylesMap = new WeakMap();\n\n/**\n * Get all the styles inserted into root.\n * @param {DocumentOrShadowRoot} root\n * @return {Set<string>}\n */\nfunction getRootStyles(root) {\n if (!stylesMap.has(root)) {\n stylesMap.set(root, new Set());\n }\n\n return stylesMap.get(root);\n}\n\n/**\n * Insert styles into the root.\n * @param {string} styles\n * @param {DocumentOrShadowRoot} root\n */\nfunction insertStyles(styles, root) {\n const style = document.createElement('style');\n if(window.DESCOPE_NONCE){\n style.setAttribute('nonce', window.DESCOPE_NONCE);\n }\n style.textContent = styles;\n\n if (root === document) {\n document.head.appendChild(style);\n } else {\n root.insertBefore(style, root.firstChild);\n }\n}\n\n/**\n * Mixin to insert styles into the outer scope to handle slotted components.\n * This is useful e.g. to hide native `<input type=\"number\">` controls.\n *\n * @polymerMixin\n */\nexport const SlotStylesMixin = dedupingMixin(\n (superclass) =>\n class SlotStylesMixinClass extends superclass {\n /**\n * List of styles to insert into root.\n * @protected\n */\n get slotStyles() {\n return {};\n }\n\n /** @protected */\n connectedCallback() {\n super.connectedCallback();\n\n this.__applySlotStyles();\n }\n\n /** @private */\n __applySlotStyles() {\n const root = this.getRootNode();\n const rootStyles = getRootStyles(root);\n\n this.slotStyles.forEach((styles) => {\n if (!rootStyles.has(styles)) {\n insertStyles(styles, root);\n rootStyles.add(styles);\n }\n });\n }\n },\n);\n","/**\n * @license\n * Copyright (c) 2017 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport './version.js';\nimport { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';\nimport { addLumoGlobalStyles } from './global.js';\n\nconst sizing = css`\n :host {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n`;\n\naddLumoGlobalStyles('sizing-props', sizing);\n\nexport { sizing };\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport { isEmptyTextNode } from './dom-utils.js';\nimport { SlotObserver } from './slot-observer.js';\nimport { generateUniqueId } from './unique-id-utils.js';\n\n/**\n * A controller for providing content to slot element and observing changes.\n */\nexport class SlotController extends EventTarget {\n /**\n * Ensure that every instance has unique ID.\n *\n * @param {HTMLElement} host\n * @param {string} slotName\n * @return {string}\n * @protected\n */\n static generateId(host, slotName) {\n const prefix = slotName || 'default';\n return `${prefix}-${host.localName}-${generateUniqueId()}`;\n }\n\n constructor(host, slotName, tagName, config = {}) {\n super();\n\n const { initializer, multiple, observe, useUniqueId } = config;\n\n this.host = host;\n this.slotName = slotName;\n this.tagName = tagName;\n this.observe = typeof observe === 'boolean' ? observe : true;\n this.multiple = typeof multiple === 'boolean' ? multiple : false;\n this.slotInitializer = initializer;\n\n if (multiple) {\n this.nodes = [];\n }\n\n // Only generate the default ID if requested by the controller.\n if (useUniqueId) {\n this.defaultId = this.constructor.generateId(host, slotName);\n }\n }\n\n hostConnected() {\n if (!this.initialized) {\n if (this.multiple) {\n this.initMultiple();\n } else {\n this.initSingle();\n }\n\n if (this.observe) {\n this.observeSlot();\n }\n\n this.initialized = true;\n }\n }\n\n /** @protected */\n initSingle() {\n let node = this.getSlotChild();\n\n if (!node) {\n node = this.attachDefaultNode();\n this.initNode(node);\n } else {\n this.node = node;\n this.initAddedNode(node);\n }\n }\n\n /** @protected */\n initMultiple() {\n const children = this.getSlotChildren();\n\n if (children.length === 0) {\n const defaultNode = this.attachDefaultNode();\n if (defaultNode) {\n this.nodes = [defaultNode];\n this.initNode(defaultNode);\n }\n } else {\n this.nodes = children;\n children.forEach((node) => {\n this.initAddedNode(node);\n });\n }\n }\n\n /**\n * Create and attach default node using the provided tag name, if any.\n * @return {Node | undefined}\n * @protected\n */\n attachDefaultNode() {\n const { host, slotName, tagName } = this;\n\n // Check if the node was created previously and if so, reuse it.\n let node = this.defaultNode;\n\n // Tag name is optional, sometimes we don't init default content.\n if (!node && tagName) {\n node = document.createElement(tagName);\n if (node instanceof Element) {\n if (slotName !== '') {\n node.setAttribute('slot', slotName);\n }\n this.defaultNode = node;\n }\n }\n\n if (node) {\n this.node = node;\n host.appendChild(node);\n }\n\n return node;\n }\n\n /**\n * Return the list of nodes matching the slot managed by the controller.\n * @return {Node}\n */\n getSlotChildren() {\n const { slotName } = this;\n return Array.from(this.host.childNodes).filter((node) => {\n // Either an element (any slot) or a text node (only un-named slot).\n return (\n (node.nodeType === Node.ELEMENT_NODE && node.slot === slotName) ||\n (node.nodeType === Node.TEXT_NODE && node.textContent.trim() && slotName === '')\n );\n });\n }\n\n /**\n * Return a reference to the node managed by the controller.\n * @return {Node}\n */\n getSlotChild() {\n return this.getSlotChildren()[0];\n }\n\n /**\n * Run `slotInitializer` for the node managed by the controller.\n *\n * @param {Node} node\n * @protected\n */\n initNode(node) {\n const { slotInitializer } = this;\n // Don't try to bind `this` to initializer (normally it's arrow function).\n // Instead, pass the host as a first argument to access component's state.\n if (slotInitializer) {\n slotInitializer(node, this.host);\n }\n }\n\n /**\n * Override to initialize the newly added custom node.\n *\n * @param {Node} _node\n * @protected\n */\n initCustomNode(_node) {}\n\n /**\n * Override to teardown slotted node when it's removed.\n *\n * @param {Node} _node\n * @protected\n */\n teardownNode(_node) {}\n\n /**\n * Run both `initCustomNode` and `initNode` for a custom slotted node.\n *\n * @param {Node} node\n * @protected\n */\n initAddedNode(node) {\n if (node !== this.defaultNode) {\n this.initCustomNode(node);\n this.initNode(node);\n }\n }\n\n /**\n * Setup the observer to manage slot content changes.\n * @protected\n */\n observeSlot() {\n const { slotName } = this;\n const selector = slotName === '' ? 'slot:not([name])' : `slot[name=${slotName}]`;\n const slot = this.host.shadowRoot.querySelector(selector);\n\n this.__slotObserver = new SlotObserver(slot, ({ addedNodes, removedNodes }) => {\n const current = this.multiple ? this.nodes : [this.node];\n\n // Calling `slot.assignedNodes()` includes whitespace text nodes in case of default slot:\n // unlike comment nodes, they are not filtered out. So we need to manually ignore them.\n const newNodes = addedNodes.filter((node) => !isEmptyTextNode(node) && !current.includes(node));\n\n if (removedNodes.length) {\n this.nodes = current.filter((node) => !removedNodes.includes(node));\n\n removedNodes.forEach((node) => {\n this.teardownNode(node);\n });\n }\n\n if (newNodes && newNodes.length > 0) {\n if (this.multiple) {\n // Remove default node if exists\n if (this.defaultNode) {\n this.defaultNode.remove();\n }\n this.nodes = [...current, ...newNodes].filter((node) => node !== this.defaultNode);\n newNodes.forEach((node) => {\n this.initAddedNode(node);\n });\n } else {\n // Remove previous node if exists\n if (this.node) {\n this.node.remove();\n }\n this.node = newNodes[0];\n this.initAddedNode(this.node);\n }\n }\n });\n }\n}\n","/**\n * @license\n * Copyright (c) 2021 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';\n\n/**\n * @typedef ReactiveController\n * @type {import('lit').ReactiveController}\n */\n\n/**\n * A mixin for connecting controllers to the element.\n *\n * @polymerMixin\n */\nexport const ControllerMixin = dedupingMixin((superClass) => {\n // If the superclass extends from LitElement,\n // use its own controllers implementation.\n if (typeof superClass.prototype.addController === 'function') {\n return superClass;\n }\n\n return class ControllerMixinClass extends superClass {\n constructor() {\n super();\n\n /**\n * @type {Set<ReactiveController>}\n */\n this.__controllers = new Set();\n }\n\n /** @protected */\n connectedCallback() {\n super.connectedCallback();\n\n this.__controllers.forEach((c) => {\n if (c.hostConnected) {\n c.hostConnected();\n }\n });\n }\n\n /** @protected */\n disconnectedCallback() {\n super.disconnectedCallback();\n\n this.__controllers.forEach((c) => {\n if (c.hostDisconnected) {\n c.hostDisconnected();\n }\n });\n }\n\n /**\n * Registers a controller to participate in the element update cycle.\n *\n * @param {ReactiveController} controller\n * @protected\n */\n addController(controller) {\n this.__controllers.add(controller);\n // Call hostConnected if a controller is added after the element is attached.\n if (this.$ !== undefined && this.isConnected && controller.hostConnected) {\n controller.hostConnected();\n }\n }\n\n /**\n * Removes a controller from the element.\n *\n * @param {ReactiveController} controller\n * @protected\n */\n removeController(controller) {\n this.__controllers.delete(controller);\n }\n };\n});\n","/**\n * @license\n * Copyright (c) 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\n\n/**\n * A helper for observing slot changes.\n */\nexport class SlotObserver {\n constructor(slot, callback) {\n /** @type HTMLSlotElement */\n this.slot = slot;\n\n /** @type Function */\n this.callback = callback;\n\n /** @type {Node[]} */\n this._storedNodes = [];\n\n this._connected = false;\n this._scheduled = false;\n\n this._boundSchedule = () => {\n this._schedule();\n };\n\n this.connect();\n this._schedule();\n }\n\n /**\n * Activates an observer. This method is automatically called when\n * a `SlotObserver` is created. It should only be called to re-activate\n * an observer that has been deactivated via the `disconnect` method.\n */\n connect() {\n this.slot.addEventListener('slotchange', this._boundSchedule);\n this._connected = true;\n }\n\n /**\n * Deactivates the observer. After calling this method the observer callback\n * will not be called when changes to slotted nodes occur. The `connect` method\n * may be subsequently called to reactivate the observer.\n */\n disconnect() {\n this.slot.removeEventListener('slotchange', this._boundSchedule);\n this._connected = false;\n }\n\n /** @private */\n _schedule() {\n if (!this._scheduled) {\n this._scheduled = true;\n\n queueMicrotask(() => {\n this.flush();\n });\n }\n }\n\n /**\n * Run the observer callback synchronously.\n */\n flush() {\n if (!this._connected) {\n return;\n }\n\n this._scheduled = false;\n\n this._processNodes();\n }\n\n /** @private */\n _processNodes() {\n const currentNodes = this.slot.assignedNodes({ flatten: true });\n\n let addedNodes = [];\n const removedNodes = [];\n const movedNodes = [];\n\n if (currentNodes.length) {\n addedNodes = currentNodes.filter((node) => !this._storedNodes.includes(node));\n }\n\n if (this._storedNodes.length) {\n this._storedNodes.forEach((node, index) => {\n const idx = currentNodes.indexOf(node);\n if (idx === -1) {\n removedNodes.push(node);\n } else if (idx !== index) {\n movedNodes.push(node);\n }\n });\n }\n\n if (addedNodes.length || removedNodes.length || movedNodes.length) {\n this.callback({ addedNodes, movedNodes, removedNodes });\n }\n\n this._storedNodes = currentNodes;\n }\n}\n","/**\n * @license\n * Copyright (c) 2022 - 2023 Vaadin Ltd.\n * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/\n */\nimport { SlotController } from './slot-controller.js';\n\n/**\n * A controller that manages the slotted tooltip element.\n */\nexport class TooltipController extends SlotController {\n constructor(host) {\n // Do not provide slot factory to create tooltip lazily.\n super(host, 'tooltip');\n\n this.setTarget(host);\n }\n\n /**\n * Override to initialize the newly added custom tooltip.\n *\n * @param {Node} tooltipNode\n * @protected\n * @override\n */\n initCustomNode(tooltipNode) {\n tooltipNode.target = this.target;\n\n if (this.ariaTarget !== undefined) {\n tooltipNode.ariaTarget = this.ariaTarget;\n }\n\n if (this.context !== undefined) {\n tooltipNode.context = this.context;\n }\n\n if (this.manual !== undefined) {\n tooltipNode.manual = this.manual;\n }\n\n if (this.opened !== undefined) {\n tooltipNode.opened = this.opened;\n }\n\n if (this.position !== undefined) {\n tooltipNode._position = this.position;\n }\n\n if (this.shouldShow !== undefined) {\n tooltipNode.shouldShow = this.shouldShow;\n }\n\n this.__notifyChange();\n }\n\n /**\n * Override to notify the host when the tooltip is removed.\n *\n * @param {Node} tooltipNode\n * @protected\n * @override\n */\n teardownNode() {\n this.__notifyChange();\n }\n\n /**\n * Set an HTML element for linking with the tooltip overlay\n * via `aria-describedby` attribute used by screen readers.\n * @param {HTMLElement} ariaTarget\n */\n setAriaTarget(ariaTarget) {\n this.ariaTarget = ariaTarget;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.ariaTarget = ariaTarget;\n }\n }\n\n /**\n * Set a context object to be used by generator.\n * @param {object} context\n */\n setContext(context) {\n this.context = context;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.context = context;\n }\n }\n\n /**\n * Toggle manual state on the slotted tooltip.\n * @param {boolean} manual\n */\n setManual(manual) {\n this.manual = manual;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.manual = manual;\n }\n }\n\n /**\n * Toggle opened state on the slotted tooltip.\n * @param {boolean} opened\n */\n setOpened(opened) {\n this.opened = opened;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.opened = opened;\n }\n }\n\n /**\n * Set default position for the slotted tooltip.\n * This can be overridden by setting the position\n * using corresponding property or attribute.\n * @param {string} position\n */\n setPosition(position) {\n this.position = position;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode._position = position;\n }\n }\n\n /**\n * Set function used to detect whether to show\n * the tooltip based on a condition.\n * @param {Function} shouldShow\n */\n setShouldShow(shouldShow) {\n this.shouldShow = shouldShow;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.shouldShow = shouldShow;\n }\n }\n\n /**\n * Set an HTML element to attach the tooltip to.\n * @param {HTMLElement} target\n */\n setTarget(target) {\n this.target = target;\n\n const tooltipNode = this.node;\n if (tooltipNode) {\n tooltipNode.target = target;\n }\n }\n\n /** @private */\n __notifyChange() {\n this.dispatchEvent(new CustomEvent('tooltip-changed', { detail: { node: this.node } }));\n }\n}\n"],"names":["getAncestorRootNodes","node","result","nodeType","Node","DOCUMENT_NODE","push","DOCUMENT_FRAGMENT_NODE","assignedSlot","parentNode","host","getFlattenedElements","elements","localName","assignedElements","children","forEach","elem","getClosestElement","selector","closest","getRootNode","deserializeAttributeValue","value","Set","split","serializeAttributeValue","values","join","addValueToAttribute","element","attr","getAttribute","add","setAttribute","removeValueFromAttribute","delete","size","removeAttribute","isEmptyTextNode","TEXT_NODE","textContent","trim","testUserAgent","regexp","test","navigator","userAgent","testPlatform","platform","isAndroid","isChrome","vendor","isFirefox","isIPad","maxTouchPoints","isIOS","isSafari","isTouch","document","createEvent","e","uniqueId","generateUniqueId","stylesMap","WeakMap","SlotStylesMixin","superclass","slotStyles","connectedCallback","super","this","__applySlotStyles","root","rootStyles","has","set","get","getRootStyles","styles","style","createElement","window","DESCOPE_NONCE","head","appendChild","insertBefore","firstChild","insertStyles","sizing","SlotController","EventTarget","generateId","slotName","constructor","tagName","config","initializer","multiple","observe","useUniqueId","slotInitializer","nodes","defaultId","hostConnected","initialized","initMultiple","initSingle","observeSlot","getSlotChild","initAddedNode","attachDefaultNode","initNode","getSlotChildren","length","defaultNode","Element","Array","from","childNodes","filter","ELEMENT_NODE","slot","initCustomNode","_node","teardownNode","shadowRoot","querySelector","__slotObserver","addedNodes","removedNodes","current","newNodes","includes","remove","ControllerMixin","superClass","prototype","addController","__controllers","c","disconnectedCallback","hostDisconnected","controller","undefined","$","isConnected","removeController","SlotObserver","callback","_storedNodes","_connected","_scheduled","_boundSchedule","_schedule","connect","addEventListener","disconnect","removeEventListener","queueMicrotask","flush","_processNodes","currentNodes","assignedNodes","flatten","movedNodes","index","idx","indexOf","TooltipController","setTarget","tooltipNode","target","ariaTarget","context","manual","opened","position","_position","shouldShow","__notifyChange","setAriaTarget","setContext","setManual","setOpened","setPosition","setShouldShow","dispatchEvent","CustomEvent","detail"],"sourceRoot":""}
|
package/dist/umd/6818.js
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
/*! For license information please see 6818.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[6818],{10744:(t,e,i)=>{i.d(e,{O2:()=>a,c0:()=>l,rG:()=>h}),i(68358);let r,s,n=/(url\()([^)]*)(\))/g,o=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&o.test(t))return t;if("//"===t)return t;if(void 0===r){r=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",r="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),r)try{return new URL(t,e).href}catch(e){return t}return s||(s=document.implementation.createHTMLDocument("temp"),s.base=s.createElement("base"),s.head.appendChild(s.base),s.anchor=s.createElement("a"),s.body.appendChild(s.anchor)),s.base.href=e,s.anchor.href=t,s.anchor.href||t}function l(t,e){return t.replace(n,(function(t,i,r,s){return i+"'"+a(r.replace(/["']/g,""),e)+"'"+s}))}function h(t){return t.substring(0,t.lastIndexOf("/")+1)}},13256:(t,e,i)=>{i.d(e,{Pu:()=>Ft,qy:()=>zt.q}),i(68358);var r=i(82663),s=i(98741),n=i(10744);let o={},a={};function l(t,e){o[t]=a[t.toLowerCase()]=e}function h(t){return o[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let i=h(t);return i&&e?i.querySelector(e):i}return null}attributeChangedCallback(t,e,i,r){e!==i&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,n.O2)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,n.rG)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(r.yu&&void 0!==h(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=o,customElements.define("dom-module",c);const d="shady-unscoped";function p(t){return c.import(t)}function u(t){let e=t.body?t.body:t;const i=(0,n.c0)(e.textContent,t.baseURI),r=document.createElement("style");return r.textContent=i,r}function _(t){const e=t.trim().split(/\s+/),i=[];for(let t=0;t<e.length;t++)i.push(...f(e[t]));return i}function f(t){const e=p(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...y(e));const i=e.querySelector("template");i&&t.push(...m(i,e.assetpath)),e._styles=t}return e._styles}function m(t,e){if(!t._styles){const i=[],r=t.content.querySelectorAll("style");for(let t=0;t<r.length;t++){let s=r[t],o=s.getAttribute("include");o&&i.push(..._(o).filter((function(t,e,i){return i.indexOf(t)===e}))),e&&(s.textContent=(0,n.c0)(s.textContent,e)),i.push(s)}t._styles=i}return t._styles}function y(t){const e=[],i=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<i.length;t++){let r=i[t];if(r.import){const t=r.import,i=r.hasAttribute(d);if(i&&!t._unscopedStyle){const e=u(t);e.setAttribute(d,""),t._unscopedStyle=e}else t._style||(t._style=u(t));e.push(i?t._unscopedStyle:t._style)}}return e}const g=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t;function P(t){return t.indexOf(".")>=0}function b(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function w(t,e){return 0===e.indexOf(t+".")}function A(t,e,i){return e+i.slice(t.length)}function C(t){if(Array.isArray(t)){let e=[];for(let i=0;i<t.length;i++){let r=t[i].toString().split(".");for(let t=0;t<r.length;t++)e.push(r[t])}return e.join(".")}return t}function v(t){return Array.isArray(t)?C(t).split("."):t.toString().split(".")}function E(t,e,i){let r=t,s=v(e);for(let t=0;t<s.length;t++){if(!r)return;r=r[s[t]]}return i&&(i.path=s.join(".")),r}function S(t,e,i){let r=t,s=v(e),n=s[s.length-1];if(s.length>1){for(let t=0;t<s.length-1;t++)if(r=r[s[t]],!r)return;r[n]=i}else r[e]=i;return s.join(".")}const O={},T=/-[a-z]/g,$=/([A-Z])/g;function N(t){return O[t]||(O[t]=t.indexOf("-")<0?t:t.replace(T,(t=>t[1].toUpperCase())))}function x(t){return O[t]||(O[t]=t.replace($,"-$1").toLowerCase())}let I=0,R=0,M=[],H=0,L=!1,k=document.createTextNode("");new window.MutationObserver((function(){L=!1;const t=M.length;for(let e=0;e<t;e++){let t=M[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}M.splice(0,t),R+=t})).observe(k,{characterData:!0});const D={run:t=>(L||(L=!0,k.textContent=H++),M.push(t),I++),cancel(t){const e=t-R;if(e>=0){if(!M[e])throw new Error("invalid async handle: "+t);M[e]=null}}},U=(0,s.y)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let i in t)i in e||e._createPropertyAccessor(i)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,i){let r=this.__data[t],s=this._shouldPropertyChange(t,e,r);return s&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=r),this.__data[t]=e,this.__dataPending[t]=e),s}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,D.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,i=this.__dataOld;this._shouldPropertiesChange(t,e,i)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,i)),this.__dataCounter--}_shouldPropertiesChange(t,e,i){return Boolean(e)}_propertiesChanged(t,e,i){}_shouldPropertyChange(t,e,i){return i!==e&&(i==i||e==e)}attributeChangedCallback(t,e,i,r){e!==i&&this._attributeToProperty(t,i),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,i,r)}_attributeToProperty(t,e,i){if(!this.__serializing){const r=this.__dataAttributes,s=r&&r[t]||t;this[s]=this._deserializeValue(e,i||this.constructor.typeForProperty(s))}}_propertyToAttribute(t,e,i){this.__serializing=!0,i=arguments.length<3?this[t]:i,this._valueToNodeAttribute(this,i,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,i){const r=this._serializeValue(e);"class"!==i&&"name"!==i&&"slot"!==i||(t=g(t)),void 0===r?t.removeAttribute(i):t.setAttribute(i,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})),z={};let F=HTMLElement.prototype;for(;F;){let t=Object.getOwnPropertyNames(F);for(let e=0;e<t.length;e++)z[t[e]]=!0;F=Object.getPrototypeOf(F)}const j=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,B=(0,s.y)((t=>{const e=U(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(N(t[e]))}static attributeNameForProperty(t){return x(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(j(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let i;switch(e){case Object:try{i=JSON.parse(t)}catch(e){i=t}break;case Array:try{i=JSON.parse(t)}catch(e){i=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:i=isNaN(t)?String(t):Number(t),i=new Date(i);break;default:i=super._deserializeValue(t,e)}return i}_definePropertyAccessor(t,e){!function(t,e){if(!z[e]){let i=t[e];void 0!==i&&(t.__data?t._setPendingProperty(e,i):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=i))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),V={"dom-if":!0,"dom-repeat":!0};let q=!1,J=!1;const W=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,i,r)=>{const s=i.getAttribute(r);t&&r.startsWith("on-")?e.setAttribute(r,t.createScript(s,r)):e.setAttribute(r,s)}})();function Y(t){let e=t.getAttribute("is");if(e&&V[e]){let i=t;for(i.removeAttribute("is"),t=i.ownerDocument.createElement(e),i.parentNode.replaceChild(t,i),t.appendChild(i);i.attributes.length;){const{name:e}=i.attributes[0];W(t,i,e),i.removeAttribute(e)}}return t}function X(t,e){let i=e.parentInfo&&X(t,e.parentInfo);if(!i)return t;for(let t=i.firstChild,r=0;t;t=t.nextSibling)if(e.parentIndex===r++)return t}function G(t,e,i,r){r.id&&(e[r.id]=i)}function K(t,e,i){if(i.events&&i.events.length)for(let r,s=0,n=i.events;s<n.length&&(r=n[s]);s++)t._addMethodEventListenerToNode(e,r.name,r.value,t)}function Z(t,e,i,r){i.templateInfo&&(e._templateInfo=i.templateInfo,e._parentTemplateInfo=r)}const Q=(0,s.y)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let i=t._templateInfo={};i.nodeInfoList=[],i.nestedTemplate=Boolean(e),i.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,i,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,i){return this._parseTemplateNode(t.content,e,i)}static _parseTemplateNode(t,e,i){let r=!1,s=t;return"template"!=s.localName||s.hasAttribute("preserve-content")?"slot"===s.localName&&(e.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(s,e,i)||r,function(t){(function(){if(!q){q=!0;const t=document.createElement("textarea");t.placeholder="a",J=t.placeholder===t.textContent}return J})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(s),s.firstChild&&this._parseTemplateChildNodes(s,e,i),s.hasAttributes&&s.hasAttributes()&&(r=this._parseTemplateNodeAttributes(s,e,i)||r),r||i.noted}static _parseTemplateChildNodes(t,e,i){if("script"!==t.localName&&"style"!==t.localName)for(let r,s=t.firstChild,n=0;s;s=r){if("template"==s.localName&&(s=Y(s)),r=s.nextSibling,s.nodeType===Node.TEXT_NODE){let i=r;for(;i&&i.nodeType===Node.TEXT_NODE;)s.textContent+=i.textContent,r=i.nextSibling,t.removeChild(i),i=r;if(e.stripWhiteSpace&&!s.textContent.trim()){t.removeChild(s);continue}}let o={parentIndex:n,parentInfo:i};this._parseTemplateNode(s,e,o)&&(o.infoIndex=e.nodeInfoList.push(o)-1),s.parentNode&&n++}}static _parseTemplateNestedTemplate(t,e,i){let r=t,s=this._parseTemplate(r,e);return(s.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),i.templateInfo=s,!0}static _parseTemplateNodeAttributes(t,e,i){let r=!1,s=Array.from(t.attributes);for(let n,o=s.length-1;n=s[o];o--)r=this._parseTemplateNodeAttribute(t,e,i,n.name,n.value)||r;return r}static _parseTemplateNodeAttribute(t,e,i,r,s){return"on-"===r.slice(0,3)?(t.removeAttribute(r),i.events=i.events||[],i.events.push({name:r.slice(3),value:s}),!0):"id"===r&&(i.id=s,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let i=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,r=e.content||t.content,s=document.importNode(r,!0);s.__noInsertionPoint=!e.hasInsertionPoint;let n=s.nodeList=new Array(i.length);s.$={};for(let t,r=0,o=i.length;r<o&&(t=i[r]);r++){let i=n[r]=X(s,t);G(0,s.$,i,t),Z(0,i,t,e),K(this,i,t)}return s}_addMethodEventListenerToNode(t,e,i,r){let s=function(t,e,i){return t=t._methodHost||t,function(e){t[i]?t[i](e,e.detail):console.warn("listener method `"+i+"` not defined")}}(r=r||t,0,i);return this._addEventListenerToNode(t,e,s),s}_addEventListenerToNode(t,e,i){t.addEventListener(e,i)}_removeEventListenerFromNode(t,e,i){t.removeEventListener(e,i)}}));let tt=0;const et=[],it={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},rt="__computeInfo",st=/[A-Z]/;function nt(t,e,i){let r=t[e];if(r){if(!t.hasOwnProperty(e)&&(r=t[e]=Object.create(t[e]),i))for(let t in r){let e=r[t],i=r[t]=Array(e.length);for(let t=0;t<e.length;t++)i[t]=e[t]}}else r=t[e]={};return r}function ot(t,e,i,r,s,n){if(e){let o=!1;const a=tt++;for(let l in i){let h=e[s?b(l):l];if(h)for(let e,c=0,d=h.length;c<d&&(e=h[c]);c++)e.info&&e.info.lastRun===a||s&&!lt(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,i,r,e.info,s,n),o=!0)}return o}return!1}function at(t,e,i,r,s,n,o,a){let l=!1,h=e[o?b(r):r];if(h)for(let e,c=0,d=h.length;c<d&&(e=h[c]);c++)e.info&&e.info.lastRun===i||o&&!lt(r,e.trigger)||(e.info&&(e.info.lastRun=i),e.fn(t,r,s,n,e.info,o,a),l=!0);return l}function lt(t,e){if(e){let i=e.name;return i==t||!(!e.structured||!function(t,e){return 0===t.indexOf(e+".")}(i,t))||!(!e.wildcard||!w(i,t))}return!0}function ht(t,e,i,r,s){let n="string"==typeof s.method?t[s.method]:s.method,o=s.property;n?n.call(t,t.__data[o],r[o]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function ct(t,e,i){let r=b(e);return r!==e&&(dt(t,x(r)+"-changed",i[e],e),!0)}function dt(t,e,i,r){let s={value:i,queueProperty:!0};r&&(s.path=r),g(t).dispatchEvent(new CustomEvent(e,{detail:s}))}function pt(t,e,i,r,s,n){let o=(n?b(e):e)!=e?e:null,a=o?E(t,o):t.__data[e];o&&void 0===a&&(a=i[e]),dt(t,s.eventName,a,o)}function ut(t,e,i,s,n){let o=t.__data[e];r.dV&&(o=(0,r.dV)(o,n.attrName,"attribute",t)),t._propertyToAttribute(e,n.attrName,o)}const _t=(t,e,i)=>{let r=0,s=e.length-1,n=-1;for(;r<=s;){const o=r+s>>1,a=i.get(e[o].methodInfo)-i.get(t.methodInfo);if(a<0)r=o+1;else{if(!(a>0)){n=o;break}s=o-1}}n<0&&(n=s+1),e.splice(n,0,t)},ft=(t,e,i,r,s)=>{const n=e[s?b(t):t];if(n)for(let e=0;e<n.length;e++){const o=n[e];o.info.lastRun===tt||s&&!lt(t,o.trigger)||(o.info.lastRun=tt,_t(o.info,i,r))}};function mt(t,e,i,r,s){let n=Ct(t,e,i,0,s);if(n===et)return!1;let o=s.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[o]?t._setPendingProperty(o,n,!0):(t[o]=n,!1)}function yt(t,e,i,r,s,n,o){i.bindings=i.bindings||[];let a={kind:r,target:s,parts:n,literal:o,isCompound:1!==n.length};if(i.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||x(s)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let i=0;i<a.parts.length;i++){let r=a.parts[i];r.compoundIndex=i,gt(t,e,a,r,l)}}function gt(t,e,i,r,s){if(!r.literal)if("attribute"===i.kind&&"-"===i.target[0])console.warn("Cannot set attribute "+i.target+' because "-" is not a valid attribute starting character');else{let n=r.dependencies,o={index:s,binding:i,part:r,evaluator:t};for(let i=0;i<n.length;i++){let r=n[i];"string"==typeof r&&(r=Nt(r),r.wildcard=!0),t._addTemplatePropertyEffect(e,r.rootProperty,{fn:Pt,info:o,trigger:r})}}}function Pt(t,e,i,s,n,o,a){let l=a[n.index],h=n.binding,c=n.part;if(o&&c.source&&e.length>c.source.length&&"property"==h.kind&&!h.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[h.target]){let r=i[e];e=A(c.source,h.target,e),l._setPendingPropertyOrPath(e,r,!1,!0)&&t._enqueueClient(l)}else{let a=n.evaluator._evaluateBinding(t,c,e,i,s,o);a!==et&&function(t,e,i,s,n){if(n=function(t,e,i,r){if(i.isCompound){let s=t.__dataCompoundStorage[i.target];s[r.compoundIndex]=e,e=s.join("")}return"attribute"!==i.kind&&("textContent"!==i.target&&("value"!==i.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,n,i,s),r.dV&&(n=(0,r.dV)(n,i.target,i.kind,e)),"attribute"==i.kind)t._valueToNodeAttribute(e,n,i.target);else{let r=i.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[r]?e[it.READ_ONLY]&&e[it.READ_ONLY][r]||e._setPendingProperty(r,n)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,r,n)}}(t,l,h,c,a)}}function bt(t,e){if(e.isCompound){let i=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),r=e.parts,s=new Array(r.length);for(let t=0;t<r.length;t++)s[t]=r[t].literal;let n=e.target;i[n]=s,e.literal&&"property"==e.kind&&("className"===n&&(t=g(t)),t[n]=e.literal)}}function wt(t,e,i){if(i.listenerEvent){let r=i.parts[0];t.addEventListener(i.listenerEvent,(function(t){!function(t,e,i,r,s){let n,o=t.detail,a=o&&o.path;a?(r=A(i,r,a),n=o&&o.value):n=t.currentTarget[i],n=s?!n:n,e[it.READ_ONLY]&&e[it.READ_ONLY][r]||!e._setPendingPropertyOrPath(r,n,!0,Boolean(a))||o&&o.queueProperty||e._invalidateProperties()}(t,e,i.target,r.source,r.negate)}))}}function At(t,e,i,r,s,n){n=e.static||n&&("object"!=typeof n||n[e.methodName]);let o={methodName:e.methodName,args:e.args,methodInfo:s,dynamicFn:n};for(let s,n=0;n<e.args.length&&(s=e.args[n]);n++)s.literal||t._addPropertyEffect(s.rootProperty,i,{fn:r,info:o,trigger:s});return n&&t._addPropertyEffect(e.methodName,i,{fn:r,info:o}),o}function Ct(t,e,i,r,s){let n=t._methodHost||t,o=n[s.methodName];if(o){let r=t._marshalArgs(s.args,e,i);return r===et?et:o.apply(n,r)}s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const vt=[],Et="(?:[a-zA-Z_$][\\w.:$\\-*]*)",St="(?:("+Et+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Ot=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+Et+"\\s*(?:\\(\\s*(?:(?:"+St+"(?:,\\s*"+St+")*)?)\\)\\s*)?)(?:]]|}})","g");function Tt(t){let e="";for(let i=0;i<t.length;i++)e+=t[i].literal||"";return e}function $t(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:vt};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let i=Nt(t);return i.literal||(e.static=!1),i}),this),e}(e[2].replace(/\\,/g,",").split(","),t):t}return null}function Nt(t){let e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),i={name:e,value:"",literal:!1},r=e[0];switch("-"===r&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':i.value=e.slice(1,-1),i.literal=!0;break;case"#":i.value=Number(e),i.literal=!0}return i.literal||(i.rootProperty=b(e),i.structured=P(e),i.structured&&(i.wildcard=".*"==e.slice(-2),i.wildcard&&(i.name=e.slice(0,-2)))),i}function xt(t,e,i){let r=E(t,i);return void 0===r&&(r=e[i]),r}function It(t,e,i,s){const n={indexSplices:s};r.oO&&!t._overrideLegacyUndefined&&(e.splices=n),t.notifyPath(i+".splices",n),t.notifyPath(i+".length",e.length),r.oO&&!t._overrideLegacyUndefined&&(n.indexSplices=[])}function Rt(t,e,i,r,s,n){It(t,e,i,[{index:r,addedCount:s,removed:n,object:e,type:"splice"}])}const Mt=(0,s.y)((t=>{const e=Q(B(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return it}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Ht.length){let t=Ht[Ht.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[it.READ_ONLY];for(let i in t)e&&e[i]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[i]=this.__dataPending[i]=t[i])}_addPropertyEffect(t,e,i){this._createPropertyAccessor(t,e==it.READ_ONLY);let r=nt(this,e,!0)[t];r||(r=this[e][t]=[]),r.push(i)}_removePropertyEffect(t,e,i){let r=nt(this,e,!0)[t],s=r.indexOf(i);s>=0&&r.splice(s,1)}_hasPropertyEffect(t,e){let i=this[e];return Boolean(i&&i[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,it.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,it.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,it.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,it.COMPUTE)}_setPendingPropertyOrPath(t,e,i,r){if(r||b(Array.isArray(t)?t[0]:t)!==t){if(!r){let i=E(this,t);if(!(t=S(this,t,e))||!super._shouldPropertyChange(t,e,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,i))return function(t,e,i){let r=t.__dataLinkedPaths;if(r){let s;for(let n in r){let o=r[n];w(n,e)?(s=A(n,o,e),t._setPendingPropertyOrPath(s,i,!0,!0)):w(o,e)&&(s=A(o,n,e),t._setPendingPropertyOrPath(s,i,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,i);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,i){i===t[e]&&"object"!=typeof i||("className"===e&&(t=g(t)),t[e]=i)}_setPendingProperty(t,e,i){let r=this.__dataHasPaths&&P(t),s=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,s[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),r?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(r||this[it.NOTIFY]&&this[it.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=i),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let i=t[e];i.__dataEnabled?i.__dataPending&&i._flushProperties():i._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let i in t)!e&&this[it.READ_ONLY]&&this[it.READ_ONLY][i]||this._setPendingPropertyOrPath(i,t[i],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,i){let s,n=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,i,s){let n=t[it.COMPUTE];if(n)if(r.Xj){tt++;const r=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const i=t[it.COMPUTE];let r,{counts:s,ready:n,total:o}=function(t){const e=t[rt],i={},r=t[it.COMPUTE],s=[];let n=0;for(let t in e){const r=e[t];n+=i[t]=r.args.filter((t=>!t.literal)).length+(r.dynamicFn?1:0)}for(let t in r)e[t]||s.push(t);return{counts:i,ready:s,total:n}}(t);for(;r=n.shift();){e.set(r,e.size);const t=i[r];t&&t.forEach((t=>{const e=t.info.methodInfo;--o,0==--s[e]&&n.push(e)}))}if(0!==o){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),o=[];for(let t in e)ft(t,n,o,r,s);let a;for(;a=o.shift();)mt(t,"",e,0,a)&&ft(a.methodInfo,n,o,r,s);Object.assign(i,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let r=e;for(;ot(t,n,r,i,s);)Object.assign(i,t.__dataOld),Object.assign(e,t.__dataPending),r=t.__dataPending,t.__dataPending=null}}(this,e,i,n),s=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,i,n),this._flushClients(),ot(this,this[it.REFLECT],e,i,n),ot(this,this[it.OBSERVE],e,i,n),s&&function(t,e,i,r,s){let n,o,a=t[it.NOTIFY],l=tt++;for(let o in e)e[o]&&(a&&at(t,a,l,o,i,r,s)||s&&ct(t,o,i))&&(n=!0);n&&(o=t.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,s,e,i,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,i){this[it.PROPAGATE]&&ot(this,this[it.PROPAGATE],t,e,i),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,i)}_runEffectsForTemplate(t,e,i,r){const s=(e,r)=>{ot(this,t.propertyEffects,e,i,r,t.nodeList);for(let s=t.firstChild;s;s=s.nextSibling)this._runEffectsForTemplate(s,e,i,r)};t.runEffects?t.runEffects(s,e,r):s(e,r)}linkPaths(t,e){t=C(t),e=C(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=C(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let i={path:""};It(this,E(this,t,i),i.path,e)}get(t,e){return E(e||this,t)}set(t,e,i){i?S(i,t,e):this[it.READ_ONLY]&&this[it.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let i={path:""},r=E(this,t,i),s=r.length,n=r.push(...e);return e.length&&Rt(this,r,i.path,s,e.length,[]),n}pop(t){let e={path:""},i=E(this,t,e),r=Boolean(i.length),s=i.pop();return r&&Rt(this,i,e.path,i.length,0,[s]),s}splice(t,e,i,...r){let s,n={path:""},o=E(this,t,n);return e<0?e=o.length-Math.floor(-e):e&&(e=Math.floor(e)),s=2===arguments.length?o.splice(e):o.splice(e,i,...r),(r.length||s.length)&&Rt(this,o,n.path,e,r.length,s),s}shift(t){let e={path:""},i=E(this,t,e),r=Boolean(i.length),s=i.shift();return r&&Rt(this,i,e.path,0,0,[s]),s}unshift(t,...e){let i={path:""},r=E(this,t,i),s=r.unshift(...e);return e.length&&Rt(this,r,i.path,0,e.length,[]),s}notifyPath(t,e){let i;if(1==arguments.length){let r={path:""};e=E(this,t,r),i=r.path}else i=Array.isArray(t)?C(t):t;this._setPendingPropertyOrPath(i,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var i;this._addPropertyEffect(t,it.READ_ONLY),e&&(this["_set"+(i=t,i[0].toUpperCase()+i.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,i){let r={property:t,method:e,dynamicFn:Boolean(i)};this._addPropertyEffect(t,it.OBSERVE,{fn:ht,info:r,trigger:{name:t}}),i&&this._addPropertyEffect(e,it.OBSERVE,{fn:ht,info:r,trigger:{name:e}})}_createMethodObserver(t,e){let i=$t(t);if(!i)throw new Error("Malformed observer expression '"+t+"'");At(this,i,it.OBSERVE,Ct,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,it.NOTIFY,{fn:pt,info:{eventName:x(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,it.REFLECT,{fn:ut,info:{attrName:e}})}_createComputedProperty(t,e,i){let r=$t(e);if(!r)throw new Error("Malformed computed expression '"+e+"'");const s=At(this,r,it.COMPUTE,mt,t,i);nt(this,rt)[t]=s}_marshalArgs(t,e,i){const s=this.__data,n=[];for(let o=0,a=t.length;o<a;o++){let{name:a,structured:l,wildcard:h,value:c,literal:d}=t[o];if(!d)if(h){const t=w(a,e),r=xt(s,i,t?e:a);c={path:t?e:a,value:r,base:t?E(s,a):r}}else c=l?xt(s,i,a):s[a];if(r.oO&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return et;n[o]=c}return n}static addPropertyEffect(t,e,i){this.prototype._addPropertyEffect(t,e,i)}static createPropertyObserver(t,e,i){this.prototype._createPropertyObserver(t,e,i)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,i){this.prototype._createComputedProperty(t,e,i)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let i=this.constructor._parseTemplate(t),r=this.__preBoundTemplateInfo==i;if(!r)for(let t in i.propertyEffects)this._createPropertyAccessor(t);if(e)if(i=Object.create(i),i.wasPreBound=r,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,r=e.lastChild;i.parent=e,e.lastChild=i,i.previousSibling=r,r?r.nextSibling=i:e.firstChild=i}else this.__templateInfo=i;else this.__preBoundTemplateInfo=i;return i}static _addTemplatePropertyEffect(t,e,i){(t.hostProps=t.hostProps||{})[e]=!0;let r=t.propertyEffects=t.propertyEffects||{};(r[e]=r[e]||[]).push(i)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),Ht.push(this);let i=super._stampTemplate(t,e);if(Ht.pop(),e.nodeList=i.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=i.firstChild;e;e=e.nextSibling)t.push(e)}return i.templateInfo=e,function(t,e){let{nodeList:i,nodeInfoList:r}=e;if(r.length)for(let e=0;e<r.length;e++){let s=r[e],n=i[e],o=s.bindings;if(o)for(let e=0;e<o.length;e++){let i=o[e];bt(n,i),wt(n,t,i)}n.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),i}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:i,nextSibling:r,parent:s}=e;i?i.nextSibling=r:s&&(s.firstChild=r),r?r.previousSibling=i:s&&(s.lastChild=i),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];g(g(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,i,r){let s=e._parseTemplateNode.call(this,t,i,r);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,i);e&&(t.textContent=Tt(e)||" ",yt(this,i,r,"text","textContent",e),s=!0)}return s}static _parseTemplateNodeAttribute(t,i,r,s,n){let o=this._parseBindings(n,i);if(o){let e=s,n="property";st.test(s)?n="attribute":"$"==s[s.length-1]&&(s=s.slice(0,-1),n="attribute");let a=Tt(o);return a&&"attribute"==n&&("class"==s&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(s)),t.setAttribute(s,a)),"attribute"==n&&"disable-upgrade$"==e&&t.setAttribute(s,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===n&&(s=N(s)),yt(this,i,r,n,s,o,a),!0}return e._parseTemplateNodeAttribute.call(this,t,i,r,s,n)}static _parseTemplateNestedTemplate(t,i,s){let n=e._parseTemplateNestedTemplate.call(this,t,i,s);const o=t.parentNode,a=s.templateInfo,l="dom-if"===o.localName,h="dom-repeat"===o.localName;r.fF&&(l||h)&&(o.removeChild(t),(s=s.parentInfo).templateInfo=a,s.noted=!0,n=!1);let c=a.hostProps;if(r.s&&l)c&&(i.hostProps=Object.assign(i.hostProps||{},c),r.fF||(s.parentInfo.noted=!0));else{let t="{";for(let e in c)yt(this,i,s,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return n}static _parseBindings(t,e){let i,r=[],s=0;for(;null!==(i=Ot.exec(t));){i.index>s&&r.push({literal:t.slice(s,i.index)});let n=i[1][0],o=Boolean(i[2]),a=i[3].trim(),l=!1,h="",c=-1;"{"==n&&(c=a.indexOf("::"))>0&&(h=a.substring(c+2),a=a.substring(0,c),l=!0);let d=$t(a),p=[];if(d){let{args:t,methodName:i}=d;for(let e=0;e<t.length;e++){let i=t[e];i.literal||p.push(i)}let r=e.dynamicFns;(r&&r[i]||d.static)&&(p.push(i),d.dynamicFn=!0)}else p.push(a);r.push({source:a,mode:n,negate:o,customEvent:l,signature:d,dependencies:p,event:h}),s=Ot.lastIndex}if(s&&s<t.length){let e=t.substring(s);e&&r.push({literal:e})}return r.length?r:null}static _evaluateBinding(t,e,i,r,s,n){let o;return o=e.signature?Ct(t,i,r,0,e.signature):i!=e.source?E(t,e.source):n&&P(i)?E(t,i):t.__data[i],e.negate&&(o=!o),o}}})),Ht=[],Lt=[],kt=(0,s.y)((t=>{const e=U(t);function i(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof s?e:null}function r(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const i=t.properties;i&&(e=function(t){const e={};for(let i in t){const r=t[i];e[i]="function"==typeof r?{type:r}:r}return e}(i))}t.__ownProperties=e}return t.__ownProperties}class s extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,Lt.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=i(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=r(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=i(this);this.__properties=Object.assign({},t&&t._properties,r(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return s})),Dt=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ut=(0,s.y)((t=>{const e=kt(Mt(t));function i(t,e,i,r){i.computed&&(i.readOnly=!0),i.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,i.computed,r)),i.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!i.computed):!1===i.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),i.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===i.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),i.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===i.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),i.observer&&t._createPropertyObserver(e,i.observer,r[i.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((i=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",i))||(i.__ownObservers=i.hasOwnProperty(JSCompiler_renameProperty("observers",i))?i.observers:null),i.__ownObservers);var i;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):r.IP||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)i(this.prototype,e,t[e],t)}static createObservers(t,e){const i=this.prototype;for(let r=0;r<t.length;r++)i._createMethodObserver(t[r],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!r.yu||r.ek)&&(e=c.import(t,"template"),r.yu&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,n.rG)(t.url);else{const t=c.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=r.wA,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let i in e){let r=e[i];"value"in r&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[i]=r)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let i=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof i.value?i.value.call(this):i.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,n.c0)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const i=this.importPath;(function(t,e,i,s){if(!Dt){const r=e.content.querySelectorAll("style"),n=m(e),o=function(t){let e=p(t);return e?y(e):[]}(i),a=e.content.firstElementChild;for(let i=0;i<o.length;i++){let r=o[i];r.textContent=t._processStyleText(r.textContent,s),e.content.insertBefore(r,a)}let l=0;for(let e=0;e<n.length;e++){let i=n[e],o=r[l];o!==i?(i=i.cloneNode(!0),o.parentNode.insertBefore(i,o)):l++,i.textContent=t._processStyleText(i.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,i),r.vK&&Dt&&r.qM){const i=e.content.querySelectorAll("style");if(i){let e="";Array.from(i).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,i?(0,n.O2)(i):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=g(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),window.DESCOPE_NONCE&&t?.querySelectorAll("style").forEach((t=>{t.setAttribute("nonce",window.DESCOPE_NONCE)})),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),r.Kp&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,n.O2)(this.importPath)),(0,n.O2)(t,e)}static _parseTemplateContent(t,i,r){return i.dynamicFns=i.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,i,r)}static _addTemplatePropertyEffect(t,i,s){return!r.F3||i in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${i}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,i,s)}}}));var zt=i(19398);const Ft=Ut(HTMLElement)},19398:(t,e,i)=>{i.d(e,{q:()=>o}),i(68358);const r=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class s{constructor(t,e){a(t,e);const i=e.reduce(((e,i,r)=>e+n(i)+t[r+1]),t[0]);this.value=i.toString()}toString(){return this.value}}function n(t){if(t instanceof s)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const o=function(t,...e){a(t,e);const i=document.createElement("template");let o=e.reduce(((e,i,r)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof s)return n(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(i)+t[r+1]),t[0]);return r&&(o=r.createHTML(o)),i.innerHTML=o,i},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},23927:(t,e,i)=>{i.d(e,{v:()=>o});const r=[];function s(t,e,i=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=i&&t.removeAttribute("dir")}function n(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=n();r.forEach((e=>{s(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const o=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),s(this,n(),null))}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),"dir"!==t)return;const o=n(),a=i===o&&-1===r.indexOf(this),l=!i&&e&&-1===r.indexOf(this),h=i!==o&&e===o;a||l?(this.__subscribe(),s(this,o,i)):h&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=r.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,i){("dir"!==i||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,i)}_attributeToProperty(t,e,i){"dir"!==t||e?super._attributeToProperty(t,e,i):this.dir=""}__subscribe(){r.includes(this)||r.push(this)}__unsubscribe(){r.includes(this)&&r.splice(r.indexOf(this),1)}}},36411:(t,e,i)=>{i.d(e,{q:()=>r}),i(87550);const r=(t,...e)=>{((t,...e)=>{const i=document.createElement("style");window.DESCOPE_NONCE&&i.setAttribute("nonce",window.DESCOPE_NONCE),i.id=t,i.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",i)})(`lumo-${t}`,e)}},51450:(t,e,i)=>{i.d(e,{BO:()=>a,WF:()=>O,AH:()=>l,qy:()=>S.qy,s6:()=>S.s6,XX:()=>S.XX,JW:()=>S.JW});const r=globalThis,s=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),o=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&o.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new a(i,t,n)},h=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),s=r.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=i.cssText,t.appendChild(e)}},c=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:d,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:_,getOwnPropertySymbols:f,getPrototypeOf:m}=Object,y=globalThis,g=y.trustedTypes,P=g?g.emptyScript:"",b=y.reactiveElementPolyfillSupport,w=(t,e)=>t,A={toAttribute(t,e){switch(e){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},C=(t,e)=>!d(t,e),v={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:C};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class E extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);void 0!==r&&p(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:s}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);s.call(this,e),this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=m(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,e=[..._(t),...f(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==i.converter?.toAttribute?i.converter:A).toAttribute(e,i.type);this._$Em=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Em=null}}_$AK(t,e){const i=this.constructor,r=i._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=i.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:A;this._$Em=r,this[r]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??C)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[w("elementProperties")]=new Map,E[w("finalized")]=new Map,b?.({ReactiveElement:E}),(y.reactiveElementVersions??=[]).push("2.0.4");var S=i(55670);class O extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,S.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return S.c0}}O._$litElement$=!0,O.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:O});const T=globalThis.litElementPolyfillSupport;T?.({LitElement:O}),(globalThis.litElementVersions??=[]).push("4.1.1")},55670:(t,e,i)=>{i.d(e,{JW:()=>E,XX:()=>B,c0:()=>S,ge:()=>F,qy:()=>v,s6:()=>O});const r=globalThis,s=r.trustedTypes,n=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,o="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,h=`<${l}>`,c=document,d=()=>c.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,_=t=>u(t)||"function"==typeof t?.[Symbol.iterator],f="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,g=/>/g,P=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,w=/"/g,A=/^(?:script|style|textarea|title)$/i,C=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),v=C(1),E=C(2),S=(C(3),Symbol.for("lit-noChange")),O=Symbol.for("lit-nothing"),T=new WeakMap,$=c.createTreeWalker(c,129);function N(t,e){if(!u(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const x=(t,e)=>{const i=t.length-1,r=[];let s,n=2===e?"<svg>":3===e?"<math>":"",l=m;for(let e=0;e<i;e++){const i=t[e];let c,d,p=-1,u=0;for(;u<i.length&&(l.lastIndex=u,d=l.exec(i),null!==d);)u=l.lastIndex,l===m?"!--"===d[1]?l=y:void 0!==d[1]?l=g:void 0!==d[2]?(A.test(d[2])&&(s=RegExp("</"+d[2],"g")),l=P):void 0!==d[3]&&(l=P):l===P?">"===d[0]?(l=s??m,p=-1):void 0===d[1]?p=-2:(p=l.lastIndex-d[2].length,c=d[1],l=void 0===d[3]?P:'"'===d[3]?w:b):l===w||l===b?l=P:l===y||l===g?l=m:(l=P,s=void 0);const _=l===P&&t[e+1].startsWith("/>")?" ":"";n+=l===m?i+h:p>=0?(r.push(c),i.slice(0,p)+o+i.slice(p)+a+_):i+a+(-2===p?e:_)}return[N(t,n+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),r]};class I{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let n=0,h=0;const c=t.length-1,p=this.parts,[u,_]=x(t,e);if(this.el=I.createElement(u,i),$.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=$.nextNode())&&p.length<c;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(o)){const e=_[h++],i=r.getAttribute(t).split(a),s=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:s[2],strings:i,ctor:"."===s[1]?k:"?"===s[1]?D:"@"===s[1]?U:L}),r.removeAttribute(t)}else t.startsWith(a)&&(p.push({type:6,index:n}),r.removeAttribute(t));if(A.test(r.tagName)){const t=r.textContent.split(a),e=t.length-1;if(e>0){r.textContent=s?s.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],d()),$.nextNode(),p.push({type:2,index:++n});r.append(t[e],d())}}}else if(8===r.nodeType)if(r.data===l)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(a,t+1));)p.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function R(t,e,i=t,r){if(e===S)return e;let s=void 0!==r?i._$Co?.[r]:i._$Cl;const n=p(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,i,r)),void 0!==r?(i._$Co??=[])[r]=s:i._$Cl=s),void 0!==s&&(e=R(t,s._$AS(t,e.values),s,r)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,r=(t?.creationScope??c).importNode(e,!0);$.currentNode=r;let s=$.nextNode(),n=0,o=0,a=i[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new H(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new z(s,this,t)),this._$AV.push(e),a=i[++o]}n!==a?.index&&(s=$.nextNode(),n++)}return $.currentNode=c,r}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),p(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==O&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=I.createElement(N(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new M(r,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new I(t)),e}k(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const s of t)r===e.length?e.push(i=new H(this.O(d()),this.O(d()),this,this.options)):i=e[r],i._$AI(s),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class L{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,s){this.type=1,this._$AH=O,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=O}_$AI(t,e=this,i,r){const s=this.strings;let n=!1;if(void 0===s)t=R(this,t,e,0),n=!p(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const r=t;let o,a;for(t=s[0],o=0;o<s.length-1;o++)a=R(this,r[i+o],e,o),a===S&&(a=this._$AH[o]),n||=!p(a)||a!==this._$AH[o],a===O?t=O:t!==O&&(t+=(a??"")+s[o+1]),this._$AH[o]=a}n&&!r&&this.j(t)}j(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class k extends L{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===O?void 0:t}}class D extends L{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==O)}}class U extends L{constructor(t,e,i,r,s){super(t,e,i,r,s),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??O)===S)return;const i=this._$AH,r=t===O&&i!==O||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==O&&(i===O||r);r&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const F={M:o,P:a,A:l,C:1,L:x,R:M,D:_,V:R,I:H,H:L,N:D,U,B:k,F:z},j=r.litHtmlPolyfillSupport;j?.(I,H),(r.litHtmlVersions??=[]).push("3.2.1");const B=(t,e,i)=>{const r=i?.renderBefore??e;let s=r._$litPart$;if(void 0===s){const t=i?.renderBefore??null;r._$litPart$=s=new H(e.insertBefore(d(),t),t,void 0,i??{})}return s._$AI(t),s}},62804:(t,e,i)=>{i.d(e,{EV:()=>a,G$:()=>l,_3:()=>c,g8:()=>h});let r=0,s=0;const n=[];let o=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},h={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},c={run(t){o||(o=!0,queueMicrotask((()=>function(){o=!1;const t=n.length;for(let e=0;e<t;e++){const t=n[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}n.splice(0,t),s+=t}()))),n.push(t);const e=r;return r+=1,e},cancel(t){const e=t-s;if(e>=0){if(!n[e])throw new Error(`invalid async handle: ${t}`);n[e]=null}}}},68358:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},75365:(t,e,i)=>{i.d(e,{_:()=>r});const r=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),"theme"===t&&this._set_theme(i)}}},76685:(t,e,i)=>{i.d(e,{Oy:()=>n,aq:()=>s,bX:()=>a});const r=new Set;class s{static debounce(t,e,i){return t instanceof s?t._cancelAsync():t=new s,t.setConfig(e,i),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,r.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),r.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function n(t){r.add(t)}function o(){const t=Boolean(r.size);return r.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=o()}while(t)}},82663:(t,e,i)=>{i.d(e,{DH:()=>m,F3:()=>d,IP:()=>c,Kp:()=>p,Xj:()=>_,dV:()=>a,ek:()=>h,fF:()=>y,oO:()=>u,qM:()=>n,s:()=>g,vK:()=>P,wA:()=>o,yu:()=>l}),i(68358);var r=i(10744);const s=!window.ShadyDOM||!window.ShadyDOM.inUse,n=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,s&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let o=window.Polymer&&window.Polymer.rootPath||(0,r.rG)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,h=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=window.Polymer&&window.Polymer.legacyOptimizations||!1,d=window.Polymer&&window.Polymer.legacyWarnings||!1,p=window.Polymer&&window.Polymer.syncInitialRender||!1,u=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,f=!0;const m=function(t){f=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,g=window.Polymer&&window.Polymer.fastDomIf||!1;window.Polymer&&window.Polymer.suppressTemplateNotifications,window.Polymer&&window.Polymer.legacyNoObservedAttributes;let P=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},82901:(t,e,i)=>{function r(t){const e=customElements.get(t.is);if(e){const i=e.version;i&&t.version&&i===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else Object.defineProperty(t,"version",{get:()=>"24.3.22"}),customElements.define(t.is,t)}i.d(e,{X:()=>r})},87550:(t,e,i)=>{i.d(e,{AH:()=>r.AH,SF:()=>a,cp:()=>p});var r=i(51450),s=i(75365);const n=[];function o(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,i={}){var s;t&&(s=t,o(customElements.get(s))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof r.BO||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,i):n.push({themeFor:t,styles:e,include:i.include,moduleId:i.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():n}function h(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function c(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const i=l().find((e=>e.moduleId===t));i?e.push(...c(i),...i.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function d(t){const e=`${t}-default-theme`,i=l().filter((i=>i.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(i.themeFor,t))).map((t=>({...t,styles:[...c(t),...t.styles],includePriority:h(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return i.length>0?i:l().filter((t=>t.moduleId===e))}const p=t=>class extends((0,s._)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!o(this)&&function(t,e){const i=document.createElement("style");window.DESCOPE_NONCE&&i.setAttribute("nonce",window.DESCOPE_NONCE),i.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(i)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...d(this.is)];const i=this.__themes.flatMap((t=>t.styles));return i.filter(((t,e)=>e===i.lastIndexOf(t)))}}},88660:(t,e,i)=>{var r=i(82901);class s extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}(0,r.X)(s)},98741:(t,e,i)=>{i.d(e,{y:()=>n}),i(68358);let r=0;function s(){}s.prototype.__mixinApplications,s.prototype.__mixinSet;const n=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let i=r++;return function(r){let s=r.__mixinSet;if(s&&s[i])return r;let n=e,o=n.get(r);if(!o){o=t(r),n.set(r,o);let e=Object.create(o.__mixinSet||s||null);e[i]=!0,o.__mixinSet=e}return o}}}}]);
|
3
|
+
//# sourceMappingURL=6818.js.map
|