import{c,M as n}from"./p-dcc98162.js";function t(c,n,t=[],s=[],o=[]){var r;const a=[c.name,n.name,...t.map((c=>c.mapFrom)),...s.map((c=>c.mapFrom))].join("-");return(r=c.prototype)[a]||(r[a]=e(n,t,s)),new c.prototype[a](...o)}const e=(t,e,s)=>{const o=class extends t{};return e.forEach((n=>{c(Object.assign(n,{componentFieldName:n.mapFrom}))(o.prototype,n.mapTo)})),s.forEach((c=>{n(c.mapFrom)(o.prototype,c.mapTo)})),o};export{t as c}