import{V as t}from"./p-6e1ab235.js";import{c as s}from"./p-6a334573.js";import{g as e,d as r}from"./p-a841cf13.js";class o extends t{constructor({newPropertyName:t,oldPropertyName:s,defaultValue:e}){super(),this.newPropertyName=t,this.oldPropertyName=s,this.defaultValue=e}getValue(){const t=e(this.host,this.newPropertyName),s=e(this.host,this.oldPropertyName);return r(t,this.defaultValue)?s:t}}function a(t,e,r,a){return s(t,o,[{mapFrom:"host",mapTo:"host"}],[],[{newPropertyName:e,oldPropertyName:r,defaultValue:a}])}export{a as c}