!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(e,t,r)=>(()=>{"use strict";var i,s={7906(e,t,r){r.r(t),r.d(t,{HelpText:()=>i});var i,s=r(9609),o=r(4084),a=r(7161),n=r(429),l=r(5125),p=r(2797),c=function(e,t,r,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(a=(o<3?s(a):o>3?s(t,r,a):s(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.message="",this.messageType=void 0,this.id="",this.ariaLive="off"}get inputMessageClassMap(){return{[`md-${this.messageType}`]:!!this.messageType}}static get styles(){return[o.A,p.A]}getIconName(){switch(this.messageType){case"success":return"check-circle-badge-filled";case"error":return"error-legacy-badge-filled";case"warning":return"warning-badge-filled";case"priority":return"info-badge-filled";default:return""}}render(){return a.html`
        <div
          class="md-input__message ${(0,l.classMap)(this.inputMessageClassMap)}"
          id=${this.id}
          aria-live=${this.ariaLive}
          role="alert"
        >
          ${this.messageType?a.html`<md-icon name="${this.getIconName()}" size="14" iconSet="momentumDesign"></md-icon>`:a.nothing}
          <slot>${this.message}</slot>
        </div>
      `}};c([(0,n.property)({type:String})],t.prototype,"message",void 0),c([(0,n.property)({type:String})],t.prototype,"messageType",void 0),c([(0,n.property)({type:String})],t.prototype,"id",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaLive",void 0),t=c([(0,s.w)("md-help-text")],t),e.ELEMENT=t}(i||(i={}))},7161(t){t.exports=e},429(e){e.exports=t},5125(e){e.exports=r}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return s[e](r,r.exports,a),r.exports}a.m=s,i=[],a.O=(e,t,r,s)=>{if(!t){var o=1/0;for(c=0;c<i.length;c++){for(var[t,r,s]=i[c],n=!0,l=0;l<t.length;l++)(!1&s||o>=s)&&Object.keys(a.O).every(e=>a.O[e](t[l]))?t.splice(l--,1):(n=!1,s<o&&(o=s));if(n){i.splice(c--,1);var p=r();void 0!==p&&(e=p)}}return e}s=s||0;for(var c=i.length;c>0&&i[c-1][2]>s;c--)i[c]=i[c-1];i[c]=[t,r,s]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={1745:0,7906:0};a.O.j=t=>0===e[t];var t=(t,r)=>{var i,s,[o,n,l]=r,p=0;if(o.some(t=>0!==e[t])){for(i in n)a.o(n,i)&&(a.m[i]=n[i]);if(l)var c=l(a)}for(t&&t(r);p<o.length;p++)s=o[p],a.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return a.O(c)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n=a.O(void 0,[9609,4084,2797],()=>a(7906));return a.O(n)})());