import{a as f,g as y}from"./chunk-WGB426CL.js";y();y();var c={},P=Symbol.for("TypekitNamespace");function g(i){for(let[o,n]of Object.entries(i)){let e=n;c[o]!==void 0&&(e={...c[o],...n}),typeof e=="object"&&e!==null&&Object.defineProperty(e,P,{value:!0,enumerable:!1,configurable:!1}),c[o]=e}}f(g,"defineKit");function j(i){let o=Object.create(c),n={get(u,p,s){if(p==="program")return i.program;if(p==="realm")return i;let t=Reflect.get(u,p,s);if(typeof t=="function"){let l=f(function(...r){return t.apply(e,r)},"proxyWrapper");for(let r of Object.keys(t)){let a=t[r];typeof a=="function"?l[r]=function(...m){return a.apply(e,m)}:Reflect.defineProperty(l,r,Reflect.getOwnPropertyDescriptor(t,r))}return l}return typeof t=="object"&&t!==null&&!Reflect.getOwnPropertyDescriptor(u,p)?.get?new Proxy(t,n):t}},e=new Proxy(o,n);return e}f(j,"createTypekit");export{g as a,j as b};
