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,GAAMA,EAAEoC,KAAOpC,EAAEoC,KAAO;YACxBpC,GAAMA,EAAE6D,KAAO7D,EAAE6D,KAAO;iBACnB7D,GAAMA,EAAElB;iBACRkB,GAAMA,EAAEnB;iBACRmB,GAAMA,EAAE8D;mBACN9D,GAAMA,EAAEiD;mBACRjD,GAAMA,EAAE+D;iBACV/D,GAAMA,EAAEgE;oBACLhE,GAAMA,EAAEiE;oBACRjE,GAAMA,EAAEkE;qBACPlE,GAAMA,EAAEmE;yBACJnE,GAAMA,EAAEoE;qBACZpE,GAAMA,EAAEqE;mBACVrE,GAAMA,EAAEsE;oBACPtE,GAAMA,EAAEuE;yBACHvE,GAAMA,EAAEwE;kBACfxE,GAAMA,EAAEyE;iBACTzE,GAAMA,EAAE0E;qBACJ1E,GAAMA,EAAE2E;4BACD3E,GAAMA,EAAE4E;cACtB5E,GAAMA,EAAEzE;eACPyE,GAAMA,EAAExE;OAClB,IAAAkF,GAAI;;;MAGL,IAAAN,GAAoBR;;GASrBS,OA1IW,swNA2IXC,cAAe,CACbC,gBAAgB,IAIMsE,MAAyB,KAC/CC,GAAmB,IAAApE,GAAgBgD,E","sources":["webpack://frontend/./node_modules/@vonage/vivid/shared/definition55.js","webpack://frontend/./node_modules/@vonage/vivid/shared/definition53.js","webpack://frontend/./node_modules/@vonage/vivid/shared/definition54.js"],"sourcesContent":["import { a as attr, o as observable, h as html, r as registerFactory } from './index.js';\nimport { a as iconRegistries } from './definition27.js';\nimport { A as AffixIcon, a as affixIconTemplateFactory } from './affix.js';\nimport { e as errorText, f as formElements, F as FormElementSuccessText, a as FormElementHelperText, b as FormElementCharCount, g as getFeedbackTemplate } from './index2.js';\nimport { R as Reflector } from './Reflector.js';\nimport { a as applyMixinsWithObservables } from './applyMixinsWithObservables.js';\nimport { m as memoizeWith } from './icon.js';\nimport { T as TextField$1 } from './text-field2.js';\nimport { s as styles } from './text-field.js';\nimport { w as when } from './when.js';\nimport { s as slotted } from './slotted.js';\nimport { c as classNames } from './class-names.js';\n\n// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nfunction rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nconst randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nconst native = {\n randomUUID\n};\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n return unsafeStringify(rnds);\n}\n\nconst generateRandomId = () => v4();\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp(target, key, result);\n return result;\n};\nvar __accessCheck = (obj, member, msg) => {\n if (!member.has(obj))\n throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n __accessCheck(obj, member, \"read from private field\");\n return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n if (member.has(obj))\n throw TypeError(\"Cannot add the same private member more than once\");\n member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n __accessCheck(obj, member, \"write to private field\");\n member.set(obj, value);\n return value;\n};\nvar __privateMethod = (obj, member, method) => {\n __accessCheck(obj, member, \"access private method\");\n return method;\n};\nvar _handleLabelChange, handleLabelChange_fn, _reflectToInput, _helperTextMirrorEl, _helperTextSlotMutationObserver, _updateHelperTextMutationObserver, updateHelperTextMutationObserver_fn, _updateMirroredHelperText, updateMirroredHelperText_fn;\nconst safariWorkaroundClassName = \"_vvd-3-text-field-safari-workaround\";\nconst getSafariWorkaroundStyleSheet = memoizeWith(\n () => \"\",\n () => {\n const styleSheet = new CSSStyleSheet();\n const supportsReplaceSync = \"replaceSync\" in styleSheet;\n if (supportsReplaceSync) {\n styleSheet.replaceSync(`\n.${safariWorkaroundClassName}::placeholder {\n\topacity: 1 !important;\n\t-webkit-text-fill-color: var(--_low-ink-color) !important;\n}`);\n }\n return styleSheet;\n }\n);\nconst installSafariWorkaroundStyle = (forElement) => {\n const root = forElement.getRootNode();\n const workaroundStyleSheet = getSafariWorkaroundStyleSheet();\n const supportsAdoptedStyleSheets = \"adoptedStyleSheets\" in root;\n if (!supportsAdoptedStyleSheets) {\n return;\n }\n if (!root.adoptedStyleSheets.includes(workaroundStyleSheet)) {\n root.adoptedStyleSheets = [\n ...root.adoptedStyleSheets,\n workaroundStyleSheet\n ];\n }\n};\nlet TextField = class extends TextField$1 {\n constructor() {\n super(...arguments);\n __privateAdd(this, _handleLabelChange);\n __privateAdd(this, _updateHelperTextMutationObserver);\n __privateAdd(this, _updateMirroredHelperText);\n /**\n * @internal\n */\n this._labelEl = null;\n __privateAdd(this, _reflectToInput, void 0);\n __privateAdd(this, _helperTextMirrorEl, void 0);\n __privateAdd(this, _helperTextSlotMutationObserver, void 0);\n }\n /**\n * @internal\n */\n labelChanged() {\n if (this._labelEl) {\n __privateMethod(this, _handleLabelChange, handleLabelChange_fn).call(this, this._labelEl);\n }\n }\n connectedCallback() {\n super.connectedCallback();\n if (!this.control) {\n const uniqueId = this.id || generateRandomId();\n const controlId = `vvd-text-field-control-${uniqueId}`;\n const helperTextId = `vvd-text-field-helper-text-${uniqueId}`;\n const input = document.createElement(\"input\");\n input.slot = \"_control\";\n input.id = controlId;\n input.className = safariWorkaroundClassName;\n this.control = input;\n input.addEventListener(\"input\", () => {\n this.handleTextInput();\n });\n input.addEventListener(\"change\", () => {\n this.handleChange();\n });\n input.addEventListener(\"blur\", () => {\n this.$emit(\"blur\", void 0, { bubbles: false });\n });\n input.addEventListener(\"focus\", () => {\n this.$emit(\"focus\", void 0, { bubbles: false });\n });\n this.appendChild(input);\n const label = document.createElement(\"label\");\n label.slot = \"_label\";\n label.htmlFor = controlId;\n this._labelEl = label;\n __privateMethod(this, _handleLabelChange, handleLabelChange_fn).call(this, label);\n __privateSet(this, _helperTextMirrorEl, document.createElement(\"div\"));\n __privateGet(this, _helperTextMirrorEl).id = helperTextId;\n __privateGet(this, _helperTextMirrorEl).slot = \"_mirrored-helper-text\";\n __privateMethod(this, _updateMirroredHelperText, updateMirroredHelperText_fn).call(this);\n this.appendChild(__privateGet(this, _helperTextMirrorEl));\n installSafariWorkaroundStyle(this);\n }\n __privateSet(this, _reflectToInput, new Reflector(this, this.control));\n __privateGet(this, _reflectToInput).booleanAttribute(\"autofocus\", \"autofocus\");\n __privateGet(this, _reflectToInput).booleanAttribute(\"disabled\", \"disabled\");\n __privateGet(this, _reflectToInput).booleanAttribute(\"readOnly\", \"readonly\");\n __privateGet(this, _reflectToInput).booleanAttribute(\"required\", \"required\");\n __privateGet(this, _reflectToInput).booleanAttribute(\"spellcheck\", \"spellcheck\");\n __privateGet(this, _reflectToInput).attribute(\"list\", \"list\");\n __privateGet(this, _reflectToInput).attribute(\"maxlength\", \"maxlength\");\n __privateGet(this, _reflectToInput).attribute(\"minlength\", \"minlength\");\n __privateGet(this, _reflectToInput).attribute(\"pattern\", \"pattern\");\n __privateGet(this, _reflectToInput).attribute(\"placeholder\", \"placeholder\");\n __privateGet(this, _reflectToInput).attribute(\"size\", \"size\");\n __privateGet(this, _reflectToInput).attribute(\"autoComplete\", \"autocomplete\");\n __privateGet(this, _reflectToInput).attribute(\"type\", \"type\");\n __privateGet(this, _reflectToInput).attribute(\"ariaAtomic\", \"aria-atomic\");\n __privateGet(this, _reflectToInput).attribute(\"ariaBusy\", \"aria-busy\");\n __privateGet(this, _reflectToInput).attribute(\"ariaCurrent\", \"aria-current\");\n __privateGet(this, _reflectToInput).attribute(\"ariaDetails\", \"aria-details\");\n __privateGet(this, _reflectToInput).attribute(\"ariaDisabled\", \"aria-disabled\");\n __privateGet(this, _reflectToInput).attribute(\"ariaHaspopup\", \"aria-haspopup\");\n __privateGet(this, _reflectToInput).attribute(\"ariaHidden\", \"aria-hidden\");\n __privateGet(this, _reflectToInput).attribute(\"ariaInvalid\", \"aria-invalid\");\n __privateGet(this, _reflectToInput).attribute(\"ariaKeyshortcuts\", \"aria-keyshortcuts\");\n __privateGet(this, _reflectToInput).attribute(\"ariaLabel\", \"aria-label\");\n __privateGet(this, _reflectToInput).attribute(\"ariaLive\", \"aria-live\");\n __privateGet(this, _reflectToInput).attribute(\"ariaRelevant\", \"aria-relevant\");\n __privateGet(this, _reflectToInput).attribute(\n \"ariaRoledescription\",\n \"aria-roledescription\"\n );\n __privateGet(this, _reflectToInput).property(\"value\", \"value\", true);\n __privateMethod(this, _updateHelperTextMutationObserver, updateHelperTextMutationObserver_fn).call(this);\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n __privateGet(this, _reflectToInput).destroy();\n __privateSet(this, _reflectToInput, void 0);\n __privateMethod(this, _updateHelperTextMutationObserver, updateHelperTextMutationObserver_fn).call(this);\n }\n focus() {\n this.control?.focus();\n }\n /**\n * @internal\n */\n helperTextChanged() {\n __privateMethod(this, _updateMirroredHelperText, updateMirroredHelperText_fn).call(this);\n }\n /**\n * @internal\n */\n _helperTextSlottedContentChanged() {\n __privateMethod(this, _updateMirroredHelperText, updateMirroredHelperText_fn).call(this);\n __privateMethod(this, _updateHelperTextMutationObserver, updateHelperTextMutationObserver_fn).call(this);\n }\n};\n_handleLabelChange = new WeakSet();\nhandleLabelChange_fn = function(labelEl) {\n if (!this.label) {\n labelEl.remove();\n } else {\n labelEl.textContent = this.label;\n if (!labelEl.isConnected) {\n this.appendChild(labelEl);\n }\n }\n};\n_reflectToInput = new WeakMap();\n_helperTextMirrorEl = new WeakMap();\n_helperTextSlotMutationObserver = new WeakMap();\n_updateHelperTextMutationObserver = new WeakSet();\nupdateHelperTextMutationObserver_fn = function() {\n const usesHelperTextSlot = this._helperTextSlottedContent.length;\n const shouldHaveMutationObserver = usesHelperTextSlot && this.isConnected;\n if (shouldHaveMutationObserver && !__privateGet(this, _helperTextSlotMutationObserver)) {\n __privateSet(this, _helperTextSlotMutationObserver, new MutationObserver((records) => {\n if (records.some((record) => record.target !== __privateGet(this, _helperTextMirrorEl))) {\n __privateMethod(this, _updateMirroredHelperText, updateMirroredHelperText_fn).call(this);\n }\n }));\n __privateGet(this, _helperTextSlotMutationObserver).observe(this, {\n subtree: true,\n childList: true,\n characterData: true\n });\n }\n if (!shouldHaveMutationObserver && __privateGet(this, _helperTextSlotMutationObserver)) {\n __privateGet(this, _helperTextSlotMutationObserver).disconnect();\n __privateSet(this, _helperTextSlotMutationObserver, void 0);\n }\n};\n_updateMirroredHelperText = new WeakSet();\nupdateMirroredHelperText_fn = function() {\n let helperText = this.helperText ?? \"\";\n if (this._helperTextSlottedContent?.length) {\n helperText = this._helperTextSlottedContent.map((node) => node.innerText).join(\" \");\n }\n if (__privateGet(this, _helperTextMirrorEl)) {\n __privateGet(this, _helperTextMirrorEl).textContent = helperText;\n if (helperText) {\n this.control.setAttribute(\n \"aria-describedby\",\n __privateGet(this, _helperTextMirrorEl).id\n );\n } else {\n this.control.removeAttribute(\"aria-describedby\");\n }\n }\n};\n__decorateClass([\n attr\n], TextField.prototype, \"appearance\", 2);\n__decorateClass([\n attr\n], TextField.prototype, \"shape\", 2);\n__decorateClass([\n attr\n], TextField.prototype, \"autoComplete\", 2);\n__decorateClass([\n observable\n], TextField.prototype, \"actionItemsSlottedContent\", 2);\n__decorateClass([\n observable\n], TextField.prototype, \"leadingActionItemsSlottedContent\", 2);\nTextField = __decorateClass([\n errorText,\n formElements\n], TextField);\napplyMixinsWithObservables(\n TextField,\n AffixIcon,\n FormElementCharCount,\n FormElementHelperText,\n FormElementSuccessText\n);\n\nconst getStateClasses = ({\n errorValidationMessage,\n disabled,\n value,\n readOnly,\n placeholder,\n appearance,\n shape,\n label,\n successText,\n actionItemsSlottedContent,\n leadingActionItemsSlottedContent,\n icon\n}) => classNames(\n [\"error\", Boolean(errorValidationMessage)],\n [\"disabled\", disabled],\n [\"has-value\", Boolean(value)],\n [\"readonly\", readOnly],\n [\"placeholder\", Boolean(placeholder)],\n [`appearance-${appearance}`, Boolean(appearance)],\n [`shape-${shape}`, Boolean(shape)],\n [\"no-label\", !label],\n [\"has-icon\", !!icon],\n [\"success\", Boolean(successText)],\n [\"action-items\", !!actionItemsSlottedContent?.length],\n [\"leading-action-items\", !!leadingActionItemsSlottedContent?.length],\n [\"no-leading\", !(leadingActionItemsSlottedContent?.length || icon)]\n);\nfunction renderCharCount() {\n return html`\n\t\t${(x) => x.value ? x.value.length : 0} / ${(x) => x.maxlength}\n\t`;\n}\nconst TextfieldTemplate = (context) => {\n const affixIconTemplate = affixIconTemplateFactory(context);\n return html`
\n\t\t\t${when((x) => x.charCount && x.maxlength, renderCharCount())}\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t${(x) => affixIconTemplate(x.icon)}\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t${getFeedbackTemplate(context)}\n\t\t
\n\t\t`;\n};\n\nconst textFieldDefinition = TextField.compose({\n baseName: \"text-field\",\n template: TextfieldTemplate,\n styles,\n shadowOptions: {\n delegatesFocus: true\n }\n});\nconst textFieldRegistries = [textFieldDefinition(), ...iconRegistries];\nconst registerTextField = registerFactory(textFieldRegistries);\n\nexport { TextField as T, textFieldRegistries as a, registerTextField as r, textFieldDefinition as t };\n","import { a as attr, F as FoundationElement, h as html, r as registerFactory } from './index.js';\nimport { a as iconRegistries } from './definition27.js';\nimport { A as AffixIcon, a as affixIconTemplateFactory, I as IconWrapper } from './affix.js';\nimport { a as applyMixins } from './apply-mixins.js';\nimport { I as Icon } from './icon.js';\nimport { w as when } from './when.js';\nimport { c as classNames } from './class-names.js';\n\nvar __defProp = Object.defineProperty;\nvar __decorateClass = (decorators, target, key, kind) => {\n var result = void 0 ;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (decorator(target, key, result) ) || result;\n if (result)\n __defProp(target, key, result);\n return result;\n};\nclass Tag extends FoundationElement {\n constructor() {\n super(...arguments);\n this.removable = false;\n this.disabled = false;\n this.selectable = false;\n this.selected = false;\n this.#select = () => {\n if (!this.selectable || this.disabled) {\n return;\n }\n this.selected = !this.selected;\n this.$emit(\"selected-change\");\n };\n }\n remove() {\n if (!this.removable || this.selectable) {\n return;\n }\n this.$emit(\"removed\");\n this.parentElement && this.parentElement.removeChild(this);\n }\n #select;\n handleKeydown(e) {\n if (e.key === \"Enter\") {\n this.#select();\n }\n if (e.key === \"Delete\" || e.key === \"Backspace\") {\n this.remove();\n }\n return true;\n }\n handleClick() {\n this.#select();\n }\n}\n__decorateClass([\n attr\n], Tag.prototype, \"connotation\");\n__decorateClass([\n attr\n], Tag.prototype, \"shape\");\n__decorateClass([\n attr\n], Tag.prototype, \"appearance\");\n__decorateClass([\n attr\n], Tag.prototype, \"label\");\n__decorateClass([\n attr({ mode: \"boolean\" })\n], Tag.prototype, \"removable\");\n__decorateClass([\n attr({ mode: \"boolean\" })\n], Tag.prototype, \"disabled\");\n__decorateClass([\n attr({ mode: \"boolean\" })\n], Tag.prototype, \"selectable\");\n__decorateClass([\n attr({ mode: \"boolean\" })\n], Tag.prototype, \"selected\");\napplyMixins(Tag, AffixIcon);\n\nconst styles = \".base{--tag-block-size: calc(1px*(24 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) ;position:relative;display:inline-flex;box-sizing:border-box;align-items:center;background-color:var(--_appearance-color-fill);block-size:var(--tag-block-size);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);color:var(--_appearance-color-text);column-gap:8px;font:var(--vvd-typography-base-bold);max-inline-size:100%;padding-inline:8px;vertical-align:middle}.base.connotation-cta{--_connotation-color-contrast: var(--vvd-tag-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-soft: var(--vvd-tag-cta-soft, var(--vvd-color-cta-100));--_connotation-color-pale: var(--vvd-tag-cta-pale, var(--vvd-color-cta-300));--_connotation-color-fierce: var(--vvd-tag-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-firm-all: var(--vvd-tag-cta-firm-all, var(--vvd-color-cta-600));--_connotation-color-faint: var(--vvd-tag-cta-faint, var(--vvd-color-cta-50));--_connotation-color-dim: var(--vvd-tag-cta-dim, var(--vvd-color-cta-200))}.base:not(.connotation-cta){--_connotation-color-contrast: var(--vvd-tag-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-soft: var(--vvd-tag-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-pale: var(--vvd-tag-accent-pale, var(--vvd-color-neutral-300));--_connotation-color-fierce: var(--vvd-tag-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-firm-all: var(--vvd-tag-accent-firm-all, var(--vvd-color-neutral-600));--_connotation-color-faint: var(--vvd-tag-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-dim: var(--vvd-tag-accent-dim, var(--vvd-color-neutral-200))}.base{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base.appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--_connotation-color-pale)}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--_connotation-color-firm-all)}.base:where(.active,:active):where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-pale)}.base:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.base:where(.disabled,:disabled).appearance-duotone{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-100)}.base:where(.selected):where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-pale);--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: var(--_connotation-color-pale)}.base:not(.shape-pill){border-radius:4px}.base.shape-pill{border-radius:16px}.base:focus-visible{--focus-stroke-gap-color: transparent;box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}@supports (user-select: none){.base{user-select:none}}.base:not(.disabled){cursor:pointer}.base.disabled{cursor:not-allowed;pointer-events:none}.base.removable{cursor:auto}.label{overflow:hidden;max-inline-size:100%;text-overflow:ellipsis;white-space:nowrap}slot[name=icon]{font-size:calc(var(--tag-block-size) / 1.5);line-height:1}.dismiss-button{display:flex;align-items:center;border-radius:inherit;background-color:var(--_appearance-color-fill);cursor:pointer}\";\n\nconst getClasses = ({\n connotation,\n appearance,\n shape,\n disabled,\n selectable,\n removable,\n selected\n}) => classNames(\n \"base\",\n [\"disabled\", disabled],\n [\"selectable\", selectable],\n [\"selected\", selectable && selected],\n [\"removable\", removable && !selectable],\n [`connotation-${connotation}`, Boolean(connotation)],\n [`appearance-${appearance}`, Boolean(appearance)],\n [`shape-${shape}`, Boolean(shape)]\n);\nfunction renderDismissButton(iconTag) {\n return html`\n\t x.remove()}\">\n\t\t<${iconTag} name=\"close-line\">\n\t
`;\n}\nconst tagTemplate = (context) => {\n const affixIconTemplate = affixIconTemplateFactory(context);\n const iconTag = context.tagFor(Icon);\n return html` x.disabled}\"\n\t\taria-selected=\"${(x) => x.selectable}\"\n\t\ttabindex=\"${(x) => x.disabled ? null : 0}\"\n\t\t@keydown=\"${(x, c) => x.handleKeydown(c.event)}\"\n\t\t@click=\"${(x) => x.handleClick()}\"\n\t>\n\t\t${(x) => affixIconTemplate(x.icon, IconWrapper.Slot)}\n\t\t${when(\n (x) => x.label,\n (x) => html`${x.label}`\n )}\n\t\t${when((x) => x.removable && !x.selectable, renderDismissButton(iconTag))}\n\t\t${when(\n (x) => x.selectable && x.selected,\n html`<${iconTag} class=\"selectable-icon\" name=\"check-circle-solid\">`\n )}\n\t`;\n};\n\nconst tagDefinition = Tag.compose({\n baseName: \"tag\",\n template: tagTemplate,\n styles,\n shadowOptions: {\n delegatesFocus: true\n }\n});\nconst tagRegistries = [tagDefinition(), ...iconRegistries];\nconst registerTag = registerFactory(tagRegistries);\n\nexport { registerTag as r, tagDefinition as t };\n","import { F as FoundationElement, _ as __decorate, a as attr, n as nullableNumberConverter, o as observable, h as html, r as registerFactory } from './index.js';\nimport { a as iconRegistries } from './definition27.js';\nimport './affix.js';\nimport { e as errorText, f as formElements, F as FormElementSuccessText, a as FormElementHelperText, b as FormElementCharCount, g as getFeedbackTemplate } from './index2.js';\nimport { R as Reflector } from './Reflector.js';\nimport { a as applyMixinsWithObservables } from './applyMixinsWithObservables.js';\nimport { D as DelegatesARIATextbox } from './text-field2.js';\nimport { a as applyMixins } from './apply-mixins.js';\nimport { F as FormAssociated } from './form-associated.js';\nimport { w as when } from './when.js';\nimport { r as ref } from './ref.js';\nimport { c as classNames } from './class-names.js';\n\nclass _TextArea extends FoundationElement {\n}\n/**\n * A form-associated base class for the {@link @microsoft/fast-foundation#(TextArea:class)} component.\n *\n * @internal\n */\nclass FormAssociatedTextArea extends FormAssociated(_TextArea) {\n constructor() {\n super(...arguments);\n this.proxy = document.createElement(\"textarea\");\n }\n}\n\n/**\n * Resize mode for a TextArea\n * @public\n */\nconst TextAreaResize = {\n /**\n * No resize.\n */\n none: \"none\",\n /**\n * Resize vertically and horizontally.\n */\n both: \"both\",\n /**\n * Resize horizontally.\n */\n horizontal: \"horizontal\",\n /**\n * Resize vertically.\n */\n vertical: \"vertical\",\n};\n\n/**\n * A Text Area Custom HTML Element.\n * Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | \n\t\t\t${getFeedbackTemplate(context)}\n\t\t\n\t`;\n};\n\nconst textAreaDefinition = TextArea.compose(\n {\n baseName: \"text-area\",\n template: TextAreaTemplate,\n styles,\n shadowOptions: {\n delegatesFocus: true\n }\n }\n);\nconst textAreaRegistries = [textAreaDefinition(), ...iconRegistries];\nconst registerTextArea = registerFactory(textAreaRegistries);\n\nexport { textAreaRegistries as a, registerTextArea as r, textAreaDefinition as t };\n"],"names":["getRandomValues","rnds8","Uint8Array","rng","crypto","bind","Error","byteToHex","i","push","toString","slice","native","randomUUID","v4","options","buf","offset","rnds","random","arr","unsafeStringify","_handleLabelChange","handleLabelChange_fn","_reflectToInput","_helperTextMirrorEl","_helperTextSlotMutationObserver","_updateHelperTextMutationObserver","updateHelperTextMutationObserver_fn","_updateMirroredHelperText","updateMirroredHelperText_fn","__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__decorateClass","decorators","target","key","kind","decorator","result","length","__accessCheck","obj","member","msg","has","TypeError","__privateGet","getter","call","get","__privateAdd","value","WeakSet","add","set","__privateSet","setter","__privateMethod","method","safariWorkaroundClassName","getSafariWorkaroundStyleSheet","m","styleSheet","CSSStyleSheet","replaceSync","TextField","T","constructor","super","arguments","this","_labelEl","labelChanged","connectedCallback","control","uniqueId","id","controlId","helperTextId","input","document","createElement","slot","className","addEventListener","handleTextInput","handleChange","$emit","bubbles","appendChild","label","htmlFor","root","getRootNode","workaroundStyleSheet","adoptedStyleSheets","includes","installSafariWorkaroundStyle","R","booleanAttribute","attribute","property","disconnectedCallback","destroy","focus","helperTextChanged","_helperTextSlottedContentChanged","labelEl","textContent","isConnected","remove","WeakMap","shouldHaveMutationObserver","_helperTextSlottedContent","MutationObserver","records","some","record","observe","subtree","childList","characterData","disconnect","helperText","map","node","innerText","join","setAttribute","removeAttribute","a","prototype","o","e","f","A","F","getStateClasses","errorValidationMessage","disabled","readOnly","placeholder","appearance","shape","successText","actionItemsSlottedContent","leadingActionItemsSlottedContent","icon","c","Boolean","textFieldRegistries","compose","baseName","template","context","affixIconTemplate","h","w","x","charCount","maxlength","s","g","styles","shadowOptions","delegatesFocus","textFieldDefinition","registerTextField","r","Tag","removable","selectable","selected","parentElement","removeChild","handleKeydown","handleClick","mode","getClasses","connotation","tagRegistries","iconTag","tagFor","I","event","Slot","renderDismissButton","tagDefinition","registerTag","_TextArea","FormAssociatedTextArea","proxy","TextArea$1","resize","cols","readOnlyChanged","HTMLTextAreaElement","autofocusChanged","autofocus","listChanged","list","maxlengthChanged","maxLength","minlengthChanged","minLength","minlength","spellcheckChanged","spellcheck","select","validate","_","converter","n","D","_reflectToTextArea","TextArea","textAreaRegistries","name","rows","wrap","required","ariaAtomic","ariaBusy","ariaCurrent","ariaDetails","ariaDisabled","ariaErrormessage","ariaHaspopup","ariaHidden","ariaInvalid","ariaKeyshortcuts","ariaLabel","ariaLive","ariaRelevant","ariaRoledescription","textAreaDefinition","registerTextArea"],"sourceRoot":""}