import{c as i}from"./chunk.OBAEIKIV.js";var h=(o="value")=>(u,l)=>{let n=u.constructor,f=n.prototype.attributeChangedCallback;n.prototype.attributeChangedCallback=function(r,b,a){var c;let e=n.getPropertyOptions(o),m=typeof e.attribute=="string"?e.attribute:o;if(r===m){let t=e.converter||i,s=(typeof t=="function"?t:(c=t==null?void 0:t.fromAttribute)!=null?c:i.fromAttribute)(a,e.type);this[o]!==s&&(this[l]=s)}f.call(this,r,b,a)}};export{h as a};
