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