import{aO as t,aF as e,aP as s,aQ as a}from"./p-BTBbFFOR.js";class r extends e{constructor({newPropertyName:t,oldPropertyName:e,defaultValue:s}){super(),this.newPropertyName=t,this.oldPropertyName=e,this.defaultValue=s}getValue(){const t=s(this.host,this.newPropertyName),e=s(this.host,this.oldPropertyName);return a(t,this.defaultValue)?e:t}}function o(e,s,a,o){return t(e,r,[{mapFrom:"host",mapTo:"host"}],[],[{newPropertyName:s,oldPropertyName:a,defaultValue:o}])}export{o as c}