// @bun
var u=Object.defineProperty;var w=(b)=>b;function x(b,d){this[b]=w.bind(null,d)}var e=(b,d)=>{for(var f in d)u(b,f,{get:d[f],enumerable:!0,configurable:!0,set:x.bind(d,f)})};var bb=(b,d)=>()=>(b&&(d=b(b=0)),d);import{EventRegistry as z,OperationSpecRegistry as A}from"@contractspec/lib.contracts-spec";import{DataViewRegistry as B}from"@contractspec/lib.contracts-spec/data-views";import{ContractReferenceDataView as D,ContractReferenceQuery as E,DocsGenerateCommand as F,DocsGeneratedEvent as G,DocsIndexDataView as H,DocsIndexQuery as I,DocsLayoutPresentation as J,DocsPublishCommand as K,DocsPublishedEvent as L,DocsReferencePagePresentation as M,DocsSearchForm as N,ExampleCatalogDataView as O}from"@contractspec/lib.contracts-spec/docs";import{FormRegistry as Q}from"@contractspec/lib.contracts-spec/forms";import{PresentationRegistry as T}from"@contractspec/lib.contracts-spec/presentations";import{serializeDataViewSpec as U,serializeEventSpec as V,serializeFormSpec as W,serializeOperationSpec as X,serializePresentationSpec as Y}from"@contractspec/lib.contracts-spec/serialization";var h=null;function Z(){let b=new A;return b.register(I).register(E).register(F).register(K),b}function _(){if(!h)h=Z();return h}function $(b,d){return _().get(b,d)}var j=null;function C(){let b=new z;return b.register(G).register(L),b}function P(){if(!j)j=C();return j}function R(b,d){return P().get(b,d)}var l=null;function S(){let b=new T;return b.register(J).register(M),b}function a(){if(!l)l=S();return l}function p(b,d){return a().get(b,d)}var m=null;function c(){let b=new B;return b.register(H).register(D).register(O),b}function g(){if(!m)m=c();return m}function t(b,d){return g().get(b,d)}var q=null;function v(){let b=new Q;return b.register(N),b}function k(){if(!q)q=v();return q}function o(b,d){return k().get(b)}function ub(b,d){let f=$(b,d);return X(f)??void 0}function wb(b,d){let f=R(b,d);return V(f)??void 0}function xb(b,d){let f=p(b,d);return Y(f)??void 0}function zb(b,d){let f=t(b,d);return U(f)??void 0}function Ab(b,d){let f=o(b,d);return W(f)??void 0}function n(){h=null}function i(){j=null}function y(){l=null}function s(){m=null}function r(){q=null}function Bb(){n(),i(),y(),s(),r()}export{xb as resolveSerializedPresentationSpec,ub as resolveSerializedOperationSpec,Ab as resolveSerializedFormSpec,wb as resolveSerializedEventSpec,zb as resolveSerializedDataViewSpec,p as resolvePresentationSpec,$ as resolveOperationSpec,o as resolveFormSpec,R as resolveEventSpec,t as resolveDataViewSpec,y as resetContractSpecPresentationRegistry,n as resetContractSpecOperationRegistry,r as resetContractSpecFormRegistry,i as resetContractSpecEventRegistry,s as resetContractSpecDataViewRegistry,Bb as resetAllContractSpecRegistries,a as getContractSpecPresentationRegistry,_ as getContractSpecOperationRegistry,k as getContractSpecFormRegistry,P as getContractSpecEventRegistry,g as getContractSpecDataViewRegistry,S as createContractSpecPresentationRegistry,Z as createContractSpecOperationRegistry,v as createContractSpecFormRegistry,C as createContractSpecEventRegistry,c as createContractSpecDataViewRegistry};
