{"version":3,"file":"index-U45FbwY2.cjs","sources":["../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-email-input/styles.js","../node_modules/@reown/appkit-ui/dist/esm/src/composites/wui-email-input/index.js"],"sourcesContent":["import { css } from 'lit';\nexport default css `\n  :host {\n    position: relative;\n    display: inline-block;\n  }\n\n  wui-text {\n    margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);\n  }\n`;\n//# sourceMappingURL=styles.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport '../../components/wui-text/index.js';\nimport { resetStyles } from '../../utils/ThemeUtil.js';\nimport { customElement } from '../../utils/WebComponentsUtil.js';\nimport '../wui-input-text/index.js';\nimport styles from './styles.js';\nlet WuiEmailInput = class WuiEmailInput extends LitElement {\n    constructor() {\n        super(...arguments);\n        this.disabled = false;\n    }\n    render() {\n        return html `\n      <wui-input-text\n        type=\"email\"\n        placeholder=\"Email\"\n        icon=\"mail\"\n        size=\"mdl\"\n        .disabled=${this.disabled}\n        .value=${this.value}\n        data-testid=\"wui-email-input\"\n        tabIdx=${ifDefined(this.tabIdx)}\n      ></wui-input-text>\n      ${this.templateError()}\n    `;\n    }\n    templateError() {\n        if (this.errorMessage) {\n            return html `<wui-text variant=\"tiny-500\" color=\"error-100\">${this.errorMessage}</wui-text>`;\n        }\n        return null;\n    }\n};\nWuiEmailInput.styles = [resetStyles, styles];\n__decorate([\n    property()\n], WuiEmailInput.prototype, \"errorMessage\", void 0);\n__decorate([\n    property({ type: Boolean })\n], WuiEmailInput.prototype, \"disabled\", void 0);\n__decorate([\n    property()\n], WuiEmailInput.prototype, \"value\", void 0);\n__decorate([\n    property()\n], WuiEmailInput.prototype, \"tabIdx\", void 0);\nWuiEmailInput = __decorate([\n    customElement('wui-email-input')\n], WuiEmailInput);\nexport { WuiEmailInput };\n//# sourceMappingURL=index.js.map"],"names":["css","__decorate","decorators","target","key","desc","c","r","d","i","WuiEmailInput","LitElement","html","ifDefined","resetStyles","styles","property","customElement"],"mappings":"4HACA,MAAeA,EAAAA,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,ECDf,IAAIC,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,EAAM,CACnF,IAAIC,EAAI,UAAU,OAAQC,EAAID,EAAI,EAAIH,EAASE,IAAS,KAAOA,EAAO,OAAO,yBAAyBF,EAAQC,CAAG,EAAIC,EAAMG,EAC3H,GAAI,OAAO,SAAY,UAAY,OAAO,QAAQ,UAAa,WAAYD,EAAI,QAAQ,SAASL,EAAYC,EAAQC,EAAKC,CAAI,MACxH,SAASI,EAAIP,EAAW,OAAS,EAAGO,GAAK,EAAGA,KAASD,EAAIN,EAAWO,CAAC,KAAGF,GAAKD,EAAI,EAAIE,EAAED,CAAC,EAAID,EAAI,EAAIE,EAAEL,EAAQC,EAAKG,CAAC,EAAIC,EAAEL,EAAQC,CAAG,IAAMG,GAChJ,OAAOD,EAAI,GAAKC,GAAK,OAAO,eAAeJ,EAAQC,EAAKG,CAAC,EAAGA,CAChE,EASA,IAAIG,EAAgB,cAA4BC,KAAW,CACvD,aAAc,CACV,MAAM,GAAG,SAAS,EAClB,KAAK,SAAW,EACnB,CACD,QAAS,CACL,OAAOC,EAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAMC,KAAK,QAAQ;AAAA,iBAChB,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