var x=Object.defineProperty;var y=(h)=>h;function z(h,j){this[h]=y.bind(null,j)}var H=(h,j)=>{for(var k in j)x(h,k,{get:j[k],enumerable:!0,configurable:!0,set:z.bind(j,k)})};var J=(h,j)=>()=>(h&&(j=h(h=0)),j);import{createDefaultTransformEngine as A,registerBasicValidation as C,registerDefaultReactRenderer as F}from"@contractspec/lib.contracts-runtime-client-react/transform-engine";function G(){let h=A();return F(h),C(h),h}function N(h,j,k){return h.find((w)=>w.meta.key===j&&String(w.meta.version)===String(k))}function O(h,j){return h.filter((k)=>k.meta.domain===j)}function P(h,j){return h.targets.includes(j)}var q=null;function Q(){if(!q)q=G();return q}function S(){q=null}export{P as supportsTarget,S as resetTemplateEngine,Q as getTemplateEngine,N as findPresentation,O as filterPresentationsByDomain,G as createTemplateTransformEngine};
