EdelElements.loadBundle("ofn9qw9r",["exports","./chunk-d3972c9f.js"],function(e,t){var n=window.EdelElements.h,o=function(){function e(){this.autofocus=!1}return e.prototype.handleChange=function(e){this.value=e.target.value,this.valueChange.emit(this.value)},e.prototype.hostData=function(){return{class:"input"}},e.prototype.handleBlur=function(){this.afterEdit.emit(this.value)},e.prototype.componentDidLoad=function(){this.updateAutoFocus(),this.updateInGroupDidChange(),this.updateCss()},e.prototype.updateAutoFocus=function(){if(this.autofocus){var e=this.hostElement.getElementsByTagName("input").item(0);e&&requestAnimationFrame(function(){return e.focus()})}},e.prototype.updateCss=function(){this.disabled?this.hostElement.classList.add("input--off"):this.hostElement.classList.remove("input--off")},e.prototype.render=function(){return n("input",{value:this.value,type:"password",placeholder:this.placeholder,onInput:this.handleChange.bind(this),onBlur:this.handleBlur.bind(this),autofocus:this.autofocus})},e.prototype.updateInGroupDidChange=function(){t.applyInputgroupStyle(this.inGroup,this.hostElement)},Object.defineProperty(e,"is",{get:function(){return"edel-input-password"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:Boolean,attr:"autofocus",watchCallbacks:["updateAutoFocus"]},disabled:{type:Boolean,attr:"disabled",watchCallbacks:["updateCss"]},hostElement:{elementRef:!0},inGroup:{type:Boolean,attr:"in-group",watchCallbacks:["updateInGroupDidChange"]},placeholder:{type:String,attr:"placeholder"},value:{type:String,attr:"value",mutable:!0}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"valueChange",method:"valueChange",bubbles:!0,cancelable:!0,composed:!0},{name:"afterEdit",method:"afterEdit",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),e}();e.EdelInputPassword=o,Object.defineProperty(e,"__esModule",{value:!0})});